summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--extra/avahi-server/.footprint8
-rw-r--r--extra/avahi-server/.md5sum2
-rw-r--r--extra/avahi-server/Pkgfile42
3 files changed, 33 insertions, 19 deletions
diff --git a/extra/avahi-server/.footprint b/extra/avahi-server/.footprint
index a3f4ce204..a15fa3e87 100644
--- a/extra/avahi-server/.footprint
+++ b/extra/avahi-server/.footprint
@@ -9,6 +9,7 @@ drwxr-xr-x root/root etc/avahi/services/
-rw-r--r-- root/root etc/avahi/services/ssh.service
drwxr-xr-x root/root etc/rc.d/
drwxr-xr-x root/root etc/rc.d/init.d/
+-rwxr-xr-x root/root etc/rc.d/init.d/avahi
-rwxr-xr-x root/root etc/rc.d/init.d/avahid
drwxr-xr-x root/root etc/rc.d/rc0.d/
lrwxrwxrwx root/root etc/rc.d/rc0.d/K13avahid -> ../init.d/avahid
@@ -22,12 +23,19 @@ drwxr-xr-x root/root etc/rc.d/rc5.d/
lrwxrwxrwx root/root etc/rc.d/rc5.d/S43avahid -> ../init.d/avahid
drwxr-xr-x root/root etc/rc.d/rc6.d/
lrwxrwxrwx root/root etc/rc.d/rc6.d/K13avahid -> ../init.d/avahid
+drwxr-xr-x root/root lib/
+drwxr-xr-x root/root lib/systemd/
+drwxr-xr-x root/root lib/systemd/system/
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/sbin/
-rwxr-xr-x root/root usr/sbin/avahi-autoipd
-rwxr-xr-x root/root usr/sbin/avahi-daemon
-rwxr-xr-x root/root usr/sbin/avahi-dnsconfd
drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/dbus-1/
+drwxr-xr-x root/root usr/share/dbus-1/interfaces/
+drwxr-xr-x root/root usr/share/dbus-1/system-services/
+drwxr-xr-x root/root usr/share/gir-1.0/
drwxr-xr-x root/root usr/share/man/
drwxr-xr-x root/root usr/share/man/man8/
-rw-r--r-- root/root usr/share/man/man8/avahi-autoipd.8.gz
diff --git a/extra/avahi-server/.md5sum b/extra/avahi-server/.md5sum
index 6ce47b894..b9db877b9 100644
--- a/extra/avahi-server/.md5sum
+++ b/extra/avahi-server/.md5sum
@@ -1,3 +1,3 @@
-a83155a6e29e3988f07e5eea3287b21e avahi-0.6.25.tar.gz
+d0143a5aa3265019072e53ab497818d0 avahi-0.6.28.tar.gz
09877d8619de924d02bc018bcef21150 avahid
42c2905307c7a5dc6ac4b75f4c3d65a3 network-wired.png
diff --git a/extra/avahi-server/Pkgfile b/extra/avahi-server/Pkgfile
index d26642b7b..2e5216ed1 100644
--- a/extra/avahi-server/Pkgfile
+++ b/extra/avahi-server/Pkgfile
@@ -2,32 +2,35 @@
# URL: http://www.avahi.org/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
-# Depends on: avahi
+# Depends on: avahi, qt, gtk
# Run on: avahi
-
name=avahi-server
-version=0.6.25
+version=0.6.28
release=1
source=(http://www.avahi.org/download/avahi-$version.tar.gz\
avahid network-wired.png)
build() {
cd avahi-$version
- ./configure --prefix=/usr \
- --sysconfdir=/etc \
- --localstatedir=/var/lib \
- --disable-qt3 \
- --disable-qt4 \
- --disable-monodoc \
- --disable-doxygen-doc \
- --disable-xmltoman \
- --enable-compat-libdns_sd \
- --enable-compat-howl \
- --with-distro=none \
- --disable-gdbm \
- --disable-mono \
- --enable-autoipd
+ PYTHON=python2 ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var/lib \
+ --disable-gtk3 \
+ --disable-qt3 \
+ --disable-monodoc \
+ --disable-doxygen-doc \
+ --disable-xmltoman \
+ --disable-mono \
+ --enable-compat-libdns_sd \
+ --enable-compat-howl \
+ --with-distro=lfs \
+ --with-avahi-priv-access-group=network \
+ --with-autoipd-user=avahi \
+ --with-autoipd-group=avahi \
+ --with-systemdsystemunitdir=/lib/systemd/system \
+ --enable-autoipd
make
make DESTDIR=$PKG install
mkdir -v -p $PKG/etc/rc.d/init.d
@@ -41,6 +44,9 @@ build() {
ln -svf ../init.d/avahid $PKG/etc/rc.d/rc1.d/K13avahid
ln -svf ../init.d/avahid $PKG/etc/rc.d/rc6.d/K13avahid
rm -r $PKG/{etc/dbus-1,usr/{include,bin,lib,share/{avahi,locale,applications,man/man{1,5}}}}
-
+ rm $PKG/lib/systemd/system/avahi-*
+ rm $PKG/usr/share/dbus-1/interfaces/org.freedesktop.Avahi.*
+ rm $PKG/usr/share/dbus-1/system-services/org.freedesktop.Avahi.service
+ rm $PKG/usr/share/gir-1.0/Avahi*
}