Gentoo Archives: gentoo-commits

From: Aaron Bauman <bman@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/smokeping/
Date: Sun, 29 Nov 2020 17:41:00
Message-Id: 1606671480.ce54bd13f96d73bfedbdc9679008c228b6a54753.bman@gentoo
1 commit: ce54bd13f96d73bfedbdc9679008c228b6a54753
2 Author: Aaron Bauman <bman <AT> gentoo <DOT> org>
3 AuthorDate: Sun Nov 29 17:38:00 2020 +0000
4 Commit: Aaron Bauman <bman <AT> gentoo <DOT> org>
5 CommitDate: Sun Nov 29 17:38:00 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce54bd13
7
8 net-analyzer/smokeping: drop old
9
10 Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>
11
12 net-analyzer/smokeping/Manifest | 2 -
13 net-analyzer/smokeping/smokeping-2.6.9-r1.ebuild | 144 ----------------------
14 net-analyzer/smokeping/smokeping-2.7.2.ebuild | 147 -----------------------
15 3 files changed, 293 deletions(-)
16
17 diff --git a/net-analyzer/smokeping/Manifest b/net-analyzer/smokeping/Manifest
18 index 518a916d558..e02fdf06e63 100644
19 --- a/net-analyzer/smokeping/Manifest
20 +++ b/net-analyzer/smokeping/Manifest
21 @@ -1,3 +1 @@
22 -DIST smokeping-2.6.9.tar.gz 427185 BLAKE2B 3b626d852542f5e9e616ce88a8fd2fd773036822f10f548a1cec242f5d420ec67d940ee49c08da99f7e0815921251cb474b103c8c12c364f90651a4e74e9abf3 SHA512 ab3cec15fd9f90510f902da7ce5bac5915558cac198cc88f0ce193a53a0158c9055e28c8c6671cc6653ac42ab51346e1eb19e537f1ab5c234fd498c6b777499d
23 -DIST smokeping-2.7.2.tar.gz 4614968 BLAKE2B 7cf9f4bd47f3a5419549b0a62fbaca664b70d73af0d57dc005d32030e1e86556f5100d00ed43743aa2a3dffa59bbe00129309b473fc261a7dcdc6225d80a8921 SHA512 e912cdf7ec9af871b9a4a90d787bae04feb21e40c1259bb835eb25b098e03023d7424e53d344ed459f8423260b0eb311f4dd12824195da9647554943685f4d07
24 DIST smokeping-2.7.3.tar.gz 6614710 BLAKE2B 7fa10c19487427a3092a1e5591422cb37f66a6eab86b8b43eebbc8af441d5426b99f3c7b54040660f6f150ade99b1ea2555b4fcd6f80d8306d6f86ac9f95974e SHA512 d46d61539ffdd9cac41391aa813364260f90f84443c328b1c9233ab6ba3a0c157861694614e6c33e18b153f6a6afc0769c5fc7752b3ab52f114d984e53232830
25
26 diff --git a/net-analyzer/smokeping/smokeping-2.6.9-r1.ebuild b/net-analyzer/smokeping/smokeping-2.6.9-r1.ebuild
27 deleted file mode 100644
28 index 7a4eb1a1684..00000000000
29 --- a/net-analyzer/smokeping/smokeping-2.6.9-r1.ebuild
30 +++ /dev/null
31 @@ -1,144 +0,0 @@
32 -# Copyright 1999-2018 Gentoo Foundation
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=5
36 -inherit eutils user systemd
37 -
38 -DESCRIPTION="A powerful latency measurement tool"
39 -HOMEPAGE="https://oss.oetiker.ch/smokeping/"
40 -SRC_URI="https://oss.oetiker.ch/smokeping/pub/${P}.tar.gz"
41 -
42 -LICENSE="GPL-2"
43 -SLOT="0"
44 -# dropping hppa and sparc because of way too may dependencies not having
45 -# keywords in those architectures.
46 -KEYWORDS="amd64 x86"
47 -
48 -# removing fcgi useflag as the configure script can't avoid it without patching
49 -IUSE="apache2 curl dig echoping ipv6 ldap radius ssh telnet"
50 -
51 -DEPEND="
52 - !apache2? ( virtual/httpd-cgi )
53 - apache2? (
54 - >=www-apache/mod_perl-2.0.1
55 - www-apache/mod_fcgid
56 - )
57 - curl? ( >=net-misc/curl-7.21.4 )
58 - dig? ( net-dns/bind-tools )
59 - echoping? ( >=net-analyzer/echoping-6.0.2 )
60 - ipv6? ( >=dev-perl/Socket6-0.20 )
61 - ldap? ( dev-perl/perl-ldap )
62 - radius? ( dev-perl/Authen-Radius )
63 - ssh? ( dev-perl/Net-OpenSSH )
64 - telnet? ( dev-perl/Net-Telnet )
65 - dev-perl/CGI-Fast
66 - >=dev-lang/perl-5.8.8-r8
67 - >=dev-perl/SNMP_Session-1.13
68 - >=net-analyzer/fping-2.4_beta2-r2[suid]
69 - >=net-analyzer/rrdtool-1.2[graph,perl]
70 - dev-perl/CGI-Session
71 - dev-perl/Config-Grammar
72 - dev-perl/Digest-HMAC
73 - dev-perl/FCGI
74 - dev-perl/IO-Socket-SSL
75 - dev-perl/Net-DNS
76 - dev-perl/libwww-perl
77 - virtual/perl-libnet
78 -"
79 -
80 -RDEPEND="${DEPEND}"
81 -
82 -pkg_setup() {
83 - enewgroup smokeping
84 - enewuser smokeping -1 -1 /var/lib/smokeping smokeping
85 -}
86 -
87 -src_prepare() {
88 - rm -r lib/{BER.pm,SNMP_Session.pm,SNMP_util.pm} # dev-perl/SNMP_Session
89 -
90 - epatch "${FILESDIR}"/${P}-pod.patch
91 -}
92 -
93 -src_configure() {
94 - econf \
95 - --sysconfdir=/etc/smokeping \
96 - --with-htdocs-dir=/var/www/localhost/smokeping
97 -}
98 -
99 -src_compile() {
100 - LC_ALL=C emake
101 -}
102 -
103 -src_install() {
104 - default
105 -
106 - newinitd "${FILESDIR}/${PN}.init.3" ${PN}
107 - systemd_dotmpfilesd "${FILESDIR}"/"${PN}".conf
108 - systemd_dounit "${FILESDIR}"/"${PN}".service
109 -
110 - mv "${D}/etc/smokeping/basepage.html.dist" "${D}/etc/smokeping/basepage.html"
111 - mv "${D}/etc/smokeping/config.dist" "${D}/etc/smokeping/config"
112 - mv "${D}/etc/smokeping/smokemail.dist" "${D}/etc/smokeping/smokemail"
113 - mv "${D}/etc/smokeping/smokeping_secrets.dist" "${D}/etc/smokeping/smokeping_secrets"
114 - mv "${D}/etc/smokeping/tmail.dist" "${D}/etc/smokeping/tmail"
115 -
116 - sed -i \
117 - -e '/^imgcache/{s:\(^imgcache[ \t]*=\).*:\1 /var/lib/smokeping/.simg:}' \
118 - -e '/^imgurl/{s:\(^imgurl[ \t]*=\).*:\1 ../.simg:}' \
119 - -e '/^datadir/{s:\(^datadir[ \t]*=\).*:\1 /var/lib/smokeping:}' \
120 - -e '/^piddir/{s:\(^piddir[ \t]*=\).*:\1 /run/smokeping:}' \
121 - -e '/^cgiurl/{s#\(^cgiurl[ \t]*=\).*#\1 http://some.place.xyz/perl/smokeping.pl#}' \
122 - -e '/^smokemail/{s:\(^smokemail[ \t]*=\).*:\1 /etc/smokeping/smokemail:}' \
123 - -e '/^tmail/{s:\(^tmail[ \t]*=\).*:\1 /etc/smokeping/tmail:}' \
124 - -e '/^secrets/{s:\(^secrets[ \t]*=\).*:\1 /etc/smokeping/smokeping_secrets:}' \
125 - -e '/^template/{s:\(^template[ \t]*=\).*:\1 /etc/smokeping/basepage.html:}' \
126 - "${D}/etc/${PN}/config" || die
127 -
128 - sed -i \
129 - -e '/^<script/{s:cropper/:/cropper/:}' \
130 - "${D}/etc/${PN}/basepage.html" || die
131 -
132 - sed -i \
133 - -e 's/$FindBin::Bin\/..\/etc\/config/\/etc\/smokeping\/config/g' \
134 - "${D}/usr/bin/smokeping" "${D}/usr/bin/smokeping_cgi" || die
135 -
136 - sed -i \
137 - -e 's:etc/config.dist:/etc/smokeping/config:' \
138 - "${D}/usr/bin/tSmoke" || die
139 -
140 - sed -i \
141 - -e 's:/usr/etc/config:/etc/smokeping/config:' \
142 - "${D}/var/www/localhost/smokeping/smokeping.fcgi.dist" || die
143 -
144 - dodir /var/www/localhost/cgi-bin
145 - mv "${D}/var/www/localhost/smokeping/smokeping.fcgi.dist" \
146 - "${D}/var/www/localhost/cgi-bin/smokeping.fcgi"
147 -
148 - fperms 700 /etc/${PN}/smokeping_secrets
149 -
150 - if use apache2 ; then
151 - insinto /etc/apache2/modules.d
152 - doins "${FILESDIR}/79_${PN}.conf"
153 - fi
154 -
155 - dodir /var/cache/smokeping
156 - keepdir /var/cache/smokeping
157 -
158 - # Create the files in /var for rrd file storage
159 - keepdir /var/lib/${PN}/.simg
160 - fowners smokeping:smokeping /var/lib/${PN}
161 -
162 - if use apache2 ; then
163 - fowners apache:apache /var/lib/${PN}/.simg
164 - fowners -R apache:apache /var/www
165 - else
166 - fowners smokeping:smokeping /var/lib/${PN}/.simg
167 - fi
168 -
169 - fperms 775 /var/lib/${PN} /var/lib/${PN}/.simg
170 -}
171 -
172 -pkg_postinst() {
173 - chown smokeping:smokeping "${ROOT}/var/lib/${PN}"
174 - chmod 755 "${ROOT}/var/lib/${PN}"
175 -}
176
177 diff --git a/net-analyzer/smokeping/smokeping-2.7.2.ebuild b/net-analyzer/smokeping/smokeping-2.7.2.ebuild
178 deleted file mode 100644
179 index 973327b4df8..00000000000
180 --- a/net-analyzer/smokeping/smokeping-2.7.2.ebuild
181 +++ /dev/null
182 @@ -1,147 +0,0 @@
183 -# Copyright 1999-2018 Gentoo Foundation
184 -# Distributed under the terms of the GNU General Public License v2
185 -
186 -EAPI=6
187 -inherit autotools eutils multilib user systemd
188 -
189 -DESCRIPTION="A powerful latency measurement tool"
190 -HOMEPAGE="https://oss.oetiker.ch/smokeping/"
191 -SRC_URI="https://oss.oetiker.ch/smokeping/pub/${P}.tar.gz"
192 -
193 -LICENSE="GPL-2"
194 -SLOT="0"
195 -KEYWORDS="~amd64 ~x86"
196 -
197 -IUSE="apache2 curl dig echoping ipv6 radius"
198 -
199 -DEPEND="
200 - >=dev-lang/perl-5.8.8-r8
201 - >=dev-perl/SNMP_Session-1.13
202 - >=net-analyzer/fping-2.4_beta2-r2[suid]
203 - >=net-analyzer/rrdtool-1.2[graph,perl]
204 - dev-perl/CGI
205 - dev-perl/CGI-Session
206 - dev-perl/Config-Grammar
207 - dev-perl/Digest-HMAC
208 - dev-perl/FCGI
209 - dev-perl/IO-Socket-SSL
210 - dev-perl/IO-Tty
211 - dev-perl/Net-DNS
212 - dev-perl/Net-OpenSSH
213 - dev-perl/Net-SNMP
214 - dev-perl/Net-Telnet
215 - dev-perl/libwww-perl
216 - dev-perl/perl-ldap
217 - virtual/perl-libnet
218 - dev-perl/CGI-Fast
219 - !apache2? ( virtual/httpd-cgi )
220 - apache2? (
221 - >=www-apache/mod_perl-2.0.1
222 - www-apache/mod_fcgid
223 - )
224 - curl? ( >=net-misc/curl-7.21.4 )
225 - dig? ( net-dns/bind-tools )
226 - echoping? ( >=net-analyzer/echoping-6.0.2 )
227 - ipv6? ( >=dev-perl/Socket6-0.20 )
228 - radius? ( dev-perl/Authen-Radius )
229 -"
230 -
231 -RDEPEND="${DEPEND}"
232 -
233 -pkg_setup() {
234 - enewgroup smokeping
235 - enewuser smokeping -1 -1 /var/lib/smokeping smokeping
236 -}
237 -
238 -src_prepare() {
239 - default
240 -
241 - sed -i -e '/^SUBDIRS = / s|thirdparty||g' Makefile.am || die
242 - sed -i -e '/^perllibdir = / s|= .*|= $(libdir)|g' lib/Makefile.am || die
243 - rm -r lib/{BER.pm,SNMP_Session.pm,SNMP_util.pm} || die # dev-perl/SNMP_Session
244 - echo ${PV} > VERSION
245 -
246 - eautoreconf
247 -}
248 -
249 -src_configure() {
250 - econf \
251 - --sysconfdir=/etc/smokeping \
252 - --with-htdocs-dir=/var/www/localhost/smokeping
253 -}
254 -
255 -src_compile() {
256 - LC_ALL=C emake
257 -}
258 -
259 -src_install() {
260 - dodir /usr/$(get_libdir)
261 - default
262 -
263 - newinitd "${FILESDIR}"/${PN}.init.5 ${PN}
264 - systemd_dotmpfilesd "${FILESDIR}"/"${PN}".conf
265 - systemd_dounit "${FILESDIR}"/"${PN}".service
266 -
267 - mv "${D}/etc/smokeping/basepage.html.dist" "${D}/etc/smokeping/basepage.html"
268 - mv "${D}/etc/smokeping/config.dist" "${D}/etc/smokeping/config"
269 - mv "${D}/etc/smokeping/smokemail.dist" "${D}/etc/smokeping/smokemail"
270 - mv "${D}/etc/smokeping/smokeping_secrets.dist" "${D}/etc/smokeping/smokeping_secrets"
271 - mv "${D}/etc/smokeping/tmail.dist" "${D}/etc/smokeping/tmail"
272 -
273 - sed -i \
274 - -e '/^imgcache/{s:\(^imgcache[ \t]*=\).*:\1 /var/lib/smokeping/.simg:}' \
275 - -e '/^imgurl/{s:\(^imgurl[ \t]*=\).*:\1 ../.simg:}' \
276 - -e '/^datadir/{s:\(^datadir[ \t]*=\).*:\1 /var/lib/smokeping:}' \
277 - -e '/^piddir/{s:\(^piddir[ \t]*=\).*:\1 /run/smokeping:}' \
278 - -e '/^cgiurl/{s#\(^cgiurl[ \t]*=\).*#\1 http://some.place.xyz/perl/smokeping.pl#}' \
279 - -e '/^smokemail/{s:\(^smokemail[ \t]*=\).*:\1 /etc/smokeping/smokemail:}' \
280 - -e '/^tmail/{s:\(^tmail[ \t]*=\).*:\1 /etc/smokeping/tmail:}' \
281 - -e '/^secrets/{s:\(^secrets[ \t]*=\).*:\1 /etc/smokeping/smokeping_secrets:}' \
282 - -e '/^template/{s:\(^template[ \t]*=\).*:\1 /etc/smokeping/basepage.html:}' \
283 - "${D}/etc/${PN}/config" || die
284 -
285 - sed -i \
286 - -e '/^<script/{s:cropper/:/cropper/:}' \
287 - "${D}/etc/${PN}/basepage.html" || die
288 -
289 - sed -i \
290 - -e 's/$FindBin::RealBin\/..\/etc\/config/\/etc\/smokeping\/config/g' \
291 - "${D}/usr/bin/smokeping" "${D}/usr/bin/smokeping_cgi" || die
292 -
293 - sed -i \
294 - -e 's:etc/config.dist:/etc/smokeping/config:' \
295 - "${D}/usr/bin/tSmoke" || die
296 -
297 - sed -i \
298 - -e 's:/usr/etc/config:/etc/smokeping/config:' \
299 - "${D}/var/www/localhost/smokeping/smokeping.fcgi.dist" || die
300 -
301 - dodir /var/www/localhost/cgi-bin
302 - mv "${D}/var/www/localhost/smokeping/smokeping.fcgi.dist" \
303 - "${D}/var/www/localhost/cgi-bin/smokeping.fcgi"
304 -
305 - fperms 700 /etc/${PN}/smokeping_secrets
306 -
307 - if use apache2 ; then
308 - insinto /etc/apache2/modules.d
309 - doins "${FILESDIR}/79_${PN}.conf"
310 - fi
311 -
312 - # Create the files in /var for rrd file storage
313 - keepdir /var/lib/${PN}/.simg
314 - fowners smokeping:smokeping /var/lib/${PN}
315 -
316 - if use apache2 ; then
317 - fowners apache:apache /var/lib/${PN}/.simg
318 - fowners -R apache:apache /var/www
319 - else
320 - fowners smokeping:smokeping /var/lib/${PN}/.simg
321 - fi
322 -
323 - fperms 775 /var/lib/${PN} /var/lib/${PN}/.simg
324 -}
325 -
326 -pkg_postinst() {
327 - chown smokeping:smokeping "${ROOT}/var/lib/${PN}"
328 - chmod 755 "${ROOT}/var/lib/${PN}"
329 -}