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. --- nmap/nmap.nm | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-)
diff --git a/nmap/nmap.nm b/nmap/nmap.nm index c57bf72..39726af 100644 --- a/nmap/nmap.nm +++ b/nmap/nmap.nm @@ -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