summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Hanselmann <hansmi@gentoo.org>2007-09-13 21:40:02 +0000
committerMichael Hanselmann <hansmi@gentoo.org>2007-09-13 21:40:02 +0000
commit09b864cc80fed1d48ea3bfee62eb6821c9f9ff45 (patch)
treea0093c8d06a32551567b4d57897acd6bbfbc712c /net-analyzer/smokeping
parentStable on sparc / x86 wrt bug #192445 (diff)
downloadhistorical-09b864cc80fed1d48ea3bfee62eb6821c9f9ff45.tar.gz
historical-09b864cc80fed1d48ea3bfee62eb6821c9f9ff45.tar.bz2
historical-09b864cc80fed1d48ea3bfee62eb6821c9f9ff45.zip
Version bump.
Package-Manager: portage-2.1.2.12
Diffstat (limited to 'net-analyzer/smokeping')
-rw-r--r--net-analyzer/smokeping/ChangeLog8
-rw-r--r--net-analyzer/smokeping/Manifest16
-rw-r--r--net-analyzer/smokeping/files/digest-smokeping-2.2.33
-rw-r--r--net-analyzer/smokeping/smokeping-2.2.3.ebuild107
4 files changed, 129 insertions, 5 deletions
diff --git a/net-analyzer/smokeping/ChangeLog b/net-analyzer/smokeping/ChangeLog
index 87c8e4d5553a..fa7aa29bc67a 100644
--- a/net-analyzer/smokeping/ChangeLog
+++ b/net-analyzer/smokeping/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-analyzer/smokeping
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/smokeping/ChangeLog,v 1.13 2007/09/13 20:08:55 hansmi Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/smokeping/ChangeLog,v 1.14 2007/09/13 21:40:01 hansmi Exp $
+
+*smokeping-2.2.3 (13 Sep 2007)
+
+ 13 Sep 2007; Michael Hanselmann <hansmi@gentoo.org>
+ +smokeping-2.2.3.ebuild:
+ Version bump.
13 Sep 2007; Michael Hanselmann <hansmi@gentoo.org>
smokeping-2.0.9.ebuild:
diff --git a/net-analyzer/smokeping/Manifest b/net-analyzer/smokeping/Manifest
index c3608722ae94..6a82e555f5ee 100644
--- a/net-analyzer/smokeping/Manifest
+++ b/net-analyzer/smokeping/Manifest
@@ -11,14 +11,19 @@ MD5 a85c9870f88c721b06c03d7cf6605133 files/smokeping.init 1632
RMD160 c041fb04e1d63dfd077ecd7abd0248eb7dc63c1c files/smokeping.init 1632
SHA256 625634db58c5eca142d6bf13741e5afbb18ecdbbd780cbfeafe13711a94dc929 files/smokeping.init 1632
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
EBUILD smokeping-2.0.9.ebuild 3362 RMD160 61c81f7eafa15c2468b07e44fa3c3f5a410a9f8e SHA1 de051f3fef3791e29a9a72168f78644b3959e26b SHA256 68770bd5f4f3e78fd159b8b46ad772559fc388518504608ba1b9281f1d8eafee
MD5 2c4944d422e4e9e29b3b671d6455dabd smokeping-2.0.9.ebuild 3362
RMD160 61c81f7eafa15c2468b07e44fa3c3f5a410a9f8e smokeping-2.0.9.ebuild 3362
SHA256 68770bd5f4f3e78fd159b8b46ad772559fc388518504608ba1b9281f1d8eafee smokeping-2.0.9.ebuild 3362
-MISC ChangeLog 1688 RMD160 fa6259937c60a4f8aea199cf032d19ac6aad0bf7 SHA1 85e2f1f8e6e79ab03e1b8bfbe76fb8d22e020cc1 SHA256 6f4e737853ae4a961d474ec6b88c68daa29ffd75a78533d10d6e480b20128454
-MD5 1d93e23ffa296b42a5883eb016b93161 ChangeLog 1688
-RMD160 fa6259937c60a4f8aea199cf032d19ac6aad0bf7 ChangeLog 1688
-SHA256 6f4e737853ae4a961d474ec6b88c68daa29ffd75a78533d10d6e480b20128454 ChangeLog 1688
+EBUILD smokeping-2.2.3.ebuild 3458 RMD160 4ac1132033cff97139a506a792f655e3c5feb048 SHA1 38aee6077b02afcfded3e6fcba8fb006e3b40d83 SHA256 30064a455e1697fbe5e1b9063136128e62cc1dc3dacf6d207d7149fbf26b944e
+MD5 8fe11eab35f951f1fba295297be1fba4 smokeping-2.2.3.ebuild 3458
+RMD160 4ac1132033cff97139a506a792f655e3c5feb048 smokeping-2.2.3.ebuild 3458
+SHA256 30064a455e1697fbe5e1b9063136128e62cc1dc3dacf6d207d7149fbf26b944e smokeping-2.2.3.ebuild 3458
+MISC ChangeLog 1818 RMD160 6aa5d90690a85d6dcdb2b37d981e35482289b4ad SHA1 0faa5319d27621755d04f40cb00d30c6e7ee86e0 SHA256 ed8146916668f20bca2481bd42521b2ba02c8bb765bdb7887849255f08447cd6
+MD5 7bf8291e2485e80b84557cc475012eb6 ChangeLog 1818
+RMD160 6aa5d90690a85d6dcdb2b37d981e35482289b4ad ChangeLog 1818
+SHA256 ed8146916668f20bca2481bd42521b2ba02c8bb765bdb7887849255f08447cd6 ChangeLog 1818
MISC metadata.xml 251 RMD160 b51dbdd722927410f6ddea140ac6eebb8980b94e SHA1 2294d43232148e83653e27ee326c4c84389e4123 SHA256 4ba83a5bcb7a3c1cb108e970efc076f21e52493f59d52d271867588fe330d16b
MD5 34a8120f0854b70fb459e6d2c486370f metadata.xml 251
RMD160 b51dbdd722927410f6ddea140ac6eebb8980b94e metadata.xml 251
@@ -26,3 +31,6 @@ SHA256 4ba83a5bcb7a3c1cb108e970efc076f21e52493f59d52d271867588fe330d16b metadata
MD5 81d1df4235dfdb4f6c31e7c7e7612a1f files/digest-smokeping-2.0.9 247
RMD160 5970b92757c24b8c4067b5684e1c6ba10d8915e7 files/digest-smokeping-2.0.9 247
SHA256 1cf4755243694a82121a0a5b8f46731cabfd1bfc61b951aa3e5dd3ef44fa51ae files/digest-smokeping-2.0.9 247
+MD5 943f2541123a339aa07f3a096d638c9c files/digest-smokeping-2.2.3 247
+RMD160 ba2bf849402aad233bf5289a8a491dd9982253dc files/digest-smokeping-2.2.3 247
+SHA256 2bedf394ac67ddd9ee3e997b160b6723e62efd723544b12d2237c38d78c9f8c5 files/digest-smokeping-2.2.3 247
diff --git a/net-analyzer/smokeping/files/digest-smokeping-2.2.3 b/net-analyzer/smokeping/files/digest-smokeping-2.2.3
new file mode 100644
index 000000000000..115bb5dd8d36
--- /dev/null
+++ b/net-analyzer/smokeping/files/digest-smokeping-2.2.3
@@ -0,0 +1,3 @@
+MD5 3cfa6b4e5574bc19a5e7c990878adead smokeping-2.2.3.tar.gz 697271
+RMD160 e5ae9bf9bbad9002ce639906562bd0db338665d1 smokeping-2.2.3.tar.gz 697271
+SHA256 4121655a2fcb5779b66f221c86cf898c6ea35ad557b67dc8e9ebc8e09a3ffb99 smokeping-2.2.3.tar.gz 697271
diff --git a/net-analyzer/smokeping/smokeping-2.2.3.ebuild b/net-analyzer/smokeping/smokeping-2.2.3.ebuild
new file mode 100644
index 000000000000..fc356ab80c12
--- /dev/null
+++ b/net-analyzer/smokeping/smokeping-2.2.3.ebuild
@@ -0,0 +1,107 @@
+# Copyright 1999-2007 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.ebuild,v 1.1 2007/09/13 21:40:01 hansmi 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
+ dev-perl/libwww-perl
+ apache2? ( >=www-servers/apache-2.0.54-r30 >=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
+ insinto ${VENDOR_LIB}/Smokeping/sorters
+ doins lib/Smokeping/sorters/*.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} un&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
+}