aboutsummaryrefslogtreecommitdiff
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
parent214e9e9be559b45ad31bae6799bfa9d2062e87c9 (diff)
downloadalpine_aports-a8bb3b8d8aba20284b7749231d198907e07c817e.tar.bz2
alpine_aports-a8bb3b8d8aba20284b7749231d198907e07c817e.tar.xz
alpine_aports-a8bb3b8d8aba20284b7749231d198907e07c817e.zip
testing/knot: fixed typo (again) in post-install. Added knot group in pre-install.
-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 @@
2# Maintainer: Francesco Colista <fcolista@alpinelinux.org> 2# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
3pkgname=knot 3pkgname=knot
4pkgver=1.5.3 4pkgver=1.5.3
5pkgrel=1 5pkgrel=2
6pkgdesc="An high-performance authoritative-only DNS server" 6pkgdesc="An high-performance authoritative-only DNS server"
7url="https://www.knot-dns.cz" 7url="https://www.knot-dns.cz"
8arch="all" 8arch="all"
@@ -52,16 +52,18 @@ package() {
52 install -Dm 644 "${srcdir}/knot.confd" "${pkgdir}/etc/conf.d/knot" 52 install -Dm 644 "${srcdir}/knot.confd" "${pkgdir}/etc/conf.d/knot"
53 install -Dm 755 "${srcdir}/knot.initd" "${pkgdir}/etc/init.d/knot" 53 install -Dm 755 "${srcdir}/knot.initd" "${pkgdir}/etc/init.d/knot"
54 chown $pkgusers:$pkggroups "${pkgdir}"/var/lib/$pkgname 54 chown $pkgusers:$pkggroups "${pkgdir}"/var/lib/$pkgname
55 chmod 750 "${pkgdir}"/var/lib/$pkgname
55 chown $pkgusers:$pkggroups "${pkgdir}"/var/run/$pkgname 56 chown $pkgusers:$pkggroups "${pkgdir}"/var/run/$pkgname
57 chmod 750 "${pkgdir}"/var/run/$pkgname
56 rm -f "$pkgdir"/usr/lib/*.la 58 rm -f "$pkgdir"/usr/lib/*.la
57} 59}
58 60
59md5sums="dff8d562f7ab4541c8094155170bdcce knot-1.5.3.tar.xz 61md5sums="dff8d562f7ab4541c8094155170bdcce knot-1.5.3.tar.xz
605fb8fd53d39fc6ddc1e0982c75dc2d7e knot.confd 625fb8fd53d39fc6ddc1e0982c75dc2d7e knot.confd
6136263b9cdb8664cba6325c7dd85c79a0 knot.initd" 63c611eb01afb1df7c08f7a93f981419ea knot.initd"
62sha256sums="defc5da9920d755354f6233e099d619424371fe03e78ff7b520f2fbad0ba70ec knot-1.5.3.tar.xz 64sha256sums="defc5da9920d755354f6233e099d619424371fe03e78ff7b520f2fbad0ba70ec knot-1.5.3.tar.xz
633f539ffd67cbcda1ef9e7acb68a2a3f1c3443ad9b5af14d2f96ccd74b0cd585a knot.confd 653f539ffd67cbcda1ef9e7acb68a2a3f1c3443ad9b5af14d2f96ccd74b0cd585a knot.confd
64946df3e80355b2dd488fd072d4fe8e85e63db75d9a23c6dd3bb3fead9070532d knot.initd" 66710e0e71e5b8b774fb24e40c7b319741d25f02a8a0ff7b279893ca08781fc7de knot.initd"
65sha512sums="c7fd280d701e529964bd00e1f4de2129d28774c76864a67a64880e29f43ac403d1a863e865adacd1db5d7a3736e3762ce8449926892c3a21a2e5d042bce682e2 knot-1.5.3.tar.xz 67sha512sums="c7fd280d701e529964bd00e1f4de2129d28774c76864a67a64880e29f43ac403d1a863e865adacd1db5d7a3736e3762ce8449926892c3a21a2e5d042bce682e2 knot-1.5.3.tar.xz
66298bc9ae612de56f2a0b629f9241b42f7086f45964dbd7ee3ecb503ec5cc9ae83ff21fccc522bb022ffdbe16997a1b2b1273cf56cac4dfecfdb2fe26a42b9f78 knot.confd 68298bc9ae612de56f2a0b629f9241b42f7086f45964dbd7ee3ecb503ec5cc9ae83ff21fccc522bb022ffdbe16997a1b2b1273cf56cac4dfecfdb2fe26a42b9f78 knot.confd
67633724a7dee5f856895a5af7e3a2f4313feca4413ad75530b825b1e94dda6542f3eb0bee1442d465edd62420aba6c341738a84c88997a131cf39ba22a7c4609f knot.initd" 6987d73193c0778fed9523f6af386000244bae3a2187d531dca31841db694ff7d914e1fd5839d1bf30c0bbd5ea0e4fa0105b81a2edbfded782d8441aa13423190f 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 @@
3echo "*" >&2 3echo "*" >&2
4echo "* Before running knot, you must create a knot.conf file." >&2 4echo "* Before running knot, you must create a knot.conf file." >&2
5echo "* There is an example into /etc/knot directory. " >&2 5echo "* There is an example into /etc/knot directory. " >&2
6echo "* You can rename the example file and make the necessary adjustment. >&2 6echo "* You can rename the example file and make the necessary adjustment." >&2
7echo "*" >&2 7echo "*" >&2
8 8
9exit 0 9exit 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 @@
1#!/bin/sh 1#!/bin/sh
2addgroup knot 2>/dev/null
2adduser -H -s /sbin/nologin -S -D knot -G knot 2>/dev/null 3adduser -H -s /sbin/nologin -S -D knot -G knot 2>/dev/null
3exit 0 4exit 0