[116096] trunk/dports/news/leafnode/Portfile
cal at macports.org
cal at macports.org
Sat Jan 18 09:09:39 PST 2014
Revision: 116096
https://trac.macports.org/changeset/116096
Author: cal at macports.org
Date: 2014-01-18 09:09:39 -0800 (Sat, 18 Jan 2014)
Log Message:
-----------
leafnode: use add_users instead of adduser and addgroup directly to avoid problems with binary package installation
Modified Paths:
--------------
trunk/dports/news/leafnode/Portfile
Modified: trunk/dports/news/leafnode/Portfile
===================================================================
--- trunk/dports/news/leafnode/Portfile 2014-01-18 14:09:58 UTC (rev 116095)
+++ trunk/dports/news/leafnode/Portfile 2014-01-18 17:09:39 UTC (rev 116096)
@@ -44,10 +44,7 @@
set launch_dir /etc/LaunchDaemons/org.macports.${name}
-pre-destroot {
- addgroup _news realname="NEWS Server group"
- adduser _news gid=_news realname="NEWS Server user"
-}
+add_users _news group=_news realname="NEWS Server group"
post-destroot {
xinstall -o _news -g _news -m 750 -d ${destroot}${prefix}/etc/${name}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140118/ad2b7368/attachment.html>
More information about the macports-changes
mailing list