Date: Thursday, May 6, 2021 @ 02:02:01 Author: daurnimator Revision: 928346
archrelease: copy trunk to community-x86_64 Added: knot-resolver/repos/community-x86_64/PKGBUILD (from rev 928345, knot-resolver/trunk/PKGBUILD) Deleted: knot-resolver/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 120 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 60 insertions(+), 60 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-05-06 02:01:47 UTC (rev 928345) +++ PKGBUILD 2021-05-06 02:02:01 UTC (rev 928346) @@ -1,60 +0,0 @@ -# Maintainer: Daurnimator <daurnima...@archlinux.org> -# Contributor: Tomas Krizek <tomas.kri...@nic.cz> -# Contributor: Ondřej Surý <ond...@sury.org> - -pkgname=knot-resolver -pkgver=5.3.1 -pkgrel=1 -pkgdesc='Caching DNSSEC-validating DNS resolver' -arch=('x86_64') -url='https://www.knot-resolver.cz/' -license=('GPL3') -depends=( - 'dnssec-anchors' - 'gnutls' - 'knot' - 'libedit' - 'libuv' - 'lmdb' - 'luajit' - 'libcap-ng' - 'libnghttp2' - 'systemd-libs' -) -makedepends=( - 'cmocka' - 'meson' -) -optdepends=( - 'lua51-basexx: experimental_dot_auth module' - 'lua51-cqueues: http and dns64 module, policy.rpz() function' - # TODO: 'lua51-etcd: etcd module' - 'lua51-http: http and prefill modules, trust_anchors bootstrap' - 'lua51-psl: policy.slice_randomize_psl() function' -) -backup=('etc/knot-resolver/kresd.conf') -source=("https://secure.nic.cz/files/${pkgname}/${pkgname}-${pkgver}.tar.xz") -sha256sums=('9d4d6b7bcdf114acc948e5ee68c83fcbb3944f48a13b9751dbbbc190cdd729c9') - -build() { - cd "${pkgname}-${pkgver}" - arch-meson build \ - -D keyfile_default=/etc/trusted-key.key \ - -D systemd_files=enabled \ - -D client=enabled \ - -D install_kresd_conf=enabled \ - -D unit_tests=enabled - ninja -C build -} - -check() { - meson test -C "${pkgname}-${pkgver}/build" -} - -package() { - DESTDIR="${pkgdir}" ninja -C "${pkgname}-${pkgver}/build" install - - # add kresd.target to multi-user.target.wants to support enabling kresd services - mkdir -p "${pkgdir}/usr/lib/systemd/system/multi-user.target.wants/" - ln -s ../kresd.target "${pkgdir}/usr/lib/systemd/system/multi-user.target.wants/kresd.target" -} Copied: knot-resolver/repos/community-x86_64/PKGBUILD (from rev 928345, knot-resolver/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-05-06 02:02:01 UTC (rev 928346) @@ -0,0 +1,60 @@ +# Maintainer: Daurnimator <daurnima...@archlinux.org> +# Contributor: Tomas Krizek <tomas.kri...@nic.cz> +# Contributor: Ondřej Surý <ond...@sury.org> + +pkgname=knot-resolver +pkgver=5.3.2 +pkgrel=1 +pkgdesc='Caching DNSSEC-validating DNS resolver' +arch=('x86_64') +url='https://www.knot-resolver.cz/' +license=('GPL3') +depends=( + 'dnssec-anchors' + 'gnutls' + 'knot' + 'libedit' + 'libuv' + 'lmdb' + 'luajit' + 'libcap-ng' + 'libnghttp2' + 'systemd-libs' +) +makedepends=( + 'cmocka' + 'meson' +) +optdepends=( + 'lua51-basexx: experimental_dot_auth module' + 'lua51-cqueues: http and dns64 module, policy.rpz() function' + # TODO: 'lua51-etcd: etcd module' + 'lua51-http: http and prefill modules, trust_anchors bootstrap' + 'lua51-psl: policy.slice_randomize_psl() function' +) +backup=('etc/knot-resolver/kresd.conf') +source=("https://secure.nic.cz/files/${pkgname}/${pkgname}-${pkgver}.tar.xz") +sha256sums=('8b6f447d5fe93422d4c129a2d4004a977369c3aa6e55258ead1cbd488bc01436') + +build() { + cd "${pkgname}-${pkgver}" + arch-meson build \ + -D keyfile_default=/etc/trusted-key.key \ + -D systemd_files=enabled \ + -D client=enabled \ + -D install_kresd_conf=enabled \ + -D unit_tests=enabled + ninja -C build +} + +check() { + meson test -C "${pkgname}-${pkgver}/build" +} + +package() { + DESTDIR="${pkgdir}" ninja -C "${pkgname}-${pkgver}/build" install + + # add kresd.target to multi-user.target.wants to support enabling kresd services + mkdir -p "${pkgdir}/usr/lib/systemd/system/multi-user.target.wants/" + ln -s ../kresd.target "${pkgdir}/usr/lib/systemd/system/multi-user.target.wants/kresd.target" +}