1 |
commit: 29d1bef34e1182d771c4150a0720cca3ea4ed43e |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jan 1 13:37:23 2020 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jan 1 13:38:13 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29d1bef3 |
7 |
|
8 |
net-analyzer/tcpslice: Version 1.2a_p3_p4 |
9 |
|
10 |
Package-Manager: Portage-2.3.84, Repoman-2.3.20 |
11 |
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org> |
12 |
|
13 |
net-analyzer/tcpslice/tcpslice-1.2a_p3_p4.ebuild | 40 ++++++++++++++++++++++++ |
14 |
1 file changed, 40 insertions(+) |
15 |
|
16 |
diff --git a/net-analyzer/tcpslice/tcpslice-1.2a_p3_p4.ebuild b/net-analyzer/tcpslice/tcpslice-1.2a_p3_p4.ebuild |
17 |
new file mode 100644 |
18 |
index 00000000000..c348b112eb3 |
19 |
--- /dev/null |
20 |
+++ b/net-analyzer/tcpslice/tcpslice-1.2a_p3_p4.ebuild |
21 |
@@ -0,0 +1,40 @@ |
22 |
+# Copyright 1999-2020 Gentoo Authors |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+ |
25 |
+EAPI=7 |
26 |
+inherit autotools flag-o-matic |
27 |
+ |
28 |
+MY_P="${PN}_$(ver_cut 1).$(ver_cut 2-3)$(ver_cut 5)" |
29 |
+ |
30 |
+DESCRIPTION="Extract and concatenate portions of pcap files" |
31 |
+HOMEPAGE="http://www.tcpdump.org/ https://github.com/the-tcpdump-group/tcpslice" |
32 |
+LICENSE="BSD" |
33 |
+SLOT="0" |
34 |
+SRC_URI=" |
35 |
+ mirror://debian/pool/main/${PN:0:1}/${PN}/${MY_P}.orig.tar.gz |
36 |
+ mirror://debian/pool/main/${PN:0:1}/${PN}/${MY_P}-$(ver_cut 7).debian.tar.gz |
37 |
+" |
38 |
+KEYWORDS="~amd64 ~ppc ~x86" |
39 |
+ |
40 |
+RDEPEND=" |
41 |
+ net-libs/libpcap |
42 |
+" |
43 |
+DEPEND=" |
44 |
+ ${RDEPEND} |
45 |
+" |
46 |
+S=${WORKDIR}/${MY_P/_/-} |
47 |
+ |
48 |
+src_prepare() { |
49 |
+ eapply \ |
50 |
+ "${WORKDIR}"/debian/patches/[0-]* \ |
51 |
+ "${FILESDIR}"/${PN}-1.2a_p3-exit.patch |
52 |
+ eapply_user |
53 |
+ sed -i -e 's|ifndef lint|if 0|g' *.c || die |
54 |
+ eautoconf |
55 |
+} |
56 |
+ |
57 |
+src_install() { |
58 |
+ dosbin tcpslice |
59 |
+ doman tcpslice.1 |
60 |
+ dodoc README |
61 |
+} |