[arch-commits] Commit in avahi/trunk (PKGBUILD avahi.install)

Jan Steffens heftig at archlinux.org
Tue Oct 20 20:13:01 UTC 2015


    Date: Tuesday, October 20, 2015 @ 22:13:01
  Author: heftig
Revision: 249580

0.6.32rc

Modified:
  avahi/trunk/PKGBUILD
  avahi/trunk/avahi.install

---------------+
 PKGBUILD      |    9 +++------
 avahi.install |   10 ++++++++++
 2 files changed, 13 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-10-20 20:01:47 UTC (rev 249579)
+++ PKGBUILD	2015-10-20 20:13:01 UTC (rev 249580)
@@ -4,9 +4,9 @@
 # Contributor: Douglas Soares de Andrade <douglas at archlinux.org>
 
 pkgname=avahi
-pkgver=0.6.31
-pkgrel=17
-_commit=573e3b5
+pkgver=0.6.32rc
+pkgrel=1
+_commit=bc4e85846991d0efca89add631c7cd16033f0bef
 pkgdesc='Multicast DNS-SD / Zeroconf Suite'
 #url='http://www.avahi.org/'
 url='http://git.0pointer.net/avahi.git'
@@ -75,7 +75,4 @@
 
   # mdnsresponder compat
   ln -s avahi-compat-libdns_sd/dns_sd.h "$pkgdir/usr/include/dns_sd.h"
-
-  # see FS#42638
-  ln -s avahi-daemon.service "$pkgdir/usr/lib/systemd/system/dbus-org.freedesktop.Avahi.service"
 }

Modified: avahi.install
===================================================================
--- avahi.install	2015-10-20 20:01:47 UTC (rev 249579)
+++ avahi.install	2015-10-20 20:13:01 UTC (rev 249580)
@@ -4,3 +4,13 @@
     useradd -r -u 84 -g avahi -d / -s /bin/nologin -c avahi avahi
   fi
 }
+
+post_upgrade() {
+  if (( $(vercmp $2 0.6.32rc-1) < 0 )); then
+    cat <<MSG
+>>> Avahi now needs to be enabled in order to launch.
+    Run \`systemctl enable avahi-daemon\` if you wish
+    to make use of Avahi.
+MSG
+  fi
+}



More information about the arch-commits mailing list