diff options
author | Eldad Zack <eldad@gentoo.org> | 2004-07-05 11:27:39 +0000 |
---|---|---|
committer | Eldad Zack <eldad@gentoo.org> | 2004-07-05 11:27:39 +0000 |
commit | 7aea5e8891a9ce9384fcdb34480d01c48a441a00 (patch) | |
tree | 7cf7e1de339b0346aaf160dd7ee048e8c815a7e8 /net-analyzer | |
parent | if doc .. build examples (diff) | |
download | historical-7aea5e8891a9ce9384fcdb34480d01c48a441a00.tar.gz historical-7aea5e8891a9ce9384fcdb34480d01c48a441a00.tar.bz2 historical-7aea5e8891a9ce9384fcdb34480d01c48a441a00.zip |
Added additional install instructions (crontab). Closes #53709; version detection fix
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/cacti/ChangeLog | 7 | ||||
-rw-r--r-- | net-analyzer/cacti/Manifest | 4 | ||||
-rw-r--r-- | net-analyzer/cacti/cacti-0.8.5a.ebuild | 23 |
3 files changed, 21 insertions, 13 deletions
diff --git a/net-analyzer/cacti/ChangeLog b/net-analyzer/cacti/ChangeLog index 6dc77676c992..b4f2e5e30e03 100644 --- a/net-analyzer/cacti/ChangeLog +++ b/net-analyzer/cacti/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-analyzer/cacti # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/cacti/ChangeLog,v 1.24 2004/06/24 21:58:18 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/cacti/ChangeLog,v 1.25 2004/07/05 11:27:39 eldad Exp $ + + 05 Jul 2004; Eldad Zack <eldad@gentoo.org> cacti-0.8.5a.ebuild: + Added additional install instructions (crontab). Closes #53709. Thanks to + Lorinc Czegledi <lorinc.czegledi@mail.cpst.hu>. Also fixed previous version + detection. 08 May 2004; Danny van Dyk <kugelfang@gentoo.org> cacti-0.8.5a.ebuild: Marked ~amd64. diff --git a/net-analyzer/cacti/Manifest b/net-analyzer/cacti/Manifest index 085363f57587..58cfa0967a95 100644 --- a/net-analyzer/cacti/Manifest +++ b/net-analyzer/cacti/Manifest @@ -1,4 +1,4 @@ -MD5 4f9621b9c5308306164661378f6c0bff cacti-0.8.5a.ebuild 4238 -MD5 17b7d744a72f44222b78c08edd36df51 ChangeLog 2902 +MD5 90bc6728b535d77c5fcc147fbd328d47 cacti-0.8.5a.ebuild 4440 +MD5 75951c0b3761a5500406c3afb432715f ChangeLog 3133 MD5 9683bb7323c40d69b48d54ad0eb169ed metadata.xml 221 MD5 44637d48edf68b76a472c70817449cd6 files/digest-cacti-0.8.5a 64 diff --git a/net-analyzer/cacti/cacti-0.8.5a.ebuild b/net-analyzer/cacti/cacti-0.8.5a.ebuild index ad34ec0fd86c..3a3bfa210de6 100644 --- a/net-analyzer/cacti/cacti-0.8.5a.ebuild +++ b/net-analyzer/cacti/cacti-0.8.5a.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/cacti/cacti-0.8.5a.ebuild,v 1.5 2004/06/24 21:58:18 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/cacti/cacti-0.8.5a.ebuild,v 1.6 2004/07/05 11:27:39 eldad Exp $ inherit eutils webapp-apache @@ -38,12 +38,12 @@ src_install() { dodoc docs/{CHANGELOG,CONTRIB} dodoc LICENSE - rm docs/{INSTALL,UPGRADE,INSTALL-WIN32}.htm + #rm docs/{INSTALL,UPGRADE,INSTALL-WIN32}.htm rm docs/{README,CHANGELOG,CONTRIB} rm LICENSE README - mv docs/manual . - rm -fr docs + #mv docs/manual . + rm -rf docs rm -rf cactid edos2unix `find -type f -name '*.php'` @@ -55,9 +55,8 @@ src_install() { 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 ] + ver_installed="$(ls -d /var/db/pkg/net-analyzer/cacti* | sed 's:.*cacti-::')" + if [[ ${ver_installed} != ${PV} ]] then einfo einfo "The cacti has been installed to ${INSTALL_DEST}" @@ -78,7 +77,9 @@ pkg_postinst() { einfo " \$database_hostname = \"localhost\";" einfo " \$database_username = \"cactiuser\";" einfo " \$database_password = \"cacti\";" - einfo "6. Point your web browser to: http://your-server/cacti/" + einfo "6. Add this line to your /etc/crontab file:" + einfo " */5 * * * * ${HTTPD_USER} php ${HTTPD_ROOT}${PN}/cmd.php > /dev/null 2>&1" + einfo "7. 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." @@ -88,7 +89,7 @@ pkg_postinst() { 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 "drop the cacti_old database like so:" einfo " shell> mysqladmin -p drop cacti_old" einfo else @@ -111,7 +112,9 @@ pkg_postinst() { einfo " \$database_hostname = \"localhost\";" einfo " \$database_username = \"cactiuser\";" einfo " \$database_password = \"cacti\";" - einfo "5. Point your web browser to: http://your-server/cacti/" + einfo "5. Add this line to your /etc/crontab file:" + einfo " */5 * * * * ${HTTPD_USER} php ${HTTPD_ROOT}${PN}/cmd.php > /dev/null 2>&1" + einfo "6. 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 |