summaryrefslogtreecommitdiff
path: root/net-analyzer/firewalk
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-01-15 15:51:32 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-01-15 15:51:32 +0000
commit21435953e16cda318a82334ddbadb3b5c36d9ea7 (patch)
treee1810a4b135afce04b34862ef0fab2bfaeb8aeca /net-analyzer/firewalk
parent7bc9c63c9da678a7e6fceb095d56c634afd22c56 (diff)
gentoo resync : 15.01.2020
Diffstat (limited to 'net-analyzer/firewalk')
-rw-r--r--net-analyzer/firewalk/Manifest2
-rw-r--r--net-analyzer/firewalk/files/firewalk-5.0-usage.diff22
-rw-r--r--net-analyzer/firewalk/firewalk-5.0-r2.ebuild32
3 files changed, 56 insertions, 0 deletions
diff --git a/net-analyzer/firewalk/Manifest b/net-analyzer/firewalk/Manifest
index d272fcb072e7..c6b77607b0b4 100644
--- a/net-analyzer/firewalk/Manifest
+++ b/net-analyzer/firewalk/Manifest
@@ -1,4 +1,6 @@
AUX firewalk-5.0-gcc3.4.diff 336 BLAKE2B 0ac2e06b910df060f25b892ea782bbb90c94d04c56cf02b297597717b5804a956667ca655b614b291747a6b4988b03d185a1a28e218930e81a4e2ba41b459a59 SHA512 7e6868951f4de1be0572ce1328fb8dd0d787cbd21198cdd84233db80aec40ad17d2748ff2afd98986fc4687357e0c7c411b80c0557aabcb73369ff1d1495cb5c
+AUX firewalk-5.0-usage.diff 489 BLAKE2B b1607306ee554ad0f069d2a2c478bcfc86561e481ad40319088405bba2a223012f0b6b95cda15294885ed16de0a8892b8d22d3a8a86528998f0f784002b8ae82 SHA512 46fd81b4363ff09de7c1d13983c85239a9c7fc9d3aa139d2c0f600bc4235d53475e3f737e41cc56181b876ab9d70cc56cba2b872a619449c2ce60e0af1398b6a
DIST firewalk-5.0.tgz 80446 BLAKE2B 22580800fb21347fda6ff6290c0fd2f177e266778c2d6ce1087839b5484dfcf8e2ffbb415d90012d71e6d345ba4c95f888fecc902adaaa2903124605c1fcf427 SHA512 919aa6e464dac72a02f8967ccf7109de7d0b3a574f0a396bcf69bacc988ab8e13e8e25932d749eadc898cae2546f8f81014d53ef51429e6c784a16d40da90ff2
EBUILD firewalk-5.0-r1.ebuild 588 BLAKE2B cd376b361b1339eae396fa450c6ff041481fb5f0550fcd9486a0f70eae6fd24140d504e2bb54b4c35846cf2f161fad3ccb86a87e8f08a7f94dbbb53e37922f87 SHA512 c8d5152dab5ca3b1f28f3314eb32dba2cd6e529e2bda0a4dfd33442b6a052579ef4590487d3a4d9e60c57dd5e3f8f733fec655142a835963cdc7994049614c46
+EBUILD firewalk-5.0-r2.ebuild 586 BLAKE2B 475f1b6c69a00d51ebb4d8dfde3621fc618f255d12c89f9a9c2629c6aaf287ac9d7964d3c9dce71cecd7d4f1b2f952098af906464e8100a3729606c9f4f104c5 SHA512 a90c91e1fe6f9e205bb3c0c48ff8f15636c33b065dc7bfac6b461483388946cff57749145ea4271e41255e2fb311ab84456ec7351b38351ca2e6f969927a70ff
MISC metadata.xml 276 BLAKE2B e21811549278e73aa9a14acfe242fd022106a39ac1300caa00615772d7f54d08a433052659a271f9ac0d453c7776fc2b9e8d86e6d3f637817c214174dde52cb2 SHA512 f0e6c6bc89659e01e157d9bf30d0a2f3fd2d71bc26c8d12489c4a44fc5237159946e25b46e7295ab4676aea63559194977a0b1e76aced31d81cf6387dd0f4250
diff --git a/net-analyzer/firewalk/files/firewalk-5.0-usage.diff b/net-analyzer/firewalk/files/firewalk-5.0-usage.diff
new file mode 100644
index 000000000000..dac54f558135
--- /dev/null
+++ b/net-analyzer/firewalk/files/firewalk-5.0-usage.diff
@@ -0,0 +1,22 @@
+--- a/include/firewalk.h
++++ b/include/firewalk.h
+@@ -280,7 +280,7 @@
+ /* dump usage */
+ void
+ usage(
+- u_char * /* argv[0] */
++ char * /* argv[0] */
+ );
+
+ #endif /* _FIREWALK_H */
+--- a/src/main.c
++++ b/src/main.c
+@@ -171,7 +171,7 @@
+ }
+
+ void
+-usage(u_char *argv0)
++usage(char *argv0)
+ {
+ fprintf(stderr, "Usage : %s [options] target_gateway metric\n"
+ "\t\t [-d %d - %d] destination port to use (ramping phase)\n"
diff --git a/net-analyzer/firewalk/firewalk-5.0-r2.ebuild b/net-analyzer/firewalk/firewalk-5.0-r2.ebuild
new file mode 100644
index 000000000000..40b2b60d3a86
--- /dev/null
+++ b/net-analyzer/firewalk/firewalk-5.0-r2.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="A tool for determining a firewall's rule set"
+HOMEPAGE="http://packetfactory.openwall.net/projects/firewalk/"
+SRC_URI="mirror://gentoo/${P}.tgz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+DEPEND="
+ dev-libs/libdnet
+ net-libs/libnet:1.1
+ net-libs/libpcap
+"
+RDEPEND="
+ ${DEPEND}
+"
+S=${WORKDIR}/${PN^}
+DOCS=( README TODO BUGS )
+PATCHES=(
+ "${FILESDIR}"/${P}-gcc3.4.diff
+ "${FILESDIR}"/${P}-usage.diff
+)
+
+src_install() {
+ default
+ doman man/firewalk.8
+}