[91783] trunk/dports/net/cacti/Portfile

snc at macports.org snc at macports.org
Tue Apr 10 07:50:05 PDT 2012


Revision: 91783
          https://trac.macports.org/changeset/91783
Author:   snc at macports.org
Date:     2012-04-10 07:50:05 -0700 (Tue, 10 Apr 2012)
Log Message:
-----------
cacti: fix notes

Modified Paths:
--------------
    trunk/dports/net/cacti/Portfile

Modified: trunk/dports/net/cacti/Portfile
===================================================================
--- trunk/dports/net/cacti/Portfile	2012-04-10 14:42:59 UTC (rev 91782)
+++ trunk/dports/net/cacti/Portfile	2012-04-10 14:50:05 UTC (rev 91783)
@@ -47,17 +47,17 @@
 }
 
 
-notes \
- "**** To complete the Cacti installation ****
+notes "
+**** To complete the Cacti installation ****
 
-To complete the Cacti installation follow the steps below.  Read the documentation
+To complete the Cacti installation follow the steps below.  Read the documentation\
 at http://www.cacti.net/documentation.php for operational instructions.
 
 
-1) Install PHP and MySQL 5 (not covered).  These instructions assume MySQL 5 was
+1) Install PHP and MySQL 5 (not covered).  These instructions assume MySQL 5 was\
    installed from MacPorts.
 
-   Check to make sure the PHP variable \"mysql.default_socket\" is set to path
+   Check to make sure the PHP variable \"mysql.default_socket\" is set to path\
    ${prefix}/var/run/mysql5/mysqld.sock by viewing the output of this terminal command:
 	php -i
 
@@ -120,18 +120,18 @@
 	*/5 * * * * ${prefix}/bin/php ${cactidir}/poller.php > /dev/null 2>&1
 
 
-8) If you installed Cacti with the 'plugins' variant for Cacti Plugin Architecture support,
+8) If you installed Cacti with the 'plugins' variant for Cacti Plugin Architecture support,\
    you must perform these additional steps.
 
    a) Import the PA schema.
 	cd ${cactidir}
 	sudo cat ${cactidir}/pa.sql | mysql5 -u root -p cacti (cacti is the db name)
 
-   b) Download the particular Cacti plugin(s) you want and copy their folders to ${cactidir}/plugins/<plugin-dir>/.
+   b) Download the particular Cacti plugin(s) you want and copy their folders to ${cactidir}/plugins/<plugin-dir>/.\
       For example:
 	${cactidir}/plugins/weathermap/
 
-   c) Edit ${cactidir}/include/global.php - modify the url_path to reflect Cacti's default URL
+   c) Edit ${cactidir}/include/global.php - modify the url_path to reflect Cacti's default URL\
       and add an entry to load each plugin you install; the weathermap plugin is an example:
 
 	\$url_path = \"/cacti/\";
@@ -139,13 +139,13 @@
 	\$plugins = array();
 	\$plugins[] = 'weathermap';
 
-   d) Enable the plugin in the Cacti web interface; this creates a top-level tab for the plugin in the Cacti interface
+   d) Enable the plugin in the Cacti web interface; this creates a top-level tab for the plugin in the Cacti interface\
 	Console -> User Management  (select a Cacti user and check the 'View Weathermaps' checkboxes)
 
 
 7) Go to http://localhost/cacti/install/index.php.
-	The default user/password is admin/admin.  Select 'New Install', enter
-	the paths for SNMP / RRDtool / PHP (see below), and click 'Finish'.
+	The default user/password is admin/admin.  Select 'New Install', enter\
+	the paths for SNMP / RRDtool / PHP (see below), and click 'Finish'.\
 	You may now use Cacti at http://localhost/cacti/index.php.
 
 Paths:
@@ -153,5 +153,5 @@
 	snmpget binary path: /usr/bin/snmpget
 
 	RRDtool binary path: ${prefix}/bin/rrdtool
-	PHP binary path: ${prefix}/bin/php (if not using MacPorts PHP, use appropriate path)"
-
+	PHP binary path: ${prefix}/bin/php (if not using MacPorts PHP, use appropriate path)
+"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120410/e4bb6f5b/attachment.html>


More information about the macports-changes mailing list