2004-09-09 09:17:24 +00:00
|
|
|
Summary: Network exploration tool and security scanner
|
|
|
|
Name: nmap
|
2007-01-09 13:19:41 +00:00
|
|
|
Version: 4.20
|
2007-03-15 11:57:23 +00:00
|
|
|
Release: 4%{?dist}
|
2004-09-09 09:19:31 +00:00
|
|
|
License: GPL
|
2004-09-09 09:17:24 +00:00
|
|
|
Group: Applications/System
|
2006-02-02 11:51:12 +00:00
|
|
|
Source0: http://download.insecure.org/nmap/dist/%{name}-%{version}.tar.bz2
|
2005-04-21 14:11:14 +00:00
|
|
|
Source1: nmapfe.desktop
|
|
|
|
Source2: nmapfe-32.png
|
|
|
|
Source3: nmapfe-48.png
|
2005-08-03 12:21:10 +00:00
|
|
|
Patch3: nmap-3.81-noms.patch
|
2006-05-10 12:44:55 +00:00
|
|
|
Patch4: nmap-4.03-mktemp.patch
|
2007-01-30 13:23:04 +00:00
|
|
|
Patch5: nmap-4.20-nostrip.patch
|
2004-09-09 09:17:24 +00:00
|
|
|
URL: http://www.insecure.org/nmap/
|
2007-02-27 14:38:25 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
2004-09-09 09:18:03 +00:00
|
|
|
Epoch: 2
|
2007-02-27 14:38:25 +00:00
|
|
|
BuildRequires: openssl-devel, gtk2-devel, pcre-devel, libpcap-devel
|
2006-05-17 12:03:06 +00:00
|
|
|
BuildRequires: /usr/bin/desktop-file-install
|
2004-09-09 09:17:24 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
Nmap is a utility for network exploration or security auditing. It supports
|
|
|
|
ping scanning (determine which hosts are up), many port scanning techniques
|
|
|
|
(determine what services the hosts are offering), and TCP/IP fingerprinting
|
|
|
|
(remote host operating system identification). Nmap also offers flexible target
|
|
|
|
and port specification, decoy scanning, determination of TCP sequence
|
|
|
|
predictability characteristics, reverse-identd scanning, and more.
|
|
|
|
|
|
|
|
%package frontend
|
|
|
|
Summary: Gtk+ frontend for nmap
|
|
|
|
Group: Applications/System
|
2005-04-21 14:25:02 +00:00
|
|
|
Requires: nmap = %{epoch}:%{version}, gtk2
|
2007-02-27 14:38:25 +00:00
|
|
|
BuildRequires: gtk2-devel libpng-devel
|
2004-09-09 09:17:24 +00:00
|
|
|
%description frontend
|
|
|
|
This package includes nmapfe, a Gtk+ frontend for nmap. The nmap package must
|
|
|
|
be installed before installing nmap-frontend.
|
|
|
|
|
|
|
|
%prep
|
2004-09-09 09:19:31 +00:00
|
|
|
%setup -q
|
2005-08-03 12:21:10 +00:00
|
|
|
%patch3 -p1 -b .noms
|
2006-05-10 12:44:55 +00:00
|
|
|
%patch4 -p1
|
2007-01-30 13:23:04 +00:00
|
|
|
%patch5 -p1
|
2004-09-09 09:17:24 +00:00
|
|
|
|
|
|
|
%build
|
2004-09-09 09:19:47 +00:00
|
|
|
%configure --with-libpcap=/usr
|
2007-02-27 14:38:25 +00:00
|
|
|
make %{?_smp_mflags}
|
2004-09-09 09:17:24 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
2007-02-27 14:38:25 +00:00
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
2004-09-09 09:17:24 +00:00
|
|
|
|
2005-04-21 14:11:14 +00:00
|
|
|
#rm -f $RPM_BUILD_ROOT%{_datadir}/applications/nmapfe.desktop
|
2004-12-17 14:33:24 +00:00
|
|
|
|
2007-02-27 14:38:25 +00:00
|
|
|
desktop-file-install --vendor nmap \
|
|
|
|
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
|
|
|
|
--add-category X-Red-Hat-Base \
|
|
|
|
%{SOURCE1};
|
2004-09-09 09:17:24 +00:00
|
|
|
|
2005-04-21 14:11:14 +00:00
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps \
|
|
|
|
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps
|
|
|
|
install -m 0644 %{SOURCE2} \
|
|
|
|
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps/nmapfe.png
|
|
|
|
install -m 0644 %{SOURCE3} \
|
|
|
|
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps/nmapfe.png
|
2004-09-09 09:18:32 +00:00
|
|
|
|
2004-09-09 09:17:24 +00:00
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2004-09-13 14:23:41 +00:00
|
|
|
%doc COPYING*
|
2006-02-02 11:51:12 +00:00
|
|
|
%doc docs/README
|
|
|
|
#%doc docs/nmap-fingerprinting-article.txt
|
|
|
|
#%doc docs/nmap.deprecated.txt
|
|
|
|
%doc docs/nmap.usage.txt
|
2004-09-09 09:17:24 +00:00
|
|
|
%{_bindir}/nmap
|
|
|
|
%{_datadir}/nmap
|
|
|
|
%{_mandir}/man1/nmap.1.gz
|
|
|
|
|
|
|
|
%files frontend
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/nmapfe
|
|
|
|
%{_bindir}/xnmap
|
2004-12-17 14:33:24 +00:00
|
|
|
%{_datadir}/applications/nmapfe.desktop
|
2005-04-21 14:11:14 +00:00
|
|
|
%{_datadir}/icons/hicolor/*/apps/nmapfe.png
|
2004-09-09 09:17:24 +00:00
|
|
|
%{_mandir}/man1/nmapfe.1.gz
|
|
|
|
%{_mandir}/man1/xnmap.1.gz
|
|
|
|
|
|
|
|
%changelog
|
2007-03-15 11:57:23 +00:00
|
|
|
* Thu Mar 15 2007 Karsten Hopp <karsten@redhat.com> 4.20-4
|
|
|
|
- rebuild with current gtk2 to add png support (#232013)
|
|
|
|
|
2007-02-27 14:38:25 +00:00
|
|
|
* Tue Feb 27 2007 Harald Hoyer <harald@redhat.com> - 2:4.20-3%{?dist}
|
|
|
|
- specfile cleanup
|
|
|
|
- fixed Florian La Roche's patch
|
|
|
|
|
|
|
|
* Tue Jan 30 2007 Florian La Roche <laroche@redhat.com> - 2:4.20-2%{?dist}
|
2007-01-30 13:23:04 +00:00
|
|
|
- do not strip away debuginfo
|
|
|
|
|
2007-02-27 14:38:25 +00:00
|
|
|
* Tue Jan 09 2007 Florian La Roche <laroche@redhat.com> - 2:4.20-1
|
2007-01-09 13:19:41 +00:00
|
|
|
- version 4.20
|
|
|
|
|
2006-07-12 07:28:59 +00:00
|
|
|
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2:4.11-1.1
|
|
|
|
- rebuild
|
|
|
|
|
2006-06-27 09:44:04 +00:00
|
|
|
* Tue Jun 27 2006 Harald Hoyer <harald@redhat.com> - 2:4.11-1
|
|
|
|
- version 4.11
|
|
|
|
|
2006-05-17 12:03:06 +00:00
|
|
|
* Wed May 17 2006 Harald Hoyer <harald@redhat.de> 4.03-2
|
|
|
|
- added more build requirements (bug #191932)
|
|
|
|
|
2006-05-10 12:44:55 +00:00
|
|
|
* Wed May 10 2006 Karsten Hopp <karsten@redhat.de> 4.03-1
|
|
|
|
- update to 4.03, this fixes #184286
|
|
|
|
- remove duplicate menu entry in 'Internet' (#183056)
|
|
|
|
- fix possible tmpdir race condition during build (#158996)
|
|
|
|
|
2006-02-11 04:46:49 +00:00
|
|
|
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2:4.00-1.2
|
|
|
|
- bump again for double-long bug on ppc(64)
|
|
|
|
|
2006-02-07 13:14:11 +00:00
|
|
|
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2:4.00-1.1
|
|
|
|
- rebuilt for new gcc4.1 snapshot and glibc changes
|
|
|
|
|
2006-02-02 11:51:12 +00:00
|
|
|
* Thu Feb 02 2006 Harald Hoyer <harald@redhat.com> - 2:4.00-1
|
|
|
|
- version 4.00
|
|
|
|
|
2005-12-19 10:52:00 +00:00
|
|
|
* Mon Dec 19 2005 Harald Hoyer <harald@redhat.com> - 2:3.95-1
|
|
|
|
- version 3.95
|
|
|
|
|
2005-12-09 22:42:23 +00:00
|
|
|
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2005-11-15 09:50:31 +00:00
|
|
|
* Tue Nov 11 2005 Harald Hoyer <harald@redhat.com> - 2:3.93-3
|
|
|
|
- fixed wrong __attribute__ test
|
|
|
|
|
2005-11-10 09:50:31 +00:00
|
|
|
* Thu Nov 10 2005 Tomas Mraz <tmraz@redhat.com> - 2:3.93-2
|
|
|
|
- rebuilt against new openssl
|
|
|
|
|
2005-09-13 07:41:17 +00:00
|
|
|
* Tue Sep 13 2005 Harald Hoyer <harald@redhat.com> - 2:3.93-1
|
|
|
|
- version 3.93
|
|
|
|
|
2005-08-03 12:21:10 +00:00
|
|
|
* Wed Aug 03 2005 Harald Hoyer <harald@redhat.com> - 2:3.81-4
|
|
|
|
- removed references how to scan microsoft.com (bz #164962)
|
2005-08-03 13:02:01 +00:00
|
|
|
- finally got rid of gtk+-devel dependency
|
2005-08-03 12:21:10 +00:00
|
|
|
|
2005-04-21 14:25:02 +00:00
|
|
|
* Thu Apr 21 2005 Harald Hoyer <harald@redhat.com> - 2:3.81-3
|
|
|
|
- removed gtk+ requirement
|
|
|
|
|
2005-04-21 14:11:14 +00:00
|
|
|
* Thu Apr 21 2005 Harald Hoyer <harald@redhat.com> - 2:3.81-2
|
|
|
|
- fixed desktop file and added icons (bug #149157)
|
|
|
|
|
2005-03-02 14:19:59 +00:00
|
|
|
* Wed Mar 02 2005 Harald Hoyer <harald@redhat.com> - 2:3.81-1
|
|
|
|
- version 3.81
|
|
|
|
|
2005-02-02 15:25:31 +00:00
|
|
|
* Wed Feb 02 2005 Harald Hoyer <harald@redhat.com> - 2:3.78-2
|
|
|
|
- evil port of nmapfe to gtk2
|
|
|
|
|
2004-12-17 14:33:24 +00:00
|
|
|
* Fri Dec 17 2004 Harald Hoyer <harald@redhat.com> - 2:3.78-1
|
|
|
|
- version 3.78
|
|
|
|
|
2004-09-13 14:23:41 +00:00
|
|
|
* Mon Sep 13 2004 Harald Hoyer <harald@redhat.com> - 2:3.70-1
|
|
|
|
- version 3.70
|
|
|
|
|
2004-09-09 09:20:54 +00:00
|
|
|
* Tue Jul 13 2004 Harald Hoyer <harald@redhat.com> - 2:3.55-1
|
|
|
|
- new version
|
|
|
|
|
2004-09-09 09:20:44 +00:00
|
|
|
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2004-09-09 09:20:36 +00:00
|
|
|
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2004-09-09 09:20:54 +00:00
|
|
|
* Thu Jan 29 2004 Harald Hoyer <harald@redhat.com> - 2:3.50-2
|
2004-09-09 09:19:47 +00:00
|
|
|
- added BuildRequires: openssl-devel, gtk+-devel, pcre-devel, libpcap
|
|
|
|
|
2004-09-09 09:20:54 +00:00
|
|
|
* Thu Jan 22 2004 Harald Hoyer <harald@redhat.com> - 2:3.50-1
|
2004-09-09 09:19:41 +00:00
|
|
|
- version 3.50
|
|
|
|
|
2004-09-09 09:19:31 +00:00
|
|
|
* Wed Oct 8 2003 Harald Hoyer <harald@redhat.de> 2:3.48-1
|
|
|
|
- version 3.48
|
|
|
|
|
|
|
|
* Tue Sep 23 2003 Florian La Roche <Florian.LaRoche@redhat.de>
|
|
|
|
- allow disabling frontend if gtk1 is not available
|
|
|
|
|
|
|
|
* Mon Jul 30 2003 Harald Hoyer <harald@redhat.de> 2:3.30-1
|
|
|
|
- version 3.30
|
|
|
|
|
|
|
|
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Mon May 26 2003 Harald Hoyer <harald@redhat.de> 2:3.27-1
|
|
|
|
- version 3.27
|
|
|
|
|
|
|
|
* Mon May 12 2003 Harald Hoyer <harald@redhat.de> 2:3.20-2
|
|
|
|
- changed macro comments to double %% for changelog entries
|
|
|
|
|
|
|
|
* Mon Apr 14 2003 Harald Hoyer <harald@redhat.de> 2:3.20-1
|
|
|
|
- version 3.2
|
|
|
|
|
2004-09-09 09:18:32 +00:00
|
|
|
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Thu Jan 9 2003 Harald Hoyer <harald@redhat.de> 3.0-3
|
|
|
|
- nmap-3.00-nowarn.patch added
|
|
|
|
|
|
|
|
* Mon Nov 18 2002 Tim Powers <timp@redhat.com>
|
|
|
|
- rebuild on all arches
|
|
|
|
- remove old desktop file from $$RPM_BUILD_ROOT so rpm won't complain
|
|
|
|
|
2004-09-09 09:18:24 +00:00
|
|
|
* Thu Aug 1 2002 Harald Hoyer <harald@redhat.de>
|
|
|
|
- version 3.0
|
|
|
|
|
2004-09-09 09:18:03 +00:00
|
|
|
* Mon Jul 29 2002 Harald Hoyer <harald@redhat.de> 2.99.2-1
|
|
|
|
- bumped version
|
|
|
|
|
|
|
|
* Fri Jul 26 2002 Harald Hoyer <harald@redhat.de> 2.99.1-2
|
|
|
|
- bumped version to 2.99RC1
|
|
|
|
|
|
|
|
* Fri Jul 19 2002 Florian La Roche <Florian.LaRoche@redhat.de>
|
|
|
|
- add an epoch
|
|
|
|
|
|
|
|
* Mon Jul 1 2002 Harald Hoyer <harald@redhat.de> 2.54.36-1
|
|
|
|
- removed desktop file
|
|
|
|
- removed "BETA" name from version
|
|
|
|
- update to BETA36
|
|
|
|
|
|
|
|
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
|
|
|
|
- automated rebuild
|
|
|
|
|
|
|
|
* Sun May 26 2002 Tim Powers <timp@redhat.com>
|
|
|
|
- automated rebuild
|
|
|
|
|
|
|
|
* Wed May 22 2002 Harald Hoyer <harald@redhat.de> 2.54BETA34-1
|
|
|
|
- update to 2.54BETA34
|
|
|
|
|
2004-09-09 09:17:51 +00:00
|
|
|
* Mon Mar 25 2002 Harald Hoyer <harald@redhat.com>
|
|
|
|
- more recent version (#61490)
|
|
|
|
|
2004-09-09 09:17:30 +00:00
|
|
|
* Mon Jul 23 2001 Harald Hoyer <harald@redhat.com>
|
|
|
|
- buildprereq for nmap-frontend (#49644)
|
|
|
|
|
|
|
|
* Sun Jul 22 2001 Heikki Korpela <heko@iki.fi>
|
|
|
|
- buildrequire gtk+
|
|
|
|
|
2004-09-09 09:17:24 +00:00
|
|
|
* Tue Jul 10 2001 Tim Powers <timp@redhat.com>
|
|
|
|
- fix bugs in desktop file (#48341)
|
|
|
|
|
|
|
|
* Wed May 16 2001 Tim Powers <timp@redhat.com>
|
|
|
|
- updated to 2.54BETA22
|
|
|
|
|
|
|
|
* Mon Nov 20 2000 Tim Powers <timp@redhat.com>
|
|
|
|
- rebuilt to fix bad dir perms
|
|
|
|
|
|
|
|
* Fri Nov 3 2000 Tim Powers <timp@redhat.com>
|
|
|
|
- fixed nmapdatadir in the install section, forgot lto include
|
|
|
|
$RPM_BUILD_ROOT in the path
|
|
|
|
|
|
|
|
* Thu Nov 2 2000 Tim Powers <timp@redhat.com>
|
|
|
|
- update to nmap-2.54BETA7 to possibly fix bug #20199
|
|
|
|
- use the desktop file provided by the package instead of using my own
|
|
|
|
- patches in previous version are depreciated. Included in SRPM for
|
|
|
|
reference only
|
|
|
|
|
|
|
|
* Mon Jul 24 2000 Prospector <prospector@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Mon Jul 10 2000 Tim Powers <timp@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Wed Jun 28 2000 Tim Powers <timp@redhat.com>
|
|
|
|
- rebuilt package
|
|
|
|
|
|
|
|
* Thu Jun 8 2000 Tim Powers <timp@redhat.com>
|
|
|
|
- fixed man pages so that they are in an FHS compliant location
|
|
|
|
- use %%makeinstall
|
|
|
|
- use predefined RPM macros wherever possible
|
|
|
|
|
|
|
|
* Tue May 16 2000 Tim Powers <timp@redhat.com>
|
|
|
|
- updated to 2.53
|
|
|
|
- using applnk now
|
2004-09-09 09:19:31 +00:00
|
|
|
- use %%configure, and %%{_prefix} where possible
|
2004-09-09 09:17:24 +00:00
|
|
|
- removed redundant defines at top of spec file
|
|
|
|
|
|
|
|
* Mon Dec 13 1999 Tim Powers <timp@redhat.com>
|
|
|
|
- based on origional spec file from
|
|
|
|
http://www.insecure.org/nmap/index.html#download
|
|
|
|
- general cleanups, removed lots of commenrts since it madethe spec hard to
|
|
|
|
read
|
|
|
|
- changed group to Applications/System
|
|
|
|
- quiet setup
|
|
|
|
- no need to create dirs in the install section, "make
|
|
|
|
prefix=$RPM_BUILD_ROOT&{prefix} install" does this.
|
2004-09-09 09:19:31 +00:00
|
|
|
- using defined %%{prefix}, %%{version} etc. for easier/quicker maint.
|
2004-09-09 09:17:24 +00:00
|
|
|
- added docs
|
|
|
|
- gzip man pages
|
|
|
|
- strip after files have been installed into buildroot
|
|
|
|
- created separate package for the frontend so that Gtk+ isn't needed for the
|
|
|
|
CLI nmap
|
|
|
|
- not using -f in files section anymore, no need for it since there aren't that
|
|
|
|
many files/dirs
|
|
|
|
- added desktop entry for gnome
|
|
|
|
|
|
|
|
* Sun Jan 10 1999 Fyodor <fyodor@dhp.com>
|
|
|
|
- Merged in spec file sent in by Ian Macdonald <ianmacd@xs4all.nl>
|
|
|
|
|
|
|
|
* Tue Dec 29 1998 Fyodor <fyodor@dhp.com>
|
|
|
|
- Made some changes, and merged in another .spec file sent in
|
|
|
|
by Oren Tirosh <oren@hishome.net>
|
|
|
|
|
|
|
|
* Mon Dec 21 1998 Riku Meskanen <mesrik@cc.jyu.fi>
|
|
|
|
- initial build for RH 5.x
|