5a7ca0
#TODO: stop using local copy of libdnet, once system distributed version supports sctp (grep sctp /usr/include/dnet.h)
5a7ca0
Summary: Network exploration tool and security scanner
5a7ca0
Name: nmap
5a7ca0
Epoch: 2
5a7ca0
Version: 6.40
5a7ca0
## We rebase ncat on newer version to have compatibility with nc
5a7ca0
## For doing this few upstream patches must be reverted
5a7ca0
## https://bugzilla.redhat.com/1460249
5a7ca0
%global ncat_version 7.50
5a7ca0
#global prerelease %{nil}
5a7ca0
Release: 19%{?dist}
5a7ca0
# nmap is GPLv2
5a7ca0
# zenmap is GPLv2 and LGPLv2+ (zenmap/higwidgets) and GPLv2+ (zenmap/radialnet)
5a7ca0
# libdnet-stripped is BSD (advertising clause rescinded by the Univ. of California in 1999) with some parts as Public Domain (crc32)
5a7ca0
License: GPLv2 and LGPLv2+ and GPLv2+ and BSD
5a7ca0
Group: Applications/System
5a7ca0
Requires: %{name}-ncat = %{epoch}:%{version}-%{release}
5a7ca0
# to make our life easier, we use upstream tarball, but we remove budled libraries first
5a7ca0
# that way it's easier to keep an eye on licensing and crypto export restrictions
5a7ca0
# VER=%{version}; tar xjf nmap-${VER}.tar.bz2; rm -rf nmap-${VER}/{libpcap,libpcre,macosx,mswin32}; tar cjf nmap-purified-${VER}.tar.bz2 nmap-${VER}
5a7ca0
#Source0: http://nmap.org/dist/%{name}-%{version}%{?prerelease}.tar.bz2
5a7ca0
Source0: %{name}-purified-%{version}%{?prerelease}.tar.bz2
5a7ca0
5a7ca0
%if  "%{ncat_version}" != "%{version}"
5a7ca0
# VER=%{ncat_version}; tar xjf nmap-${VER}.tar.bz2; cd nmap-${VER}; tar cjf nmap-ncat-${VER}.tar.bz2 ncat
5a7ca0
Source4: %{name}-ncat-%{ncat_version}.tar.bz2
5a7ca0
%endif
5a7ca0
5a7ca0
Source1: zenmap.desktop
5a7ca0
Source2: zenmap-root.pamd
5a7ca0
Source3: zenmap-root.consoleapps
5a7ca0
5a7ca0
5a7ca0
#prevent possible race condition for shtool, rhbz#158996
5a7ca0
Patch1: nmap-4.03-mktemp.patch
5a7ca0
5a7ca0
#don't suggest to scan microsoft
5a7ca0
Patch2: nmap-4.52-noms.patch
5a7ca0
5a7ca0
# rhbz#637403, workaround for rhbz#621887=gnome#623965
5a7ca0
Patch4: zenmap-621887-workaround.patch
5a7ca0
5a7ca0
# upstream provided patch for rhbz#845005, not yet in upstream repository
5a7ca0
Patch5: ncat_reg_stdin.diff
5a7ca0
Patch6: nmap-6.25-displayerror.patch
5a7ca0
Patch7: nmap-6.40-mantypo.patch
5a7ca0
5a7ca0
# not upstream yet, rhbz#1134412
5a7ca0
Patch8: nmap-6.40-logdebug.patch
5a7ca0
5a7ca0
# sent upstream, for nmap <= 6.49, rhbz#1192143
5a7ca0
Patch9: nmap-6.40-allresolve.patch
5a7ca0
5a7ca0
# https://bugzilla.redhat.com/1390326
5a7ca0
# backported upstream
5a7ca0
Patch10: nmap-6.40-trancated_dns.patch
5a7ca0
5a7ca0
%if  "%{ncat_version}" != "%{version}"
5a7ca0
Patch11: nmap-6.40-ncat_%{ncat_version}.patch
5a7ca0
Patch12: nmap-6.40-ncat_memleak.patch
5a7ca0
Patch15: nmap-6.40-ncat_default_proxy_port.patch
5a7ca0
%endif
5a7ca0
Patch13: nmap-6.40-add_eproto_handler.patch
5a7ca0
Patch14: nmap-6.40-ncat_early_error_reporting.patch
5a7ca0
Patch16: nmap-use_after_free.patch
5a7ca0
Patch17: nmap-7.60-udp_remoteaddr.patch
5a7ca0
Patch18: nmap-6.40-nsock_param.patch
5a7ca0
Patch19: nmap-ipv6_literal_proxy.patch
5a7ca0
5a7ca0
5a7ca0
URL: http://nmap.org/
5a7ca0
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
5a7ca0
BuildRequires: openssl-devel, gtk2-devel, lua-devel, libpcap-devel, pcre-devel
5a7ca0
BuildRequires: desktop-file-utils, dos2unix
5a7ca0
BuildRequires: libtool, automake, autoconf, gettext-devel
5a7ca0
5a7ca0
# exception granted in FPC ticket 255
5a7ca0
Provides: bundled(lua) = 5.2
5a7ca0
5a7ca0
%define pixmap_srcdir zenmap/share/pixmaps
5a7ca0
5a7ca0
%description
5a7ca0
Nmap is a utility for network exploration or security auditing.  It supports
5a7ca0
ping scanning (determine which hosts are up), many port scanning techniques
5a7ca0
(determine what services the hosts are offering), and TCP/IP fingerprinting
5a7ca0
(remote host operating system identification). Nmap also offers flexible target
5a7ca0
and port specification, decoy scanning, determination of TCP sequence
5a7ca0
predictability characteristics, reverse-identd scanning, and more. In addition
5a7ca0
to the classic command-line nmap executable, the Nmap suite includes a flexible
5a7ca0
data transfer, redirection, and debugging tool (netcat utility ncat), a utility
5a7ca0
for comparing scan results (ndiff), and a packet generation and response analysis
5a7ca0
tool (nping). 
5a7ca0
5a7ca0
%package frontend
5a7ca0
Summary: The GTK+ front end for nmap
5a7ca0
Group: Applications/System
5a7ca0
Requires: nmap = %{epoch}:%{version} gtk2 python >= 2.5 pygtk2 usermode
5a7ca0
BuildRequires: python >= 2.5 python-devel pygtk2-devel libpng-devel
5a7ca0
BuildArch: noarch
5a7ca0
%description frontend
5a7ca0
This package includes zenmap, a GTK+ front end for nmap. The nmap package must
5a7ca0
be installed before installing nmap front end.
5a7ca0
5a7ca0
%package ncat
5a7ca0
Group:   Applications/System
5a7ca0
Summary: Nmap's Netcat replacement
5a7ca0
Obsoletes: nc < 1.109.20120711-2
5a7ca0
Provides: nc
5a7ca0
%description ncat
5a7ca0
Ncat is a feature packed networking utility which will read and
5a7ca0
write data across a network from the command line.  It uses both
5a7ca0
TCP and UDP for communication and is designed to be a reliable
5a7ca0
back-end tool to instantly provide network connectivity to other
5a7ca0
applications and users. Ncat will not only work with IPv4 and IPv6
5a7ca0
but provides the user with a virtually limitless number of potential
5a7ca0
uses.
5a7ca0
5a7ca0
%if 0%{?rhel} && 0%{?rhel}  >= 0
5a7ca0
Requires(post): %{_sbindir}/update-alternatives
5a7ca0
Requires(postun): %{_sbindir}/update-alternatives
5a7ca0
%endif
5a7ca0
5a7ca0
5a7ca0
5a7ca0
%prep
5a7ca0
%setup -q -n %{name}-%{version}%{?prerelease}
5a7ca0
5a7ca0
%if  "%{ncat_version}" != "%{version}"
5a7ca0
# Replace ncat sources if needed
5a7ca0
rm -rf ncat
5a7ca0
tar -xf %{SOURCE4}
5a7ca0
%endif
5a7ca0
5a7ca0
%patch1 -p1 -b .mktemp
5a7ca0
%patch2 -p1 -b .noms
5a7ca0
%patch4 -p1 -b .bz637403
5a7ca0
%patch5 -p1 -b .ncat_reg_stdin
5a7ca0
%patch6 -p1 -b .displayerror
5a7ca0
%patch7 -p1 -b .mantypo
5a7ca0
%patch10 -p1 -b .dns_resolve
5a7ca0
5a7ca0
5a7ca0
%if  "%{ncat_version}" != "%{version}"
5a7ca0
# Patch for newer/older ncat
5a7ca0
%patch11 -p1 -b .ncatrebase
5a7ca0
%patch12 -p1 -b .memleak
5a7ca0
%patch15 -p1 -b .socksport
5a7ca0
%else
5a7ca0
# Patches which were accepted upstream and not needed in rebased version
5a7ca0
%patch8 -p1 -b .logdebug
5a7ca0
%patch9 -p1 -b .allresolve
5a7ca0
%endif
5a7ca0
5a7ca0
%patch14 -p1 -b .errorreporting
5a7ca0
%patch13 -p1 -b .eproto
5a7ca0
%patch16 -p1 -b .use-after-free
5a7ca0
%patch17 -p1 -b .udp_ra
5a7ca0
%patch18 -p1 -b .nsock-params
5a7ca0
%patch19 -p1 -b .proxy-literal
5a7ca0
5a7ca0
#be sure we're not using tarballed copies of some libraries,
5a7ca0
#we remove them when creating our own tarball, just check they are not present
5a7ca0
[ -z "$(ls -d 2>/dev/null libpcap libpcre macosx mswin32)" ] || exit 1
5a7ca0
5a7ca0
# for aarch64 support, not needed with autotools 2.69+
5a7ca0
for f in acinclude.m4 configure.ac nping/configure.ac
5a7ca0
do
5a7ca0
  sed -i -e 's/\(AC_DEFINE([^,)]*\))/\1, 1, [Description])/' -e 's/\(AC_DEFINE([^,]*,[^,)]*\))/\1, [Description])/' $f
5a7ca0
done
5a7ca0
autoreconf -I . -fiv --no-recursive
5a7ca0
cd nping; autoreconf -I .. -fiv --no-recursive; cd ..
5a7ca0
5a7ca0
5a7ca0
#fix locale dir
5a7ca0
mv zenmap/share/zenmap/locale zenmap/share
5a7ca0
sed -i -e "s|^locale_dir =.*$|locale_dir = os.path.join('share','locale')|" \
5a7ca0
 -e 's|join(self.install_data, data_dir)|join(self.install_data, "share")|' zenmap/setup.py
5a7ca0
sed -i 's|^LOCALE_DIR = .*|LOCALE_DIR = join(prefix, "share", "locale")|' zenmap/zenmapCore/Paths.py
5a7ca0
5a7ca0
%build
5a7ca0
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
5a7ca0
export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
5a7ca0
%configure  --with-libpcap=/usr --without-nmap-update
5a7ca0
make %{?_smp_mflags}
5a7ca0
5a7ca0
#fix man page (rhbz#813734)
5a7ca0
sed -i 's/-md/-mf/' nping/docs/nping.1
5a7ca0
5a7ca0
%install
5a7ca0
rm -rf $RPM_BUILD_ROOT
5a7ca0
5a7ca0
#prevent stripping - replace strip command with 'true'
5a7ca0
make DESTDIR=$RPM_BUILD_ROOT STRIP=true install
5a7ca0
rm -f $RPM_BUILD_ROOT%{_bindir}/uninstall_zenmap
5a7ca0
5a7ca0
#do not include certificate bundle (#734389)
5a7ca0
rm -f $RPM_BUILD_ROOT%{_datadir}/ncat/ca-bundle.crt
5a7ca0
rmdir $RPM_BUILD_ROOT%{_datadir}/ncat
5a7ca0
5a7ca0
#use consolehelper
5a7ca0
rm -f $RPM_BUILD_ROOT%{_datadir}/applications/zenmap*.desktop
5a7ca0
rm -f $RPM_BUILD_ROOT%{_datadir}/zenmap/su-to-zenmap.sh
5a7ca0
ln -s consolehelper $RPM_BUILD_ROOT%{_bindir}/zenmap-root
5a7ca0
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/pam.d \
5a7ca0
	$RPM_BUILD_ROOT%{_sysconfdir}/security/console.apps
5a7ca0
install -m 0644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/pam.d/zenmap-root
5a7ca0
install -m 0644 %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/security/console.apps/zenmap-root
5a7ca0
5a7ca0
cp docs/zenmap.1 $RPM_BUILD_ROOT%{_mandir}/man1/
5a7ca0
gzip $RPM_BUILD_ROOT%{_mandir}/man1/* || :
5a7ca0
pushd $RPM_BUILD_ROOT%{_mandir}/man1
5a7ca0
ln -s zenmap.1.gz nmapfe.1.gz
5a7ca0
ln -s zenmap.1.gz xnmap.1.gz
5a7ca0
popd
5a7ca0
5a7ca0
5a7ca0
%if 0%{?fedora} && 0%{?fedora}  >= 0
5a7ca0
# we provide 'nc' replacement
5a7ca0
# Do not create symlinks on manpages on rhel because of
5a7ca0
# rhbz#1578776
5a7ca0
ln -s ncat.1.gz $RPM_BUILD_ROOT%{_mandir}/man1/nc.1.gz
5a7ca0
ln -s ncat $RPM_BUILD_ROOT%{_bindir}/nc
5a7ca0
%endif
5a7ca0
5a7ca0
desktop-file-install --vendor nmap \
5a7ca0
	--dir $RPM_BUILD_ROOT%{_datadir}/applications \
5a7ca0
	--add-category X-Red-Hat-Base \
5a7ca0
	%{SOURCE1};
5a7ca0
5a7ca0
#for .desktop and app icon
5a7ca0
mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/256x256/apps
5a7ca0
ln -s ../../../../zenmap/pixmaps/zenmap.png $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/256x256/apps
5a7ca0
5a7ca0
# fix end-of-line
5a7ca0
pushd $RPM_BUILD_ROOT
5a7ca0
for fe in ./%{python_sitelib}/zenmapCore/Paths.py
5a7ca0
do
5a7ca0
  dos2unix <$fe >$fe.new
5a7ca0
  touch -r $fe $fe.new
5a7ca0
  mv -f $fe.new $fe
5a7ca0
done
5a7ca0
popd
5a7ca0
5a7ca0
%find_lang nmap --with-man
5a7ca0
%find_lang zenmap
5a7ca0
5a7ca0
touch %{buildroot}%{_bindir}/nc
5a7ca0
5a7ca0
5a7ca0
5a7ca0
%post frontend
5a7ca0
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
5a7ca0
5a7ca0
%postun frontend
5a7ca0
if [ $1 -eq 0 ] ; then
5a7ca0
    touch --no-create %{_datadir}/icons/hicolor &>/dev/null
5a7ca0
    gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
5a7ca0
fi
5a7ca0
5a7ca0
%posttrans frontend
5a7ca0
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
5a7ca0
5a7ca0
%post ncat
5a7ca0
%{_sbindir}/update-alternatives --install %{_bindir}/nc \
5a7ca0
  %{name} %{_bindir}/ncat 10 \
5a7ca0
  --slave %{_mandir}/man1/nc.1.gz ncman %{_mandir}/man1/ncat.1.gz  
5a7ca0
5a7ca0
## ln -s ncat.1.gz $RPM_BUILD_ROOT%{_mandir}/man1/nc.1.gz
5a7ca0
5a7ca0
%postun ncat
5a7ca0
if [ $1 -eq 0 ] ; then
5a7ca0
  %{_sbindir}/update-alternatives --remove %{name} %{_bindir}/ncat
5a7ca0
fi
5a7ca0
5a7ca0
5a7ca0
%clean
5a7ca0
rm -rf $RPM_BUILD_ROOT
5a7ca0
5a7ca0
%files -f nmap.lang
5a7ca0
%defattr(-,root,root)
5a7ca0
%doc COPYING*
5a7ca0
%doc docs/README
5a7ca0
%doc docs/nmap.usage.txt
5a7ca0
%{_bindir}/nmap
5a7ca0
%{_bindir}/ndiff
5a7ca0
%{_bindir}/nping
5a7ca0
%{_mandir}/man1/ndiff.1.gz
5a7ca0
%{_mandir}/man1/nmap.1.gz
5a7ca0
%{_mandir}/man1/nping.1.gz
5a7ca0
%{_datadir}/nmap
5a7ca0
5a7ca0
%files ncat 
5a7ca0
%defattr(-,root,root)
5a7ca0
%doc COPYING ncat/docs/AUTHORS ncat/docs/README ncat/docs/THANKS ncat/docs/examples
5a7ca0
%if 0%{?fedora} && 0%{?fedora}  >= 0
5a7ca0
%{_bindir}/nc
5a7ca0
%{_mandir}/man1/nc.1.gz
5a7ca0
%else
5a7ca0
%ghost %{_bindir}/nc
5a7ca0
%ghost %{_mandir}/man1/nc.1.gz
5a7ca0
%endif
5a7ca0
%{_bindir}/ncat
5a7ca0
%{_mandir}/man1/ncat.1.gz
5a7ca0
5a7ca0
%files frontend -f zenmap.lang
5a7ca0
%defattr(-,root,root)
5a7ca0
%config(noreplace) %{_sysconfdir}/pam.d/zenmap-root
5a7ca0
%config(noreplace) %{_sysconfdir}/security/console.apps/zenmap-root
5a7ca0
%{_bindir}/zenmap-root
5a7ca0
%{_bindir}/zenmap
5a7ca0
%{_bindir}/nmapfe
5a7ca0
%{_bindir}/xnmap
5a7ca0
%{python_sitelib}/*
5a7ca0
%{_datadir}/applications/nmap-zenmap.desktop
5a7ca0
%{_datadir}/icons/hicolor/*
5a7ca0
%{_datadir}/zenmap
5a7ca0
%{_mandir}/man1/zenmap.1.gz
5a7ca0
%{_mandir}/man1/nmapfe.1.gz
5a7ca0
%{_mandir}/man1/xnmap.1.gz
5a7ca0
5a7ca0
%changelog
5a7ca0
* Tue Feb  5 2019 Pavel Zhukov <pzhukov@redhat.com> - 2:6.40-19
5a7ca0
- Resolves: #1591959 - Fix ipv6 literal parsing
5a7ca0
5a7ca0
* Mon Jan  7 2019 Pavel Zhukov <pzhukov@redhat.com> - 2:6.40-17
5a7ca0
- Resolves: #1597611 - Do not crash in case of nsock parameters errors
5a7ca0
5a7ca0
* Mon Jun  4 2018 Pavel Zhukov <pzhukov@redhat.com> - 2:6.40-16
5a7ca0
- Resolves: #1573411 - Populate ncat env. variables in UDP mode
5a7ca0
5a7ca0
* Wed Apr 25 2018 Pavel Zhukov <pzhukov@redhat.com> - 2:6.40-15
5a7ca0
- Resolves: #1525105 - Fix use after free error (Coverity)
5a7ca0
- Patches renumbered
5a7ca0
5a7ca0
* Tue Apr  3 2018 Pavel Zhukov <pzhukov@redhat.com> - 2:6.40-14
5a7ca0
- Resolves: #1546246 - Don't use http proxy port for socks proxies
5a7ca0
5a7ca0
* Wed Nov  8 2017 Pavel Zhukov <pzhukov@redhat.com> - 2:6.40-13
5a7ca0
- Resolves: #1436402 - nc from nmap ncat crash if ipv6 disabled
5a7ca0
5a7ca0
* Fri Oct 20 2017 Pavel Zhukov <pzhukov@redhat.com> - 2:6.40-12
5a7ca0
- Add eproto to list of hanled errnos
5a7ca0
5a7ca0
* Fri Sep 08 2017 Pavel Zhukov <pzhukov@redhat.com> - 2:6.40-11
5a7ca0
- Related: ##1460249 - Replace memleak patch with one provided by upstream
5a7ca0
5a7ca0
* Mon Aug 21 2017 Pavel Zhukov <pzhukov@redhat.com> - 2:6.40-10
5a7ca0
- Related: #1460249 - Fix memory leaks (covscan errors)
5a7ca0
5a7ca0
* Thu Aug 17 2017 Pavel Zhukov <pzhukov@redhat.com> - 2:6.40-9
5a7ca0
- Resolves: #1460249, #1436402, #1317924, #1379008 -  Rebase ncat on 7.50
5a7ca0
5a7ca0
* Wed Aug 16 2017 Pavel Zhukov <pzhukov@redhat.com> - 2:6.40-8
5a7ca0
- Resolves: #1390326 - Failback to system resolver for truncated dns replies
5a7ca0
5a7ca0
* Thu Jul 30 2015 Michal Hlavinka <mhlavink@redhat.com> - 2:6.40-7
5a7ca0
- explicitely disable modules we don't want to build to have consistent results (#1246453)
5a7ca0
5a7ca0
* Tue Jul 07 2015 Michal Hlavinka <mhlavink@redhat.com> - 2:6.40-6
5a7ca0
- fix coverity found issue (#1192143)
5a7ca0
5a7ca0
* Fri Jul 03 2015 Michal Hlavinka <mhlavink@redhat.com> - 2:6.40-5
5a7ca0
- ncat should try to connect to all resolved addresses, not only the first one (#1192143)
5a7ca0
- do not print debug messages during normal use (#1134412)
5a7ca0
5a7ca0
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 2:6.40-4
5a7ca0
- Mass rebuild 2014-01-24
5a7ca0
5a7ca0
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 2:6.40-3
5a7ca0
- Mass rebuild 2013-12-27
5a7ca0
5a7ca0
* Fri Aug 09 2013 Michal Hlavinka <mhlavink@redhat.com> - 2:6.40-2
5a7ca0
- fix man page typos
5a7ca0
5a7ca0
* Tue Jul 30 2013 Michal Hlavinka <mhlavink@redhat.com> - 2:6.40-1
5a7ca0
- nmap udpated to 6.40
5a7ca0
5a7ca0
* Wed Jul 24 2013 Michal Hlavinka <mhlavink@redhat.com> - 2:6.25-10.20130624svn
5a7ca0
- fix release tag
5a7ca0
5a7ca0
* Wed Jul 24 2013 Michal Hlavinka <mhlavink@redhat.com> - 2:6.25-10
5a7ca0
- remove bundled libraries from source tarball
5a7ca0
5a7ca0
* Mon Jul 22 2013 Michal Hlavinka <mhlavink@redhat.com> - 2:6.25-9.20130624svn
5a7ca0
- spec cleanup
5a7ca0
5a7ca0
* Tue Jul 02 2013 Michal Hlavinka <mhlavink@redhat.com> - 2:6.25-8.20130624svn
5a7ca0
- ncat should support UNIX sockets correctly, drop wrapper with socat
5a7ca0
5a7ca0
* Tue Jul 02 2013 Michal Hlavinka <mhlavink@redhat.com> - 2:6.25-7.20130624svn
5a7ca0
- allow -i timeout in listen mode
5a7ca0
5a7ca0
* Mon Jun 24 2013 Michal Hlavinka <mhlavink@redhat.com> - 2:6.25-6.20130624svn
5a7ca0
- use svn snapshot that contains all necessary UDP patches
5a7ca0
5a7ca0
* Fri May 24 2013 Michal Hlavinka <mhlavink@redhat.com> - 2:6.25-5
5a7ca0
- fix man page typo
5a7ca0
5a7ca0
* Thu May 23 2013 Michal Hlavinka <mhlavink@redhat.com> - 2:6.25-4
5a7ca0
- zenamp: fix icon symlink (#957381)
5a7ca0
5a7ca0
* Thu May 23 2013 Michal Hlavinka <mhlavink@redhat.com> - 2:6.25-3
5a7ca0
- zenmap: do not traceback when there si no display, just exit nicely (#958240)
5a7ca0
5a7ca0
* Thu Mar 28 2013 Michal Hlavinka <mhlavink@redhat.com> - 2:6.25-2
5a7ca0
- fix aarch64 support (#926241)
5a7ca0
5a7ca0
* Fri Mar 08 2013 Michal Hlavinka <mhlavink@redhat.com> - 2:6.25-1
5a7ca0
- nmap updated to 6.25
5a7ca0
5a7ca0
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:6.01-11
5a7ca0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
5a7ca0
5a7ca0
* Fri Jan 04 2013 Michal Hlavinka <mhlavink@redhat.com> - 2:6.01-10
5a7ca0
- use select as default nsock engine
5a7ca0
5a7ca0
* Thu Nov 29 2012 Michal Hlavinka <mhlavink@redhat.com> - 2:6.01-9
5a7ca0
- do not use strict aliasing
5a7ca0
5a7ca0
* Thu Nov 29 2012 Michal Hlavinka <mhlavink@redhat.com> - 2:6.01-8
5a7ca0
- call shutdown also in listen mode
5a7ca0
5a7ca0
* Tue Oct 02 2012 Petr Šabata <contyk@redhat.com> - 2:6.01-7
5a7ca0
- Move the socat dependency to the ncat subpackage (#858733)
5a7ca0
5a7ca0
* Wed Sep 19 2012 Michal Hlavinka <mhlavink@redhat.com> - 2:6.01-6
5a7ca0
- shutdown socket on EOF (#845075)
5a7ca0
5a7ca0
* Mon Aug 13 2012 Michal Hlavinka <mhlavink@redhat.com> - 2:6.01-5
5a7ca0
- ncat did not work when file was used as input (#845005)
5a7ca0
5a7ca0
* Tue Jul 24 2012 Michal Hlavinka <mhlavink@redhat.com> - 2:6.01-4
5a7ca0
- add nc wrapper with socat as a fallback for unix sockets
5a7ca0
5a7ca0
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:6.01-3
5a7ca0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
5a7ca0
5a7ca0
* Wed Jul 18 2012 Michal Hlavinka <mhlavink@redhat.com> - 2:6.01-2
5a7ca0
- provide ncat in extra package as replacement for nc
5a7ca0
5a7ca0
* Mon Jun 18 2012 Michal Hlavinka <mhlavink@redhat.com> - 2:6.01-1
5a7ca0
- nmap updated to 6.01
5a7ca0
5a7ca0
* Tue Jun 05 2012 Michal Hlavinka <mhlavink@redhat.com> - 2:6.00-2
5a7ca0
- prevent stripping binaries
5a7ca0
5a7ca0
* Tue Jun 05 2012 Michal Hlavinka <mhlavink@redhat.com> - 2:6.00-1
5a7ca0
- updated to 6.00
5a7ca0
5a7ca0
* Wed Mar 14 2012 Michal Hlavinka <mhlavink@redhat.com> - 2:5.61-0.1.TEST5
5a7ca0
- updated to 5.61TEST5
5a7ca0
5a7ca0
* Fri Feb 10 2012 Petr Pisar <ppisar@redhat.com> - 2:5.51-5
5a7ca0
- Rebuild against PCRE 8.30
5a7ca0
5a7ca0
* Fri Feb 10 2012 Petr Pisar <ppisar@redhat.com> - 2:5.51-4
5a7ca0
- Rebuild against PCRE 8.30
5a7ca0
5a7ca0
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:5.51-3
5a7ca0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
5a7ca0
5a7ca0
* Thu Dec 08 2011 Michal Hlavinka <mhlavink@redhat.com> - 2:5.51-2
5a7ca0
- do not use bundled certificates, use only system ones (#734389)
5a7ca0
5a7ca0
* Mon Feb 14 2011 Michal Hlavinka <mhlavink@redhat.com> - 2:5.51-1
5a7ca0
- nmap updated to 5.51
5a7ca0
5a7ca0
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:5.50-2
5a7ca0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
5a7ca0
5a7ca0
* Mon Feb 07 2011 Michal Hlavinka <mhlavink@redhat.com> - 2:5.50-1
5a7ca0
- updated to 5.50
5a7ca0
5a7ca0
* Tue Oct 05 2010 Michal Hlavinka <mhlavink@redhat.com> - 2:5.21-10
5a7ca0
- add workaround for zenmap crash (#637403)
5a7ca0
5a7ca0
* Wed Sep 29 2010 jkeating - 2:5.21-9
5a7ca0
- Rebuilt for gcc bug 634757
5a7ca0
5a7ca0
* Fri Sep 17 2010 Michal Hlavinka <mhlavink@redhat.com> - 2:5.21-8
5a7ca0
- fix location of ja man page (#632104)
5a7ca0
5a7ca0
* Thu Aug 19 2010 Michal Hlavinka <mhlavink@redhat.com> - 2:5.21-7
5a7ca0
- update icon cache only after gui install
5a7ca0
5a7ca0
* Wed Aug 11 2010 Michal Hlavinka <mhlavink@redhat.com> - 2:5.21-6
5a7ca0
- update icon cache after package install
5a7ca0
5a7ca0
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 2:5.21-5
5a7ca0
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
5a7ca0
5a7ca0
* Mon Jun 21 2010 Michal Hlavinka <mhlavink@redhat.com> - 2:5.21-4
5a7ca0
- build -frontend as noarch
5a7ca0
5a7ca0
* Fri Jun 18 2010 Michal Hlavinka <mhlavink@redhat.com> - 2:5.21-3
5a7ca0
- fix multilib issue
5a7ca0
5a7ca0
* Fri Apr 30 2010 Ville Skyttä <ville.skytta@iki.fi> - 2:5.21-2
5a7ca0
- Mark localized man pages with %%lang.
5a7ca0
5a7ca0
* Mon Feb 01 2010 Michal Hlavinka <mhlavink@redhat.com> - 2:5.21-1
5a7ca0
- updated to 5.21
5a7ca0
5a7ca0
* Tue Jan 12 2010 Michal Hlavinka <mhlavink@redhat.com> - 2:5.00-6
5a7ca0
- use sqlite3 (instead of sqlite2)
5a7ca0
5a7ca0
* Tue Dec 01 2009 Michal Hlavinka <mhlavink@redhat.com> - 2:5.00-5
5a7ca0
- spec cleanup
5a7ca0
5a7ca0
* Mon Nov 02 2009 Michal Hlavinka <mhlavink@redhat.com> - 2:5.00-4
5a7ca0
- spec cleanup
5a7ca0
5a7ca0
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 2:5.00-3
5a7ca0
- rebuilt with new openssl
5a7ca0
5a7ca0
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:5.00-2
5a7ca0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
5a7ca0
5a7ca0
* Fri Jul 17 2009 Michal Hlavinka <mhlavink@redhat.com> - 2:5.0-1
5a7ca0
- updated to 5.0
5a7ca0
5a7ca0
* Wed Jul 15 2009 Michal Hlavinka <mhlavink@redhat.com> - 2:4.90-0.RC1
5a7ca0
- updated to 4.90RC1
5a7ca0
5a7ca0
* Thu Jun 18 2009 Michal Hlavinka <mhlavink@redhat.com> - 2:4.85-0.BETA10
5a7ca0
- updated to 4.85beta10
5a7ca0
5a7ca0
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:4.76-4
5a7ca0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
5a7ca0
5a7ca0
* Sat Jan 17 2009 Tomas Mraz <tmraz@redhat.com> - 2:4.76-3
5a7ca0
- rebuild with new openssl
5a7ca0
5a7ca0
* Mon Dec 15 2008 Michal Hlavinka <mhlavink@redhat.com> - 2:4.77-2
5a7ca0
- bump release for rebuild
5a7ca0
5a7ca0
* Mon Dec 15 2008 Michal Hlavinka <mhlavink@redhat.com> - 2:4.76-1
5a7ca0
- new upstream version 4.76
5a7ca0
- use consolehelper for root auth
5a7ca0
5a7ca0
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 2:4.68-4
5a7ca0
- Rebuild for Python 2.6
5a7ca0
5a7ca0
* Mon Aug 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2:4.68-3
5a7ca0
- add missing BuildRequires to use system libs rather than local copies
5a7ca0
- really fix license tag
5a7ca0
5a7ca0
* Mon Aug 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2:4.68-2
5a7ca0
- fix license tag
5a7ca0
5a7ca0
* Thu Jul 24 2008 Tomas Smetana <tsmetana@redhat.com> - 2:4.68-1
5a7ca0
- new upstream version
5a7ca0
5a7ca0
* Mon May 12 2008 Tomas Smetana <tsmetana@redhat.com> - 2:4.62-1
5a7ca0
- new upstream version
5a7ca0
5a7ca0
* Mon Feb 04 2008 Tomas Smetana <tsmetana@redhat.com> - 2:4.53-1
5a7ca0
- new upstream version
5a7ca0
5a7ca0
* Mon Jan 07 2008 Tomas Smetana <tsmetana@redhat.com> - 2:4.52-2
5a7ca0
- bump release because of build error
5a7ca0
5a7ca0
* Mon Jan 07 2008 Tomas Smetana <tsmetana@redhat.com> - 2:4.52-1
5a7ca0
- new upstream version
5a7ca0
5a7ca0
* Wed Dec 05 2007 Tomas Smetana <tsmetana@redhat.com> - 2:4.20-6.1
5a7ca0
- rebuild
5a7ca0
5a7ca0
* Wed Aug 22 2007 Harald Hoyer <harald@redhat.com> - 2:4.20-6
5a7ca0
- changed license tag
5a7ca0
5a7ca0
* Fri Mar 23 2007 Harald Hoyer <harald@redhat.com> - 2:4.20-5
5a7ca0
- fixed changelog versions
5a7ca0
5a7ca0
* Thu Mar 15 2007 Karsten Hopp <karsten@redhat.com> 2:4.20-4
5a7ca0
- rebuild with current gtk2 to add png support (#232013)
5a7ca0
5a7ca0
* Tue Feb 27 2007 Harald Hoyer <harald@redhat.com> - 2:4.20-3
5a7ca0
- specfile cleanup
5a7ca0
- fixed Florian La Roche's patch
5a7ca0
5a7ca0
* Tue Jan 30 2007 Florian La Roche <laroche@redhat.com> - 2:4.20-2
5a7ca0
- do not strip away debuginfo
5a7ca0
5a7ca0
* Tue Jan 09 2007 Florian La Roche <laroche@redhat.com> - 2:4.20-1
5a7ca0
- version 4.20
5a7ca0
5a7ca0
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2:4.11-1.1
5a7ca0
- rebuild
5a7ca0
5a7ca0
* Tue Jun 27 2006 Harald Hoyer <harald@redhat.com> - 2:4.11-1
5a7ca0
- version 4.11
5a7ca0
5a7ca0
* Wed May 17 2006 Harald Hoyer <harald@redhat.de> 4.03-2
5a7ca0
- added more build requirements (bug #191932)
5a7ca0
5a7ca0
* Wed May 10 2006 Karsten Hopp <karsten@redhat.de> 4.03-1
5a7ca0
- update to 4.03, this fixes #184286
5a7ca0
- remove duplicate menu entry in 'Internet' (#183056)
5a7ca0
- fix possible tmpdir race condition during build (#158996)
5a7ca0
5a7ca0
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2:4.00-1.2
5a7ca0
- bump again for double-long bug on ppc(64)
5a7ca0
5a7ca0
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2:4.00-1.1
5a7ca0
- rebuilt for new gcc4.1 snapshot and glibc changes
5a7ca0
5a7ca0
* Thu Feb 02 2006 Harald Hoyer <harald@redhat.com> - 2:4.00-1
5a7ca0
- version 4.00
5a7ca0
5a7ca0
* Mon Dec 19 2005 Harald Hoyer <harald@redhat.com> - 2:3.95-1
5a7ca0
- version 3.95
5a7ca0
5a7ca0
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
5a7ca0
- rebuilt
5a7ca0
5a7ca0
* Fri Nov 11 2005 Harald Hoyer <harald@redhat.com> - 2:3.93-3
5a7ca0
- fixed wrong __attribute__ test
5a7ca0
5a7ca0
* Thu Nov 10 2005 Tomas Mraz <tmraz@redhat.com> - 2:3.93-2
5a7ca0
- rebuilt against new openssl
5a7ca0
5a7ca0
* Tue Sep 13 2005 Harald Hoyer <harald@redhat.com> - 2:3.93-1
5a7ca0
- version 3.93
5a7ca0
5a7ca0
* Wed Aug 03 2005 Harald Hoyer <harald@redhat.com> - 2:3.81-4
5a7ca0
- removed references how to scan microsoft.com (bz #164962)
5a7ca0
- finally got rid of gtk+-devel dependency
5a7ca0
5a7ca0
* Thu Apr 21 2005 Harald Hoyer <harald@redhat.com> - 2:3.81-3
5a7ca0
- removed gtk+ requirement
5a7ca0
5a7ca0
* Thu Apr 21 2005 Harald Hoyer <harald@redhat.com> - 2:3.81-2
5a7ca0
- fixed desktop file and added icons (bug #149157)
5a7ca0
5a7ca0
* Wed Mar 02 2005 Harald Hoyer <harald@redhat.com> - 2:3.81-1
5a7ca0
- version 3.81
5a7ca0
5a7ca0
* Wed Feb 02 2005 Harald Hoyer <harald@redhat.com> - 2:3.78-2
5a7ca0
- evil port of nmapfe to gtk2
5a7ca0
5a7ca0
* Fri Dec 17 2004 Harald Hoyer <harald@redhat.com> - 2:3.78-1
5a7ca0
- version 3.78
5a7ca0
5a7ca0
* Mon Sep 13 2004 Harald Hoyer <harald@redhat.com> - 2:3.70-1
5a7ca0
- version 3.70
5a7ca0
5a7ca0
* Tue Jul 13 2004 Harald Hoyer <harald@redhat.com> - 2:3.55-1
5a7ca0
- new version
5a7ca0
5a7ca0
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
5a7ca0
- rebuilt
5a7ca0
5a7ca0
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
5a7ca0
- rebuilt
5a7ca0
5a7ca0
* Thu Jan 29 2004 Harald Hoyer <harald@redhat.com> - 2:3.50-2
5a7ca0
- added BuildRequires: openssl-devel, gtk+-devel, pcre-devel, libpcap
5a7ca0
5a7ca0
* Thu Jan 22 2004 Harald Hoyer <harald@redhat.com> - 2:3.50-1
5a7ca0
- version 3.50
5a7ca0
5a7ca0
* Wed Oct  8 2003 Harald Hoyer <harald@redhat.de> 2:3.48-1
5a7ca0
- version 3.48
5a7ca0
5a7ca0
* Tue Sep 23 2003 Florian La Roche <florian.laroche@redhat.de>
5a7ca0
- allow disabling frontend if gtk1 is not available
5a7ca0
5a7ca0
* Wed Jul 30 2003 Harald Hoyer <harald@redhat.de> 2:3.30-1
5a7ca0
- version 3.30
5a7ca0
5a7ca0
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
5a7ca0
- rebuilt
5a7ca0
5a7ca0
* Mon May 26 2003 Harald Hoyer <harald@redhat.de> 2:3.27-1
5a7ca0
- version 3.27
5a7ca0
5a7ca0
* Mon May 12 2003 Harald Hoyer <harald@redhat.de> 2:3.20-2
5a7ca0
- changed macro comments to double %% for changelog entries
5a7ca0
5a7ca0
* Mon Apr 14 2003 Harald Hoyer <harald@redhat.de> 2:3.20-1
5a7ca0
- version 3.2
5a7ca0
5a7ca0
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
5a7ca0
- rebuilt
5a7ca0
5a7ca0
* Thu Jan  9 2003 Harald Hoyer <harald@redhat.de> 3.0-3
5a7ca0
- nmap-3.00-nowarn.patch added
5a7ca0
5a7ca0
* Mon Nov 18 2002 Tim Powers <timp@redhat.com>
5a7ca0
- rebuild on all arches
5a7ca0
- remove old desktop file from $$RPM_BUILD_ROOT so rpm won't complain
5a7ca0
5a7ca0
* Thu Aug  1 2002 Harald Hoyer <harald@redhat.de>
5a7ca0
- version 3.0
5a7ca0
5a7ca0
* Mon Jul 29 2002 Harald Hoyer <harald@redhat.de> 2.99.2-1
5a7ca0
- bumped version
5a7ca0
5a7ca0
* Fri Jul 26 2002 Harald Hoyer <harald@redhat.de> 2.99.1-2
5a7ca0
- bumped version to 2.99RC1
5a7ca0
5a7ca0
* Fri Jul 19 2002 Florian La Roche <florian.laroche@redhat.de>
5a7ca0
- add an epoch
5a7ca0
5a7ca0
* Mon Jul  1 2002 Harald Hoyer <harald@redhat.de> 2.54.36-1
5a7ca0
- removed desktop file
5a7ca0
- removed "BETA" name from version
5a7ca0
- update to BETA36
5a7ca0
5a7ca0
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
5a7ca0
- automated rebuild
5a7ca0
5a7ca0
* Sun May 26 2002 Tim Powers <timp@redhat.com>
5a7ca0
- automated rebuild
5a7ca0
5a7ca0
* Wed May 22 2002 Harald Hoyer <harald@redhat.de> 2.54BETA34-1
5a7ca0
- update to 2.54BETA34
5a7ca0
5a7ca0
* Mon Mar 25 2002 Harald Hoyer <harald@redhat.com>
5a7ca0
- more recent version (#61490)
5a7ca0
5a7ca0
* Mon Jul 23 2001 Harald Hoyer <harald@redhat.com>
5a7ca0
- buildprereq for nmap-frontend (#49644)
5a7ca0
5a7ca0
* Sun Jul 22 2001 Heikki Korpela <heko@iki.fi>
5a7ca0
- buildrequire gtk+ 
5a7ca0
5a7ca0
* Tue Jul 10 2001 Tim Powers <timp@redhat.com>
5a7ca0
- fix bugs in desktop file (#48341)
5a7ca0
5a7ca0
* Wed May 16 2001 Tim Powers <timp@redhat.com>
5a7ca0
- updated to 2.54BETA22
5a7ca0
5a7ca0
* Mon Nov 20 2000 Tim Powers <timp@redhat.com>
5a7ca0
- rebuilt to fix bad dir perms
5a7ca0
5a7ca0
* Fri Nov  3 2000 Tim Powers <timp@redhat.com>
5a7ca0
- fixed nmapdatadir in the install section, forgot lto include
5a7ca0
  $RPM_BUILD_ROOT in the path
5a7ca0
5a7ca0
* Thu Nov  2 2000 Tim Powers <timp@redhat.com>
5a7ca0
- update to nmap-2.54BETA7 to possibly fix bug #20199
5a7ca0
- use the desktop file provided by the package instead of using my own
5a7ca0
- patches in previous version are depreciated. Included in SRPM for
5a7ca0
  reference only
5a7ca0
5a7ca0
* Mon Jul 24 2000 Prospector <prospector@redhat.com>
5a7ca0
- rebuilt
5a7ca0
5a7ca0
* Mon Jul 10 2000 Tim Powers <timp@redhat.com>
5a7ca0
- rebuilt
5a7ca0
5a7ca0
* Wed Jun 28 2000 Tim Powers <timp@redhat.com>
5a7ca0
- rebuilt package
5a7ca0
5a7ca0
* Thu Jun 8 2000 Tim Powers <timp@redhat.com>
5a7ca0
- fixed man pages so that they are in an FHS compliant location
5a7ca0
- use %%makeinstall
5a7ca0
- use predefined RPM macros wherever possible
5a7ca0
5a7ca0
* Tue May 16 2000 Tim Powers <timp@redhat.com>
5a7ca0
- updated to 2.53
5a7ca0
- using applnk now
5a7ca0
- use %%configure, and %%{_prefix} where possible
5a7ca0
- removed redundant defines at top of spec file
5a7ca0
5a7ca0
* Mon Dec 13 1999 Tim Powers <timp@redhat.com>
5a7ca0
- based on origional spec file from
5a7ca0
	http://www.insecure.org/nmap/index.html#download
5a7ca0
- general cleanups, removed lots of commenrts since it madethe spec hard to
5a7ca0
	read
5a7ca0
- changed group to Applications/System
5a7ca0
- quiet setup
5a7ca0
- no need to create dirs in the install section, "make
5a7ca0
	prefix=$RPM_BUILD_ROOT&{prefix} install" does this.
5a7ca0
- using defined %%{prefix}, %%{version} etc. for easier/quicker maint.
5a7ca0
- added docs
5a7ca0
- gzip man pages
5a7ca0
- strip after files have been installed into buildroot
5a7ca0
- created separate package for the frontend so that Gtk+ isn't needed for the
5a7ca0
	CLI nmap 
5a7ca0
- not using -f in files section anymore, no need for it since there aren't that
5a7ca0
	many files/dirs
5a7ca0
- added desktop entry for gnome
5a7ca0
5a7ca0
* Sun Jan 10 1999 Fyodor <fyodor@dhp.com>
5a7ca0
- Merged in spec file sent in by Ian Macdonald <ianmacd@xs4all.nl>
5a7ca0
5a7ca0
* Tue Dec 29 1998 Fyodor <fyodor@dhp.com>
5a7ca0
- Made some changes, and merged in another .spec file sent in
5a7ca0
  by Oren Tirosh <oren@hishome.net>
5a7ca0
5a7ca0
* Mon Dec 21 1998 Riku Meskanen <mesrik@cc.jyu.fi>
5a7ca0
- initial build for RH 5.x