[30649] trunk/dports/net/zabbix/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Thu Nov 1 11:01:21 PDT 2007


Revision: 30649
          http://trac.macosforge.org/projects/macports/changeset/30649
Author:   markd at macports.org
Date:     2007-11-01 11:01:21 -0700 (Thu, 01 Nov 2007)

Log Message:
-----------
Linted.

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

Modified: trunk/dports/net/zabbix/Portfile
===================================================================
--- trunk/dports/net/zabbix/Portfile	2007-11-01 17:57:12 UTC (rev 30648)
+++ trunk/dports/net/zabbix/Portfile	2007-11-01 18:01:21 UTC (rev 30649)
@@ -58,7 +58,7 @@
 
 	configure.args-delete	--enable-server \
 				--with-mysql=${prefix}/lib/mysql5/bin/mysql_config \
-				--with-net-snmp					
+				--with-net-snmp
 }
 
 build {}
@@ -66,7 +66,7 @@
 post-patch {
         reinplace "s|#DBSocket=/tmp/mysql.sock|DBSocket=${prefix}/var/run/mysql5/mysqld.sock|g" \
                 ${worksrcpath}/misc/conf/zabbix_server.conf
-                
+
         reinplace "s|#FpingLocation=/usr/sbin/fping|FpingLocation=${prefix}/sbin/fping|g" \
         	${worksrcpath}/misc/conf/zabbix_server.conf
 }
@@ -93,7 +93,7 @@
 		xinstall -m 755 ${portpath}/${filesdir}/zabbix_agentd.init \
 			${destroot}${prefix}/share/zabbix
 		reinplace "s|__PREFIX__|${prefix}|g" \
-                ${destroot}${prefix}/share/zabbix/zabbix_agentd.init                
+                ${destroot}${prefix}/share/zabbix/zabbix_agentd.init
 } else {
 
 # Copy sample server and agent .conf files
@@ -104,7 +104,7 @@
                 ${destroot}${prefix}/etc/zabbix/zabbix_agentd.conf.sample
         xinstall -m 755 ${worksrcpath}/misc/conf/zabbix_server.conf \
                 ${destroot}${prefix}/etc/zabbix/zabbix_server.conf.sample
-		
+
 # Copy database data and schemas
         xinstall -d -m 755 -d ${destroot}${prefix}/share/zabbix/data
         xinstall -d -m 755 -d ${destroot}${prefix}/share/zabbix/schema
@@ -143,7 +143,7 @@
         eval xinstall -m 755 [glob ${worksrcpath}/frontends/php/include/classes/*.*] \
                 ${destroot}${prefix}/share/zabbix/frontends/php/include/classes
         eval xinstall -m 755 [glob ${worksrcpath}/frontends/php/include/locales/*.*] \
-                ${destroot}${prefix}/share/zabbix/frontends/php/include/locales 
+                ${destroot}${prefix}/share/zabbix/frontends/php/include/locales
 
 # Create a startup script for the server
 		xinstall -m 755 ${portpath}/${filesdir}/zabbix_server.init \
@@ -156,7 +156,7 @@
 			${destroot}${prefix}/share/zabbix
 		reinplace "s|__PREFIX__|${prefix}|g" \
             ${destroot}${prefix}/share/zabbix/zabbix_agentd.init
-                
+
 # Set permissions for etc (protect passwords) and the frontend
 		system "chmod 660 ${destroot}${prefix}/etc/zabbix/*"
 		system "chown zabbix:zabbix ${destroot}${prefix}/etc/zabbix/*"
@@ -184,8 +184,8 @@
    allow it access to the agent.
 
 	Server=x.x.x.x
-   
-   
+
+
 2) Set zabbix_agentd to run at system boot, then start it
 
 	OS X 10.4 - Run launchctl so ZABBIX will start at system boot
@@ -193,7 +193,7 @@
 
 	OS X 10.3 and previous - A startup item was created in /Library/StartupItems
 	Add \"ZABBIX=-YES-\" to the /etc/hostconfig file to run ZABBIX at system boot
-	        
+
 	${prefix}/share/zabbix/zabbix_agentd.init start (stop|status)
 
 
@@ -243,7 +243,7 @@
 	mysql> grant SELECT, INSERT, UPDATE, DELETE, CREATE on zabbix.* to zabbix;
 	mysql> set PASSWORD FOR zabbix at localhost = OLD_PASSWORD('zabbix-db-password');
 
-NOTE: ZABBIX uses MySQL old-style password hashes so the OLD_PASSWORD keyword is necessary 
+NOTE: ZABBIX uses MySQL old-style password hashes so the OLD_PASSWORD keyword is necessary
 
 3) Edit the sample .conf file ${prefix}/etc/zabbix/zabbix_server.conf (rename & omit .sample)
 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071101/bbefd533/attachment-0001.html


More information about the macports-changes mailing list