[117358] trunk/dports/net/avahi/Portfile
Revision: 117358 https://trac.macports.org/changeset/117358 Author: cal@macports.org Date: 2014-02-23 15:16:57 -0800 (Sun, 23 Feb 2014) Log Message: ----------- avahi: switch to add_users, avoid warning during dbus start because of nonexistant group Modified Paths: -------------- trunk/dports/net/avahi/Portfile Modified: trunk/dports/net/avahi/Portfile =================================================================== --- trunk/dports/net/avahi/Portfile 2014-02-23 22:40:20 UTC (rev 117357) +++ trunk/dports/net/avahi/Portfile 2014-02-23 23:16:57 UTC (rev 117358) @@ -6,7 +6,7 @@ name avahi version 0.6.31 -revision 11 +revision 12 categories net devel maintainers pixilla openmaintainer license LGPL-2.1+ @@ -58,6 +58,8 @@ port:gobject-introspection \ port:libdaemon +set avahiuser avahi + configure.args --disable-autoipd \ --disable-qt3 \ --disable-qt4 \ @@ -70,7 +72,8 @@ --enable-introspection \ --disable-gtk \ --disable-pygtk \ - --disable-tests + --disable-tests \ + --with-avahi-priv-access-group=${avahiuser} # gobject-introspection uses g-ir-scanner, which uses $CC from env build.args-append CC="${configure.cc} ${configure.cc_archflags}" @@ -96,10 +99,7 @@ } } -pre-activate { - addgroup avahi - adduser avahi gid=[existsgroup avahi] realname=Avahi Service -} +add_users ${avahiuser} group=${avahiuser} realname=Avahi\ Service post-activate { if {[file exists /System/Library/LaunchDaemons/org.freedesktop.avahi-dnsconfd.plist]} {
participants (1)
-
cal@macports.org