1 |
commit: b69d01f630df828187efcd8712f82fd8f0af1c8c |
2 |
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jul 11 20:55:21 2021 +0000 |
4 |
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 11 21:18:25 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b69d01f6 |
7 |
|
8 |
net-misc/samplicator: drop old version |
9 |
|
10 |
Closes: https://bugs.gentoo.org/781431 |
11 |
Package-Manager: Portage-3.0.20, Repoman-3.0.3 |
12 |
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> |
13 |
|
14 |
net-misc/samplicator/samplicator-1.3.6.ebuild | 53 --------------------- |
15 |
net-misc/samplicator/samplicator-1.3.8_rc1.ebuild | 58 ----------------------- |
16 |
2 files changed, 111 deletions(-) |
17 |
|
18 |
diff --git a/net-misc/samplicator/samplicator-1.3.6.ebuild b/net-misc/samplicator/samplicator-1.3.6.ebuild |
19 |
deleted file mode 100644 |
20 |
index 9a434494afd..00000000000 |
21 |
--- a/net-misc/samplicator/samplicator-1.3.6.ebuild |
22 |
+++ /dev/null |
23 |
@@ -1,53 +0,0 @@ |
24 |
-# Copyright 1999-2020 Gentoo Authors |
25 |
-# Distributed under the terms of the GNU General Public License v2 |
26 |
- |
27 |
-EAPI=6 |
28 |
- |
29 |
-inherit user |
30 |
- |
31 |
-DESCRIPTION="UDP packets forwarder and duplicator" |
32 |
-HOMEPAGE="https://github.com/sleinen/samplicator" |
33 |
-SRC_URI="https://github.com/sleinen/${PN}/releases/download/v${PV}/${P}.tar.gz" |
34 |
- |
35 |
-LICENSE="Artistic GPL-2" |
36 |
-SLOT="0" |
37 |
-KEYWORDS="~amd64 ~x86" |
38 |
- |
39 |
-pkg_setup() { |
40 |
- # Add samplicator group and user to system |
41 |
- enewgroup ${PN} |
42 |
- enewuser ${PN} -1 -1 /etc/${PN} ${PN} |
43 |
-} |
44 |
- |
45 |
-src_install() { |
46 |
- # Install and copy documentation |
47 |
- default |
48 |
- |
49 |
- # Install Gentoo init script and its config |
50 |
- newinitd "${FILESDIR}"/${PN}.initd ${PN} |
51 |
- newconfd "${FILESDIR}"/${PN}.confd ${PN} |
52 |
- |
53 |
- # Install manual page |
54 |
- doman "${FILESDIR}"/${PN}.8 |
55 |
-} |
56 |
- |
57 |
-pkg_postinst() { |
58 |
- ewarn "" |
59 |
- ewarn "Don't specify the receiver on the command line, because it will get all packets." |
60 |
- ewarn "Instead of this, specify it in a config file; defined in such way it will only get packets with a matching source." |
61 |
- ewarn "" |
62 |
- |
63 |
- einfo "For every receiver type create a file in directory /etc/${PN} (see example below)" |
64 |
- einfo "and specify the path to it in variable CONFIG of the corresponding initscript config file in /etc/conf.d/" |
65 |
- einfo "" |
66 |
- einfo "Receiver config examples: " |
67 |
- einfo "" |
68 |
- einfo " /etc/${PN}/netflow:" |
69 |
- einfo " 10.0.0.0/255.0.0.0:1.1.1.1/9996 2.2.2.2/9996 3.3.3.3/9996" |
70 |
- einfo "" |
71 |
- einfo " /etc/${PN}/syslog:" |
72 |
- einfo " 10.0.0.0/255.255.0.0:2.2.2.2/514 3.3.3.3/514" |
73 |
- einfo "" |
74 |
- einfo " /etc/${PN}/snmp:" |
75 |
- einfo " 10.0.0.0/255.255.255.255:3.3.3.3/162" |
76 |
-} |
77 |
|
78 |
diff --git a/net-misc/samplicator/samplicator-1.3.8_rc1.ebuild b/net-misc/samplicator/samplicator-1.3.8_rc1.ebuild |
79 |
deleted file mode 100644 |
80 |
index db20a1619e9..00000000000 |
81 |
--- a/net-misc/samplicator/samplicator-1.3.8_rc1.ebuild |
82 |
+++ /dev/null |
83 |
@@ -1,58 +0,0 @@ |
84 |
-# Copyright 1999-2020 Gentoo Authors |
85 |
-# Distributed under the terms of the GNU General Public License v2 |
86 |
- |
87 |
-EAPI=6 |
88 |
- |
89 |
-MY_PV=${PV/_/} |
90 |
-MY_P=${PN}-${MY_PV} |
91 |
- |
92 |
-inherit user |
93 |
- |
94 |
-DESCRIPTION="UDP packets forwarder and duplicator" |
95 |
-HOMEPAGE="https://github.com/sleinen/samplicator" |
96 |
-SRC_URI="https://github.com/sleinen/${PN}/releases/download/${MY_PV}/${MY_P}.tar.gz" |
97 |
- |
98 |
-LICENSE="Artistic GPL-2" |
99 |
-SLOT="0" |
100 |
-KEYWORDS="~amd64 ~x86" |
101 |
- |
102 |
-S="${WORKDIR}/${MY_P}" |
103 |
- |
104 |
-pkg_setup() { |
105 |
- # Add samplicator group and user to system |
106 |
- enewgroup ${PN} |
107 |
- enewuser ${PN} -1 -1 /etc/${PN} ${PN} |
108 |
-} |
109 |
- |
110 |
-src_install() { |
111 |
- # Install and copy documentation |
112 |
- default |
113 |
- |
114 |
- # Install Gentoo init script and its config |
115 |
- newinitd "${FILESDIR}"/${PN}.initd ${PN} |
116 |
- newconfd "${FILESDIR}"/${PN}.confd ${PN} |
117 |
- |
118 |
- # Install manual page |
119 |
- doman "${FILESDIR}"/${PN}.8 |
120 |
-} |
121 |
- |
122 |
-pkg_postinst() { |
123 |
- ewarn "" |
124 |
- ewarn "Don't specify the receiver on the command line, because it will get all packets." |
125 |
- ewarn "Instead of this, specify it in a config file; defined in such way it will only get packets with a matching source." |
126 |
- ewarn "" |
127 |
- |
128 |
- einfo "For every receiver type create a file in directory /etc/${PN} (see example below)" |
129 |
- einfo "and specify the path to it in variable CONFIG of the corresponding initscript config file in /etc/conf.d/" |
130 |
- einfo "" |
131 |
- einfo "Receiver config examples: " |
132 |
- einfo "" |
133 |
- einfo " /etc/${PN}/netflow:" |
134 |
- einfo " 10.0.0.0/255.0.0.0:1.1.1.1/9996 2.2.2.2/9996 3.3.3.3/9996" |
135 |
- einfo "" |
136 |
- einfo " /etc/${PN}/syslog:" |
137 |
- einfo " 10.0.0.0/255.255.0.0:2.2.2.2/514 3.3.3.3/514" |
138 |
- einfo "" |
139 |
- einfo " /etc/${PN}/snmp:" |
140 |
- einfo " 10.0.0.0/255.255.255.255:3.3.3.3/162" |
141 |
-} |