1 |
commit: 27831753d973d565f99ab4181e0d6bfc467714ea |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Feb 4 22:25:32 2018 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 4 22:31:26 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27831753 |
7 |
|
8 |
net-analyzer/smokeping: Old. |
9 |
|
10 |
Package-Manager: Portage-2.3.20, Repoman-2.3.6 |
11 |
|
12 |
net-analyzer/smokeping/Manifest | 1 - |
13 |
net-analyzer/smokeping/smokeping-2.6.10-r1.ebuild | 139 ---------------------- |
14 |
2 files changed, 140 deletions(-) |
15 |
|
16 |
diff --git a/net-analyzer/smokeping/Manifest b/net-analyzer/smokeping/Manifest |
17 |
index 47d285bad19..27b1f05ca28 100644 |
18 |
--- a/net-analyzer/smokeping/Manifest |
19 |
+++ b/net-analyzer/smokeping/Manifest |
20 |
@@ -1,4 +1,3 @@ |
21 |
-DIST smokeping-2.6.10.tar.gz 415383 BLAKE2B 7a502eddeb634404e379df67470595cf85512d64a5e137f6d7c344ceb606f99275016e1044ec820b2e9217e1d1b567164b636186bfe54e91249d585ef75c646a SHA512 e91ac80ceafccb945ec48cc80020b8cbf2afe29b5f422dc5aaf7c52387eafc498180c293cf82dccc4fdec88ec56f80fb1bd08ebcb2ae9aea563475a069b91f13 |
22 |
DIST smokeping-2.6.11.tar.gz 417338 BLAKE2B e1ff2fc05fd8d39f42e1cc89831aa36ef0522716d1768dba9bdedf09f6c64cc2b35f30c3b727959dd93ed8922235729a27c85acceb1e1c3ec9c5f60e21455ab9 SHA512 928722832d6e01ffbb7b74542678f7b9d5fc22819c0feae164ce58b8d8a5595800f617c8a672e07cae4b2c4ccbfa4883a11438ba2a172fc2887abc2933388422 |
23 |
DIST smokeping-2.6.9.tar.gz 427185 BLAKE2B 3b626d852542f5e9e616ce88a8fd2fd773036822f10f548a1cec242f5d420ec67d940ee49c08da99f7e0815921251cb474b103c8c12c364f90651a4e74e9abf3 SHA512 ab3cec15fd9f90510f902da7ce5bac5915558cac198cc88f0ce193a53a0158c9055e28c8c6671cc6653ac42ab51346e1eb19e537f1ab5c234fd498c6b777499d |
24 |
DIST smokeping-2.7.0.tar.gz 8914621 BLAKE2B a139fdcaafe37c61695ea2e31e3ddaeb4389f754f28fd41318db120f2ae5f4b5f355ebfb5e0c852b48e2e6872194952bc3733ff5f6bcd2886859a1c276835121 SHA512 17ada10e2cdc7966e81e589dec603fe77bc0a273790734b36342ff2b8ac3d5bca6797f6eb95a6e2e22a576b7bb5d2ca4232b4fb23057b360de9c156d141ed0ca |
25 |
|
26 |
diff --git a/net-analyzer/smokeping/smokeping-2.6.10-r1.ebuild b/net-analyzer/smokeping/smokeping-2.6.10-r1.ebuild |
27 |
deleted file mode 100644 |
28 |
index 69850616126..00000000000 |
29 |
--- a/net-analyzer/smokeping/smokeping-2.6.10-r1.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,139 +0,0 @@ |
32 |
-# Copyright 1999-2017 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="http://oss.oetiker.ch/smokeping/" |
40 |
-SRC_URI="http://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 <dev-perl/CGI-4 ) |
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 |
- |
91 |
-src_configure() { |
92 |
- econf \ |
93 |
- --sysconfdir=/etc/smokeping \ |
94 |
- --with-htdocs-dir=/var/www/localhost/smokeping |
95 |
-} |
96 |
- |
97 |
-src_compile() { |
98 |
- LC_ALL=C emake |
99 |
-} |
100 |
- |
101 |
-src_install() { |
102 |
- default |
103 |
- |
104 |
- newinitd "${FILESDIR}"/${PN}.init.4 ${PN} |
105 |
- systemd_dotmpfilesd "${FILESDIR}"/"${PN}".conf |
106 |
- systemd_dounit "${FILESDIR}"/"${PN}".service |
107 |
- |
108 |
- mv "${D}/etc/smokeping/basepage.html.dist" "${D}/etc/smokeping/basepage.html" |
109 |
- mv "${D}/etc/smokeping/config.dist" "${D}/etc/smokeping/config" |
110 |
- mv "${D}/etc/smokeping/smokemail.dist" "${D}/etc/smokeping/smokemail" |
111 |
- mv "${D}/etc/smokeping/smokeping_secrets.dist" "${D}/etc/smokeping/smokeping_secrets" |
112 |
- mv "${D}/etc/smokeping/tmail.dist" "${D}/etc/smokeping/tmail" |
113 |
- |
114 |
- sed -i \ |
115 |
- -e '/^imgcache/{s:\(^imgcache[ \t]*=\).*:\1 /var/lib/smokeping/.simg:}' \ |
116 |
- -e '/^imgurl/{s:\(^imgurl[ \t]*=\).*:\1 ../.simg:}' \ |
117 |
- -e '/^datadir/{s:\(^datadir[ \t]*=\).*:\1 /var/lib/smokeping:}' \ |
118 |
- -e '/^piddir/{s:\(^piddir[ \t]*=\).*:\1 /run/smokeping:}' \ |
119 |
- -e '/^cgiurl/{s#\(^cgiurl[ \t]*=\).*#\1 http://some.place.xyz/perl/smokeping.pl#}' \ |
120 |
- -e '/^smokemail/{s:\(^smokemail[ \t]*=\).*:\1 /etc/smokeping/smokemail:}' \ |
121 |
- -e '/^tmail/{s:\(^tmail[ \t]*=\).*:\1 /etc/smokeping/tmail:}' \ |
122 |
- -e '/^secrets/{s:\(^secrets[ \t]*=\).*:\1 /etc/smokeping/smokeping_secrets:}' \ |
123 |
- -e '/^template/{s:\(^template[ \t]*=\).*:\1 /etc/smokeping/basepage.html:}' \ |
124 |
- "${D}/etc/${PN}/config" || die |
125 |
- |
126 |
- sed -i \ |
127 |
- -e '/^<script/{s:cropper/:/cropper/:}' \ |
128 |
- "${D}/etc/${PN}/basepage.html" || die |
129 |
- |
130 |
- sed -i \ |
131 |
- -e 's/$FindBin::Bin\/..\/etc\/config/\/etc\/smokeping\/config/g' \ |
132 |
- "${D}/usr/bin/smokeping" "${D}/usr/bin/smokeping_cgi" || die |
133 |
- |
134 |
- sed -i \ |
135 |
- -e 's:etc/config.dist:/etc/smokeping/config:' \ |
136 |
- "${D}/usr/bin/tSmoke" || die |
137 |
- |
138 |
- sed -i \ |
139 |
- -e 's:/usr/etc/config:/etc/smokeping/config:' \ |
140 |
- "${D}/var/www/localhost/smokeping/smokeping.fcgi.dist" || die |
141 |
- |
142 |
- dodir /var/www/localhost/cgi-bin |
143 |
- mv "${D}/var/www/localhost/smokeping/smokeping.fcgi.dist" \ |
144 |
- "${D}/var/www/localhost/cgi-bin/smokeping.fcgi" |
145 |
- |
146 |
- fperms 700 /etc/${PN}/smokeping_secrets |
147 |
- |
148 |
- if use apache2 ; then |
149 |
- insinto /etc/apache2/modules.d |
150 |
- doins "${FILESDIR}/79_${PN}.conf" |
151 |
- fi |
152 |
- |
153 |
- # Create the files in /var for rrd file storage |
154 |
- keepdir /var/lib/${PN}/.simg |
155 |
- fowners smokeping:smokeping /var/lib/${PN} |
156 |
- |
157 |
- if use apache2 ; then |
158 |
- fowners apache:apache /var/lib/${PN}/.simg |
159 |
- fowners -R apache:apache /var/www |
160 |
- else |
161 |
- fowners smokeping:smokeping /var/lib/${PN}/.simg |
162 |
- fi |
163 |
- |
164 |
- fperms 775 /var/lib/${PN} /var/lib/${PN}/.simg |
165 |
-} |
166 |
- |
167 |
-pkg_postinst() { |
168 |
- chown smokeping:smokeping "${ROOT}/var/lib/${PN}" |
169 |
- chmod 755 "${ROOT}/var/lib/${PN}" |
170 |
-} |