mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 19:55:26 +03:00
Move package from testing to community. No code changes appear to be necessary to support the new fscache code in linux 5.18.
35 lines
1.3 KiB
Text
35 lines
1.3 KiB
Text
# Contributor: Jake Buchholz Göktürk <tomalok@gmail.com>
|
|
# Maintainer: Jake Buchholz Göktürk <tomalok@gmail.com>
|
|
pkgname=cachefilesd-inotify
|
|
pkgver=0.11.0
|
|
pkgrel=0
|
|
pkgdesc="Userspace daemon acting as a backend for FS-Cache (uses INOTIFY instead of DNOTIFY)"
|
|
url="https://gitlab.com/tomalok/cachefilesd-inotify"
|
|
arch="all"
|
|
license="GPL-2.0-or-later"
|
|
depends="attr"
|
|
makedepends="rpm file"
|
|
provides="cachefilesd=$pkgver-r$pkgrel"
|
|
replaces="cachefilesd"
|
|
options="!check"
|
|
subpackages="$pkgname-doc $pkgname-openrc"
|
|
source="https://gitlab.com/tomalok/cachefilesd-inotify/-/archive/$pkgver/$pkgname-$pkgver.tar.bz2
|
|
cachefilesd.initd"
|
|
|
|
build() {
|
|
sed -i "s#/sbin/#/usr/bin/#g" cachefilesd.c
|
|
sed -i "s#/sbin/#/usr/bin/#g" cachefilesd.service
|
|
sed -i "s/^secctx/#secctx/g" cachefilesd.conf
|
|
make CFLAGS="$CFLAGS"
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" SBINDIR=/usr/bin install
|
|
mkdir -p "$pkgdir"/var/cache/fscache
|
|
install -D -m 755 "$srcdir/cachefilesd.initd" "$pkgdir/etc/init.d/cachefilesd"
|
|
}
|
|
|
|
sha512sums="
|
|
f283d0d2357da648515225a5162b53a4603fc466d291a68c4833a39ce1aed2784f9734a23ebcb47d1efbea0d3659733f9c1d8a0137e6e98281e6f4085328d049 cachefilesd-inotify-0.11.0.tar.bz2
|
|
854b66470ace24caf24e979de3c1c12a426972bc745823b3a0f47ac80811ac5da4fa6a249e65386acdec2e7561178bb1d2c4b301a2178458f10496bb8eac5b2f cachefilesd.initd
|
|
"
|