[103281] trunk/dports/net/network-weathermap/Portfile
markd at macports.org
markd at macports.org
Tue Feb 19 20:44:36 PST 2013
Revision: 103281
https://trac.macports.org/changeset/103281
Author: markd at macports.org
Date: 2013-02-19 20:44:36 -0800 (Tue, 19 Feb 2013)
Log Message:
-----------
Update to 0.97a. Convert ui_msg to notes.
Modified Paths:
--------------
trunk/dports/net/network-weathermap/Portfile
Modified: trunk/dports/net/network-weathermap/Portfile
===================================================================
--- trunk/dports/net/network-weathermap/Portfile 2013-02-20 04:10:49 UTC (rev 103280)
+++ trunk/dports/net/network-weathermap/Portfile 2013-02-20 04:44:36 UTC (rev 103281)
@@ -3,10 +3,9 @@
PortSystem 1.0
name network-weathermap
-version 0.95b
-revision 4
+version 0.97a
categories net
-maintainers markd
+maintainers openmaintainer markd
platforms darwin
description Weathermap is a network visualisation tool, to take graphs you \
@@ -21,7 +20,8 @@
use_zip yes
distfiles php-weathermap-${version}${extract.suffix}
-checksums md5 6481970ad971dfe659eed535b440e678
+checksums md5 7eb70243fef163721423b3e87d7e84b4 \
+ rmd160 95dc10d25918d8810f552c00f5b73ddfd3afb158
worksrcdir weathermap
depends_lib path:bin/perl:perl5 \
@@ -56,10 +56,9 @@
system "chown -R www:www ${destroot}${pluginsdir}/weathermap/"
}
-post-activate {
+notes "
+**** To complete the Network Weathermap installation ****
-ui_msg "\n **** To complete the Network Weather Map installation ****
-
To complete the Network Weather Map installation follow the steps below. Read the documentation
at http://www.cacti.net/documentation.php for operational instructions.
@@ -71,33 +70,26 @@
sudo chown -R <cacti-user>:<cacti-group> ${prefix}/share/${pluginsdir}/weathermap
-3) Import the PA schema.
- cd ${cactidir}
- sudo cat ${cactidir}/pa.sql | mysql5 -u root -p cacti (cacti is the db name)
-
-
-4) Edit ${cactidir}/include/global.php - add an entry to load the weathermap plugin as shown:
-
- \$plugins = array();
- \$plugins[] = 'weathermap';
-
-
-5) Rename & edit the Network Weathermap Editor's config file
+3) Rename & edit the Network Weathermap Editor's config file
cd ${pluginsdir}/weathermap
cp editor-config.php-dist editor-config.php
nano editor-config.php
-6) Set the editor-config.php variables as shown:
+4) Set the editor-config.php variables as shown:
cacti_base = '${cactidir}';
\$cacti_url = \"http://example.com/cacti/\";
-7) Login to the Cacti interface and enable the Network Weather Map plugin; 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)
+5) Enable the weathermap plugin:
-\n"
+ a) In the Cacti web GUI, go to Configuration -> Plugin Management and you
+ should see your plugin(s) listed.
+ Under 'Actions', click the the install button to install each plugin.
+
+ b) Ensure that your Cacti user has permissions to manage the plugins
+ Console -> User Management (select Cacti user and allow Conf/Manage and View options)
-}
+
+"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130219/3bdb6b63/attachment-0001.html>
More information about the macports-changes
mailing list