diff options
Diffstat (limited to 'community/knot/APKBUILD')
-rw-r--r-- | community/knot/APKBUILD | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/community/knot/APKBUILD b/community/knot/APKBUILD index add8197bba..3deda3691b 100644 --- a/community/knot/APKBUILD +++ b/community/knot/APKBUILD @@ -31,7 +31,7 @@ build() { --prefix=/usr \ --sysconfdir=/etc \ --libexecdir=/usr/lib/knot \ - --with-rundir=/var/run/knot \ + --with-rundir=/run/knot \ --with-storage=/var/lib/knot \ --disable-silent-rules \ || return 1 @@ -44,10 +44,9 @@ package() { make DESTDIR="$pkgdir" install || return 1 + rm -Rf "$pkgdir"/run chown $pkgusers:$pkggroups "$pkgdir"/var/lib/$pkgname || return 1 chmod 750 "$pkgdir"/var/lib/$pkgname || return 1 - chown $pkgusers:$pkggroups "$pkgdir"/var/run/$pkgname || return 1 - chmod 750 "$pkgdir"/var/run/$pkgname || return 1 install -Dm 644 "$srcdir"/knotd.confd \ "$pkgdir"/etc/conf.d/knotd || return 1 @@ -57,10 +56,10 @@ package() { md5sums="7ca754f972fb07faa4f30e50d8a4385b knot-2.3.0.tar.xz 66f3111080662280d95bc928d6ca92d5 knotd.confd -e243f6266fa6c84ea664678630896fa1 knotd.initd" +f79e35b48c3afc236cf7a9dc20dc3d11 knotd.initd" sha256sums="8abf9a6562ecf2f7f4222d16ca6c75463399870db360eda7caa40530b469533c knot-2.3.0.tar.xz ff384d428c9e67139ed21b0c78eabf6a26d96f31775f6143ce0c4f9c4f6beaf3 knotd.confd -bb2b3815c180086cfd566250c4ba529efe9650dfec3297ddf923dffa2b15d56c knotd.initd" +da7b93cf442a3ede972d1239b40e2d5f07227e0a2846c2c7286c0f5f343f8284 knotd.initd" sha512sums="28f0f6a00af3feb95ebd9af0c324ffeff1093f8e74136ce81f5a6e7f4434f22b9e371715b4b116de9b8faf39776be4d943c2ae09fb786e6061cc0394a767e8b6 knot-2.3.0.tar.xz 471d3c639a8235ba09491c99d36c0a4f1074d6055ccfd3807be02a30d3ed5bbe69a84f0414ea7810db6bbc1e38f5837108e5744fc59f949ed78a262a7de4597e knotd.confd -c7ca9ec5dcbf9cf99a3805c7ca040fb43f65945a9ec689d2ee8ead1314f17ecb51147ca2c496ca9289c48a78b71dd2e3d8066c855c42ba8c2fe6d425518f2203 knotd.initd" +979f06a83dd4326920a682f8190319577faf904e0e379b3c55e0420eb43dcb55d86c6727015634fa0c2dff1dddac43bbd5a216ff04f217ad91d670eb899dbefa knotd.initd" |