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

pixilla at macports.org pixilla at macports.org
Sun Jun 5 15:16:25 PDT 2011


Revision: 79212
          http://trac.macports.org/changeset/79212
Author:   pixilla at macports.org
Date:     2011-06-05 15:16:25 -0700 (Sun, 05 Jun 2011)
Log Message:
-----------
devel/dbus: Remove recent Portfile additions whose functionality is suspect.

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

Modified: trunk/dports/devel/dbus/Portfile
===================================================================
--- trunk/dports/devel/dbus/Portfile	2011-06-05 22:10:57 UTC (rev 79211)
+++ trunk/dports/devel/dbus/Portfile	2011-06-05 22:16:25 UTC (rev 79212)
@@ -6,6 +6,7 @@
 
 name            dbus
 version         1.4.10
+revision        1
 maintainers     mcalhoun openmaintainer
 categories      devel
 platforms       darwin
@@ -41,8 +42,6 @@
                 --with-session-socket-dir=/tmp \
                 --with-test-socket-dir=/tmp
 
-activate.asroot yes
-
 pre-configure {
     # Value must be set in pre-configure because dbus_user may change in variant.
     configure.args-append  --with-dbus-user=${dbus_user}
@@ -153,11 +152,6 @@
     file attributes ${prefix}/var/run/dbus -group ${dbus_group} -owner ${dbus_user}
     file attributes ${prefix}/libexec/dbus-daemon-launch-helper -group ${dbus_group}
     
-    # Change the share directory so other ports can install to it without running as root.
-    if {[geteuid] == 0 && [getuid] != 0 && ${install.user} != 0} {
-        file attributes ${prefix}/share/dbus-1 -owner ${install.user} -group ${install.group}
-    }
-    
     if { ![variant_isset no_startupitem] && ![variant_isset no_root] } {
         file attributes /Library/LaunchAgents/org.freedesktop.dbus-session.plist -owner root -group wheel
         file attributes /Library/LaunchDaemons/[file tail ${plistFl}] -owner root -group wheel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110605/3aca8a8f/attachment-0001.html>


More information about the macports-changes mailing list