[96635] trunk/dports/devel/dbus/Portfile

jmr at macports.org jmr at macports.org
Wed Aug 15 17:52:40 PDT 2012


Revision: 96635
          https://trac.macports.org/changeset/96635
Author:   jmr at macports.org
Date:     2012-08-15 17:52:38 -0700 (Wed, 15 Aug 2012)
Log Message:
-----------
dbus: use add_users

Modified Paths:
--------------
    trunk/dports/devel/dbus/Portfile

Modified: trunk/dports/devel/dbus/Portfile
===================================================================
--- trunk/dports/devel/dbus/Portfile	2012-08-16 00:29:03 UTC (rev 96634)
+++ trunk/dports/devel/dbus/Portfile	2012-08-16 00:52:38 UTC (rev 96635)
@@ -33,6 +33,7 @@
 
 set dbus_user     messagebus
 set dbus_group    messagebus
+add_users         ${dbus_user} group=${dbus_group} realname=Message\ Bus
 set startup_root  ""
 
 depends_lib     port:expat
@@ -151,9 +152,6 @@
 }
 
 pre-activate {
-    addgroup  ${dbus_group}
-    adduser   ${dbus_user} gid=[existsgroup ${dbus_group}] realname=Message\ Bus
-    
     if { [file exists ${prefix}/var/lib/dbus/machine-id] } {
         # See #19234
         delete ${prefix}/var/lib/dbus/machine-id
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120815/6beded34/attachment.html>


More information about the macports-changes mailing list