Date: Friday, February 5, 2021 @ 17:09:37 Author: daurnimator Revision: 846232
initial commit Imported from AUR and cleaned up Added: knot-resolver/ knot-resolver/repos/ knot-resolver/trunk/ knot-resolver/trunk/PKGBUILD ----------+ PKGBUILD | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) Added: knot-resolver/trunk/PKGBUILD =================================================================== --- knot-resolver/trunk/PKGBUILD (rev 0) +++ knot-resolver/trunk/PKGBUILD 2021-02-05 17:09:37 UTC (rev 846232) @@ -0,0 +1,56 @@ +# Maintainer: Daurnimator <[email protected]> +# Contributor: Tomas Krizek <[email protected]> +# Contributor: Ondřej Surý <[email protected]> + +pkgname=knot-resolver +pkgver=5.2.1 +pkgrel=2 +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=('aa37b744c400f437acba7a54aebcbdbe722ece743d342cbc39f2dd8087f05826') + +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 +}
