michael@1: Summary: Network exploration tool and security scanner michael@1: Vendor: Europalab Software michael@1: Packager: Michael Schloh von Bennewitz michael@1: Distribution: MeeGo Thirdparty michael@1: Name: nmap michael@1: Version: 5.21 michael@1: Release: 20101201 michael@1: URL: http://www.nmap.org/ michael@1: Group: Applications/System michael@1: License: http://nmap.org/man/man-legal.html michael@1: Source0: http://nmap.org/dist/%{name}-%{version}.tar.bz2 michael@1: BuildRoot: %{_tmppath}/%{name}-root michael@1: BuildRequires: openssl-devel libpcap-devel pcre-devel lua-devel michael@0: michael@1: # for ndiff(1) only michael@1: Requires: python >= 2.4 michael@0: michael@0: %description michael@0: Nmap ("Network Mapper") is a free and open source utility michael@0: for network exploration or security auditing. Many systems and network michael@0: administrators also find it useful for tasks such as network michael@0: inventory, managing service upgrade schedules, and monitoring host or michael@0: service uptime. Nmap uses raw IP packets in novel ways to determine michael@0: what hosts are available on the network, what services (application michael@0: name and version) those hosts are offering, what operating systems michael@0: (and OS versions) they are running, what type of packet michael@0: filters/firewalls are in use, and dozens of other characteristics. It michael@0: was designed to rapidly scan large networks, but works fine against michael@0: single hosts. Nmap runs on all major computer operating systems, and michael@0: both console and graphical versions are available. michael@0: michael@0: %prep michael@0: %setup -q michael@0: michael@1: # avoid using included copies of libraries michael@1: rm -rf liblua libpcap libpcre macosx mswin32 michael@1: michael@0: %build michael@1: %configure --without-ncat --without-zenmap --with-ndiff --with-libdnet=included --with-openssl=/usr --with-libpcap=/usr --with-libpcre=/usr --with-liblua=/usr michael@1: make %{?_smp_mflags} michael@0: michael@0: %install michael@0: [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT michael@0: make install DESTDIR=$RPM_BUILD_ROOT michael@0: strip $RPM_BUILD_ROOT%{_bindir}/* || : michael@0: gzip $RPM_BUILD_ROOT%{_mandir}/man1/* || : michael@0: michael@0: %clean michael@0: [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT michael@0: michael@0: %files michael@0: %defattr(-,root,root) michael@0: %doc COPYING michael@0: %doc docs/README michael@0: %doc docs/nmap.usage.txt michael@0: %doc %{_prefix}/share/man/man1/nmap.1.gz michael@0: %doc %{_prefix}/share/man/*/man1/nmap.1.gz michael@0: %{_bindir}/nmap michael@0: %{_datadir}/nmap michael@0: michael@0: %{_bindir}/ndiff michael@0: %doc %{_prefix}/share/man/man1/ndiff.1.gz michael@0: michael@0: %changelog michael@1: * Wed Dec 1 2010 Michael Schloh von Bennewitz - 5.21-20101201 michael@1: - Repackage for MeeGo 1.1 michael@0: * Sat Jun 06 2009 Fyodor (fyodor(a)insecure.org) michael@0: - Removed changelog entries as SVN is a more authoritative source. Execute: michael@0: - svn log --username guest --password "" svn://svn.insecure.org/nmap/nmap.spec.in michael@0: