[33245] trunk/dports/databases/couchdb

jwa at macports.org jwa at macports.org
Tue Jan 22 02:49:24 PST 2008


Revision: 33245
          http://trac.macosforge.org/projects/macports/changeset/33245
Author:   jwa at macports.org
Date:     2008-01-22 02:49:22 -0800 (Tue, 22 Jan 2008)

Log Message:
-----------
add startup item patch file

Modified Paths:
--------------
    trunk/dports/databases/couchdb/Portfile

Added Paths:
-----------
    trunk/dports/databases/couchdb/files/
    trunk/dports/databases/couchdb/files/patch-org.macports.CouchDB.plist.diff

Modified: trunk/dports/databases/couchdb/Portfile
===================================================================
--- trunk/dports/databases/couchdb/Portfile	2008-01-22 09:08:44 UTC (rev 33244)
+++ trunk/dports/databases/couchdb/Portfile	2008-01-22 10:49:22 UTC (rev 33245)
@@ -44,7 +44,8 @@
     startupitem.create	yes
     startupitem.type	launchd
     startupitem.name	CouchDB
-    startupitem.start	"\$\(${prefix}/bin/icu-config --invoke\) ${prefix}/bin/couchdb -b -o ${logdir}/couchdb.stdout -e ${logdir}/couchdb.stderr"
+#    startupitem.start	"\$\(${prefix}/bin/icu-config --invoke\) ${prefix}/bin/couchdb -b -o ${logdir}/couchdb.stdout -e ${logdir}/couchdb.stderr"
+    startupitem.start	"${prefix}/bin/couchdb -b -o ${logdir}/couchdb.stdout -e ${logdir}/couchdb.stderr"
     startupitem.stop	"${prefix}/bin/couchdb -d"
 }
 
@@ -65,7 +66,7 @@
     if { [variant_isset server] } {
 	system "touch ${destroot}${piddir}/couchdb.pid"
 	system "chown -R ${dbuser}:${dbgroup} ${destroot}${dbdir} ${destroot}${logdir} ${destroot}${piddir}/couchdb.pid"
-	system "cd ${destroot}${plistloc}; patch <${filespath}/patch-org.macports.CouchDB.plist"
+	system "cd ${destroot}${plistloc}; patch <${filespath}/patch-org.macports.CouchDB.plist.diff"
     }
 }
 

Added: trunk/dports/databases/couchdb/files/patch-org.macports.CouchDB.plist.diff
===================================================================
--- trunk/dports/databases/couchdb/files/patch-org.macports.CouchDB.plist.diff	                        (rev 0)
+++ trunk/dports/databases/couchdb/files/patch-org.macports.CouchDB.plist.diff	2008-01-22 10:49:22 UTC (rev 33245)
@@ -0,0 +1,25 @@
+--- org.macports.CouchDB.plist.orig	2008-01-04 11:50:36.000000000 +0200
++++ org.macports.CouchDB.plist	2008-01-04 11:53:28.000000000 +0200
+@@ -4,6 +4,13 @@
+ <plist version='1.0'>
+ <dict>
+ <key>Label</key><string>org.macports.CouchDB</string>
++<key>EnvironmentVariables</key>
++<dict>
++  <key>HOME</key>
++  <string>~</string>
++  <key>DYLD_LIBRARY_PATH</key>
++  <string>/opt/local/lib:$DYLD_LIBRARY_PATH</string>
++</dict>
+ <key>ProgramArguments</key>
+ <array>
+ 	<string>/opt/local/bin/daemondo</string>
+@@ -22,6 +29,8 @@
+ 	<string>;</string>
+ 	<string>--pid=none</string>
+ </array>
++<key>UserName</key>
++<string>couchdb</string>
+ <key>Debug</key><false/>
+ <key>Disabled</key><true/>
+ <key>OnDemand</key><false/>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080122/0007ca8a/attachment.html


More information about the macports-changes mailing list