Update nmap to 7.30

This patch updates nmap to version 7.30 and introduce a new package
nmap-ncat.

The nmap project provides since version 7.0 a netcat implementation
which is ipv4 and ipv6 able.

Netcat is a dependency of libvirt and to avoid unnecessary dependencies
the tool ncat is shipped in an extra package.
The symlink nc point to the ncat implementation and is necessary because
libvirt use /usr/bin/nc to execute netcat.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Jonatan Schlag 2016-12-08 14:34:55 +00:00 committed by Michael Tremer
parent b4e630c0fb
commit 87bc1697b8
1 changed files with 18 additions and 1 deletions

View File

@ -4,7 +4,7 @@
###############################################################################
name = nmap
version = 6.01
version = 7.30
release = 1
groups = Networking/Sniffer
@ -36,11 +36,28 @@ build
configure_options += \
--without-nmapfe \
--without-zenmap
install_cmds
ln -vfs ncat %{BUILDROOT}%{bindir}/nc
end
end
packages
package %{name}
package %{name}-ncat
summary = Ncat is an ipv4 and ipv6 able netcat implementation
description
This package provides an another netcat implementation
end
files
%{bindir}/ncat
%{bindir}/nc
%{datadir}/ncat/*
%{mandir}/man1/ncat.1*
end
end
package %{name}-debuginfo
template DEBUGINFO
end