summaryrefslogtreecommitdiffstats
path: root/extra/avahi
diff options
context:
space:
mode:
Diffstat (limited to 'extra/avahi')
-rw-r--r--extra/avahi/Pkgfile9
1 files changed, 7 insertions, 2 deletions
diff --git a/extra/avahi/Pkgfile b/extra/avahi/Pkgfile
index 171e0306d..38ff98b16 100644
--- a/extra/avahi/Pkgfile
+++ b/extra/avahi/Pkgfile
@@ -7,7 +7,7 @@
name=avahi
version=0.6.25
-release=2
+release=3
source=(http://www.avahi.org/download/avahi-$version.tar.gz\
network-wired.png)
@@ -26,9 +26,14 @@ build() {
--with-distro=none \
--disable-gdbm \
--disable-mono \
- --enable-autoipd
+ --with-avahi-priv-access-group=network \
+ --enable-autoipd \
+ --with-autoipd-user=avahi \
+ --with-autoipd-group=avahi
make
make DESTDIR=$PKG install
+ sed -i -e 's/netdev/network/g' \
+ $PKG/etc/dbus-1/system.d/avahi-dbus.conf
mkdir -v -p $PKG/usr/share/pixmaps
install -m 644 ../network-wired.png \
$PKG/usr/share/pixmaps/network-wired.png