Fri, 11 Mar 2011 21:41:16 +0100
Import unmodified vendor specs for introduction into repository.
michael@1 | 1 | Summary: Network exploration tool and security scanner |
michael@1 | 2 | Vendor: Europalab Software |
michael@1 | 3 | Packager: Michael Schloh von Bennewitz |
michael@1 | 4 | Distribution: MeeGo Thirdparty |
michael@1 | 5 | Name: nmap |
michael@1 | 6 | Version: 5.21 |
michael@1 | 7 | Release: 20101201 |
michael@1 | 8 | URL: http://www.nmap.org/ |
michael@1 | 9 | Group: Applications/System |
michael@1 | 10 | License: http://nmap.org/man/man-legal.html |
michael@1 | 11 | Source0: http://nmap.org/dist/%{name}-%{version}.tar.bz2 |
michael@1 | 12 | BuildRoot: %{_tmppath}/%{name}-root |
michael@1 | 13 | BuildRequires: openssl-devel libpcap-devel pcre-devel lua-devel |
michael@0 | 14 | |
michael@1 | 15 | # for ndiff(1) only |
michael@1 | 16 | Requires: python >= 2.4 |
michael@0 | 17 | |
michael@0 | 18 | %description |
michael@0 | 19 | Nmap ("Network Mapper") is a free and open source utility |
michael@0 | 20 | for network exploration or security auditing. Many systems and network |
michael@0 | 21 | administrators also find it useful for tasks such as network |
michael@0 | 22 | inventory, managing service upgrade schedules, and monitoring host or |
michael@0 | 23 | service uptime. Nmap uses raw IP packets in novel ways to determine |
michael@0 | 24 | what hosts are available on the network, what services (application |
michael@0 | 25 | name and version) those hosts are offering, what operating systems |
michael@0 | 26 | (and OS versions) they are running, what type of packet |
michael@0 | 27 | filters/firewalls are in use, and dozens of other characteristics. It |
michael@0 | 28 | was designed to rapidly scan large networks, but works fine against |
michael@0 | 29 | single hosts. Nmap runs on all major computer operating systems, and |
michael@0 | 30 | both console and graphical versions are available. |
michael@0 | 31 | |
michael@0 | 32 | %prep |
michael@0 | 33 | %setup -q |
michael@0 | 34 | |
michael@1 | 35 | # avoid using included copies of libraries |
michael@1 | 36 | rm -rf liblua libpcap libpcre macosx mswin32 |
michael@1 | 37 | |
michael@0 | 38 | %build |
michael@1 | 39 | %configure --without-ncat --without-zenmap --with-ndiff --with-libdnet=included --with-openssl=/usr --with-libpcap=/usr --with-libpcre=/usr --with-liblua=/usr |
michael@1 | 40 | make %{?_smp_mflags} |
michael@0 | 41 | |
michael@0 | 42 | %install |
michael@0 | 43 | [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT |
michael@0 | 44 | make install DESTDIR=$RPM_BUILD_ROOT |
michael@0 | 45 | strip $RPM_BUILD_ROOT%{_bindir}/* || : |
michael@0 | 46 | gzip $RPM_BUILD_ROOT%{_mandir}/man1/* || : |
michael@0 | 47 | |
michael@0 | 48 | %clean |
michael@0 | 49 | [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT |
michael@0 | 50 | |
michael@0 | 51 | %files |
michael@0 | 52 | %defattr(-,root,root) |
michael@0 | 53 | %doc COPYING |
michael@0 | 54 | %doc docs/README |
michael@0 | 55 | %doc docs/nmap.usage.txt |
michael@0 | 56 | %doc %{_prefix}/share/man/man1/nmap.1.gz |
michael@0 | 57 | %doc %{_prefix}/share/man/*/man1/nmap.1.gz |
michael@0 | 58 | %{_bindir}/nmap |
michael@0 | 59 | %{_datadir}/nmap |
michael@0 | 60 | |
michael@0 | 61 | %{_bindir}/ndiff |
michael@0 | 62 | %doc %{_prefix}/share/man/man1/ndiff.1.gz |
michael@0 | 63 | |
michael@0 | 64 | %changelog |
michael@1 | 65 | * Wed Dec 1 2010 Michael Schloh von Bennewitz <michael@schloh.com> - 5.21-20101201 |
michael@1 | 66 | - Repackage for MeeGo 1.1 |
michael@0 | 67 | * Sat Jun 06 2009 Fyodor (fyodor(a)insecure.org) |
michael@0 | 68 | - Removed changelog entries as SVN is a more authoritative source. Execute: |
michael@0 | 69 | - svn log --username guest --password "" svn://svn.insecure.org/nmap/nmap.spec.in |
michael@0 | 70 |