summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gentoo.org>2008-02-18 17:56:55 +0000
committerTiago Cunha <tcunha@gentoo.org>2008-02-18 17:56:55 +0000
commitcc3830bb8135e7639bd2b14f970c53d86e42d78b (patch)
tree1bac74c61583028b667b5afbd2b0e194a4743f3e
parentnew USE flag 'client' for net-analyzer/symon (diff)
downloadsunrise-cc3830bb8135e7639bd2b14f970c53d86e42d78b.tar.gz
sunrise-cc3830bb8135e7639bd2b14f970c53d86e42d78b.tar.bz2
sunrise-cc3830bb8135e7639bd2b14f970c53d86e42d78b.zip
net-analyzer/symon: New USE flag 'client' added, remove old
svn path=/sunrise/; revision=5716
-rw-r--r--net-analyzer/symon/ChangeLog4
-rw-r--r--net-analyzer/symon/Manifest4
-rw-r--r--net-analyzer/symon/symon-2.78-r2.ebuild (renamed from net-analyzer/symon/symon-2.78-r1.ebuild)23
3 files changed, 25 insertions, 6 deletions
diff --git a/net-analyzer/symon/ChangeLog b/net-analyzer/symon/ChangeLog
index b06af619c..aee6ec9a8 100644
--- a/net-analyzer/symon/ChangeLog
+++ b/net-analyzer/symon/ChangeLog
@@ -2,6 +2,10 @@
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 18 Feb 2008; Tiago Cunha (tcunha) <me@tiagocunha.org>
+ -symon-2.78-r1.ebuild, +symon-2.78-r2.ebuild:
+ New USE flag 'client' added, remove old
+
17 Feb 2008; (Tommy[D]) tommy100@gmx.de symon-2.78-r1.ebuild:
Shorten description
diff --git a/net-analyzer/symon/Manifest b/net-analyzer/symon/Manifest
index 30d7e7c6c..72ded7cda 100644
--- a/net-analyzer/symon/Manifest
+++ b/net-analyzer/symon/Manifest
@@ -7,6 +7,6 @@ AUX symon-syweb-total_firewall.layout.patch 1616 RMD160 08462a968ece585cba4331ba
AUX symux-init.d 392 RMD160 0cdadff01c270dc159695f3155c962407b32faca SHA1 6852f8cf03e8e484590f0f8f410c038ddd42fff3 SHA256 52e5a20ff3c2678b91f395db54952ffb183cc4a0f0d7b9b58ea3c3d2c83cbae4
DIST symon-2.78.tar.gz 102400 RMD160 40ca61ce68778de54d5a1b541d6c640dd7fb479c SHA1 bbe7f2b58e3ed0e42f3b1da97ea4051d2c1cee34 SHA256 cda07388156e66a665c6d53dca4fdce3e210ee6a28c44e64d240715a572b39ac
DIST syweb-0.57.tar.gz 40960 RMD160 a59c24402344c3d2ae44c4ff586c469289a5e6e8 SHA1 05762c6b472e161d7bae56b603e4eb8595323738 SHA256 d1a5bbec892488f5bbc1ef5b52fd512097421f4e6be8742ad18838d11f42d502
-EBUILD symon-2.78-r1.ebuild 2850 RMD160 2c0661431109166ff9bb7107d2a9d774b762ef6d SHA1 47c5ea259f988b2fcc35cc6839934d2df15445a7 SHA256 a377e94286f727972d9b1ac4e04f92537af91a424ac35a478efc3daf6fa453c2
-MISC ChangeLog 2785 RMD160 25d9b34728e262b4f13792aeefc1a45fc8e66860 SHA1 b3390dbf6ab7a808320333b5fbf909d9bf069084 SHA256 05f70082a16d71697f62b93b14038b630c16a584c8f076e7009c4b2c7143dbc0
+EBUILD symon-2.78-r2.ebuild 3185 RMD160 c26099bbe472c8ed000c45542b747aa8385bdc89 SHA1 06dc35edafd453e778040be72196bd4af9b2eb60 SHA256 13cf9007e9e82d69235d6b6fe3e2707dc1ca61aa6d0604d5d54469b9de2378ac
+MISC ChangeLog 2932 RMD160 ee6062b443e1fa283b880d4a17d6647da9366a77 SHA1 246189c9950da282bbd3749b976e9bc8de3d281e SHA256 a8301d326a12e897a6f272be6091d77f3d2d6c10a70d2f91a0bdc7048e1b1c45
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
diff --git a/net-analyzer/symon/symon-2.78-r1.ebuild b/net-analyzer/symon/symon-2.78-r2.ebuild
index 3d8f5ec32..9f8ef9c4b 100644
--- a/net-analyzer/symon/symon-2.78-r1.ebuild
+++ b/net-analyzer/symon/symon-2.78-r2.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
-inherit depend.php eutils toolchain-funcs webapp
+inherit depend.php eutils perl-module toolchain-funcs webapp
DESCRIPTION="System monitor for obtaining accurate and up to date info on the performance of a number of systems"
HOMEPAGE="http://www.xs4all.nl/~wpd/symon/"
@@ -12,11 +12,13 @@ SRC_URI="http://www.xs4all.nl/~wpd/symon/philes/${P}.tar.gz
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64 ~sparc ~x86"
-IUSE="symux syweb"
+IUSE="client symux syweb"
-DEPEND="symux? ( net-analyzer/rrdtool )
+DEPEND="client? ( dev-lang/perl )
+ symux? ( net-analyzer/rrdtool )
sys-devel/pmake"
-RDEPEND="symux? ( net-analyzer/rrdtool )
+RDEPEND="client? ( dev-lang/perl )
+ symux? ( net-analyzer/rrdtool )
syweb? ( virtual/httpd-php )"
S=${WORKDIR}/${PN}
@@ -41,6 +43,9 @@ src_unpack() {
epatch "${FILESDIR}"/${PN}-syweb-total_firewall.layout.patch
fi
+ if ! use client ; then
+ sed -i -e "/SUBDIR/ s/client//" "${S}"/Makefile || die "sed failed."
+ fi
if ! use symux ; then
sed -i -e "/SUBDIR/ s/symux//" "${S}"/Makefile || die "sed failed."
fi
@@ -67,6 +72,14 @@ src_install() {
doins symon/c_config.sh
fperms a+x,u-w /usr/share/symon/c_config.sh
+ if use client ; then
+ dobin client/getsymonitem.pl
+
+ perlinfo
+ insinto ${SITE_LIB}
+ doins client/SymuxClient.pm
+ fi
+
if use symux ; then
insinto /etc
doins symux/symux.conf
@@ -101,6 +114,8 @@ src_install() {
}
pkg_postinst() {
+ use client && perl-module_pkg_postinst
+
if use syweb ; then
elog "Test your syweb configuration by pointing your browser at:"
elog "http://${VHOST_HOSTNAME}/${PN}/configtest.php"