]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/commitdiff
Update nmap to 7.30
authorJonatan Schlag <jonatan.schlag@ipfire.org>
Thu, 8 Dec 2016 14:34:55 +0000 (14:34 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 8 Dec 2016 16:08:53 +0000 (16:08 +0000)
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>
nmap/nmap.nm

index c57bf72c7507ca87d9622d5e9c4f33a9967b0df2..39726af7e3f882c8a33110891961ee98aa336eb7 100644 (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