* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/pbnj/files/, net-analyzer/pbnj/
@ 2020-01-08 10:48 Jeroen Roovers
0 siblings, 0 replies; only message in thread
From: Jeroen Roovers @ 2020-01-08 10:48 UTC (permalink / raw
To: gentoo-commits
commit: 328e0e4e0a0d8c6a4d67df75cf19ef7f4b051b7f
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 8 10:46:06 2020 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Wed Jan 8 10:48:39 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=328e0e4e
net-analyzer/pbnj: EAPI=7, fix tests, add dev-perl/Shell dependency
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
net-analyzer/pbnj/files/pbnj-2.04-ipv4_sort.patch | 11 +++++++
net-analyzer/pbnj/pbnj-2.04-r1.ebuild | 39 +++++++++++++++++++++++
2 files changed, 50 insertions(+)
diff --git a/net-analyzer/pbnj/files/pbnj-2.04-ipv4_sort.patch b/net-analyzer/pbnj/files/pbnj-2.04-ipv4_sort.patch
new file mode 100644
index 00000000000..9b9fd823732
--- /dev/null
+++ b/net-analyzer/pbnj/files/pbnj-2.04-ipv4_sort.patch
@@ -0,0 +1,11 @@
+--- a/t/02parser.t
++++ b/t/02parser.t
+@@ -40,7 +40,7 @@
+
+ #TESTING IPV4_SORT
+ my @hosts = (HOST3, HOST1, HOST4, HOST2);
+- is_deeply([$np->ipv4_sort(@hosts)],[HOST1, HOST2, HOST3, HOST4], 'Testing ipv4_sort');
++ is_deeply([$np->addr_sort(@hosts)],[HOST1, HOST2, HOST3, HOST4], 'Testing addr_sort');
+
+
+ #TESTING ALL_HOSTS()
diff --git a/net-analyzer/pbnj/pbnj-2.04-r1.ebuild b/net-analyzer/pbnj/pbnj-2.04-r1.ebuild
new file mode 100644
index 00000000000..22d8615ff55
--- /dev/null
+++ b/net-analyzer/pbnj/pbnj-2.04-r1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit perl-module
+
+DESCRIPTION="A tool for running Nmap scans and diff'ing the results"
+HOMEPAGE="http://pbnj.sourceforge.net/"
+SRC_URI="mirror://sourceforge/pbnj/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="
+ dev-perl/DBD-SQLite
+ dev-perl/DBI
+ dev-perl/File-HomeDir
+ dev-perl/File-Which
+ dev-perl/Nmap-Parser
+ dev-perl/Shell
+ dev-perl/Text-CSV_XS
+ dev-perl/XML-Twig
+ dev-perl/YAML
+"
+RDEPEND="
+ ${DEPEND}
+ net-analyzer/nmap
+"
+PATCHES=(
+ "${FILESDIR}"/${PN}-2.04-ipv4_sort.patch
+)
+
+src_prepare() {
+ default
+
+ mv t/04change.t{,his-test-fails} || die
+ mv t/05output.t{,his-test-fails} || die
+}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2020-01-08 10:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-08 10:48 [gentoo-commits] repo/gentoo:master commit in: net-analyzer/pbnj/files/, net-analyzer/pbnj/ Jeroen Roovers
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox