diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-09-06 10:28:05 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-09-06 10:28:05 +0100 |
commit | f1af93971b7490792d8541bc790e0d8c6d787059 (patch) | |
tree | a38046712bbc3a3844d77452d16c84e716caa3d4 /net-analyzer/tcpstat | |
parent | fc637fb28da700da71ec2064d65ca5a7a31b9c6c (diff) |
gentoo resync : 06.08.2019
Diffstat (limited to 'net-analyzer/tcpstat')
-rw-r--r-- | net-analyzer/tcpstat/Manifest | 2 | ||||
-rw-r--r-- | net-analyzer/tcpstat/files/tcpstat-1.5-_DEFAULT_SOURCE.patch | 11 | ||||
-rw-r--r-- | net-analyzer/tcpstat/tcpstat-1.5-r3.ebuild | 45 |
3 files changed, 58 insertions, 0 deletions
diff --git a/net-analyzer/tcpstat/Manifest b/net-analyzer/tcpstat/Manifest index bebd27093d63..6ce9163bdead 100644 --- a/net-analyzer/tcpstat/Manifest +++ b/net-analyzer/tcpstat/Manifest @@ -1,6 +1,8 @@ +AUX tcpstat-1.5-_DEFAULT_SOURCE.patch 428 BLAKE2B ee4ac925f6baa2728cdc5ec2d31fe9ddfa555465f3386ff0413a851541c06d160270f56896c715c136849776b7233482a0de359c616e73ed4be0755ed05da199 SHA512 471309ad08b0a10f18b34a3d69a81ff19223787f375ea652fb12a96b3166432a55efb091d255aee4388262e44af0d4b3ea2a644ddc6cfaf8201b57194511a1d9 AUX tcpstat-1.5-db.patch 4691 BLAKE2B 1c135688c7197144f6add6ccca007a70141033a16a6b3c24cf4d9769f43b651fc5cfc2bad875c010d7b888e5533af49aca7eab2c691bb716e2c389435136ab0d SHA512 03de51e86bd0aa1bf2d29097871fe8409498050100c4adefde7d8aae7bdd752455af6ce13b490f4e596ea90557b37c95b974705cbaece35d9b465571fdb31d6d DIST tcpstat-1.5.tar.gz 93102 BLAKE2B 39a570fe6176fda0e8a6539417ece268183a1ebed6fa956b8ec5556b8bbd2508829e7d0861ef39b551bd6070df70cfdaf3dbf694a42ad00be4ea0f3e5c757ce5 SHA512 f1399365e754e4d9e19657c455a580294a7b4002a0d02ff05791a45574dcb1d0e75dc492157ef595066502b1553702481c67b20ad24267a50d7293766c39a5ab EBUILD tcpstat-1.5-r1.ebuild 865 BLAKE2B b904e297122d5640de2f88c68124bf6a6945f41e0a60632c0813422ae0496da917093e2e47968d7e919110521f3ce5adc24de853b3cae2b29ee9b2f1e9e23af5 SHA512 f74ee7b2f110edbacf08085e95d8409ac35e85a656439156e4c98e09b5bac06dc5a91ea91eb13cd51f30f085bc6be6433da95a42fba67039bfa4d8c18e5896ed EBUILD tcpstat-1.5-r2.ebuild 725 BLAKE2B 111495835579d8b584959fb232be6bf813886dc26de21585b2f7b820da8cf390dde050a9c257d74633802236449943e801d65df5482473c5ed08964bf6230a01 SHA512 5379b0dc23729ff8c4a3148dccb0efa5ff2971eb39c0939ff795ad8923b95917191db1e3809bd9c05e5a4b2fa12db4e13a407e94976f28af580ad0595c46d672 +EBUILD tcpstat-1.5-r3.ebuild 859 BLAKE2B 5f32b003b52942bd8b1d74a20b99e64d25b37272d95550afd6ba11aca2ae875c6a75b83c106ecec76424455138f9be2ad1024de96d3abe6019a906a1e46645a3 SHA512 6a2613d431804324507e49a835612e5ed59db0850f038a23b64c63f6177e2b8bf85ed7bb061b991ef63b4e1e542b8b113bd2c6216e34b1c913cbd399d6e7fef3 EBUILD tcpstat-1.5.ebuild 561 BLAKE2B aa14697eab225735f94826244653ec1c5cfd97799fc46adc6a17924f244c52841babaec0d20005f7599cefb79a9878a1eeb38fb9e2b65a8a5b148978ffe8048b SHA512 47cdb87e19a06b557e9ec1253790cb349929f04690d8f760b4e78e68ea5fa8ddb84e4edf87d8b22200c20d3cb3222867d538537debe22b6c934677d230995aa6 MISC metadata.xml 276 BLAKE2B e21811549278e73aa9a14acfe242fd022106a39ac1300caa00615772d7f54d08a433052659a271f9ac0d453c7776fc2b9e8d86e6d3f637817c214174dde52cb2 SHA512 f0e6c6bc89659e01e157d9bf30d0a2f3fd2d71bc26c8d12489c4a44fc5237159946e25b46e7295ab4676aea63559194977a0b1e76aced31d81cf6387dd0f4250 diff --git a/net-analyzer/tcpstat/files/tcpstat-1.5-_DEFAULT_SOURCE.patch b/net-analyzer/tcpstat/files/tcpstat-1.5-_DEFAULT_SOURCE.patch new file mode 100644 index 000000000000..e3e0df933d5c --- /dev/null +++ b/net-analyzer/tcpstat/files/tcpstat-1.5-_DEFAULT_SOURCE.patch @@ -0,0 +1,11 @@ +--- a/configure.in ++++ b/configure.in +@@ -68,7 +68,7 @@ + case $my_build_os in + aix*) AC_DEFINE(AIX_STRANGENESS, 1, [ defined on AIX systems. ]) ;; + osf1*) AC_DEFINE(TRU64_STRANGENESS, 1, [ defined on OSF systems. ]) ;; +- linux*) AC_DEFINE(_BSD_SOURCE, 1, [ defined usually on linux systems ] ) ;; ++ linux*) AC_DEFINE(_DEFAULT_SOURCE, 1, [ defined usually on linux systems ] ) ;; + bsd/os*) ;; + freebsd*) ;; + sunos*) ;; diff --git a/net-analyzer/tcpstat/tcpstat-1.5-r3.ebuild b/net-analyzer/tcpstat/tcpstat-1.5-r3.ebuild new file mode 100644 index 000000000000..64128ffed42c --- /dev/null +++ b/net-analyzer/tcpstat/tcpstat-1.5-r3.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit autotools flag-o-matic + +DESCRIPTION="Reports network interface statistics" +HOMEPAGE="https://www.frenchfries.net/paul/tcpstat/" +SRC_URI="${HOMEPAGE}${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="ipv6" + +DEPEND=" + net-libs/libpcap +" +RDEPEND=" + ${DEPEND} +" +DOCS=( AUTHORS ChangeLog NEWS README doc/Tips_and_Tricks.txt ) +PATCHES=( + "${FILESDIR}"/${P}-db.patch + "${FILESDIR}"/${P}-_DEFAULT_SOURCE.patch +) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + append-cflags -Wall -Wextra + econf \ + $(use_enable ipv6) \ + --with-pcap-include='' \ + --with-pcap-lib="$( $(tc-getPKG_CONFIG) --libs libpcap)" +} + +src_install() { + default + dobin src/{catpcap,packetdump} + newdoc src/README README.src +} |