Modified: trunk/dports/net/avahi/Portfile (117357 => 117358)
--- 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]} {