From 4b5b626ea22fd0c3b1aa6f6b35494b721e5beef2 Mon Sep 17 00:00:00 2001 From: Tiago Cunha Date: Mon, 7 Jan 2008 19:05:12 +0000 Subject: net-analyzer/symon: Version bump, remove old svn path=/sunrise/; revision=5362 --- net-analyzer/symon/ChangeLog | 4 ++ net-analyzer/symon/Manifest | 6 +- net-analyzer/symon/symon-2.77.ebuild | 104 ----------------------------------- net-analyzer/symon/symon-2.78.ebuild | 104 +++++++++++++++++++++++++++++++++++ 4 files changed, 111 insertions(+), 107 deletions(-) delete mode 100644 net-analyzer/symon/symon-2.77.ebuild create mode 100644 net-analyzer/symon/symon-2.78.ebuild (limited to 'net-analyzer') diff --git a/net-analyzer/symon/ChangeLog b/net-analyzer/symon/ChangeLog index a57e1a6d3..75ff1dca0 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: $ + 07 Jan 2008; Tiago Cunha (tcunha) -symon-2.77.ebuild, + +symon-2.78.ebuild: + Version bump, remove old + 06 Jan 2008; Tiago Cunha (tcunha) +files/symon-init.d, +files/symon-symon.conf.patch, +files/symon-symux.conf.patch, +files/symon-syweb-class_lexer.inc.patch, diff --git a/net-analyzer/symon/Manifest b/net-analyzer/symon/Manifest index 47a27e106..9cfe780a2 100644 --- a/net-analyzer/symon/Manifest +++ b/net-analyzer/symon/Manifest @@ -4,8 +4,8 @@ AUX symon-symux.conf.patch 1599 RMD160 5131d2679001db3cb440817ec3e000be6f59184e AUX symon-syweb-class_lexer.inc.patch 458 RMD160 daa1f26d028901c588602ebc61dddfb867ee3703 SHA1 2f56ff745e3517225ec11ec14ac2fd9f937ef428 SHA256 e1fab2a5b04b9df8a64a006aecb9869290e2e73a9bbd02449d7d9b38d559b163 AUX symon-syweb-setup.inc.patch 898 RMD160 e8597d4ebd7c77c58c07829665161a21ea7da210 SHA1 07b8a558558288925ae1ec08a496aeef97df824b SHA256 e89d593304eabcd746d26d3bf77fb84a3d5c1fe05026e39e8de56407427624d0 AUX symon-syweb-total_firewall.layout.patch 1616 RMD160 08462a968ece585cba4331ba596386033776144d SHA1 f942a8cdd8418f487345e0fbf581f744af5ddc0f SHA256 4b1aade4dca5e5e0f6ab12dd7d7265c68fd9a99e42984ae91b330a81cf3cc362 -DIST symon-2.77.tar.gz 102400 RMD160 22cd01a54df77214849597718c2a005b814f33c7 SHA1 644c1520be3ceb0598e3e23f093df0e9183430db SHA256 6a3cd6e78cb4a45f7f619f28fa994c89504404cb5eb629db2b45cd797dd270fe +DIST symon-2.78.tar.gz 102400 RMD160 40ca61ce68778de54d5a1b541d6c640dd7fb479c SHA1 bbe7f2b58e3ed0e42f3b1da97ea4051d2c1cee34 SHA256 cda07388156e66a665c6d53dca4fdce3e210ee6a28c44e64d240715a572b39ac DIST syweb-0.56.tar.gz 40960 RMD160 ea181d23bf7d0077d6703f193f4089f1ebc8de26 SHA1 2a0a1553f191323696b5a525236756fc3c08c0e4 SHA256 861d3f6702e2cc87e3cfe5e55755ae0519197ba59f63740024eb274919770192 -EBUILD symon-2.77.ebuild 2779 RMD160 ed977532592162fbe7c8aca88432cdd0ff290b54 SHA1 313645652a217be4088a194c0c60dbfe41d9268b SHA256 0478650725e1450193aa4d6326464496179f89ae58f6c15db31ed3caa172ebe4 -MISC ChangeLog 458 RMD160 84baf1ba6eba25db1e1ca9be4fef903d77d3882d SHA1 5d83feff51ae02398824331f167aa35f7134be7a SHA256 2f281d9dd9011c38f5c05b87ec523381df61b80ffe0a0c699a4e287fa053e950 +EBUILD symon-2.78.ebuild 2779 RMD160 ed977532592162fbe7c8aca88432cdd0ff290b54 SHA1 313645652a217be4088a194c0c60dbfe41d9268b SHA256 0478650725e1450193aa4d6326464496179f89ae58f6c15db31ed3caa172ebe4 +MISC ChangeLog 584 RMD160 d92581bba961898ef9bd118640e52166e528cf6a SHA1 cd6e6923c2b62dc98484c048d27e3d1ee1cfafe0 SHA256 2ea9166c82f147c8ebf683aeab1f64949c5cb022737ce57f4882e77775a9e5c3 MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 diff --git a/net-analyzer/symon/symon-2.77.ebuild b/net-analyzer/symon/symon-2.77.ebuild deleted file mode 100644 index ca68a9f86..000000000 --- a/net-analyzer/symon/symon-2.77.ebuild +++ /dev/null @@ -1,104 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -inherit depend.php eutils webapp - -DESCRIPTION="A system monitor that can be used to obtain accurate and up to date information on the performance of a number of systems" -HOMEPAGE="http://www.xs4all.nl/~wpd/symon/" -SRC_URI="http://www.xs4all.nl/~wpd/symon/philes/${P}.tar.gz - syweb? ( http://www.xs4all.nl/~wpd/symon/philes/syweb-0.56.tar.gz )" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="~sparc ~x86" -IUSE="syweb" - -DEPEND="net-analyzer/rrdtool - sys-devel/pmake" -RDEPEND="net-analyzer/rrdtool - syweb? ( virtual/httpd-php )" - -S=${WORKDIR}/${PN} -WEBAPP_MANUAL_SLOT="yes" - -pkg_setup() { - require_php_with_use gd - webapp_pkg_setup -} - -src_unpack() { - unpack ${A} - - epatch "${FILESDIR}"/${PN}-symon.conf.patch - epatch "${FILESDIR}"/${PN}-symux.conf.patch - - # the default user will be symon, not _symon - # not really used atm, but probably will if chroot will ever be implemented - sed -i -e 's|_symon|symon|g' symon/symon/symon.8 - - if use syweb ; then - epatch "${FILESDIR}"/${PN}-syweb-class_lexer.inc.patch - epatch "${FILESDIR}"/${PN}-syweb-setup.inc.patch - epatch "${FILESDIR}"/${PN}-syweb-total_firewall.layout.patch - fi -} - -src_compile() { - MAKE=pmake emake || die "emake failed." -} - -src_install() { - insinto /etc - doins symon/symon.conf symux/symux.conf - - newinitd "${FILESDIR}"/${PN}-init.d ${PN} || die "newinitd failed." - - dodoc CHANGELOG HACKERS TODO - - doman symon/symon.8 symux/symux.8 - - dosbin symon/symon - dosbin symux/symux - - dodir /usr/share/symon - insinto /usr/share/symon - doins symon/c_config.sh symux/c_smrrds.sh - fperms a+x,u-w /usr/share/symon/c_config.sh - fperms u-w,u+x /usr/share/symon/c_smrrds.sh - - dodir /var/lib/symon/rrds/localhost - - if use syweb ; then - docinto /layouts - dodoc "${WORKDIR}"/syweb/symon/total_firewall.layout - - webapp_src_preinst - - dodir "${MY_HTDOCSDIR}"/cache - dodir "${MY_HTDOCSDIR}"/layouts - webapp_serverowned "${MY_HTDOCSDIR}"/cache - insinto "${MY_HTDOCSDIR}" - doins -r "${WORKDIR}"/syweb/htdocs/syweb/* - webapp_configfile "${MY_HTDOCSDIR}"/setup.inc - - webapp_src_install - fi -} - -pkg_postinst() { - if use syweb ; then - elog "Test your syweb configuration by pointing your browser at:" - elog "http://${VHOST_HOSTNAME}/${PN}/configtest.php" - webapp_pkg_postinst - fi - - elog "You'll need to setup your ${ROOT}/etc/symon.conf and " - elog "${ROOT}/etc/symux.conf before running these daemons for " - elog "the first time." - elog "For an example configuration run ${ROOT}/usr/share/symon/c_config.sh" - elog "Then, you may run ${ROOT}/usr/share/symon/c_smrrds.sh all" - elog "To test the configuration run sym{on,ux} -t" - elog "For details, please see their manpages." - elog "NOTE that symon won't chroot by default." -} diff --git a/net-analyzer/symon/symon-2.78.ebuild b/net-analyzer/symon/symon-2.78.ebuild new file mode 100644 index 000000000..ca68a9f86 --- /dev/null +++ b/net-analyzer/symon/symon-2.78.ebuild @@ -0,0 +1,104 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit depend.php eutils webapp + +DESCRIPTION="A system monitor that can be used to obtain accurate and up to date information on the performance of a number of systems" +HOMEPAGE="http://www.xs4all.nl/~wpd/symon/" +SRC_URI="http://www.xs4all.nl/~wpd/symon/philes/${P}.tar.gz + syweb? ( http://www.xs4all.nl/~wpd/symon/philes/syweb-0.56.tar.gz )" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~sparc ~x86" +IUSE="syweb" + +DEPEND="net-analyzer/rrdtool + sys-devel/pmake" +RDEPEND="net-analyzer/rrdtool + syweb? ( virtual/httpd-php )" + +S=${WORKDIR}/${PN} +WEBAPP_MANUAL_SLOT="yes" + +pkg_setup() { + require_php_with_use gd + webapp_pkg_setup +} + +src_unpack() { + unpack ${A} + + epatch "${FILESDIR}"/${PN}-symon.conf.patch + epatch "${FILESDIR}"/${PN}-symux.conf.patch + + # the default user will be symon, not _symon + # not really used atm, but probably will if chroot will ever be implemented + sed -i -e 's|_symon|symon|g' symon/symon/symon.8 + + if use syweb ; then + epatch "${FILESDIR}"/${PN}-syweb-class_lexer.inc.patch + epatch "${FILESDIR}"/${PN}-syweb-setup.inc.patch + epatch "${FILESDIR}"/${PN}-syweb-total_firewall.layout.patch + fi +} + +src_compile() { + MAKE=pmake emake || die "emake failed." +} + +src_install() { + insinto /etc + doins symon/symon.conf symux/symux.conf + + newinitd "${FILESDIR}"/${PN}-init.d ${PN} || die "newinitd failed." + + dodoc CHANGELOG HACKERS TODO + + doman symon/symon.8 symux/symux.8 + + dosbin symon/symon + dosbin symux/symux + + dodir /usr/share/symon + insinto /usr/share/symon + doins symon/c_config.sh symux/c_smrrds.sh + fperms a+x,u-w /usr/share/symon/c_config.sh + fperms u-w,u+x /usr/share/symon/c_smrrds.sh + + dodir /var/lib/symon/rrds/localhost + + if use syweb ; then + docinto /layouts + dodoc "${WORKDIR}"/syweb/symon/total_firewall.layout + + webapp_src_preinst + + dodir "${MY_HTDOCSDIR}"/cache + dodir "${MY_HTDOCSDIR}"/layouts + webapp_serverowned "${MY_HTDOCSDIR}"/cache + insinto "${MY_HTDOCSDIR}" + doins -r "${WORKDIR}"/syweb/htdocs/syweb/* + webapp_configfile "${MY_HTDOCSDIR}"/setup.inc + + webapp_src_install + fi +} + +pkg_postinst() { + if use syweb ; then + elog "Test your syweb configuration by pointing your browser at:" + elog "http://${VHOST_HOSTNAME}/${PN}/configtest.php" + webapp_pkg_postinst + fi + + elog "You'll need to setup your ${ROOT}/etc/symon.conf and " + elog "${ROOT}/etc/symux.conf before running these daemons for " + elog "the first time." + elog "For an example configuration run ${ROOT}/usr/share/symon/c_config.sh" + elog "Then, you may run ${ROOT}/usr/share/symon/c_smrrds.sh all" + elog "To test the configuration run sym{on,ux} -t" + elog "For details, please see their manpages." + elog "NOTE that symon won't chroot by default." +} -- cgit v1.2.3-65-gdbad