1 |
commit: 948541e4b4ee308c4d3380b976f18e1de7ec74ba |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jan 8 09:29:39 2020 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jan 8 09:30:26 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=948541e4 |
7 |
|
8 |
net-analyzer/ipband: EAPI=7 |
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/ipband/ipband-0.8.1-r2.ebuild | 40 ++++++++++++++++++++++++++++++ |
14 |
1 file changed, 40 insertions(+) |
15 |
|
16 |
diff --git a/net-analyzer/ipband/ipband-0.8.1-r2.ebuild b/net-analyzer/ipband/ipband-0.8.1-r2.ebuild |
17 |
new file mode 100644 |
18 |
index 00000000000..6d65e278291 |
19 |
--- /dev/null |
20 |
+++ b/net-analyzer/ipband/ipband-0.8.1-r2.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 toolchain-funcs |
27 |
+ |
28 |
+DESCRIPTION="A pcap based IP traffic and bandwidth monitor" |
29 |
+HOMEPAGE="http://ipband.sourceforge.net/" |
30 |
+SRC_URI="mirror://sourceforge/${PN}/${P}.tgz" |
31 |
+ |
32 |
+LICENSE="GPL-2" |
33 |
+SLOT="0" |
34 |
+KEYWORDS="~amd64 ~x86" |
35 |
+ |
36 |
+DEPEND=" |
37 |
+ >=net-libs/libpcap-0.4 |
38 |
+" |
39 |
+RDEPEND=" |
40 |
+ ${DEPEND} |
41 |
+" |
42 |
+PATCHES=( |
43 |
+ "${FILESDIR}"/${P}-gentoo.patch |
44 |
+ "${FILESDIR}"/${P}-postfix.patch |
45 |
+) |
46 |
+ |
47 |
+src_configure() { |
48 |
+ tc-export CC |
49 |
+ default |
50 |
+} |
51 |
+ |
52 |
+src_install() { |
53 |
+ dobin ipband |
54 |
+ doman ipband.8 |
55 |
+ dodoc CHANGELOG README |
56 |
+ |
57 |
+ newinitd "${FILESDIR}"/ipband-init ipband |
58 |
+ |
59 |
+ insinto /etc/ |
60 |
+ newins ipband.sample.conf ipband.conf |
61 |
+} |