1 |
commit: c78b7ad4cf91fb8c321cf5467ee9e086ad2382e4 |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Sep 27 13:43:00 2020 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 27 13:47:17 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c78b7ad4 |
7 |
|
8 |
net-analyzer/sancp: Old |
9 |
|
10 |
Package-Manager: Portage-3.0.8, Repoman-3.0.1 |
11 |
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org> |
12 |
|
13 |
net-analyzer/sancp/sancp-1.6.1-r4.ebuild | 69 -------------------------------- |
14 |
1 file changed, 69 deletions(-) |
15 |
|
16 |
diff --git a/net-analyzer/sancp/sancp-1.6.1-r4.ebuild b/net-analyzer/sancp/sancp-1.6.1-r4.ebuild |
17 |
deleted file mode 100644 |
18 |
index 686e16f2ea8..00000000000 |
19 |
--- a/net-analyzer/sancp/sancp-1.6.1-r4.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,69 +0,0 @@ |
22 |
-# Copyright 1999-2020 Gentoo Authors |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=5 |
26 |
- |
27 |
-inherit eutils toolchain-funcs user |
28 |
- |
29 |
-DESCRIPTION="collect network traffic statistics and store them in pcap format" |
30 |
-HOMEPAGE="https://sourceforge.net/projects/sancp/" |
31 |
-SRC_URI=" |
32 |
- http://www.metre.net/files/${P}.tar.gz |
33 |
- http://sancp.sourceforge.net/${PN}-1.6.1.fix200511.a.patch |
34 |
- http://sancp.sourceforge.net/${PN}-1.6.1.fix200511.b.patch |
35 |
- http://sancp.sourceforge.net/${PN}-1.6.1.fix200601.c.patch |
36 |
- http://sancp.sourceforge.net/${PN}-1.6.1.fix200606.d.patch |
37 |
-" |
38 |
- |
39 |
-LICENSE="QPL GPL-2" |
40 |
- |
41 |
-SLOT="0" |
42 |
-KEYWORDS="~amd64 ~x86" |
43 |
- |
44 |
-IUSE="sguil" |
45 |
- |
46 |
-RDEPEND="net-libs/libpcap" |
47 |
-DEPEND="${RDEPEND}" |
48 |
- |
49 |
-pkg_setup() { |
50 |
- enewgroup sancp |
51 |
- enewuser sancp -1 -1 /dev/null sancp |
52 |
-} |
53 |
- |
54 |
-src_prepare() { |
55 |
- epatch "${DISTDIR}"/${PN}-1.6.1.fix200511.a.patch |
56 |
- epatch "${DISTDIR}"/${PN}-1.6.1.fix200511.b.patch |
57 |
- # bug 138337 |
58 |
- epatch "${DISTDIR}"/${PN}-1.6.1.fix200601.c.patch |
59 |
- epatch "${DISTDIR}"/${PN}-1.6.1.fix200606.d.patch |
60 |
- epatch "${FILESDIR}"/${P}-compiler.patch |
61 |
- epatch "${FILESDIR}"/${P}-gcc6.patch |
62 |
- |
63 |
- tc-export CXX CC |
64 |
-} |
65 |
- |
66 |
-src_install() { |
67 |
- keepdir /var/log/sancp/ |
68 |
- dodoc docs/CHANGES docs/fields.LIST docs/README docs/SETUP \ |
69 |
- "${FILESDIR}"/sguil_sancp.conf etc/sancp/sancp.conf |
70 |
- |
71 |
- insinto /etc/sancp |
72 |
- if use sguil ; then |
73 |
- newins "${FILESDIR}"/sguil_sancp.conf sancp.conf |
74 |
- else |
75 |
- doins etc/sancp/sancp.conf |
76 |
- fi |
77 |
- |
78 |
- dobin sancp |
79 |
- |
80 |
- newinitd "${FILESDIR}"/sancp.rc1 sancp |
81 |
- newconfd "${FILESDIR}"/sancp.confd sancp |
82 |
- if use sguil ; then |
83 |
- sed -i -e /^SANCP_OPTS/s:'sancp':"sguil":g \ |
84 |
- -e s:'-d $LOGDIR/today':"-d /var/lib/sguil/$(hostname)/sancp": \ |
85 |
- "${D}/etc/conf.d/sancp" |
86 |
- fi |
87 |
- |
88 |
- fowners sancp:sancp /var/log/sancp |
89 |
- fperms 0770 /var/log/sancp |
90 |
-} |