[26110] trunk/dports/net/nedi/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Tue Jun 12 15:41:53 PDT 2007


Revision: 26110
          http://trac.macosforge.org/projects/macports/changeset/26110
Author:   markd at macports.org
Date:     2007-06-12 15:41:52 -0700 (Tue, 12 Jun 2007)

Log Message:
-----------
Fix permissions on startupitem for syslog.pl.

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

Modified: trunk/dports/net/nedi/Portfile
===================================================================
--- trunk/dports/net/nedi/Portfile	2007-06-12 22:00:13 UTC (rev 26109)
+++ trunk/dports/net/nedi/Portfile	2007-06-12 22:41:52 UTC (rev 26110)
@@ -4,7 +4,7 @@
 
 name			nedi
 version			1.0.w
-revision		3
+revision		4
 categories		net
 maintainers		markd at macports.org
 platforms		darwin
@@ -98,16 +98,16 @@
 # MacPorts can only create one startupitem per portfile.  So copy nedisyslog.plist and
 # snmptrapd.plist from filespath and copy and link it as startupitem's do.
 
-	file mkdir ${destroot}${prefix}/etc/LaunchDaemons/org.macports.nedisyslog/
-	file copy ${filespath}/org.macports.nedisyslog.plist \
+	xinstall -m 755 -d ${destroot}${prefix}/etc/LaunchDaemons/org.macports.nedisyslog/
+	xinstall -m 755${filespath}/org.macports.nedisyslog.plist \
 		${destroot}${prefix}/etc/LaunchDaemons/org.macports.nedisyslog/
-	file copy ${filespath}/nedisyslog.wrapper \
+	xinstall -m 755 ${filespath}/nedisyslog.wrapper \
 		${destroot}${prefix}/etc/LaunchDaemons/org.macports.nedisyslog/
 	system "cd /Library/LaunchDaemons && ln -sf \
 		${prefix}/etc/LaunchDaemons/org.macports.nedisyslog/org.macports.nedisyslog.plist"
 
-	file mkdir ${destroot}${prefix}/etc/LaunchDaemons/org.macports.snmptrapd/
-	file copy ${filespath}/org.macports.snmptrapd.plist \
+	xinstall -m 755 -d ${destroot}${prefix}/etc/LaunchDaemons/org.macports.snmptrapd/
+	xinstall -m 755 ${filespath}/org.macports.snmptrapd.plist \
 		${destroot}${prefix}/etc/LaunchDaemons/org.macports.snmptrapd/
 	system "cd /Library/LaunchDaemons && ln -sf \
 		${prefix}/etc/LaunchDaemons/org.macports.snmptrapd/org.macports.snmptrapd.plist"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070612/6235329b/attachment.html


More information about the macports-changes mailing list