diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-02-10 21:05:55 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-02-10 21:05:55 +0000 |
commit | 71deace00d1a2b091313fe137ab7092418c6f87c (patch) | |
tree | 9f1f0dee23e13658e52f49437befe78427148c51 /net-analyzer/siphon | |
parent | 29aabba0ea759c6a2864ff5631735b67ee38e5e0 (diff) |
gentoo resync : 10.02.2020
Diffstat (limited to 'net-analyzer/siphon')
-rw-r--r-- | net-analyzer/siphon/Manifest | 2 | ||||
-rw-r--r-- | net-analyzer/siphon/files/siphon-666-fno-common.patch | 22 | ||||
-rw-r--r-- | net-analyzer/siphon/siphon-666-r2.ebuild | 34 |
3 files changed, 58 insertions, 0 deletions
diff --git a/net-analyzer/siphon/Manifest b/net-analyzer/siphon/Manifest index 980df9edd8fd..302379c87319 100644 --- a/net-analyzer/siphon/Manifest +++ b/net-analyzer/siphon/Manifest @@ -1,5 +1,7 @@ +AUX siphon-666-fno-common.patch 363 BLAKE2B 7c81ccf4a524693fc567b5d36938b5b6047fe30b9edfe2be14c3faed2ecc5b7ca58e67d7345e67a5d975fd66d9b62db43db97aa7f290d65a6b263cbbcaff2501 SHA512 41eba6e4537b56b58810e6a666640aac90046afa75a25fe995a6d7fc90dc7e69ba05f338655635ed167928398af20867b929417e3caad9eb42b31d3a287dbd62 AUX siphon-666-gentoo.patch 441 BLAKE2B 048df4192f94c80047c95154a8404dee991993219f59123b4c96822e108094ee52299607988ea1311e25e2dd96843c92c03d92e1ab2ce18fc3a58539352d9807 SHA512 66fa0bc1deaa44bdda3d456e79bfacbe5a620365f5cecdb6d18da127d62b3111770a097c6b63e8d83efeb206f3f6577953028dbe49090ffc22e597bc2bf5d4c5 AUX siphon-666-log.patch 1177 BLAKE2B 7f4e7c9428143558a5ba362526c882f59fac61c4ac4868b3577f9a500aa9ee17c3c1c7d12212dd089c669af1854ecf93c278871cd6f9e5ee9bd8c2124d989251 SHA512 3f82b38442b29083b95475fe26327d2da852dfed172182903adb7cb1dbf9045158462f70239500301d3c1f88005fb6308cddbd8ff48dc885dbc3dcbf355ba4ce DIST siphon-v.666.tar.gz 6951 BLAKE2B 8a37897aa52a73819a92422384252cac4cfecfacb4aedbb91af20592b6b831cd78af1dfc9f6da6f5d555c4d742fc9babe04ec446a3b0d214eab9b4cd0ea64883 SHA512 d355e80e7f102af13be9663d8e7cb28d3f3dc823d79192c287a5800e1239e4f37720b449a879605e5df0da1bb8accc3c70a605d94fc925788fe4a2e7bead650a EBUILD siphon-666-r1.ebuild 654 BLAKE2B caca1c290089a463d214b53a7bce9828d200d6ad139fd478a5286efb35a252154c629f5bfbe56849f14afce56ca22a96ac81a7d8ee9062b5cecef2b036d07823 SHA512 40a8e9874bd3b9e561f4b43ec39964fa2727caada35603b883edce7c4b4e9184340408b6a0154b0bad81bfd45b7120a26ac54c392aa5464b4ed381bd9878777e +EBUILD siphon-666-r2.ebuild 660 BLAKE2B ac58988f23b5504a4ad52ec78098a3777f3309617807ecb21637ee656be16e2d1b4350bbe216aba08456898fa836c7f8bbf54da3fe2a070eb8c1c98b022a140c SHA512 91b95433aa67cec74724a630a05d78613036492b7707c71bae691ddde8ea566dbe7e62b87182847f2d5776064e983cb5e564d8072a145755d434dce05b538017 MISC metadata.xml 276 BLAKE2B e21811549278e73aa9a14acfe242fd022106a39ac1300caa00615772d7f54d08a433052659a271f9ac0d453c7776fc2b9e8d86e6d3f637817c214174dde52cb2 SHA512 f0e6c6bc89659e01e157d9bf30d0a2f3fd2d71bc26c8d12489c4a44fc5237159946e25b46e7295ab4676aea63559194977a0b1e76aced31d81cf6387dd0f4250 diff --git a/net-analyzer/siphon/files/siphon-666-fno-common.patch b/net-analyzer/siphon/files/siphon-666-fno-common.patch new file mode 100644 index 000000000000..c3b1addf1b04 --- /dev/null +++ b/net-analyzer/siphon/files/siphon-666-fno-common.patch @@ -0,0 +1,22 @@ +--- a/main.c ++++ b/main.c +@@ -12,6 +12,9 @@ + + #include <siphon.h> + ++char *device, *logfile; ++int verbose, back; ++ + void usage (char *); + void title(void); + +--- a/siphon.h ++++ b/siphon.h +@@ -51,5 +51,5 @@ + void *parse (void *); + void *siphon_log(void *); + +-char *device, *logfile; +-int verbose, back; ++extern char *device, *logfile; ++extern int verbose, back; diff --git a/net-analyzer/siphon/siphon-666-r2.ebuild b/net-analyzer/siphon/siphon-666-r2.ebuild new file mode 100644 index 000000000000..7921c66b9a14 --- /dev/null +++ b/net-analyzer/siphon/siphon-666-r2.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit toolchain-funcs + +MY_P=${PN}-v.${PV} + +DESCRIPTION="A portable passive network mapping suite" +HOMEPAGE="http://siphon.datanerds.net/" +SRC_URI="http://siphon.datanerds.net/${MY_P}.tar.gz" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" + +DEPEND="net-libs/libpcap" +RDEPEND="${DEPEND}" +S=${WORKDIR}/${MY_P} +PATCHES=( + "${FILESDIR}"/${P}-gentoo.patch + "${FILESDIR}"/${P}-log.patch + "${FILESDIR}"/${P}-fno-common.patch +) + +src_compile() { + emake CC="$(tc-getCC)" +} + +src_install() { + dobin ${PN} + insinto /etc + doins osprints.conf + dodoc README +} |