summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Longinotti <chtekk@gentoo.org>2008-04-21 09:40:48 +0000
committerLuca Longinotti <chtekk@gentoo.org>2008-04-21 09:40:48 +0000
commiteb4e48fa6bd267fb1636724d58808149c1874314 (patch)
tree9069571168c862fb09bb0459d3d7a117d292bc50 /net-analyzer/smokeping
parentFix typo in start() func in new gssd init.d scripts as pointed out by Ryan Ta... (diff)
downloadhistorical-eb4e48fa6bd267fb1636724d58808149c1874314.tar.gz
historical-eb4e48fa6bd267fb1636724d58808149c1874314.tar.bz2
historical-eb4e48fa6bd267fb1636724d58808149c1874314.zip
Add smokeping 2.3.5, fixes bug #203945.
Package-Manager: portage-2.1.5_rc5
Diffstat (limited to 'net-analyzer/smokeping')
-rw-r--r--net-analyzer/smokeping/ChangeLog10
-rw-r--r--net-analyzer/smokeping/Manifest22
-rw-r--r--net-analyzer/smokeping/files/smokeping.init6
-rw-r--r--net-analyzer/smokeping/smokeping-2.0.9.ebuild104
-rw-r--r--net-analyzer/smokeping/smokeping-2.2.4.ebuild16
-rw-r--r--net-analyzer/smokeping/smokeping-2.3.5.ebuild (renamed from net-analyzer/smokeping/smokeping-2.2.3-r1.ebuild)15
6 files changed, 33 insertions, 140 deletions
diff --git a/net-analyzer/smokeping/ChangeLog b/net-analyzer/smokeping/ChangeLog
index 9ec1acd5a19a..504e441214df 100644
--- a/net-analyzer/smokeping/ChangeLog
+++ b/net-analyzer/smokeping/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for net-analyzer/smokeping
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/smokeping/ChangeLog,v 1.20 2008/02/05 10:43:50 hollow Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/smokeping/ChangeLog,v 1.21 2008/04/21 09:40:47 chtekk Exp $
+
+*smokeping-2.3.5 (21 Apr 2008)
+
+ 21 Apr 2008; Luca Longinotti <chtekk@gentoo.org> files/smokeping.init,
+ -smokeping-2.0.9.ebuild, -smokeping-2.2.3-r1.ebuild,
+ smokeping-2.2.4.ebuild, +smokeping-2.3.5.ebuild:
+ Add smokeping 2.3.5, fixes bug #203945. Mark smokeping 2.2.4 amd64 stable.
+ Cleanup old ebuilds.
05 Feb 2008; Benedikt Böhm <hollow@gentoo.org> smokeping-2.0.9.ebuild,
smokeping-2.2.3-r1.ebuild, smokeping-2.2.4.ebuild:
diff --git a/net-analyzer/smokeping/Manifest b/net-analyzer/smokeping/Manifest
index c026877945d7..0bfbc0cb664f 100644
--- a/net-analyzer/smokeping/Manifest
+++ b/net-analyzer/smokeping/Manifest
@@ -1,21 +1,9 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX 78_smokeping.conf 376 RMD160 6a5ab3e4d5d94e6b410f52dfdbf99fe3e8ef32ab SHA1 1ef976cddf5bd1cfc5f68dacc2172d075be4677c SHA256 c29e0c2e83b28f1aac3cda5d4990f0eee5fdc9e2abd084b07a538aec29860b0e
AUX config.dist 2962 RMD160 e19833de607c6b8a6c88b26b4c903736e9b5ca86 SHA1 7dd78fdf8f0129c3e2b47015b67381e7b127332d SHA256 031f0cb72de57812ed34f463d71e90d05fb7b0e2b8df79d5e6ec42e67dfeca7e
-AUX smokeping.init 1644 RMD160 5a390b209fc74f66b46f97f95a70dc654c9f5b74 SHA1 f7c5c22e5ee1bd110dd940cfd980e53e859550f3 SHA256 1f9d08bfa031c2764124dc20cb90f5c5ef2526d567ad5c1b991bf4c5bf0385b5
-DIST smokeping-2.0.9.tar.gz 393777 RMD160 3ddbe35f6ec634773d6facc5d7e4c17c17753984 SHA1 89427122eada5fdf5f6145705f080583fb2d245a SHA256 c9fc10d04afae31ac5283101f0211e842faf98784301178833ada1e3e4a0dcf5
-DIST smokeping-2.2.3.tar.gz 697271 RMD160 e5ae9bf9bbad9002ce639906562bd0db338665d1 SHA1 18df7c831ea05a6bda48d0f65c4c6957b5e162b3 SHA256 4121655a2fcb5779b66f221c86cf898c6ea35ad557b67dc8e9ebc8e09a3ffb99
+AUX smokeping.init 1641 RMD160 0f2656c931fc1dac12e6ef794f55d9e0e6fe28c8 SHA1 992f118547cc153993b0427920e0cc5eb1c0d54e SHA256 d47d12cc2c48203cfaad4ab91456e22487f3b1247ab98601680b6738edd236c7
DIST smokeping-2.2.4.tar.gz 588740 RMD160 74a784ac3b9a837ba29882c1bcc16f6bdb440b9a SHA1 45e210e79017853031dee379a05647db7697d076 SHA256 a1d684785294919b6b97924484579bc64c460a39482c4dd676514712b3699da9
-EBUILD smokeping-2.0.9.ebuild 3330 RMD160 4e1bd2bf7ea8eddc7603c81438b53b37b619068c SHA1 61acc93b4b63895ab5b6cfa6868f7245eccb4b27 SHA256 c21d225282305af262be4b75261e15c8052bb70b6142bcd93e60c320ddd86b93
-EBUILD smokeping-2.2.3-r1.ebuild 3531 RMD160 4a1946146a3018266365600da2de17726832bf0d SHA1 cf83aaeadcae08cace5e3e790429a158dfb3485a SHA256 defe55ee37013ec8d1bf38d564e37cf172134c42d483038eae0b6a32d102e7ff
-EBUILD smokeping-2.2.4.ebuild 3526 RMD160 5084eb13d1e8a8349c2beca30ee775ee16214fe1 SHA1 d17104090c5e8b252ba518d5e365ccdd1b1eedb6 SHA256 79d01585640836cf3d66b7f422faf1c55b8be658ee368f0f5eb971582ee442df
-MISC ChangeLog 2707 RMD160 881511337c13d74ec488dd401c95f704485073bb SHA1 03c1a6c4075df89b2fed9ceccbd8c950c90abe28 SHA256 017cc05bc5e8a1f2b1da477bc7fb3a4d1905996800da4e7ee31f6e58cc19c7a3
+DIST smokeping-2.3.5.tar.gz 580458 RMD160 484efd851453024e83cb84ecad753d2051df0081 SHA1 d7ed6d1cf7fde5c8c9e1cb69c1e543cdf3f3edfa SHA256 e50eb7944ffd27897cb2af7d551592a142d33479284bb35c36bf68481ca64556
+EBUILD smokeping-2.2.4.ebuild 3434 RMD160 508163eccfa73e35126c8584f4ff18773773276e SHA1 65e67e495c353a96075a868edfdf59682887226a SHA256 479946714cc7ca03e36ff813c23f06d5bd4a6325414636904019388694549ea4
+EBUILD smokeping-2.3.5.ebuild 3456 RMD160 1397ed333f0665ce8c91c12e8e8e34499428a837 SHA1 074bdf23467671cfedf0cc66092e8738aaf83c2c SHA256 eaac900ed0a25a256bc9e7ed8bce0d48947f21cab5f0ddcf83910df8698446ad
+MISC ChangeLog 3019 RMD160 dea586304b4c7bf047f4197e6377dcb0e889ad08 SHA1 2b14bdb4a50af7c4fb1c7a67bcf790cc1a42ee0a SHA256 df09777749eec148f35e0853c7e3b7984432bfc69d22482a7706523139b72135
MISC metadata.xml 251 RMD160 b51dbdd722927410f6ddea140ac6eebb8980b94e SHA1 2294d43232148e83653e27ee326c4c84389e4123 SHA256 4ba83a5bcb7a3c1cb108e970efc076f21e52493f59d52d271867588fe330d16b
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.8 (GNU/Linux)
-
-iEYEARECAAYFAkeoPfUACgkQmPFBzbX68WGFxwCfYbMmcp+vfEsaA3hSjY9Rmtho
-EtwAnA1E6fbmTn0c6L2U2xf97/z8HZMQ
-=xFZd
------END PGP SIGNATURE-----
diff --git a/net-analyzer/smokeping/files/smokeping.init b/net-analyzer/smokeping/files/smokeping.init
index a297a5911698..6ccb34a8c3f5 100644
--- a/net-analyzer/smokeping/files/smokeping.init
+++ b/net-analyzer/smokeping/files/smokeping.init
@@ -1,12 +1,12 @@
#!/sbin/runscript
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-opts="start stop dump restore"
+opts="${opts} dump restore"
depend() {
- use dns
need net
+ use dns
}
checkconfig() {
diff --git a/net-analyzer/smokeping/smokeping-2.0.9.ebuild b/net-analyzer/smokeping/smokeping-2.0.9.ebuild
deleted file mode 100644
index 32cc5fa61ab1..000000000000
--- a/net-analyzer/smokeping/smokeping-2.0.9.ebuild
+++ /dev/null
@@ -1,104 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/smokeping/smokeping-2.0.9.ebuild,v 1.13 2008/02/05 10:43:50 hollow Exp $
-
-inherit perl-module eutils
-
-KEYWORDS="amd64 sparc x86"
-
-DESCRIPTION="A powerful latency measurement tool."
-SRC_URI="http://oss.oetiker.ch/smokeping/pub/${P}.tar.gz"
-HOMEPAGE="http://oss.oetiker.ch/smokeping/"
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="apache2"
-
-DEPEND="dev-lang/perl
- virtual/perl-libnet
- >=net-analyzer/rrdtool-1.2
- net-analyzer/fping
- apache2? ( >=www-apache/mod_perl-2.0.1 )"
-RDEPEND="${DEPEND}"
-
-pkg_setup() {
- if ! built_with_use '>=net-analyzer/rrdtool-1.2' perl ; then
- eerror "You must build net-analyzer/rrdtool with the"
- eerror "'perl' USE flag turned on!"
- die "net-analyzer/rrdtool installed with 'perl' USE flag disabled"
- fi
-
- enewgroup smokeping
- enewuser smokeping -1 -1 /var/lib/smokeping smokeping
-}
-
-src_compile() {
- # There is a makefile we don't want to run so leave this here
- einfo "Skip compile."
-}
-
-src_install() {
- # First move all the perl modules into the vendor lib area of Perl
- perlinfo
- insinto ${VENDOR_LIB}
- doins lib/*.pm
- ### This one kind of concerns me, possible conflict with other software
- insinto ${VENDOR_LIB}/Config
- doins lib/Config/*.pm
- insinto ${VENDOR_LIB}/Smokeping
- doins lib/Smokeping/*.pm
- insinto ${VENDOR_LIB}/Smokeping/matchers
- doins lib/Smokeping/matchers/*.pm
- insinto ${VENDOR_LIB}/Smokeping/probes
- doins lib/Smokeping/probes/*.pm
-
- # Create the files in var for rrd file storage and the cgi webserver script
- keepdir /var/lib/${PN}/.simg
- fowners smokeping:smokeping /var/lib/${PN}
- if use apache2 ; then
- fowners apache:apache /var/lib/${PN}/.simg
- else
- fowners smokeping:smokeping /var/lib/${PN}/.simg
- fi
- fperms 775 /var/lib/${PN} /var/lib/${PN}/.simg
- exeinto /var/www/localhost/perl
- newexe htdocs/${PN}.cgi.dist ${PN}.pl
- dosed 's:^use lib:#use lib:g' /var/www/localhost/perl/${PN}.pl
- dosed 's:sepp/bin/speedy:bin/perl:' /var/www/localhost/perl/${PN}.pl
- dosed 's:/home/oetiker/data/projects/AADJ-smokeping/dist/etc/config:/etc/smokeping:' \
- /var/www/localhost/perl/${PN}.pl
-
- # Create the binary
- newbin bin/${PN}.dist ${PN}
- dosed 's:/usr/sepp/bin/perl-5.8.4:/usr/bin/perl:g' /usr/bin/${PN}
- dosed 's:^use lib:#use lib:g' /usr/bin/${PN}
- # dosed 's:/sepp::' /usr/bin/${PN}
- dosed 's:etc/config.dist:/etc/smokeping:' /usr/bin/${PN}
-
- # Create the config files
- insinto /etc
- newins "${FILESDIR}/config.dist" ${PN}
- newins etc/basepage.html.dist ${PN}.template
- doins etc/smokemail.dist
- newinitd "${FILESDIR}/${PN}.init" ${PN}
- if use apache2 ; then
- insinto /etc/apache2/modules.d
- doins "${FILESDIR}/78_${PN}.conf"
- fi
-}
-
-pkg_postinst() {
- chown smokeping:smokeping "${ROOT}/var/lib/${PN}"
- chmod 755 "${ROOT}/var/lib/${PN}"
- elog
- elog "Four more steps are needed to get ${PN} up and running:"
- elog "1) You need to edit /etc/${PN}"
- elog "2) You need to edit the template at /etc/${PN}.template"
- elog "3) You need to make the fping binary setuid root:"
- elog " # chmod 4755 /usr/sbin/fping"
- if use apache2 ; then
- elog "4) Make sure to add -D PERL to APACHE2_OPTS in /etc/conf.d/apache2"
- elog " and to restart apache2."
- fi
- elog "You can now start ${PN} with '/etc/init.d/${PN} start'."
- elog
-}
diff --git a/net-analyzer/smokeping/smokeping-2.2.4.ebuild b/net-analyzer/smokeping/smokeping-2.2.4.ebuild
index c5c67b97b935..7f16697ab4a9 100644
--- a/net-analyzer/smokeping/smokeping-2.2.4.ebuild
+++ b/net-analyzer/smokeping/smokeping-2.2.4.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/smokeping/smokeping-2.2.4.ebuild,v 1.3 2008/02/05 10:43:50 hollow Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/smokeping/smokeping-2.2.4.ebuild,v 1.4 2008/04/21 09:40:47 chtekk Exp $
inherit perl-module eutils
-KEYWORDS="~amd64 sparc x86"
+KEYWORDS="amd64 sparc x86"
DESCRIPTION="A powerful latency measurement tool."
SRC_URI="http://oss.oetiker.ch/smokeping/pub/${P}.tar.gz"
@@ -43,7 +43,6 @@ src_install() {
perlinfo
insinto ${VENDOR_LIB}
doins lib/*.pm
- ### This one kind of concerns me, possible conflict with other software
insinto ${VENDOR_LIB}/Config
doins lib/Config/*.pm
insinto ${VENDOR_LIB}/Smokeping
@@ -55,7 +54,7 @@ src_install() {
insinto ${VENDOR_LIB}/Smokeping/sorters
doins lib/Smokeping/sorters/*.pm
- # Create the files in var for rrd file storage and the cgi webserver script
+ # Create the files in /var for rrd file storage
keepdir /var/lib/${PN}/.simg
fowners smokeping:smokeping /var/lib/${PN}
if use apache2 ; then
@@ -64,10 +63,12 @@ src_install() {
fowners smokeping:smokeping /var/lib/${PN}/.simg
fi
fperms 775 /var/lib/${PN} /var/lib/${PN}/.simg
+
+ # Install the CGI webserver script
exeinto /var/www/localhost/perl
newexe htdocs/${PN}.cgi.dist ${PN}.pl
dosed 's:^use lib:#use lib:g' /var/www/localhost/perl/${PN}.pl
- dosed 's:sepp/bin/speedy:bin/perl:' /var/www/localhost/perl/${PN}.pl
+ dosed 's:/usr/sepp/bin/speedy:/usr/bin/perl:' /var/www/localhost/perl/${PN}.pl
dosed 's:/home/oetiker/data/projects/AADJ-smokeping/dist/etc/config:/etc/smokeping:' \
/var/www/localhost/perl/${PN}.pl
@@ -77,9 +78,8 @@ src_install() {
# Create the binary
newbin bin/${PN}.dist ${PN}
- dosed 's:/usr/sepp/bin/perl-5.8.4:/usr/bin/perl:g' /usr/bin/${PN}
dosed 's:^use lib:#use lib:g' /usr/bin/${PN}
- # dosed 's:/sepp::' /usr/bin/${PN}
+ dosed 's:/usr/sepp/bin/perl-5.8.4:/usr/bin/perl:' /usr/bin/${PN}
dosed 's:etc/config.dist:/etc/smokeping:' /usr/bin/${PN}
# Create the config files
@@ -98,7 +98,7 @@ pkg_postinst() {
chown smokeping:smokeping "${ROOT}/var/lib/${PN}"
chmod 755 "${ROOT}/var/lib/${PN}"
elog
- elog "Four more steps are needed to get ${PN} un&running:"
+ elog "Four more steps are needed to get ${PN} up&running:"
elog "1) You need to edit /etc/${PN}"
elog "2) You need to edit the template at /etc/${PN}.template"
elog "3) You need to make the fping binary setuid root:"
diff --git a/net-analyzer/smokeping/smokeping-2.2.3-r1.ebuild b/net-analyzer/smokeping/smokeping-2.3.5.ebuild
index 73b1d1fdc18e..3ac8e29ed6d1 100644
--- a/net-analyzer/smokeping/smokeping-2.2.3-r1.ebuild
+++ b/net-analyzer/smokeping/smokeping-2.3.5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/smokeping/smokeping-2.2.3-r1.ebuild,v 1.2 2008/02/05 10:43:50 hollow Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/smokeping/smokeping-2.3.5.ebuild,v 1.1 2008/04/21 09:40:47 chtekk Exp $
inherit perl-module eutils
@@ -18,6 +18,7 @@ DEPEND="dev-lang/perl
>=net-analyzer/rrdtool-1.2
net-analyzer/fping
dev-perl/libwww-perl
+ dev-perl/Socket6
dev-perl/Net-DNS
apache2? ( >=www-apache/mod_perl-2.0.1 )"
RDEPEND="${DEPEND}"
@@ -43,7 +44,6 @@ src_install() {
perlinfo
insinto ${VENDOR_LIB}
doins lib/*.pm
- ### This one kind of concerns me, possible conflict with other software
insinto ${VENDOR_LIB}/Config
doins lib/Config/*.pm
insinto ${VENDOR_LIB}/Smokeping
@@ -55,7 +55,7 @@ src_install() {
insinto ${VENDOR_LIB}/Smokeping/sorters
doins lib/Smokeping/sorters/*.pm
- # Create the files in var for rrd file storage and the cgi webserver script
+ # Create the files in /var for rrd file storage
keepdir /var/lib/${PN}/.simg
fowners smokeping:smokeping /var/lib/${PN}
if use apache2 ; then
@@ -64,10 +64,12 @@ src_install() {
fowners smokeping:smokeping /var/lib/${PN}/.simg
fi
fperms 775 /var/lib/${PN} /var/lib/${PN}/.simg
+
+ # Install the CGI webserver script
exeinto /var/www/localhost/perl
newexe htdocs/${PN}.cgi.dist ${PN}.pl
dosed 's:^use lib:#use lib:g' /var/www/localhost/perl/${PN}.pl
- dosed 's:sepp/bin/speedy:bin/perl:' /var/www/localhost/perl/${PN}.pl
+ dosed 's:/usr/sepp/bin/speedy:/usr/bin/perl:' /var/www/localhost/perl/${PN}.pl
dosed 's:/home/oetiker/data/projects/AADJ-smokeping/dist/etc/config:/etc/smokeping:' \
/var/www/localhost/perl/${PN}.pl
@@ -77,9 +79,8 @@ src_install() {
# Create the binary
newbin bin/${PN}.dist ${PN}
- dosed 's:/usr/sepp/bin/perl-5.8.4:/usr/bin/perl:g' /usr/bin/${PN}
dosed 's:^use lib:#use lib:g' /usr/bin/${PN}
- # dosed 's:/sepp::' /usr/bin/${PN}
+ dosed 's:/usr/sepp/bin/perl-5.8.4:/usr/bin/perl:' /usr/bin/${PN}
dosed 's:etc/config.dist:/etc/smokeping:' /usr/bin/${PN}
# Create the config files
@@ -98,7 +99,7 @@ pkg_postinst() {
chown smokeping:smokeping "${ROOT}/var/lib/${PN}"
chmod 755 "${ROOT}/var/lib/${PN}"
elog
- elog "Four more steps are needed to get ${PN} un&running:"
+ elog "Four more steps are needed to get ${PN} up&running:"
elog "1) You need to edit /etc/${PN}"
elog "2) You need to edit the template at /etc/${PN}.template"
elog "3) You need to make the fping binary setuid root:"