diff options
author | Martin Holzer <mholzer@gentoo.org> | 2004-04-19 07:40:18 +0000 |
---|---|---|
committer | Martin Holzer <mholzer@gentoo.org> | 2004-04-19 07:40:18 +0000 |
commit | c9ec16631cac955e23ebe2d58bcd640677318e19 (patch) | |
tree | 9d546258bd725eb1ab8f7ec9f761472eebb45dd3 /net-analyzer | |
parent | x86 stable. (diff) | |
download | historical-c9ec16631cac955e23ebe2d58bcd640677318e19.tar.gz historical-c9ec16631cac955e23ebe2d58bcd640677318e19.tar.bz2 historical-c9ec16631cac955e23ebe2d58bcd640677318e19.zip |
cleanup
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/cacti/Manifest | 4 | ||||
-rw-r--r-- | net-analyzer/cacti/cacti-0.8.4.ebuild | 123 | ||||
-rw-r--r-- | net-analyzer/cacti/cacti-0.8.5.ebuild | 124 | ||||
-rw-r--r-- | net-analyzer/cacti/files/digest-cacti-0.8.4 | 1 | ||||
-rw-r--r-- | net-analyzer/cacti/files/digest-cacti-0.8.5 | 1 |
5 files changed, 0 insertions, 253 deletions
diff --git a/net-analyzer/cacti/Manifest b/net-analyzer/cacti/Manifest index 4db4334f7bbc..63906d04cf61 100644 --- a/net-analyzer/cacti/Manifest +++ b/net-analyzer/cacti/Manifest @@ -1,8 +1,4 @@ MD5 23bc2b602be80e0dc67396f8873f8c34 ChangeLog 2819 -MD5 78f6e2f9be374d85e5e0df7c16521bac cacti-0.8.4.ebuild 4234 -MD5 791c6842b565daf6d45d7b698a953034 cacti-0.8.5.ebuild 4239 MD5 9683bb7323c40d69b48d54ad0eb169ed metadata.xml 221 MD5 56cd27e36cdc9bb3400f8c608f5dcfc0 cacti-0.8.5a.ebuild 4239 -MD5 e91aa7fea352dd63395f14af9492985f files/digest-cacti-0.8.4 63 -MD5 a2e0519363a384bcb8e8f4f0d35fa5f4 files/digest-cacti-0.8.5 63 MD5 44637d48edf68b76a472c70817449cd6 files/digest-cacti-0.8.5a 64 diff --git a/net-analyzer/cacti/cacti-0.8.4.ebuild b/net-analyzer/cacti/cacti-0.8.4.ebuild deleted file mode 100644 index 66886fabd5a7..000000000000 --- a/net-analyzer/cacti/cacti-0.8.4.ebuild +++ /dev/null @@ -1,123 +0,0 @@ -# Copyright 1999-2004 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/cacti/cacti-0.8.4.ebuild,v 1.5 2004/02/24 07:48:52 mr_bones_ Exp $ - -inherit eutils webapp-apache - -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" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="x86 ~ppc ~sparc ~alpha" -IUSE="snmp mysql" - -DEPEND="" -RDEPEND="net-www/apache - snmp? ( virtual/snmp ) - net-analyzer/rrdtool - mysql? ( dev-db/mysql ) - dev-php/php - dev-php/mod_php" - -pkg_setup() { - webapp-detect || NO_WEBSERVER=1 - webapp-pkg_setup "${NO_WEBSERVER}" - einfo "Installing into ${ROOT}${HTTPD_ROOT}." -} - -src_install() { - webapp-mkdirs - - local DocumentRoot=${HTTPD_ROOT} - local destdir=${DocumentRoot}/${PN} - dodir ${destdir} - - dohtml docs/{INSTALL,UPGRADE}.htm - dodoc docs/{CHANGELOG,CONTRIB} - dodoc LICENSE - - rm docs/{INSTALL,UPGRADE,INSTALL-WIN32}.htm - rm docs/{README,CHANGELOG,CONTRIB} - rm LICENSE README - - mv docs/manual . - rm -fr docs - rm -rf cactid - - edos2unix `find -type f -name '*.php'` - #chown -R ${HTTPD_USER}.${HTTPD_GROUP} * - cp -r . ${D}/${HTTPD_ROOT}/${PN} - cd ${D}/${HTTPD_ROOT} - chown -R ${HTTPD_USER}:${HTTPD_GROUP} ${PN} -} - -pkg_postinst() { - # check to see if we have a previous version installed - minor_inst="$(ls -d /var/db/pkg/net-analyzer/cacti*|head -n 1|cut -d\. -f2)" - rel_inst="$(ls -d /var/db/pkg/net-analyzer/cacti*|head -n 1|cut -d\. -f3)" - if [ ${minor_inst}${rel_inst} -lt 81 ] - then - einfo - einfo "The cacti has been installed to ${INSTALL_DEST}" - einfo - einfo "Before cacti works you must upgrade the cacti database:" - einfo "1. Backup the old cacti database:" - einfo " shell> mysqlhotcopy --suffix=_old cacti" - einfo "2. Drop the old cacti database:" - einfo " shell> mysqladmin -p drop cacti" - einfo "3. Create the new cacti database" - einfo " shell> mysqladmin --user=root create cacti" - einfo "4. Import the default cacti database:" - einfo " shell> mysql cacti < ${INSTALL_DEST}/cacti.sql" - einfo "5. Edit ${INSTALL_DEST}/include/config.php." - einfo " + Modify the MySQL user, password and database for your" - einfo " cacti configuration." - einfo " \$database_default = \"cacti\";" - einfo " \$database_hostname = \"localhost\";" - einfo " \$database_username = \"cactiuser\";" - einfo " \$database_password = \"cacti\";" - einfo "6. Point your web browser to: http://your-server/cacti/" - einfo " Select \"Upgrade\"." - einfo " Make sure to fill in all of the path variables carefully and" - einfo " correctly on the following screen." - einfo - einfo "FINALLY, you must have these settings in your php.ini:" - einfo " register_globals = On" - einfo " register_argc_argv = On" - einfo - einfo "Test your upgraded installation. When all is fine you can" - eingo "drop the cacti_old database like so:" - einfo " shell> mysqladmin -p drop cacti_old" - einfo - else - einfo - einfo "The cacti has been copied to ${INSTALL_DEST}" - einfo - einfo "Before cacti works you must:" - einfo "1. Create the new cacti database" - einfo " shell> mysqladmin --user=root create cacti" - einfo "2. Import the default cacti database:" - einfo " shell> mysql cacti < ${INSTALL_DEST}/cacti.sql" - einfo "3. Optional: Create a MySQL username and password for cacti." - einfo " shell> mysql --user=root mysql" - einfo " mysql> GRANT ALL ON cacti.* TO cactiuser@localhost IDENTIFIED BY 'somepassword';" - einfo " mysql> flush privileges;" - einfo "4. Edit ${INSTALL_DEST}/include/config.php." - einfo " + Modify the MySQL user, password and database for your" - einfo " cacti configuration." - einfo " \$database_default = \"cacti\";" - einfo " \$database_hostname = \"localhost\";" - einfo " \$database_username = \"cactiuser\";" - einfo " \$database_password = \"cacti\";" - einfo "5. Point your web browser to: http://your-server/cacti/" - einfo " Make sure to fill in all of the path variables carefully and" - einfo " correctly on the following screen." - einfo - einfo "FINALLY, you must have these settings in your php.ini:" - einfo " register_globals = On" - einfo " register_argc_argv = On" - einfo - fi -} diff --git a/net-analyzer/cacti/cacti-0.8.5.ebuild b/net-analyzer/cacti/cacti-0.8.5.ebuild deleted file mode 100644 index 771922628e76..000000000000 --- a/net-analyzer/cacti/cacti-0.8.5.ebuild +++ /dev/null @@ -1,124 +0,0 @@ -# Copyright 1999-2004 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/cacti/cacti-0.8.5.ebuild,v 1.1 2004/02/29 08:39:55 mholzer Exp $ - -inherit eutils webapp-apache - -DESCRIPTION="Cacti is a complete frondend to rrdtool" -HOMEPAGE="http://www.raxnet.net/products/cacti/" -SRC_URI="http://www.raxnet.net/downloads/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86 ~ppc ~sparc ~alpha" -IUSE="snmp mysql" - -DEPEND="" -RDEPEND="net-www/apache - snmp? ( virtual/snmp ) - net-analyzer/rrdtool - mysql? ( dev-db/mysql ) - dev-php/php - dev-php/mod_php" - -webapp-detect || NO_WEBSERVER=1 - -pkg_setup() { - webapp-pkg_setup "${NO_WEBSERVER}" - einfo "Installing into ${ROOT}${HTTPD_ROOT}." -} - -src_install() { - webapp-mkdirs - - local DocumentRoot=${HTTPD_ROOT} - local destdir=${DocumentRoot}/${PN} - dodir ${destdir} - - dohtml docs/{INSTALL,UPGRADE}.htm - dodoc docs/{CHANGELOG,CONTRIB} - dodoc LICENSE - - rm docs/{INSTALL,UPGRADE,INSTALL-WIN32}.htm - rm docs/{README,CHANGELOG,CONTRIB} - rm LICENSE README - - mv docs/manual . - rm -fr docs - rm -rf cactid - - edos2unix `find -type f -name '*.php'` - #chown -R ${HTTPD_USER}.${HTTPD_GROUP} * - cp -r . ${D}/${HTTPD_ROOT}/${PN} - cd ${D}/${HTTPD_ROOT} - chown -R ${HTTPD_USER}:${HTTPD_GROUP} ${PN} -} - -pkg_postinst() { - # check to see if we have a previous version installed - minor_inst="$(ls -d /var/db/pkg/net-analyzer/cacti*|head -n 1|cut -d\. -f2)" - rel_inst="$(ls -d /var/db/pkg/net-analyzer/cacti*|head -n 1|cut -d\. -f3)" - if [ ${minor_inst}${rel_inst} -lt 81 ] - then - einfo - einfo "The cacti has been installed to ${INSTALL_DEST}" - einfo - einfo "Before cacti works you must upgrade the cacti database:" - einfo "1. Backup the old cacti database:" - einfo " shell> mysqlhotcopy --suffix=_old cacti" - einfo "2. Drop the old cacti database:" - einfo " shell> mysqladmin -p drop cacti" - einfo "3. Create the new cacti database" - einfo " shell> mysqladmin --user=root create cacti" - einfo "4. Import the default cacti database:" - einfo " shell> mysql cacti < ${INSTALL_DEST}/cacti.sql" - einfo "5. Edit ${INSTALL_DEST}/include/config.php." - einfo " + Modify the MySQL user, password and database for your" - einfo " cacti configuration." - einfo " \$database_default = \"cacti\";" - einfo " \$database_hostname = \"localhost\";" - einfo " \$database_username = \"cactiuser\";" - einfo " \$database_password = \"cacti\";" - einfo "6. Point your web browser to: http://your-server/cacti/" - einfo " Select \"Upgrade\"." - einfo " Make sure to fill in all of the path variables carefully and" - einfo " correctly on the following screen." - einfo - einfo "FINALLY, you must have these settings in your php.ini:" - einfo " register_globals = On" - einfo " register_argc_argv = On" - einfo - einfo "Test your upgraded installation. When all is fine you can" - eingo "drop the cacti_old database like so:" - einfo " shell> mysqladmin -p drop cacti_old" - einfo - else - einfo - einfo "The cacti has been copied to ${INSTALL_DEST}" - einfo - einfo "Before cacti works you must:" - einfo "1. Create the new cacti database" - einfo " shell> mysqladmin --user=root create cacti" - einfo "2. Import the default cacti database:" - einfo " shell> mysql cacti < ${INSTALL_DEST}/cacti.sql" - einfo "3. Optional: Create a MySQL username and password for cacti." - einfo " shell> mysql --user=root mysql" - einfo " mysql> GRANT ALL ON cacti.* TO cactiuser@localhost IDENTIFIED BY 'somepassword';" - einfo " mysql> flush privileges;" - einfo "4. Edit ${INSTALL_DEST}/include/config.php." - einfo " + Modify the MySQL user, password and database for your" - einfo " cacti configuration." - einfo " \$database_default = \"cacti\";" - einfo " \$database_hostname = \"localhost\";" - einfo " \$database_username = \"cactiuser\";" - einfo " \$database_password = \"cacti\";" - einfo "5. Point your web browser to: http://your-server/cacti/" - einfo " Make sure to fill in all of the path variables carefully and" - einfo " correctly on the following screen." - einfo - einfo "FINALLY, you must have these settings in your php.ini:" - einfo " register_globals = On" - einfo " register_argc_argv = On" - einfo - fi -} diff --git a/net-analyzer/cacti/files/digest-cacti-0.8.4 b/net-analyzer/cacti/files/digest-cacti-0.8.4 deleted file mode 100644 index e4f77cf509dd..000000000000 --- a/net-analyzer/cacti/files/digest-cacti-0.8.4 +++ /dev/null @@ -1 +0,0 @@ -MD5 afa100acd57db792dd65f4443268a64d cacti-0.8.4.tar.gz 595419 diff --git a/net-analyzer/cacti/files/digest-cacti-0.8.5 b/net-analyzer/cacti/files/digest-cacti-0.8.5 deleted file mode 100644 index 27bcc475f21d..000000000000 --- a/net-analyzer/cacti/files/digest-cacti-0.8.5 +++ /dev/null @@ -1 +0,0 @@ -MD5 72d5710d404d7d2d9ab8f14ee19f91ea cacti-0.8.5.tar.gz 982734 |