aboutsummaryrefslogtreecommitdiffstats
path: root/testing/knot
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2014-10-22 11:07:05 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2014-10-22 11:07:12 +0000
commita8bb3b8d8aba20284b7749231d198907e07c817e (patch)
treebc87d00e4ef3c22d367f01e692e72e67b06498e0 /testing/knot
parent214e9e9be559b45ad31bae6799bfa9d2062e87c9 (diff)
downloadaports-a8bb3b8d8aba20284b7749231d198907e07c817e.tar.bz2
aports-a8bb3b8d8aba20284b7749231d198907e07c817e.tar.xz
testing/knot: fixed typo (again) in post-install. Added knot group in pre-install.
Diffstat (limited to 'testing/knot')
-rw-r--r--testing/knot/APKBUILD10
-rw-r--r--testing/knot/knot.post-install2
-rw-r--r--testing/knot/knot.pre-install1
3 files changed, 8 insertions, 5 deletions
diff --git a/testing/knot/APKBUILD b/testing/knot/APKBUILD
index 3a652a5947..51a59f17be 100644
--- a/testing/knot/APKBUILD
+++ b/testing/knot/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=knot
pkgver=1.5.3
-pkgrel=1
+pkgrel=2
pkgdesc="An high-performance authoritative-only DNS server"
url="https://www.knot-dns.cz"
arch="all"
@@ -52,16 +52,18 @@ package() {
install -Dm 644 "${srcdir}/knot.confd" "${pkgdir}/etc/conf.d/knot"
install -Dm 755 "${srcdir}/knot.initd" "${pkgdir}/etc/init.d/knot"
chown $pkgusers:$pkggroups "${pkgdir}"/var/lib/$pkgname
+ chmod 750 "${pkgdir}"/var/lib/$pkgname
chown $pkgusers:$pkggroups "${pkgdir}"/var/run/$pkgname
+ chmod 750 "${pkgdir}"/var/run/$pkgname
rm -f "$pkgdir"/usr/lib/*.la
}
md5sums="dff8d562f7ab4541c8094155170bdcce knot-1.5.3.tar.xz
5fb8fd53d39fc6ddc1e0982c75dc2d7e knot.confd
-36263b9cdb8664cba6325c7dd85c79a0 knot.initd"
+c611eb01afb1df7c08f7a93f981419ea knot.initd"
sha256sums="defc5da9920d755354f6233e099d619424371fe03e78ff7b520f2fbad0ba70ec knot-1.5.3.tar.xz
3f539ffd67cbcda1ef9e7acb68a2a3f1c3443ad9b5af14d2f96ccd74b0cd585a knot.confd
-946df3e80355b2dd488fd072d4fe8e85e63db75d9a23c6dd3bb3fead9070532d knot.initd"
+710e0e71e5b8b774fb24e40c7b319741d25f02a8a0ff7b279893ca08781fc7de knot.initd"
sha512sums="c7fd280d701e529964bd00e1f4de2129d28774c76864a67a64880e29f43ac403d1a863e865adacd1db5d7a3736e3762ce8449926892c3a21a2e5d042bce682e2 knot-1.5.3.tar.xz
298bc9ae612de56f2a0b629f9241b42f7086f45964dbd7ee3ecb503ec5cc9ae83ff21fccc522bb022ffdbe16997a1b2b1273cf56cac4dfecfdb2fe26a42b9f78 knot.confd
-633724a7dee5f856895a5af7e3a2f4313feca4413ad75530b825b1e94dda6542f3eb0bee1442d465edd62420aba6c341738a84c88997a131cf39ba22a7c4609f knot.initd"
+87d73193c0778fed9523f6af386000244bae3a2187d531dca31841db694ff7d914e1fd5839d1bf30c0bbd5ea0e4fa0105b81a2edbfded782d8441aa13423190f knot.initd"
diff --git a/testing/knot/knot.post-install b/testing/knot/knot.post-install
index 74d367a035..fea7dac735 100644
--- a/testing/knot/knot.post-install
+++ b/testing/knot/knot.post-install
@@ -3,7 +3,7 @@
echo "*" >&2
echo "* Before running knot, you must create a knot.conf file." >&2
echo "* There is an example into /etc/knot directory. " >&2
-echo "* You can rename the example file and make the necessary adjustment. >&2
+echo "* You can rename the example file and make the necessary adjustment." >&2
echo "*" >&2
exit 0
diff --git a/testing/knot/knot.pre-install b/testing/knot/knot.pre-install
index bc93e098ec..9f270a34d2 100644
--- a/testing/knot/knot.pre-install
+++ b/testing/knot/knot.pre-install
@@ -1,3 +1,4 @@
#!/bin/sh
+addgroup knot 2>/dev/null
adduser -H -s /sbin/nologin -S -D knot -G knot 2>/dev/null
exit 0