public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Jonatan Schlag <jonatan.schlag@ipfire.org>
To: development@lists.ipfire.org
Subject: [PATCH] Update nmap to 7.30
Date: Thu, 08 Dec 2016 14:34:55 +0000	[thread overview]
Message-ID: <1481207695-3347-1-git-send-email-jonatan.schlag@ipfire.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 1419 bytes --]

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
-- 
2.6.3


             reply	other threads:[~2016-12-08 14:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-08 14:34 Jonatan Schlag [this message]
2016-12-08 16:12 ` Michael Tremer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1481207695-3347-1-git-send-email-jonatan.schlag@ipfire.org \
    --to=jonatan.schlag@ipfire.org \
    --cc=development@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox