summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorEric Anderson2018-03-01 07:46:10 -0800
committerEric Anderson2018-03-01 07:46:10 -0800
commit98d647cb6a1101df86f23c45808771be0165dfd2 (patch)
tree1998b29a76d3ee11cf7df37359ea61aa030abc2a /PKGBUILD
parent52c5480cb8a7f1f00980549af57b4607cfabbe74 (diff)
downloadaur-98d647cb6a1101df86f23c45808771be0165dfd2.tar.gz
Add service dep on avahi-daemon
When dbus activation is working the After=avahi-daemon should not be necessary. However, it appears that dbus activation is only correctly configured when avahi-daemon is enabled as that's when the appropriate symlink is created. It would fail with: Activation via systemd failed for unit 'dbus-org.freedesktop.Avahi.service': Unit dbus-org.freedesktop.Avahi.service not found. While Requires=avahi-daemon needs to be present for the same reason as After=, pkgdistcache-daemon does not currently notice if avahi-daemon is restarted. When Avahi restarts it forgets the previous publishes. So I work around that by having pkgdistcached restart when avahi-daemon restarts via Requires=. While I could make pkgdistcache-daemon notice the restart, it doesn't gain us anything because of the dbus activation issue.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index e0cf4967b362..f4ff2ca82c3b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=pkgdistcache
pkgver=0.5.0
-pkgrel=1
+pkgrel=2
pkgdesc='A distributed local-network cache for pacman packages'
arch=('any')
url='http://venator.ath.cx/dw/doku.php?id=linux:pkgdistcache'
@@ -17,7 +17,7 @@ source=('pkgdistcache-client'
sha256sums=('bef0809d86e151a4551a122b29f4c90d2f06ab34459a8ff91a37a29a6fd2a3f7'
'10379b95265e7aa3c6334197ef255327281e35b958c3c062ae893dd3a646a66e'
'5628cf4d81adaf7a3dd7243f51af1a30fff73a31b421615a7c0051280618f457'
- 'b5fb3b3d40b31af92a1676364dfc42a35f564067988697ea4d56fd71b4b414e3')
+ 'b98bccb089bc0025b0f9b4b949b691e5564b0e40778a263a5bb6ffa5f01d04a2')
package() {
install -d "${pkgdir}/usr/bin/"