[arch-commits] Commit in avahi/trunk (PKGBUILD avahi.install)
Jan Steffens
heftig at archlinux.org
Sat Dec 16 02:19:46 UTC 2017
Date: Saturday, December 16, 2017 @ 02:19:45
Author: heftig
Revision: 312951
0.7-2
Modified:
avahi/trunk/PKGBUILD
Deleted:
avahi/trunk/avahi.install
---------------+
PKGBUILD | 9 +++++----
avahi.install | 16 ----------------
2 files changed, 5 insertions(+), 20 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-12-16 00:36:03 UTC (rev 312950)
+++ PKGBUILD 2017-12-16 02:19:45 UTC (rev 312951)
@@ -5,7 +5,7 @@
pkgname=avahi
pkgver=0.7
-pkgrel=1
+pkgrel=2
pkgdesc='Service Discovery for Linux using mDNS/DNS-SD -- compatible with Bonjour'
url='https://github.com/lathiat/avahi'
license=(LGPL)
@@ -12,7 +12,7 @@
arch=(x86_64)
depends=(expat libdaemon glib2 libcap gdbm dbus)
makedepends=(git qt4 pygtk mono intltool gtk-sharp-2 gobject-introspection gtk3
- xmltoman python-dbus python-gobject)
+ xmltoman python-dbus python-gobject doxygen graphviz)
optdepends=('gtk3: avahi-discover, avahi-discover-standalone, bshell, bssh, bvnc'
'gtk2: gtk2 bindings'
'qt4: qt4 bindings'
@@ -22,9 +22,9 @@
'nss-mdns: NSS support for mDNS'
'python-gobject: avahi-discover'
'python-dbus: avahi-discover')
-install=avahi.install
backup=(etc/avahi/{hosts,avahi-daemon.conf}
usr/lib/avahi/service-types.db)
+options=(!emptydirs)
_commit=6242e5f0fe001b7de2ccaa9431db279b2ee76b83 # tags/v0.7
source=("git+https://github.com/lathiat/avahi#commit=$_commit"
0001-avahi-python-Use-the-agnostic-DBM-interface.patch)
@@ -84,5 +84,6 @@
mv "$pkgdir"/etc/avahi/services/{,sftp-}ssh.service \
"$pkgdir/usr/share/doc/$pkgname/"
- rmdir "$pkgdir"/run
+ echo 'u avahi - "Avahi mDNS/DNS-SD daemon"' |
+ install -Dm644 /dev/stdin "$pkgdir/usr/lib/sysusers.d/$pkgname.conf"
}
Deleted: avahi.install
===================================================================
--- avahi.install 2017-12-16 00:36:03 UTC (rev 312950)
+++ avahi.install 2017-12-16 02:19:45 UTC (rev 312951)
@@ -1,16 +0,0 @@
-post_install() {
- if ! getent passwd avahi &>/dev/null; then
- groupadd -r -g 84 avahi
- 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