diff options
author | Jeroen Roovers <jer@gentoo.org> | 2020-01-01 14:37:23 +0100 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2020-01-01 14:38:13 +0100 |
commit | 29d1bef34e1182d771c4150a0720cca3ea4ed43e (patch) | |
tree | afbedfd686d7c9dbece96b4faa7654340fa34653 /net-analyzer | |
parent | app-misc/geneweb: EAPI 7 & use GLEP81 (diff) | |
download | gentoo-29d1bef34e1182d771c4150a0720cca3ea4ed43e.tar.gz gentoo-29d1bef34e1182d771c4150a0720cca3ea4ed43e.tar.bz2 gentoo-29d1bef34e1182d771c4150a0720cca3ea4ed43e.zip |
net-analyzer/tcpslice: Version 1.2a_p3_p4
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/tcpslice/tcpslice-1.2a_p3_p4.ebuild | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/net-analyzer/tcpslice/tcpslice-1.2a_p3_p4.ebuild b/net-analyzer/tcpslice/tcpslice-1.2a_p3_p4.ebuild new file mode 100644 index 000000000000..c348b112eb35 --- /dev/null +++ b/net-analyzer/tcpslice/tcpslice-1.2a_p3_p4.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit autotools flag-o-matic + +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 +" +KEYWORDS="~amd64 ~ppc ~x86" + +RDEPEND=" + net-libs/libpcap +" +DEPEND=" + ${RDEPEND} +" +S=${WORKDIR}/${MY_P/_/-} + +src_prepare() { + eapply \ + "${WORKDIR}"/debian/patches/[0-]* \ + "${FILESDIR}"/${PN}-1.2a_p3-exit.patch + eapply_user + sed -i -e 's|ifndef lint|if 0|g' *.c || die + eautoconf +} + +src_install() { + dosbin tcpslice + doman tcpslice.1 + dodoc README +} |