diff options
author | Mike Frysinger <vapier@gentoo.org> | 2002-10-23 14:48:37 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2002-10-23 14:48:37 +0000 |
commit | 185ccf6a3cca609443429149691947237a54c2f6 (patch) | |
tree | b9dbb3be4f278c0981d9999ec6b9c54ea5b42065 /net-analyzer | |
parent | Initial ebuild (diff) | |
download | historical-185ccf6a3cca609443429149691947237a54c2f6.tar.gz historical-185ccf6a3cca609443429149691947237a54c2f6.tar.bz2 historical-185ccf6a3cca609443429149691947237a54c2f6.zip |
Initial ebuild
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/cacti/ChangeLog | 8 | ||||
-rw-r--r-- | net-analyzer/cacti/cacti-0.6.8a.ebuild | 47 | ||||
-rw-r--r-- | net-analyzer/cacti/files/digest-cacti-0.6.8a | 1 |
3 files changed, 56 insertions, 0 deletions
diff --git a/net-analyzer/cacti/ChangeLog b/net-analyzer/cacti/ChangeLog new file mode 100644 index 000000000000..89ba85005cc3 --- /dev/null +++ b/net-analyzer/cacti/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for net-analyzer/cacti +# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/cacti/ChangeLog,v 1.1 2002/10/23 14:48:37 vapier Exp $ + +*cacti-0.6.8a (23 Oct 2002) + + 23 Oct 2002; Mike Frysinger <vapier@gentoo.org> : + Initial import. Ebuild submitted by me. diff --git a/net-analyzer/cacti/cacti-0.6.8a.ebuild b/net-analyzer/cacti/cacti-0.6.8a.ebuild new file mode 100644 index 000000000000..fb871828cd36 --- /dev/null +++ b/net-analyzer/cacti/cacti-0.6.8a.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/cacti/cacti-0.6.8a.ebuild,v 1.1 2002/10/23 14:48:37 vapier Exp $ + +DESCRIPTION="Cacti is a complete frondend to rrdtool" +HOMEPAGE="http://www.raxnet.net/products/cacti/" +SRC_URI="http://www.raxnet.net/downloads/${P}.tar.gz" + +IUSE="snmp" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~ppc ~sparc ~sparc64 ~alpha" +DEPEND="" +RDEPEND="net-www/apache + snmp? ( net-analyzer/ucd-snmp ) + dev-db/mysql + dev-php/php + dev-php/mod_php" + +S="${WORKDIR}/${P}" + +INSTALL_DEST=/home/httpd/htdocs/cacti + +src_install() { + dodoc docs/{CHANGELOG,CONTRIB,README} + rm README LICENSE docs/{CHANGELOG,CONTRIB,README} + + dodir ${INSTALL_DEST} + chown apache.apache * -R + mv * ${D}/${INSTALL_DEST}/ +} + +pkg_postinst() { + einfo + einfo "The cacti has been copied to ${INSTALL_DEST}" + einfo + einfo "Before cacti works you must create the cacti database:" + einfo " mysqladmin -u root -p create cacti" + einfo " mysql -u root -p cacti < ${INSTALL_DEST}/cacti.sql" + einfo "And you must setup the config.php file:" + einfo " nano ${INSTALL_DEST}/include/config.php" + einfo + einfo "FINALLY, you must have these settings in your php.ini:" + einfo " register_globals = On" + einfo " register_argc_argv = On" + einfo +} diff --git a/net-analyzer/cacti/files/digest-cacti-0.6.8a b/net-analyzer/cacti/files/digest-cacti-0.6.8a new file mode 100644 index 000000000000..fe007ec00ff4 --- /dev/null +++ b/net-analyzer/cacti/files/digest-cacti-0.6.8a @@ -0,0 +1 @@ +MD5 800a11f1296a0f8912a386cd50d14869 cacti-0.6.8a.tar.gz 207197 |