[79191] trunk/dports/devel/dbus

Joshua Root jmr at macports.org
Sat Jun 4 14:22:02 PDT 2011


> +activate.asroot yes
> +

Why? Surely this breaks the no_root variant?

> +    # 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}
> +    }

This makes no sense. The euid will never be 0 if the uid isn't, and
install.user is a name, not an id.

- Josh


More information about the macports-dev mailing list