aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-08-25 07:52:52 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-08-25 07:55:48 +0000
commitbe96b6bf8a3c73b9972a3a5bedf15b303ac05d93 (patch)
tree8ba945b5d77a348821f7599de76d4a802368bef3
parent3f23a4137b928c5ea363afd39af52af49eacb5ce (diff)
downloadaports-be96b6bf8a3c73b9972a3a5bedf15b303ac05d93.tar.bz2
aports-be96b6bf8a3c73b9972a3a5bedf15b303ac05d93.tar.xz
community/cachefilesd: moved from testing, upgrade to 0.10.9
-rw-r--r--community/cachefilesd/APKBUILD (renamed from testing/cachefilesd/APKBUILD)29
-rw-r--r--community/cachefilesd/cachefilesd.initd (renamed from testing/cachefilesd/cachefilesd.initd)0
2 files changed, 10 insertions, 19 deletions
diff --git a/testing/cachefilesd/APKBUILD b/community/cachefilesd/APKBUILD
index c9d081fe9c..3dd568198a 100644
--- a/testing/cachefilesd/APKBUILD
+++ b/community/cachefilesd/APKBUILD
@@ -1,47 +1,38 @@
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=cachefilesd
-pkgver=0.10
+pkgver=0.10.9
pkgrel=0
pkgdesc="Userspace daemon acting as a backend for FS-Cache"
url="http://people.redhat.com/~dhowells/fscache/"
arch="all"
license="GPL"
depends="attr"
-depends_dev=""
-makedepends="$depends_dev rpm"
+makedepends="rpm file"
install=""
subpackages="$pkgname-doc"
source="http://people.redhat.com/~dhowells/cachefs/$pkgname-$pkgver.tar
$pkgname.initd"
-_builddir="$srcdir"/$pkgname-$pkgver
-prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
+builddir="$srcdir"/$pkgname-$pkgver
build() {
- cd "$_builddir"
- sed -i "s#/sbin/#/usr/bin/#g" cachefilesd.{c,service}
+ cd "$builddir"
+ sed -i "s#/sbin/#/usr/bin/#g" cachefilesd.c
+ sed -i "s#/sbin/#/usr/bin/#g" cachefilesd.service
make CFLAGS="$CFLAGS"
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" SBINDIR=/usr/bin install
mkdir -p "$pkgdir"/var/cache/fscache
install -D -m 755 "$srcdir/$pkgname.initd" "$pkgdir/etc/init.d/$pkgname"
}
-md5sums="ba27ed4b5e8165c46175501bf703ac08 cachefilesd-0.10.tar
+md5sums="156a215c8f82dd65f6745a38474bdb02 cachefilesd-0.10.9.tar
169c25fecb2c64e531e00daa90fb24ba cachefilesd.initd"
-sha256sums="ec1c2311aeeeb9246549d7efdc6ad464d3eda768d1883a22ecf40c2ea2354fd7 cachefilesd-0.10.tar
+sha256sums="c897ec6704615f26de3ddc20ff30a191ce995cb8973d2cde88b4b28c1a1e6bca cachefilesd-0.10.9.tar
cb4e68f31cd97c07850634fefa23f4169dc937c6a8864f507e90ac183b640213 cachefilesd.initd"
-sha512sums="2988f9ba7ed5dcefee689801fa6ba0d966fb98560aa33ce67c5f182e14505f0c7350f70b81d5969009c121c20caa59ca86993d9fe661ef251f18f47725710522 cachefilesd-0.10.tar
+sha512sums="06ab444a7df8ec37c15bc03554510f4acbb453e0730277f036abc5d61f9e377d90d9387dd5237ea481b95b1bf097b5992adce90ce971fe29760cc4c0d3c9cf34 cachefilesd-0.10.9.tar
854b66470ace24caf24e979de3c1c12a426972bc745823b3a0f47ac80811ac5da4fa6a249e65386acdec2e7561178bb1d2c4b301a2178458f10496bb8eac5b2f cachefilesd.initd"
diff --git a/testing/cachefilesd/cachefilesd.initd b/community/cachefilesd/cachefilesd.initd
index 589faa7d57..589faa7d57 100644
--- a/testing/cachefilesd/cachefilesd.initd
+++ b/community/cachefilesd/cachefilesd.initd