[146683] trunk/dports/devel/buildbot-slave
cal at macports.org
cal at macports.org
Tue Mar 15 07:49:28 PDT 2016
Revision: 146683
https://trac.macports.org/changeset/146683
Author: cal at macports.org
Date: 2016-03-15 07:49:28 -0700 (Tue, 15 Mar 2016)
Log Message:
-----------
buildbot-slave: Create a user and use it in launchd.plist
Modified Paths:
--------------
trunk/dports/devel/buildbot-slave/Portfile
trunk/dports/devel/buildbot-slave/files/org.macports.buildslave.template.plist
Modified: trunk/dports/devel/buildbot-slave/Portfile
===================================================================
--- trunk/dports/devel/buildbot-slave/Portfile 2016-03-15 14:15:33 UTC (rev 146682)
+++ trunk/dports/devel/buildbot-slave/Portfile 2016-03-15 14:49:28 UTC (rev 146683)
@@ -6,7 +6,7 @@
name buildbot-slave
version 0.8.12
-revision 1
+revision 2
categories devel python
platforms darwin
supported_archs noarch
@@ -38,6 +38,9 @@
set docdir ${prefix}/share/doc/${subport}
set plistfile org.macports.buildslave.template.plist
+# Add a user that can be used to run the buildbot slave
+add_users buildbot group=buildbot
+
post-extract {
file mkdir ${worksrcpath}/macports
copy ${filespath}/${plistfile} ${worksrcpath}/macports/${plistfile}
@@ -72,9 +75,9 @@
notes "
An example launchd plist file is available in ${sharedir}. After you have
-created your build slave, edit the UserName and WorkingDirectory fields to
-appropriate values. As the root user, copy it to /Library/LaunchDaemons and
-instruct launchd to run it with:
+created your build slave, edit the WorkingDirectory field to appropriate
+values. As the root user, copy it to /Library/LaunchDaemons and instruct
+launchd to run it with:
sudo launchctl load -w /Library/LaunchDaemons/your.plist.name
"
Modified: trunk/dports/devel/buildbot-slave/files/org.macports.buildslave.template.plist
===================================================================
(Binary files differ)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160315/b6d9361c/attachment.html>
More information about the macports-changes
mailing list