5ff987
#Todo: stop using local copy of libdnet, once system distributed version 
5ff987
#supports sctp (grep sctp /usr/include/dnet.h)
5ff987
5ff987
%global _hardened_build 1
5ff987
%if 0%{?fedora} && 0%{?fedora}  <= 28
5ff987
%global with_frontend 1
5ff987
%else
5ff987
%global with_frontend 0
5ff987
%endif
5ff987
5ff987
Summary: Network exploration tool and security scanner
5ff987
Name: nmap
5ff987
Epoch: 2
5ff987
Version: 7.70
5ff987
#global prerelease TEST5
54e5fb
Release: 8%{?dist}
5ff987
# Uses combination of licenses based on GPL license, but with extra modification
5ff987
# so it got its own license tag rhbz#1055861
5ff987
License: Nmap
5ff987
Group: Applications/System
5ff987
Requires: %{name}-ncat = %{epoch}:%{version}-%{release}
5ff987
Source0: http://nmap.org/dist/%{name}-%{version}%{?prerelease}.tar.bz2
5ff987
%if %{with_frontend}
5ff987
Source1: zenmap.desktop
5ff987
Source2: zenmap-root.pamd
5ff987
Source3: zenmap.appdata.xml
5ff987
%endif
5ff987
5ff987
#prevent possible race condition for shtool, rhbz#158996
5ff987
Patch1: nmap-4.03-mktemp.patch
5ff987
5ff987
#don't suggest to scan microsoft
5ff987
Patch2: nmap-4.52-noms.patch
5ff987
5ff987
# upstream provided patch for rhbz#845005, not yet in upstream repository
5ff987
Patch5: ncat_reg_stdin.diff
5ff987
Patch6: nmap-6.25-displayerror.patch
0624ec
Patch7: nmap-safe_fd_functions.patch
5ff987
54e5fb
# https://github.com/nmap/nmap/pull/2247
54e5fb
Patch8: nmap_resolve_config.patch
54e5fb
54e5fb
# https://bugzilla.redhat.com/show_bug.cgi?id=2120294
54e5fb
Patch9: nmap-ipv6_literal_proxy.patch
5ff987
5ff987
URL: http://nmap.org/
5ff987
BuildRequires: gcc-c++
5ff987
BuildRequires: openssl-devel, gtk2-devel, lua-devel, libpcap-devel, pcre-devel
5ff987
BuildRequires: desktop-file-utils, dos2unix
5ff987
BuildRequires: libtool, automake, autoconf, gettext-devel
5ff987
5ff987
%if ! %{with_frontend}
5ff987
Obsoletes: nmap-frontend
5ff987
Obsoletes: nmap-ndiff
5ff987
%endif
5ff987
5ff987
5ff987
5ff987
%define pixmap_srcdir zenmap/share/pixmaps
5ff987
5ff987
%description
5ff987
Nmap is a utility for network exploration or security auditing.  It supports
5ff987
ping scanning (determine which hosts are up), many port scanning techniques
5ff987
(determine what services the hosts are offering), and TCP/IP fingerprinting
5ff987
(remote host operating system identification). Nmap also offers flexible target
5ff987
and port specification, decoy scanning, determination of TCP sequence
5ff987
predictability characteristics, reverse-identd scanning, and more. In addition
5ff987
to the classic command-line nmap executable, the Nmap suite includes a flexible
5ff987
data transfer, redirection, and debugging tool (netcat utility ncat), a utility
5ff987
for comparing scan results (ndiff), and a packet generation and response
5ff987
analysis tool (nping). 
5ff987
5ff987
%if %{with_frontend}
5ff987
%package frontend
5ff987
Summary: The GTK+ front end for nmap
5ff987
Group: Applications/System
5ff987
Requires: nmap = %{epoch}:%{version} gtk2 python2 >= 2.5 pygtk2 usermode
5ff987
Requires: nmap-ndiff = %{epoch}:%{version}
5ff987
BuildRequires: python2-devel pygtk2-devel libpng-devel
5ff987
BuildArch: noarch
5ff987
5ff987
%description frontend
5ff987
This package includes zenmap, a GTK+ front end for nmap. The nmap package must
5ff987
be installed before installing nmap front end.
5ff987
5ff987
%package ndiff
5ff987
Summary: Ndiff is a tool to aid in the comparison of Nmap scans
5ff987
Group:   Applications/System
5ff987
BuildRequires: python2 >= 2.5
5ff987
Requires: nmap = %{epoch}:%{version}
5ff987
BuildArch: noarch
5ff987
5ff987
%description ndiff
5ff987
%{summary}
5ff987
%endif
5ff987
5ff987
%package ncat
5ff987
Group:   Applications/System
5ff987
Summary: Nmap's Netcat replacement
5ff987
Obsoletes: nc < 1.109.20120711-2
5ff987
Obsoletes: nc6 < 1.00-22
5ff987
Provides: nc nc6
5ff987
5ff987
%description ncat
5ff987
Ncat is a feature packed networking utility which will read and
5ff987
write data across a network from the command line.  It uses both
5ff987
TCP and UDP for communication and is designed to be a reliable
5ff987
back-end tool to instantly provide network connectivity to other
5ff987
applications and users. Ncat will not only work with IPv4 and IPv6
5ff987
but provides the user with a virtually limitless number of potential
5ff987
uses.
5ff987
40da93
%if 0%{?rhel} && 0%{?rhel}  >= 0
40da93
Requires(post): %{_sbindir}/update-alternatives
40da93
Requires(postun): %{_sbindir}/update-alternatives
40da93
%endif
5ff987
5ff987
5ff987
%prep
0624ec
%autosetup -p1 -n %{name}-%{version}%{?prerelease}
5ff987
5ff987
#be sure we're not using tarballed copies of some libraries
5ff987
#rm -rf liblua libpcap libpcre macosx mswin32 ###TODO###
5ff987
5ff987
rm -rf libpcap libpcre macosx mswin32 libssh2 libz
5ff987
5ff987
# for aarch64 support, not needed with autotools 2.69+
5ff987
for f in acinclude.m4 configure.ac nping/configure.ac
5ff987
do
5ff987
  sed -i -e 's/\(AC_DEFINE([^,)]*\))/\1, 1, [Description])/' -e 's/\(AC_DEFINE([^,]*,[^,)]*\))/\1, [Description])/' $f
5ff987
done
5ff987
autoreconf -I . -fiv --no-recursive
5ff987
cd nping; autoreconf -I .. -fiv --no-recursive; cd ..
5ff987
5ff987
%if %{with_frontend}
5ff987
#fix locale dir
5ff987
mv zenmap/share/zenmap/locale zenmap/share
5ff987
sed -i -e "s|^locale_dir =.*$|locale_dir = os.path.join('share','locale')|" \
5ff987
 -e 's|join(self.install_data, data_dir)|join(self.install_data, "share")|' zenmap/setup.py
5ff987
sed -i 's|^LOCALE_DIR = .*|LOCALE_DIR = join(prefix, "share", "locale")|' zenmap/zenmapCore/Paths.py
5ff987
%endif
5ff987
5ff987
%build
5ff987
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
5ff987
export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
5ff987
### TODO ## configure  --with-libpcap=/usr ###TODO###
5ff987
### TODO if 0%{%fedora} --with-libsssh
5ff987
%configure  --with-libpcap=yes --with-liblua=included \
5ff987
%if ! %{with_frontend}
5ff987
  --without-zenmap \
5ff987
  --without-ndiff \
5ff987
%endif
5ff987
  --enable-dbus --without-libssh2
5ff987
make %{?_smp_mflags}
5ff987
5ff987
#fix man page (rhbz#813734)
5ff987
sed -i 's/-md/-mf/' nping/docs/nping.1
5ff987
5ff987
%install
5ff987
#prevent stripping - replace strip command with 'true'
5ff987
make DESTDIR=%{buildroot} STRIP=true install
5ff987
5ff987
#do not include certificate bundle (#734389)
5ff987
rm -f %{buildroot}%{_datadir}/ncat/ca-bundle.crt
5ff987
rmdir %{buildroot}%{_datadir}/ncat
5ff987
40da93
%if 0%{?fedora} && 0%{?fedora}  >= 0
40da93
# we provide 'nc' replacement
40da93
# Do not create symlinks on manpages on rhel because of
40da93
# rhbz#1578776
40da93
ln -s ncat.1.gz %{buildroot}/%{_mandir}/man1/nc.1.gz
40da93
ln -s ncat %{buildroot}/%{_bindir}/nc
40da93
%endif
5ff987
5ff987
%if %{with_frontend}
5ff987
rm -f %{buildroot}%{_bindir}/uninstall_zenmap
5ff987
#do not include uninstall script
5ff987
rm -f %{buildroot}%{_bindir}/uninstall_ndiff
5ff987
5ff987
rm -f %{buildroot}%{_datadir}/applications/zenmap*.desktop
5ff987
mkdir -p %{buildroot}%{_sysconfdir}/pam.d
5ff987
install -m 0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/pam.d/zenmap-root
5ff987
5ff987
cp docs/zenmap.1 %{buildroot}%{_mandir}/man1/
5ff987
gzip %{buildroot}%{_mandir}/man1/* || :
5ff987
pushd %{buildroot}%{_mandir}/man1
5ff987
ln -s zenmap.1.gz nmapfe.1.gz
5ff987
ln -s zenmap.1.gz xnmap.1.gz
5ff987
popd
5ff987
5ff987
desktop-file-install --vendor nmap \
5ff987
    --dir %{buildroot}%{_datadir}/applications \
5ff987
    --add-category X-Red-Hat-Base \
5ff987
    %{SOURCE1};
5ff987
5ff987
mkdir -p  %{buildroot}/%{_datadir}/metainfo/
5ff987
install -p -m 0644 %SOURCE3 %{buildroot}/%{_datadir}/metainfo/
5ff987
5ff987
#for .desktop and app icon
5ff987
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/256x256/apps
5ff987
ln -s ../../../../zenmap/pixmaps/zenmap.png %{buildroot}%{_datadir}/icons/hicolor/256x256/apps
5ff987
5ff987
# fix end-of-line
5ff987
pushd %{buildroot}
5ff987
for fe in ./%{python_sitelib}/zenmapCore/Paths.py
5ff987
do
5ff987
  dos2unix <$fe >$fe.new
5ff987
  touch -r $fe $fe.new
5ff987
  mv -f $fe.new $fe
5ff987
done
5ff987
popd
5ff987
%find_lang zenmap
5ff987
%endif
5ff987
5ff987
%find_lang nmap --with-man
40da93
touch %{buildroot}%{_bindir}/nc
40da93
40da93
%post ncat
40da93
%{_sbindir}/update-alternatives --install %{_bindir}/nc \
40da93
  %{name} %{_bindir}/ncat 10 \
40da93
  --slave %{_mandir}/man1/nc.1.gz ncman %{_mandir}/man1/ncat.1.gz  
40da93
40da93
## ln -s ncat.1.gz $RPM_BUILD_ROOT%{_mandir}/man1/nc.1.gz
40da93
40da93
%postun ncat
40da93
if [ $1 -eq 0 ] ; then
40da93
  %{_sbindir}/update-alternatives --remove %{name} %{_bindir}/ncat
40da93
fi
40da93
5ff987
5ff987
%files -f nmap.lang
5ff987
%doc COPYING*
5ff987
%doc docs/README
5ff987
%doc docs/nmap.usage.txt
5ff987
%{_bindir}/nmap
5ff987
%{_bindir}/nping
5ff987
%{_mandir}/man1/nmap.1.gz
5ff987
%{_mandir}/man1/nping.1.gz
5ff987
%{_datadir}/nmap
5ff987
5ff987
%files ncat 
5ff987
%doc COPYING ncat/docs/AUTHORS ncat/docs/README ncat/docs/THANKS ncat/docs/examples
40da93
%if 0%{?fedora} && 0%{?fedora}  >= 0
5ff987
%{_bindir}/nc
5ff987
%{_mandir}/man1/nc.1.gz
40da93
%else
40da93
%ghost %{_bindir}/nc
40da93
%ghost %{_mandir}/man1/nc.1.gz
40da93
%endif
40da93
%{_bindir}/ncat
5ff987
%{_mandir}/man1/ncat.1.gz
5ff987
5ff987
%if %{with_frontend}
5ff987
%files ndiff
5ff987
%{_bindir}/ndiff
5ff987
%{python_sitelib}/ndiff.py
5ff987
%{python_sitelib}/ndiff.py?
5ff987
%{_mandir}/man1/ndiff.1.gz
5ff987
5ff987
%files frontend -f zenmap.lang
5ff987
%defattr(-,root,root)
5ff987
%config(noreplace) %{_sysconfdir}/pam.d/zenmap-root
5ff987
%{_bindir}/zenmap
5ff987
%{_bindir}/nmapfe
5ff987
%{_bindir}/xnmap
5ff987
%{python_sitelib}/radialnet
5ff987
%{python_sitelib}/zenmap*
5ff987
%{_datadir}/applications/nmap-zenmap.desktop
5ff987
%{_datadir}/icons/hicolor/256x256/apps/*
5ff987
%{_datadir}/zenmap
5ff987
%{_mandir}/man1/zenmap.1.gz
5ff987
%{_mandir}/man1/nmapfe.1.gz
5ff987
%{_mandir}/man1/xnmap.1.gz
5ff987
%{_datadir}/metainfo/zenmap.appdata.xml
5ff987
%endif
5ff987
5ff987
%changelog
54e5fb
* Tue Aug 23 2022 Martin Osvald <mosvald@redhat.com> - 2:7.70-8
54e5fb
- Resolves: #2120294 - wrong connect format
54e5fb
54e5fb
* Wed May 04 2022 Martin Osvald <mosvald@redhat.com> - 2:7.70-7
54e5fb
- Do not listen on ipv6 if it's disabled (#1899824)
54e5fb
0624ec
* Wed Jul 21 2021 Pavel Zhukov <pzhukov@redhat.com> - 2:7.70-6
0624ec
- Use safe variants of FD_ functions (#1914733)
0624ec
40da93
* Thu Mar 28 2019 Pavel Zhukov <pzhukov@redhat.com> - 2:7.70-5
40da93
- Resolves: #1653119 - Manage nc symlink using alternatives
40da93
5ff987
* Mon Sep 17 2018 Pavel Zhukov <pzhukov@redhat.com> - 2:7.70-4
5ff987
- Resolves: #1627053 - Obsolete python2 packages
5ff987
5ff987
* Mon Jun  4 2018 Pavel Zhukov <pzhukov@redhat.com> - 2:7.70-3
5ff987
- Disable build with libssh in RHEL (#1584704)
5ff987
5ff987
* Thu Apr 19 2018 Pavel Zhukov <pzhukov@redhat.com> - 2:7.70-2
5ff987
- Do not build zenmap and ndiff because of python2 deprecation
5ff987
5ff987
* Wed Mar 21 2018 Pavel Zhukov <pzhukov@redhat.com> - 2:7.70-1
5ff987
- New version 7.70 (#1558770)
5ff987
5ff987
* Tue Feb 27 2018 Pavel Zhukov <pzhukov@redhat.com> - 2:7.60-14
5ff987
- Add appdata file (#1476506)
5ff987
5ff987
* Mon Feb 19 2018 Pavel Zhukov <pzhukov@redhat.com> - 2:7.60-12
5ff987
- add gcc-c++ BR
5ff987
5ff987
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2:7.60-11
5ff987
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
5ff987
5ff987
* Mon Jan 22 2018 Pavel Zhukov <pzhukov@redhat.com> - 2:7.60-10
5ff987
- Print source address in UDP mode
5ff987
5ff987
* Thu Jan 18 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2:7.60-9
5ff987
- Remove obsolete scriptlets
5ff987
5ff987
* Mon Aug 21 2017 Pavel Zhukov <pzhukov@redhat.com> - 2:7.60-8
5ff987
- Fix memory leaks on error
5ff987
5ff987
* Thu Aug  3 2017 Pavel Zhukov <pzhukov@redhat.com> - 2:7.60-7
5ff987
- Use upstream patch
5ff987
5ff987
* Thu Aug  3 2017 Pavel Zhukov <pzhukov@redhat.com> - 2:7.60-6
5ff987
- Fix library version for non-included libraries
5ff987
5ff987
* Thu Aug  3 2017 Pavel Zhukov <pzhukov@redhat.com> - 2:7.60-4
5ff987
- Keep nmap specific libssh and libz headers
5ff987
- Drop unused libssh2 patch
5ff987
5ff987
* Thu Aug  3 2017 Pavel Zhukov <pzhukov@redhat.com> - 2:7.60-4
5ff987
- Delete bundled libssh2
5ff987
- Delete bundled zlib
5ff987
5ff987
* Wed Aug 02 2017 Pavel Zhukov <pzhukov@redhat.com> - 2:7.60-1
5ff987
- New release 7.60 (#1477387)
5ff987
5ff987
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2:7.50-10
5ff987
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
5ff987
5ff987
* Fri Jul 21 2017 Pavel Zhukov <pzhukov@redhat.com> - 2:7.50-9
5ff987
- Don't ship ndiff in nmap package
5ff987
5ff987
* Wed Jul 19 2017 Pavel Zhukov <pzhukov@redhat.com> - 2:7.50-8
5ff987
- change ndiff arch to noarch
5ff987
- Move nmap to Requires (was in BR)
5ff987
5ff987
* Tue Jul 18 2017 Pavel Zhukov <pzhukov@redhat.com> - 2:7.50-6
5ff987
- Add missed py[co] files
5ff987
5ff987
* Tue Jul 18 2017 Pavel Zhukov <pzhukov@redhat.com> - 2:7.50-5
5ff987
- Move ndiff to subpackage (#1471999)
5ff987
- Specify python version 
5ff987
5ff987
* Fri Jun 30 2017 Pavel Zhukov <landgraf@fedoraproject.org> - 2:7.50-3
5ff987
- Add provides for nc6 (#1348348)
5ff987
- Fix rpmlint errors
5ff987
5ff987
* Wed Jun 21 2017 Pavel Zhukov <landgraf@fedoraproject.org> - 2:7.50-1
5ff987
- New release (7.50)
5ff987
5ff987
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2:7.40-2
5ff987
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
5ff987
5ff987
* Tue Jan 03 2017 Michal Hlavinka <mhlavink@redhat.com> - 2:7.40-1
5ff987
- nmap updated to 7.40
5ff987
5ff987
* Mon Oct 24 2016 Michal Hlavinka <mhlavink@redhat.com> - 2:7.31-1
5ff987
- nmap updated to 7.31
5ff987
5ff987
* Mon Oct 03 2016 Michal Hlavinka <mhlavink@redhat.com> - 2:7.30-1
5ff987
- nmap updated to 7.30
5ff987
5ff987
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:7.12-2
5ff987
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
5ff987
5ff987
* Thu Mar 31 2016 Michal Hlavinka <mhlavink@redhat.com> - 2:7.12-1
5ff987
- nmap updated to 7.12
5ff987
5ff987
* Wed Mar 23 2016 Michal Hlavinka <mhlavink@redhat.com> - 2:7.11-1
5ff987
- nmap updated to 7.11
5ff987
5ff987
* Fri Mar 18 2016 Michal Hlavinka <mhlavink@redhat.com> - 2:7.10-1
5ff987
- nmap updated to 7.10
5ff987
5ff987
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2:7.01-2
5ff987
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
5ff987
5ff987
* Fri Dec 11 2015 Michal Hlavinka <mhlavink@redhat.com> - 2:7.01-1
5ff987
- nmap updated to 7.01
5ff987
5ff987
* Tue Sep 01 2015 Michal Hlavinka <mhlavink@redhat.com> - 2:6.47-5
5ff987
- fix FTBFS
5ff987
5ff987
* Mon Aug 31 2015 Michal Hlavinka <mhlavink@redhat.com> - 2:6.47-4
5ff987
- ncat should try to connect to all resolved addresses, not only the first one (#978964)
5ff987
5ff987
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:6.47-3
5ff987
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
5ff987
5ff987
* Wed Dec 10 2014 Michal Hlavinka <mhlavink@redhat.com> - 2:6.47-2
5ff987
- do not own icons/hicolor/<size>/apps directory (#1171813)
5ff987
5ff987
* Mon Aug 25 2014 Michal Hlavinka <mhlavink@redhat.com> - 2:6.47-1
5ff987
- nmap updated to 6.47
5ff987
5ff987
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:6.46-3
5ff987
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
5ff987
5ff987
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:6.46-2
5ff987
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
5ff987
5ff987
* Tue Apr 22 2014 Michal Hlavinka <mhlavink@redhat.com> - 2:6.46-1
5ff987
- nmap updated to 6.46
5ff987
5ff987
* Mon Apr 14 2014 Michal Hlavinka <mhlavink@redhat.com> - 2:6.45-1
5ff987
- nmap updated to 6.45
5ff987
5ff987
* Wed Apr 09 2014 Michal Hlavinka <mhlavink@redhat.com> - 2:6.40-6
5ff987
- fix unexpected crash when too much paralelism is used (#1057912)
5ff987
5ff987
* Wed Apr 09 2014 Michal Hlavinka <mhlavink@redhat.com> - 2:6.40-5
5ff987
- update license tag (#1055861)
5ff987
5ff987
* Tue Mar 04 2014 Michal Hlavinka <mhlavink@redhat.com> - 2:6.40-4
5ff987
- use _hardened_build
5ff987
5ff987
* Thu Oct 17 2013 Michal Hlavinka <mhlavink@redhat.com> - 2:6.40-3
5ff987
- ncat should support UNIX sockets correctly, drop wrapper with socat
5ff987
5ff987
* Thu Aug 08 2013 Michal Hlavinka <mhlavink@redhat.com> - 2:6.40-2
5ff987
- do not print debug messages during normal use (#994376)
5ff987
5ff987
* Tue Jul 30 2013 Michal Hlavinka <mhlavink@redhat.com> - 2:6.40-1
5ff987
- nmap updated to 6.40
5ff987
5ff987
* Mon Jul 22 2013 Michal Hlavinka <mhlavink@redhat.com> - 2:6.25-7
5ff987
- bundled lua no longer required
5ff987
5ff987
* Mon Jun 24 2013 Michal Hlavinka <mhlavink@redhat.com> - 2:6.25-6.20130624svn
5ff987
- use svn snapshot that contains all necessary UDP patches
5ff987
5ff987
* Fri May 24 2013 Michal Hlavinka <mhlavink@redhat.com> - 2:6.25-5
5ff987
- fix man page typo
5ff987
5ff987
* Thu May 23 2013 Michal Hlavinka <mhlavink@redhat.com> - 2:6.25-4
5ff987
- zenamp: fix icon symlink (#957381)
5ff987
5ff987
* Thu May 23 2013 Michal Hlavinka <mhlavink@redhat.com> - 2:6.25-3
5ff987
- zenmap: do not traceback when there si no display, just exit nicely (#958240)
5ff987
5ff987
* Thu Mar 28 2013 Michal Hlavinka <mhlavink@redhat.com> - 2:6.25-2
5ff987
- fix aarch64 support (#926241)
5ff987
5ff987
* Fri Mar 08 2013 Michal Hlavinka <mhlavink@redhat.com> - 2:6.25-1
5ff987
- nmap updated to 6.25
5ff987
5ff987
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:6.01-11
5ff987
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
5ff987
5ff987
* Fri Jan 04 2013 Michal Hlavinka <mhlavink@redhat.com> - 2:6.01-10
5ff987
- use select as default nsock engine
5ff987
5ff987
* Thu Nov 29 2012 Michal Hlavinka <mhlavink@redhat.com> - 2:6.01-9
5ff987
- do not use strict aliasing
5ff987
5ff987
* Thu Nov 29 2012 Michal Hlavinka <mhlavink@redhat.com> - 2:6.01-8
5ff987
- call shutdown also in listen mode
5ff987
5ff987
* Tue Oct 02 2012 Petr Å abata <contyk@redhat.com> - 2:6.01-7
5ff987
- Move the socat dependency to the ncat subpackage (#858733)
5ff987
5ff987
* Wed Sep 19 2012 Michal Hlavinka <mhlavink@redhat.com> - 2:6.01-6
5ff987
- shutdown socket on EOF (#845075)
5ff987
5ff987
* Mon Aug 13 2012 Michal Hlavinka <mhlavink@redhat.com> - 2:6.01-5
5ff987
- ncat did not work when file was used as input (#845005)
5ff987
5ff987
* Tue Jul 24 2012 Michal Hlavinka <mhlavink@redhat.com> - 2:6.01-4
5ff987
- add nc wrapper with socat as a fallback for unix sockets
5ff987
5ff987
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:6.01-3
5ff987
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
5ff987
5ff987
* Wed Jul 18 2012 Michal Hlavinka <mhlavink@redhat.com> - 2:6.01-2
5ff987
- provide ncat in extra package as replacement for nc
5ff987
5ff987
* Mon Jun 18 2012 Michal Hlavinka <mhlavink@redhat.com> - 2:6.01-1
5ff987
- nmap updated to 6.01
5ff987
5ff987
* Tue Jun 05 2012 Michal Hlavinka <mhlavink@redhat.com> - 2:6.00-2
5ff987
- prevent stripping binaries
5ff987
5ff987
* Tue Jun 05 2012 Michal Hlavinka <mhlavink@redhat.com> - 2:6.00-1
5ff987
- updated to 6.00
5ff987
5ff987
* Wed Mar 14 2012 Michal Hlavinka <mhlavink@redhat.com> - 2:5.61-0.1.TEST5
5ff987
- updated to 5.61TEST5
5ff987
5ff987
* Fri Feb 10 2012 Petr Pisar <ppisar@redhat.com> - 2:5.51-5
5ff987
- Rebuild against PCRE 8.30
5ff987
5ff987
* Fri Feb 10 2012 Petr Pisar <ppisar@redhat.com> - 2:5.51-4
5ff987
- Rebuild against PCRE 8.30
5ff987
5ff987
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:5.51-3
5ff987
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
5ff987
5ff987
* Thu Dec 08 2011 Michal Hlavinka <mhlavink@redhat.com> - 2:5.51-2
5ff987
- do not use bundled certificates, use only system ones (#734389)
5ff987
5ff987
* Mon Feb 14 2011 Michal Hlavinka <mhlavink@redhat.com> - 2:5.51-1
5ff987
- nmap updated to 5.51
5ff987
5ff987
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:5.50-2
5ff987
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
5ff987
5ff987
* Mon Feb 07 2011 Michal Hlavinka <mhlavink@redhat.com> - 2:5.50-1
5ff987
- updated to 5.50
5ff987
5ff987
* Tue Oct 05 2010 Michal Hlavinka <mhlavink@redhat.com> - 2:5.21-10
5ff987
- add workaround for zenmap crash (#637403)
5ff987
5ff987
* Wed Sep 29 2010 jkeating - 2:5.21-9
5ff987
- Rebuilt for gcc bug 634757
5ff987
5ff987
* Fri Sep 17 2010 Michal Hlavinka <mhlavink@redhat.com> - 2:5.21-8
5ff987
- fix location of ja man page (#632104)
5ff987
5ff987
* Thu Aug 19 2010 Michal Hlavinka <mhlavink@redhat.com> - 2:5.21-7
5ff987
- update icon cache only after gui install
5ff987
5ff987
* Wed Aug 11 2010 Michal Hlavinka <mhlavink@redhat.com> - 2:5.21-6
5ff987
- update icon cache after package install
5ff987
5ff987
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 2:5.21-5
5ff987
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
5ff987
5ff987
* Mon Jun 21 2010 Michal Hlavinka <mhlavink@redhat.com> - 2:5.21-4
5ff987
- build -frontend as noarch
5ff987
5ff987
* Fri Jun 18 2010 Michal Hlavinka <mhlavink@redhat.com> - 2:5.21-3
5ff987
- fix multilib issue
5ff987
5ff987
* Fri Apr 30 2010 Ville Skyttä <ville.skytta@iki.fi> - 2:5.21-2
5ff987
- Mark localized man pages with %%lang.
5ff987
5ff987
* Mon Feb 01 2010 Michal Hlavinka <mhlavink@redhat.com> - 2:5.21-1
5ff987
- updated to 5.21
5ff987
5ff987
* Tue Jan 12 2010 Michal Hlavinka <mhlavink@redhat.com> - 2:5.00-6
5ff987
- use sqlite3 (instead of sqlite2)
5ff987
5ff987
* Tue Dec 01 2009 Michal Hlavinka <mhlavink@redhat.com> - 2:5.00-5
5ff987
- spec cleanup
5ff987
5ff987
* Mon Nov 02 2009 Michal Hlavinka <mhlavink@redhat.com> - 2:5.00-4
5ff987
- spec cleanup
5ff987
5ff987
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 2:5.00-3
5ff987
- rebuilt with new openssl
5ff987
5ff987
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:5.00-2
5ff987
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
5ff987
5ff987
* Fri Jul 17 2009 Michal Hlavinka <mhlavink@redhat.com> - 2:5.0-1
5ff987
- updated to 5.0
5ff987
5ff987
* Wed Jul 15 2009 Michal Hlavinka <mhlavink@redhat.com> - 2:4.90-0.RC1
5ff987
- updated to 4.90RC1
5ff987
5ff987
* Thu Jun 18 2009 Michal Hlavinka <mhlavink@redhat.com> - 2:4.85-0.BETA10
5ff987
- updated to 4.85beta10
5ff987
5ff987
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:4.76-4
5ff987
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
5ff987
5ff987
* Sat Jan 17 2009 Tomas Mraz <tmraz@redhat.com> - 2:4.76-3
5ff987
- rebuild with new openssl
5ff987
5ff987
* Mon Dec 15 2008 Michal Hlavinka <mhlavink@redhat.com> - 2:4.77-2
5ff987
- bump release for rebuild
5ff987
5ff987
* Mon Dec 15 2008 Michal Hlavinka <mhlavink@redhat.com> - 2:4.76-1
5ff987
- new upstream version 4.76
5ff987
- use consolehelper for root auth
5ff987
5ff987
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 2:4.68-4
5ff987
- Rebuild for Python 2.6
5ff987
5ff987
* Mon Aug 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2:4.68-3
5ff987
- add missing BuildRequires to use system libs rather than local copies
5ff987
- really fix license tag
5ff987
5ff987
* Mon Aug 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2:4.68-2
5ff987
- fix license tag
5ff987
5ff987
* Thu Jul 24 2008 Tomas Smetana <tsmetana@redhat.com> - 2:4.68-1
5ff987
- new upstream version
5ff987
5ff987
* Mon May 12 2008 Tomas Smetana <tsmetana@redhat.com> - 2:4.62-1
5ff987
- new upstream version
5ff987
5ff987
* Mon Feb 04 2008 Tomas Smetana <tsmetana@redhat.com> - 2:4.53-1
5ff987
- new upstream version
5ff987
5ff987
* Mon Jan 07 2008 Tomas Smetana <tsmetana@redhat.com> - 2:4.52-2
5ff987
- bump release because of build error
5ff987
5ff987
* Mon Jan 07 2008 Tomas Smetana <tsmetana@redhat.com> - 2:4.52-1
5ff987
- new upstream version
5ff987
5ff987
* Wed Dec 05 2007 Tomas Smetana <tsmetana@redhat.com> - 2:4.20-6.1
5ff987
- rebuild
5ff987
5ff987
* Wed Aug 22 2007 Harald Hoyer <harald@redhat.com> - 2:4.20-6
5ff987
- changed license tag
5ff987
5ff987
* Fri Mar 23 2007 Harald Hoyer <harald@redhat.com> - 2:4.20-5
5ff987
- fixed changelog versions
5ff987
5ff987
* Thu Mar 15 2007 Karsten Hopp <karsten@redhat.com> 2:4.20-4
5ff987
- rebuild with current gtk2 to add png support (#232013)
5ff987
5ff987
* Tue Feb 27 2007 Harald Hoyer <harald@redhat.com> - 2:4.20-3
5ff987
- specfile cleanup
5ff987
- fixed Florian La Roche's patch
5ff987
5ff987
* Tue Jan 30 2007 Florian La Roche <laroche@redhat.com> - 2:4.20-2
5ff987
- do not strip away debuginfo
5ff987
5ff987
* Tue Jan 09 2007 Florian La Roche <laroche@redhat.com> - 2:4.20-1
5ff987
- version 4.20
5ff987
5ff987
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2:4.11-1.1
5ff987
- rebuild
5ff987
5ff987
* Tue Jun 27 2006 Harald Hoyer <harald@redhat.com> - 2:4.11-1
5ff987
- version 4.11
5ff987
5ff987
* Wed May 17 2006 Harald Hoyer <harald@redhat.de> 4.03-2
5ff987
- added more build requirements (bug #191932)
5ff987
5ff987
* Wed May 10 2006 Karsten Hopp <karsten@redhat.de> 4.03-1
5ff987
- update to 4.03, this fixes #184286
5ff987
- remove duplicate menu entry in 'Internet' (#183056)
5ff987
- fix possible tmpdir race condition during build (#158996)
5ff987
5ff987
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2:4.00-1.2
5ff987
- bump again for double-long bug on ppc(64)
5ff987
5ff987
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2:4.00-1.1
5ff987
- rebuilt for new gcc4.1 snapshot and glibc changes
5ff987
5ff987
* Thu Feb 02 2006 Harald Hoyer <harald@redhat.com> - 2:4.00-1
5ff987
- version 4.00
5ff987
5ff987
* Mon Dec 19 2005 Harald Hoyer <harald@redhat.com> - 2:3.95-1
5ff987
- version 3.95
5ff987
5ff987
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
5ff987
- rebuilt
5ff987
5ff987
* Fri Nov 11 2005 Harald Hoyer <harald@redhat.com> - 2:3.93-3
5ff987
- fixed wrong __attribute__ test
5ff987
5ff987
* Thu Nov 10 2005 Tomas Mraz <tmraz@redhat.com> - 2:3.93-2
5ff987
- rebuilt against new openssl
5ff987
5ff987
* Tue Sep 13 2005 Harald Hoyer <harald@redhat.com> - 2:3.93-1
5ff987
- version 3.93
5ff987
5ff987
* Wed Aug 03 2005 Harald Hoyer <harald@redhat.com> - 2:3.81-4
5ff987
- removed references how to scan microsoft.com (bz #164962)
5ff987
- finally got rid of gtk+-devel dependency
5ff987
5ff987
* Thu Apr 21 2005 Harald Hoyer <harald@redhat.com> - 2:3.81-3
5ff987
- removed gtk+ requirement
5ff987
5ff987
* Thu Apr 21 2005 Harald Hoyer <harald@redhat.com> - 2:3.81-2
5ff987
- fixed desktop file and added icons (bug #149157)
5ff987
5ff987
* Wed Mar 02 2005 Harald Hoyer <harald@redhat.com> - 2:3.81-1
5ff987
- version 3.81
5ff987
5ff987
* Wed Feb 02 2005 Harald Hoyer <harald@redhat.com> - 2:3.78-2
5ff987
- evil port of nmapfe to gtk2
5ff987
5ff987
* Fri Dec 17 2004 Harald Hoyer <harald@redhat.com> - 2:3.78-1
5ff987
- version 3.78
5ff987
5ff987
* Mon Sep 13 2004 Harald Hoyer <harald@redhat.com> - 2:3.70-1
5ff987
- version 3.70
5ff987
5ff987
* Tue Jul 13 2004 Harald Hoyer <harald@redhat.com> - 2:3.55-1
5ff987
- new version
5ff987
5ff987
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
5ff987
- rebuilt
5ff987
5ff987
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
5ff987
- rebuilt
5ff987
5ff987
* Thu Jan 29 2004 Harald Hoyer <harald@redhat.com> - 2:3.50-2
5ff987
- added BuildRequires: openssl-devel, gtk+-devel, pcre-devel, libpcap
5ff987
5ff987
* Thu Jan 22 2004 Harald Hoyer <harald@redhat.com> - 2:3.50-1
5ff987
- version 3.50
5ff987
5ff987
* Wed Oct  8 2003 Harald Hoyer <harald@redhat.de> 2:3.48-1
5ff987
- version 3.48
5ff987
5ff987
* Tue Sep 23 2003 Florian La Roche <Florian.LaRoche@redhat.de>
5ff987
- allow disabling frontend if gtk1 is not available
5ff987
5ff987
* Wed Jul 30 2003 Harald Hoyer <harald@redhat.de> 2:3.30-1
5ff987
- version 3.30
5ff987
5ff987
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
5ff987
- rebuilt
5ff987
5ff987
* Mon May 26 2003 Harald Hoyer <harald@redhat.de> 2:3.27-1
5ff987
- version 3.27
5ff987
5ff987
* Mon May 12 2003 Harald Hoyer <harald@redhat.de> 2:3.20-2
5ff987
- changed macro comments to double %% for changelog entries
5ff987
5ff987
* Mon Apr 14 2003 Harald Hoyer <harald@redhat.de> 2:3.20-1
5ff987
- version 3.2
5ff987
5ff987
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
5ff987
- rebuilt
5ff987
5ff987
* Thu Jan  9 2003 Harald Hoyer <harald@redhat.de> 3.0-3
5ff987
- nmap-3.00-nowarn.patch added
5ff987
5ff987
* Mon Nov 18 2002 Tim Powers <timp@redhat.com>
5ff987
- rebuild on all arches
5ff987
- remove old desktop file from $$RPM_BUILD_ROOT so rpm won't complain
5ff987
5ff987
* Thu Aug  1 2002 Harald Hoyer <harald@redhat.de>
5ff987
- version 3.0
5ff987
5ff987
* Mon Jul 29 2002 Harald Hoyer <harald@redhat.de> 2.99.2-1
5ff987
- bumped version
5ff987
5ff987
* Fri Jul 26 2002 Harald Hoyer <harald@redhat.de> 2.99.1-2
5ff987
- bumped version to 2.99RC1
5ff987
5ff987
* Fri Jul 19 2002 Florian La Roche <Florian.LaRoche@redhat.de>
5ff987
- add an epoch
5ff987
5ff987
* Mon Jul  1 2002 Harald Hoyer <harald@redhat.de> 2.54.36-1
5ff987
- removed desktop file
5ff987
- removed "BETA" name from version
5ff987
- update to BETA36
5ff987
5ff987
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
5ff987
- automated rebuild
5ff987
5ff987
* Sun May 26 2002 Tim Powers <timp@redhat.com>
5ff987
- automated rebuild
5ff987
5ff987
* Wed May 22 2002 Harald Hoyer <harald@redhat.de> 2.54BETA34-1
5ff987
- update to 2.54BETA34
5ff987
5ff987
* Mon Mar 25 2002 Harald Hoyer <harald@redhat.com>
5ff987
- more recent version (#61490)
5ff987
5ff987
* Mon Jul 23 2001 Harald Hoyer <harald@redhat.com>
5ff987
- buildprereq for nmap-frontend (#49644)
5ff987
5ff987
* Sun Jul 22 2001 Heikki Korpela <heko@iki.fi>
5ff987
- buildrequire gtk+ 
5ff987
5ff987
* Tue Jul 10 2001 Tim Powers <timp@redhat.com>
5ff987
- fix bugs in desktop file (#48341)
5ff987
5ff987
* Wed May 16 2001 Tim Powers <timp@redhat.com>
5ff987
- updated to 2.54BETA22
5ff987
5ff987
* Mon Nov 20 2000 Tim Powers <timp@redhat.com>
5ff987
- rebuilt to fix bad dir perms
5ff987
5ff987
* Fri Nov  3 2000 Tim Powers <timp@redhat.com>
5ff987
- fixed nmapdatadir in the install section, forgot lto include
5ff987
  $RPM_BUILD_ROOT in the path
5ff987
5ff987
* Thu Nov  2 2000 Tim Powers <timp@redhat.com>
5ff987
- update to nmap-2.54BETA7 to possibly fix bug #20199
5ff987
- use the desktop file provided by the package instead of using my own
5ff987
- patches in previous version are depreciated. Included in SRPM for
5ff987
  reference only
5ff987
5ff987
* Mon Jul 24 2000 Prospector <prospector@redhat.com>
5ff987
- rebuilt
5ff987
5ff987
* Mon Jul 10 2000 Tim Powers <timp@redhat.com>
5ff987
- rebuilt
5ff987
5ff987
* Wed Jun 28 2000 Tim Powers <timp@redhat.com>
5ff987
- rebuilt package
5ff987
5ff987
* Thu Jun 8 2000 Tim Powers <timp@redhat.com>
5ff987
- fixed man pages so that they are in an FHS compliant location
5ff987
- use %%makeinstall
5ff987
- use predefined RPM macros wherever possible
5ff987
5ff987
* Tue May 16 2000 Tim Powers <timp@redhat.com>
5ff987
- updated to 2.53
5ff987
- using applnk now
5ff987
- use %%configure, and %%{_prefix} where possible
5ff987
- removed redundant defines at top of spec file
5ff987
5ff987
* Mon Dec 13 1999 Tim Powers <timp@redhat.com>
5ff987
- based on origional spec file from
5ff987
    http://www.insecure.org/nmap/index.html#download
5ff987
- general cleanups, removed lots of commenrts since it madethe spec hard to
5ff987
    read
5ff987
- changed group to Applications/System
5ff987
- quiet setup
5ff987
- no need to create dirs in the install section, "make
5ff987
    prefix=$RPM_BUILD_ROOT&{prefix} install" does this.
5ff987
- using defined %%{prefix}, %%{version} etc. for easier/quicker maint.
5ff987
- added docs
5ff987
- gzip man pages
5ff987
- strip after files have been installed into buildroot
5ff987
- created separate package for the frontend so that Gtk+ isn't needed for the
5ff987
    CLI nmap 
5ff987
- not using -f in files section anymore, no need for it since there aren't that
5ff987
    many files/dirs
5ff987
- added desktop entry for gnome
5ff987
5ff987
* Sun Jan 10 1999 Fyodor <fyodor@dhp.com>
5ff987
- Merged in spec file sent in by Ian Macdonald <ianmacd@xs4all.nl>
5ff987
5ff987
* Tue Dec 29 1998 Fyodor <fyodor@dhp.com>
5ff987
- Made some changes, and merged in another .spec file sent in
5ff987
  by Oren Tirosh <oren@hishome.net>
5ff987
5ff987
* Mon Dec 21 1998 Riku Meskanen <mesrik@cc.jyu.fi>
5ff987
- initial build for RH 5.x