summaryrefslogtreecommitdiff
path: root/net-analyzer
diff options
context:
space:
mode:
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/Manifest.gzbin43428 -> 43414 bytes
-rw-r--r--net-analyzer/dsniff/Manifest3
-rw-r--r--net-analyzer/dsniff/dsniff-2.4_beta1_p31.ebuild74
-rw-r--r--net-analyzer/dsniff/files/dsniff-2.4_beta1_p31-c99-fixes.patch36
-rw-r--r--net-analyzer/vnstat/Manifest2
-rw-r--r--net-analyzer/vnstat/vnstat-2.11.ebuild2
6 files changed, 115 insertions, 2 deletions
diff --git a/net-analyzer/Manifest.gz b/net-analyzer/Manifest.gz
index 1c9422646786..4cf223fb6194 100644
--- a/net-analyzer/Manifest.gz
+++ b/net-analyzer/Manifest.gz
Binary files differ
diff --git a/net-analyzer/dsniff/Manifest b/net-analyzer/dsniff/Manifest
index 005687fac447..55a4eab54c17 100644
--- a/net-analyzer/dsniff/Manifest
+++ b/net-analyzer/dsniff/Manifest
@@ -1,7 +1,10 @@
AUX dsniff-2.4_beta1_p30-httppostfix.patch 635 BLAKE2B 1bec7f7441b80b4c3e965395d8b81a47a0b2df1eaa6b54aad3afc4e18a862e191e2cc03f7f2d85f34c819b800a0e54dc38f9d139d5c25f48181695eaedeb6566 SHA512 40c02577a4f1bb0cfdd93019ce968751dbdb55af059dd4537c9eea7103e6d5c89e34bf7bf934a259dd4cf0b78b4a76a7d2cfc44ce2a75eee0e1f460e8defbd04
AUX dsniff-2.4_beta1_p30-libdir-configure.patch 3810 BLAKE2B dfa3813f013bd3ec0a527ed48d57d545f439dea42243798c8bd85672d17f57391a74c7d86fb87bab88233b45531acef3ee4c8b7b4398208df1deae091dc1e382 SHA512 80719d441ea45a78b3bab7f0fb5747f88d7cd8dc8c96ffc3ec2ffcb6f5ac02f8c889a8538b0ed8b82146cd7200efefd7318950372f27e6d28fd1dff72934e558
AUX dsniff-2.4_beta1_p30-respect-AR.patch 508 BLAKE2B 585b4e0b959b037f695e191577db9ad99f41e579d1f047810999dfa39101380235b8641e9893ff9de323b00c2376c3cf96b2ba5788786c03d05df7748038c688 SHA512 2a408236f750d47b68b883d55dcf3bb0a2b50c74cf636f2aa61999972081ce6f96186a4fd6fa566928b3d0bbe2dcc14c0f715701e2b4ec417e8f9f5cc0d154e3
+AUX dsniff-2.4_beta1_p31-c99-fixes.patch 877 BLAKE2B 8332eb26db5b6bbc092aa35946e7a27a86967f581ee3e96b35155ff93125ab421ac5499a4a5a0b7fbb91ce134a4b0edf4bbbc6f58727ac280633ac5e36c2bdd2 SHA512 294ea0397de5e8d006455714a2f88359e3b160172df457ab7b75d9a888611bc039a643fd566e806e0f56f8e3675e7836a2d007c882c3bef08cdbfeb6cb3b7158
DIST dsniff_2.4b1+debian-30.debian.tar.xz 30788 BLAKE2B 8605b1dcca36f626f31410d88d25a57e6661b57b941155cdbde951991b09fb2dd7c147b1fdd1a22eded1cf904c890317b1844a7829cd6e43fd2fc5defc79b5f3 SHA512 45ffe34fcd30cd1461a354891b9d5567038cc176dbfa79c67020075cd40ae09b7092954925019e583d0d69cae76a558049b489745454a8034ce3e9e832c58f64
+DIST dsniff_2.4b1+debian-31.debian.tar.xz 30848 BLAKE2B 46bdfa08170fbfbba35fcc67340fc35352ef276dd5e8e00a540da39d28364c3198198eefeb6b85cb05e74d3785fc61c7e8e58d6ce37e0b62e6018e4842d938ad SHA512 da927bb887db6761a07dc2460bdeb834b386ccc5b8aa50ebce804ee130f89379268412cddd83ad64cc763e98e2f42a7efc23b7ca77db59445533272cb408088f
DIST dsniff_2.4b1+debian.orig.tar.gz 130220 BLAKE2B e6953a5bfc5331b030e1a5335987c51fa4cf2c644fc4e7ac9aefe17f52373a1f66ccef36c5d9136542f68a475350138b1f3e501bc9494a0fd4988c7c5a7b2eef SHA512 09c3a864f112f81b8fdf93436886b14eb8f603ec751b13f18cf027307f24098c018eacf98b3ae353731a0cf6f1c9cacfafbb534a0db8b9f0cc793e7515c41b5a
EBUILD dsniff-2.4_beta1_p30.ebuild 1716 BLAKE2B 604355e16c5721effd2188c483816bf9c3b28c8ffdd3f132c4e6d311852bf158df21436c53fd4c75080d4d82d404124a1a6ca5520cf9c98d52d388ef06263e74 SHA512 41177a0f130770934bfd7c8eb7fdc7d802561f097c6b7e075f78aa37bdd106b61e21988f6228807e50f3530963cb6acf982001ac67f448e9083e24931537ba5c
+EBUILD dsniff-2.4_beta1_p31.ebuild 1767 BLAKE2B 6d278c25bd66f7985fce8443d1647ec84d218208e1c225ddb6dd185bbc5ddda1b7b55a9bfde534388056944ae551e38a4472562f995e2f2aa0838b1dae4619c6 SHA512 a1c241dd5a2393526e09ecddc4b1aca07f04e2b8d8a20e762e0da3350aa92c6e888750e2b985d1524fff25dd43bc6ca6e90a1339b4b95c93264c2244ce843550
MISC metadata.xml 853 BLAKE2B d91a9dd0cebe081176b43f3c480532ce6e55fd995c1c24a55cc8dfd4738bd04b82f88fa4422d12c55320c8360003fe5fa0ee1cfcbbec36a102ce68776d9586e1 SHA512 8138c27c6025549ae01ce3c766c1afb52e40f2cd386e27678b43da956b6cf9c42710d293067375d7b79171a0d1d8c5f80264f3d27aacd112a93c84eedd17266e
diff --git a/net-analyzer/dsniff/dsniff-2.4_beta1_p31.ebuild b/net-analyzer/dsniff/dsniff-2.4_beta1_p31.ebuild
new file mode 100644
index 000000000000..f7cbbc6b9514
--- /dev/null
+++ b/net-analyzer/dsniff/dsniff-2.4_beta1_p31.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools toolchain-funcs
+
+MY_PV="${PV/_beta/b}"
+MY_PV="${MY_PV/_p*/}"
+MY_PV="$(ver_rs 1 '.' "${MY_PV}")"
+# 2.4_beta1_p30 -> 2.4beta1-30
+MY_DEB_PV="$(ver_cut 1-2)$(ver_cut 3-4)-$(ver_cut 6)"
+
+DESCRIPTION="A collection of tools for network auditing and penetration testing"
+HOMEPAGE="https://monkey.org/~dugsong/dsniff/"
+SRC_URI="mirror://debian/pool/main/${PN::1}/${PN}/${PN}_${MY_PV}+debian.orig.tar.gz
+ mirror://debian/pool/main/${PN::1}/${PN}/${PN}_${MY_PV}+debian-${PV/*_p}.debian.tar.xz"
+S="${WORKDIR}/${P/_beta1*/}"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="X"
+
+# There's a berkdb configure option but we get a build failure if
+# we try to disable it. Not clear how useful the package is
+# without it anyway.
+RDEPEND="net-libs/libpcap
+ >=net-libs/libnet-1.1.2.1-r1
+ >=net-libs/libnids-1.21
+ net-libs/libnsl:=
+ net-libs/libtirpc:=
+ dev-libs/openssl:=
+ >=sys-libs/db-4:=
+ X? ( x11-libs/libXmu )"
+DEPEND="${DEPEND}
+ net-libs/rpcsvc-proto"
+# Calls rpcgen during build
+BDEPEND="net-libs/rpcsvc-proto"
+
+PATCHES=(
+ "${WORKDIR}"/debian/patches/
+ "${FILESDIR}"/${PN}-2.4_beta1_p30-httppostfix.patch
+ "${FILESDIR}"/${PN}-2.4_beta1_p30-libdir-configure.patch
+ "${FILESDIR}"/${PN}-2.4_beta1_p30-respect-AR.patch
+ "${FILESDIR}"/${PN}-2.4_beta1_p31-c99-fixes.patch
+)
+
+src_prepare() {
+ default
+
+ mv configure.{in,ac} || die
+ eautoreconf
+}
+
+src_configure() {
+ tc-export AR
+
+ econf \
+ $(use_with X x)
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)"
+}
+
+src_install() {
+ emake install install_prefix="${D}"
+
+ dodir /etc/dsniff
+ cp "${ED}"/usr/share/dsniff/{dnsspoof.hosts,dsniff.{magic,services}} \
+ "${ED}"/etc/dsniff/ || die
+ dodoc CHANGES README TODO
+}
diff --git a/net-analyzer/dsniff/files/dsniff-2.4_beta1_p31-c99-fixes.patch b/net-analyzer/dsniff/files/dsniff-2.4_beta1_p31-c99-fixes.patch
new file mode 100644
index 000000000000..f77d21ea9510
--- /dev/null
+++ b/net-analyzer/dsniff/files/dsniff-2.4_beta1_p31-c99-fixes.patch
@@ -0,0 +1,36 @@
+# Gentoo bug: https://bugs.gentoo.org/919503
+
+diff --git a/tcpkill.c b/tcpkill.c
+index 1a64d40..de7ad00 100644
+--- a/tcpkill.c
++++ b/tcpkill.c
+@@ -19,6 +19,7 @@
+ #include <err.h>
+ #include <libnet.h>
+ #include <pcap.h>
++#include <inttypes.h>
+
+ #include "pcaputil.h"
+ #include "version.h"
+@@ -84,7 +85,7 @@ tcp_kill_cb(u_char *user, const struct pcap_pkthdr *pcap, const u_char *pkt)
+ if (libnet_write(l) < 0)
+ warn("write");
+
+- fprintf(stderr, "%s R %lu:%lu(0) win 0\n", ctext, seq, seq);
++ fprintf(stderr, "%s R %"PRIu32":%"PRIu32"(0) win 0\n", ctext, seq, seq);
+ }
+ }
+
+diff --git a/urlsnarf.c b/urlsnarf.c
+index f46ccf8..d57b9dd 100644
+--- a/urlsnarf.c
++++ b/urlsnarf.c
+@@ -341,7 +341,7 @@ main(int argc, char *argv[])
+ }
+
+ struct pcap_pkthdr *h;
+- u_char *d;
++ const u_char *d;
+ int rc;
+ while ((rc = pcap_next_ex(p, &h, &d)) == 1) {
+ tt = h->ts.tv_sec;
diff --git a/net-analyzer/vnstat/Manifest b/net-analyzer/vnstat/Manifest
index a52ca32fff0e..c090abd8937b 100644
--- a/net-analyzer/vnstat/Manifest
+++ b/net-analyzer/vnstat/Manifest
@@ -9,6 +9,6 @@ DIST vnstat-2.10.tar.gz.asc 833 BLAKE2B bb3b7ef9d52c7ba4e8fb3ae7c8693e36803374c0
DIST vnstat-2.11.tar.gz 312821 BLAKE2B 6eeed45d628641c9d88cf33ae1fc14871109b1e9fd0ac4a46fe8e2c194bb4600878b69408ed177bcde38ca859d0a3165d0095cab9b0bb6c036f7788fbfcb47e6 SHA512 d1ec9fd7e57598712df50601247c9904a371b7a2e5cb33efab2d44d330294d8ea3facf914de3d8d3a0381061b14642c613948478bf0c8d7f5e599a83321aad34
DIST vnstat-2.11.tar.gz.asc 833 BLAKE2B ded1462ee51dc6fde349ae6e21a6b45bdab268ff024804394268f515b618beead7d4582721ffa26d3f9cc7a8434a0f7145d31dcf9c95c575145e4903bdbd5460 SHA512 8b15f73d412e05c50e2e5a514bc96daa2dceae49af95ed7f09e742f3bbc8b34b856bb2d0a33a7146a8b19f714d47863388cfcb63821dac670c9e020ca60f4785
EBUILD vnstat-2.10.ebuild 1972 BLAKE2B 00de63a7e8d07a65d2ac440ce6b8e795e1e302fd27db982978990908ec19235391c90a07ad802fd992082fe1ed9694c8a3bd74f156b21340019d89ffaa3dac25 SHA512 70e31b096e07177a6ce055404e6a36e3d7c876b4382df27dc624f5a6976882e20fa9212ae554edd39e8a99f8933b65e401f08f4f456392963b82c7f1f03abb1c
-EBUILD vnstat-2.11.ebuild 1960 BLAKE2B 7ef6716a04975887b3c654615d9c159f4c287287ecd5c11f579b62eb23f00e8ff983eaac55ce62a207658f3e04308c519667f9ee8e911c9fbc775fbf0c88b772 SHA512 cc035709dd3f26560336a5af61fabe2c34da531bdd682b139a89e220bb42751ce288c0a1399c80160684b4c779dc0fd5889b3f718a64f5905c2e5883a54021ee
+EBUILD vnstat-2.11.ebuild 1955 BLAKE2B 4ff080cd48d908320c996ae29c8ad16d8533b174129684a14cc89846f8b0479f06638bec43e58db99bf111389be0e6a297bd66ff6afe5d19f309d0cb7a448cfd SHA512 4d099411ab06974fd7c948c6063dc2ec62c4684a36f9d14c983f936bd5910b7e2c42ffbbe6cd7cff295d96ff72761315b5163387b2f7ae6f17a68ed8089b1c42
EBUILD vnstat-9999.ebuild 1960 BLAKE2B 7ef6716a04975887b3c654615d9c159f4c287287ecd5c11f579b62eb23f00e8ff983eaac55ce62a207658f3e04308c519667f9ee8e911c9fbc775fbf0c88b772 SHA512 cc035709dd3f26560336a5af61fabe2c34da531bdd682b139a89e220bb42751ce288c0a1399c80160684b4c779dc0fd5889b3f718a64f5905c2e5883a54021ee
MISC metadata.xml 836 BLAKE2B f87c7da72d6510825ef2a437e02a0b29febae258debbf922885923aac4032eda5f122f29d6f0d0cf4c9876fdba09b030246f851083ae424ec1859073273e0e30 SHA512 21e9f14e00563ea52ebe117d0b80739566d043956c16cc95ad7a67bf9df6360e96ad700d2c739ab20ae2dc2c321432f5c98b67c5cc59853b1fdced8ca70fce01
diff --git a/net-analyzer/vnstat/vnstat-2.11.ebuild b/net-analyzer/vnstat/vnstat-2.11.ebuild
index 3c0d869f10c3..68f474c6ffc5 100644
--- a/net-analyzer/vnstat/vnstat-2.11.ebuild
+++ b/net-analyzer/vnstat/vnstat-2.11.ebuild
@@ -24,7 +24,7 @@ else
)
"
- KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+ KEYWORDS="amd64 arm arm64 ~hppa ~mips ~ppc ppc64 ~riscv sparc ~x86"
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-teemutoivola )"
fi