summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMantas Mikulėnas2017-06-26 15:12:46 +0300
committerMantas Mikulėnas2017-06-26 15:12:46 +0300
commitde1e72ace1d145adea6a98b96662301eeed59e05 (patch)
tree5a94ba2fd9c08f577b4a01af5c351e84c85c6ed1
parenta6be53889639bb20592711c0db7593075e9467ca (diff)
downloadaur-de1e72ace1d145adea6a98b96662301eeed59e05.tar.gz
release 0.10.10
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD13
-rw-r--r--cachefilesd.service4
3 files changed, 12 insertions, 15 deletions
diff --git a/.SRCINFO b/.SRCINFO
index bb8c0c03aa2..5a1ad20b351 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Mon Apr 25 04:30:26 UTC 2016
+# Mon Jun 26 12:12:03 UTC 2017
pkgbase = cachefilesd
pkgdesc = Userspace daemon acting as a backend for FS-Cache
- pkgver = 0.10.9
+ pkgver = 0.10.10
pkgrel = 1
url = https://people.redhat.com/~dhowells/fscache/
arch = i686
@@ -10,10 +10,10 @@ pkgbase = cachefilesd
license = GPL
depends = glibc
backup = etc/cachefilesd.conf
- source = https://people.redhat.com/~dhowells/fscache/cachefilesd-0.10.9.tar.bz2
+ source = https://people.redhat.com/~dhowells/fscache/cachefilesd-0.10.10.tar.bz2
source = cachefilesd.service
- sha256sums = c897ec6704615f26de3ddc20ff30a191ce995cb8973d2cde88b4b28c1a1e6bca
- sha256sums = aa889fcbc2ca59aed2be4ef586c3039ceadc6bc5969398a175a77c63ccbe11e0
+ sha256sums = 0d0309851efabd02b7c849f73535b8ad3f831570e83e4f65e42354da18e11a02
+ sha256sums = 29a6110608dda5b13549bdf6975307151643d203455c0fd3f3707272df5850ac
pkgname = cachefilesd
diff --git a/PKGBUILD b/PKGBUILD
index 8cff5dc2ae9..c737bf9a774 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Contributor: Rémy Oudompheng <remy@archlinux.org>
pkgname=cachefilesd
-pkgver=0.10.9
+pkgver=0.10.10
pkgrel=1
pkgdesc="Userspace daemon acting as a backend for FS-Cache"
arch=('i686' 'x86_64')
@@ -11,15 +11,10 @@ license=('GPL')
depends=('glibc')
source=(https://people.redhat.com/~dhowells/fscache/${pkgname}-${pkgver}.tar.bz2
cachefilesd.service)
-sha256sums=('c897ec6704615f26de3ddc20ff30a191ce995cb8973d2cde88b4b28c1a1e6bca'
- 'aa889fcbc2ca59aed2be4ef586c3039ceadc6bc5969398a175a77c63ccbe11e0')
+sha256sums=('0d0309851efabd02b7c849f73535b8ad3f831570e83e4f65e42354da18e11a02'
+ '29a6110608dda5b13549bdf6975307151643d203455c0fd3f3707272df5850ac')
backup=(etc/cachefilesd.conf)
-prepare() {
- cd "$pkgname-$pkgver"
- sed -i "s#/sbin/#/usr/bin/#g" cachefilesd.{c,service}
-}
-
build() {
cd "$pkgname-$pkgver"
make CFLAGS="$CFLAGS"
@@ -28,6 +23,8 @@ build() {
package() {
cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir" SBINDIR=/usr/bin install
+
+ # at least Type=forking provides a ready notification
install -D -m 644 "$srcdir/cachefilesd.service" "$pkgdir/usr/lib/systemd/system/cachefilesd.service"
}
diff --git a/cachefilesd.service b/cachefilesd.service
index e97dfa6a040..5e7ed486a6c 100644
--- a/cachefilesd.service
+++ b/cachefilesd.service
@@ -1,9 +1,9 @@
[Unit]
-Description=CacheFiles Userspace Management Daemon
+Description=Local network file caching management daemon
[Service]
Type=forking
-ExecStartPre=-/usr/bin/modprobe cachefiles
+ExecStartPre=-/usr/bin/modprobe -qab cachefiles
ExecStart=/usr/bin/cachefilesd -f /etc/cachefilesd.conf
[Install]