diff options
author | Dennis Przytarski <dennis@przytarski.com> | 2015-08-17 09:26:25 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2015-08-17 11:37:02 +0000 |
commit | dc81d983c997d23209da136877b18b13f724ef26 (patch) | |
tree | a9cb1a8b4dc0dbc171439099dc179abd9513e035 /testing/knot/APKBUILD | |
parent | fde59d53df8108f15fb9109ab5bbdf81eeace183 (diff) | |
download | aports-dc81d983c997d23209da136877b18b13f724ef26.tar.bz2 aports-dc81d983c997d23209da136877b18b13f724ef26.tar.xz |
testing/knot: added dnssec timestamps patch + cleanup
added dnssec timestamps patch
named service after the corresponding binary
simplified scripts
Diffstat (limited to 'testing/knot/APKBUILD')
-rw-r--r-- | testing/knot/APKBUILD | 36 |
1 files changed, 21 insertions, 15 deletions
diff --git a/testing/knot/APKBUILD b/testing/knot/APKBUILD index 2acbb5e32e..47b174616e 100644 --- a/testing/knot/APKBUILD +++ b/testing/knot/APKBUILD @@ -3,7 +3,7 @@ # Maintainer: Francesco Colista <fcolista@alpinelinux.org> pkgname=knot pkgver=2.0.0 -pkgrel=0 +pkgrel=1 pkgdesc="An high-performance authoritative-only DNS server" url="https://www.knot-dns.cz" arch="all" @@ -17,8 +17,9 @@ pkgusers="knot" pkggroups="knot" subpackages="$pkgname-dev $pkgname-doc" source="https://secure.nic.cz/files/knot-dns/${pkgname}-${pkgver}.tar.xz - knot.confd - knot.initd" + knotd.confd + knotd.initd + dnssec-timestamps.patch" _builddir="$srcdir"/$pkgname-$pkgver prepare() { @@ -33,6 +34,7 @@ prepare() { build() { cd "$_builddir" + autoreconf -if ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -41,16 +43,17 @@ build() { --libexecdir=/usr/lib/knot \ --with-rundir=/var/run/knot \ --with-storage=/var/lib/knot \ - --disable-silent-rules - make - make check + --disable-silent-rules \ + || return 1 + make || return 1 + make check || return 1 } package() { cd "$_builddir" - make DESTDIR="${pkgdir}" install - install -Dm 644 "${srcdir}/knot.confd" "${pkgdir}/etc/conf.d/knot" - install -Dm 755 "${srcdir}/knot.initd" "${pkgdir}/etc/init.d/knot" + make DESTDIR="${pkgdir}" install || return 1 + install -Dm 644 "${srcdir}/knotd.confd" "${pkgdir}/etc/conf.d/knotd" + install -Dm 755 "${srcdir}/knotd.initd" "${pkgdir}/etc/init.d/knotd" chown $pkgusers:$pkggroups "${pkgdir}"/var/lib/$pkgname chmod 750 "${pkgdir}"/var/lib/$pkgname chown $pkgusers:$pkggroups "${pkgdir}"/var/run/$pkgname @@ -59,11 +62,14 @@ package() { } md5sums="5d74b864640c32af3e125995a560fb38 knot-2.0.0.tar.xz -5fb8fd53d39fc6ddc1e0982c75dc2d7e knot.confd -add687db820d7a1389e557db811e36b9 knot.initd" +66f3111080662280d95bc928d6ca92d5 knotd.confd +5bdbc22866a28caae068e65d53916915 knotd.initd +9f43e63b3aa28e89ae6dc76a9c271bba dnssec-timestamps.patch" sha256sums="28b2277647f618ea7edba741fd6685a8b1fc17d3a178b48f4ca7f2a43359998f knot-2.0.0.tar.xz -3f539ffd67cbcda1ef9e7acb68a2a3f1c3443ad9b5af14d2f96ccd74b0cd585a knot.confd -0d8014cf9f93ddfc882259a69b8fa5d016b736634e9bc19a8649c93894e56304 knot.initd" +ff384d428c9e67139ed21b0c78eabf6a26d96f31775f6143ce0c4f9c4f6beaf3 knotd.confd +c7690f1c4f748f436faa9e305ecbbb3d05e5cc50493eb10ca92bc73365578428 knotd.initd +dc5f77bfba14a5d3c49a962fa3ae0b8db8422c97e09c53c253acba2ead6dfcdb dnssec-timestamps.patch" sha512sums="52482132759294a41ad91c2f4f13ee985b79776f7f90a02e79ed96f2a1925872c5c6dc38f04a96144b4b21994d336850b718f2c834f09d03f3049a75dc5b1a5d knot-2.0.0.tar.xz -298bc9ae612de56f2a0b629f9241b42f7086f45964dbd7ee3ecb503ec5cc9ae83ff21fccc522bb022ffdbe16997a1b2b1273cf56cac4dfecfdb2fe26a42b9f78 knot.confd -1648084a3872ae46f921aaa9b61620336b973adda1ef263aef89bcc1367aa8251e991f8a5e13c468cec63b82b73d9a9a452c68cc4e305e4a5768c3b80484f090 knot.initd" +471d3c639a8235ba09491c99d36c0a4f1074d6055ccfd3807be02a30d3ed5bbe69a84f0414ea7810db6bbc1e38f5837108e5744fc59f949ed78a262a7de4597e knotd.confd +b6cd5b52ba65f9726164b21003fe0a0fc54f4f51aa7bbbcfd5b83aa4466e5224567a26c9c8ede13ac6a8090706e975e3220456112b20eb45304c9d92be7fb3d3 knotd.initd +c00fdd36930261f86db7ef71c32e1ba310bff2fdc6f797c8bcc8b91dbfe1576e0802915d18ee76e1ce707e48a0bae473b79d478914aa4102d916689459491003 dnssec-timestamps.patch" |