summaryrefslogtreecommitdiff
path: root/net-analyzer/tcpslice
diff options
context:
space:
mode:
Diffstat (limited to 'net-analyzer/tcpslice')
-rw-r--r--net-analyzer/tcpslice/Manifest2
-rw-r--r--net-analyzer/tcpslice/tcpslice-1.2a_p3_p4.ebuild33
2 files changed, 18 insertions, 17 deletions
diff --git a/net-analyzer/tcpslice/Manifest b/net-analyzer/tcpslice/Manifest
index 05d1537de52d..2a908ad24adf 100644
--- a/net-analyzer/tcpslice/Manifest
+++ b/net-analyzer/tcpslice/Manifest
@@ -1,5 +1,5 @@
AUX tcpslice-1.2a_p3-exit.patch 148 BLAKE2B 630ab0a2f57eda36d148c9338bc1a6b95feb4867f27bef5bc0ba4144a7778ab3a080bc13dce964c56fed8fd723f6ba3247aafd1d878cbb276f3d17ed58ba724f SHA512 7506ce229cc1e0d44570c62a77e0e96adc3936d8464af6c79abbd9b1fd09559b627fa4f27f905cc5e7fd39f246e818a445406ac9439b6792223671f0f1f77864
DIST tcpslice_1.2a3-4.debian.tar.gz 5784 BLAKE2B c85beab03b494984d721ca64fb75ccb29746dee4184e4daecf2703e80f3b3d3e4330b911831960caa17d631a4760a21d17368cd7017e61c05766fd1f50c66e0e SHA512 43a0ad5811c84639be0c6d162ea92101e73240e9689e4b647ee060697382062ec0e22dcb951ca000e05bac829455b7aa37f8dd73c5b1dd87f55e6d61a8a9b59b
DIST tcpslice_1.2a3.orig.tar.gz 76879 BLAKE2B 38b20ef09c2c0fc2c956c421d131ce27748bea684bb459da13f0d29b008a4561b7f61381cfbdb9c1dbdf53478c55b412efa9af689d5425f7fbfc9f0ee32016d5 SHA512 04e12d592807022c78eb4941580ed103995680c69af885bb8f13828a12ec570f7fe93c34c1b20a01d3d99f445d5da17a1fcfbe25b2e3b41abe28304c034654c5
-EBUILD tcpslice-1.2a_p3_p4.ebuild 867 BLAKE2B 1365b82ec2286882a4d569883705aa1cf6f43eae57146a980802f759a539c6273b76c7fe222698424df0b53c6139231f5b5f17f51e1b01b591765c188239264e SHA512 98bb83e716d15d7ad79316da7c74d45404ea99c0167af8369e87a1294b537ffb6b91f06d583fb5ccc39895fe1f3f38f484fa1c9a8d6e7448cca94682ffac9944
+EBUILD tcpslice-1.2a_p3_p4.ebuild 882 BLAKE2B 6c4cb82b914f111c4fdeb5c28a33d40e52427817cdec12cab8c60a28b90d3ecebdef276db8f3af2203fd20a48a9cf7160898d6c7cc9a796c2663aacffa1f51bc SHA512 724644057f7c5e9f7970b5c8dbd4958182c9b9cf2e51cd1b7926f6483b95959f33b2c8b3cda16ae870ab3783c6bd1364d6e7a12c69e3d43568abb08e6cf23212
MISC metadata.xml 371 BLAKE2B 072028b30fa16126531152222e9589f8ab1060c71124d1f582edd44b3ee3bd28a051a7115237e0dc05fba064b1a1755459736b296523b5d5472b7d1468408053 SHA512 3bd72b08f16ee7ae7c8fb8787de22923118d3a6b311328f4d7819003455312cf47002f9e41c00f68bf8c88f9e6d74abc4d1f8d24fb5ea41c038e4c46cf8b8bfa
diff --git a/net-analyzer/tcpslice/tcpslice-1.2a_p3_p4.ebuild b/net-analyzer/tcpslice/tcpslice-1.2a_p3_p4.ebuild
index e988b2260bdb..eca9e30b0bd3 100644
--- a/net-analyzer/tcpslice/tcpslice-1.2a_p3_p4.ebuild
+++ b/net-analyzer/tcpslice/tcpslice-1.2a_p3_p4.ebuild
@@ -1,36 +1,37 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit autotools flag-o-matic
+
+inherit autotools
MY_P="${PN}_$(ver_cut 1).$(ver_cut 2-3)$(ver_cut 5)"
DESCRIPTION="Extract and concatenate portions of pcap files"
HOMEPAGE="http://www.tcpdump.org/ https://github.com/the-tcpdump-group/tcpslice"
-LICENSE="BSD"
-SLOT="0"
SRC_URI="
mirror://debian/pool/main/${PN:0:1}/${PN}/${MY_P}.orig.tar.gz
mirror://debian/pool/main/${PN:0:1}/${PN}/${MY_P}-$(ver_cut 7).debian.tar.gz
"
+S="${WORKDIR}"/${MY_P/_/-}
+
+LICENSE="BSD"
+SLOT="0"
KEYWORDS="~amd64 ~ppc x86"
-RDEPEND="
- net-libs/libpcap
-"
-DEPEND="
- ${RDEPEND}
-"
-S=${WORKDIR}/${MY_P/_/-}
+RDEPEND="net-libs/libpcap"
+DEPEND="${RDEPEND}"
src_prepare() {
- eapply \
- "${WORKDIR}"/debian/patches/[0-]* \
- "${FILESDIR}"/${PN}-1.2a_p3-exit.patch
- eapply_user
+ eapply "${WORKDIR}"/debian/patches/[0-]*
+ eapply "${FILESDIR}"/${PN}-1.2a_p3-exit.patch
+
+ default
+
sed -i -e 's|ifndef lint|if 0|g' *.c || die
- eautoconf
+
+ mv configure.{in,ac} || die
+ eautoreconf
}
src_install() {