Date: Tuesday, April 9, 2019 @ 13:38:11 Author: archange Revision: 450618
archrelease: copy trunk to community-x86_64 Added: knot/repos/community-x86_64/PKGBUILD (from rev 450617, knot/trunk/PKGBUILD) Deleted: knot/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 122 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 61 insertions(+), 61 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-04-09 13:37:57 UTC (rev 450617) +++ PKGBUILD 2019-04-09 13:38:11 UTC (rev 450618) @@ -1,61 +0,0 @@ -# Maintainer: Bruno Pagani <archa...@archlinux.org> -# Contributor: Ondřej Surý <ond...@sury.org> -# Contributor: Julian Brost <jul...@0x4a42.net> -# Contributor: Oleander Reis <olean...@oleander.cc> -# Contributor: Otto Sabart <seberm[at]gmail[dot]com> - -pkgname=knot -pkgver=2.8.0 -pkgrel=1 -pkgdesc="High-performance authoritative-only DNS server" -arch=('x86_64') -url="https://www.knot-dns.cz/" -license=('GPL3') -depends=('libedit' 'gnutls' 'liburcu' 'lmdb' - 'libidn2' 'systemd' 'libcap-ng' - 'fstrm' 'protobuf-c' 'libmaxminddb') -backup=('etc/knot/knot.conf') -source=("https://secure.nic.cz/files/knot-dns/${pkgname}-${pkgver}.tar.xz"{,.asc}) -sha256sums=('494ad926705018bd754d96711dc2129f3173f326a0b57d33978090ba4eef87ef' 'SKIP') -validpgpkeys=('742FA4E95829B6C5EAC6B85710BB7AF6FEBBD6AB') # Daniel Salzman <daniel.salz...@nic.cz> - -build() { - cd ${pkgname}-${pkgver} - - ./configure \ - --prefix=/usr \ - --sbindir=/usr/bin \ - --sysconfdir=/etc \ - --localstatedir=/var/lib \ - --libexecdir=/usr/lib/knot \ - --with-rundir=/run/knot \ - --with-storage=/var/lib/knot \ - --enable-recvmmsg \ - --enable-dnstap \ - --enable-systemd \ - --enable-reuseport \ - --disable-silent-rules - - make -} - -check() { - cd ${pkgname}-${pkgver} - make check -} - -package() { - cd ${pkgname}-${pkgver} - - make DESTDIR="${pkgdir}" install - - # Don’t keep those empty dir, manage them with systemd-tmpfiles instead - rmdir "${pkgdir}"/{var/{lib/{knot/,},},run/{knot/,}} - - rm "${pkgdir}"/etc/knot/example.com.zone - mv "${pkgdir}"/etc/knot/{knot.sample.conf,knot.conf} - - install -Dm644 distro/common/knot.service -t "${pkgdir}"/usr/lib/systemd/system/ - install -Dm644 distro/arch/knot.tmpfiles.arch "${pkgdir}"/usr/lib/tmpfiles.d/${pkgname}.conf - install -Dm644 distro/arch/knot.sysusers "${pkgdir}"/usr/lib/sysusers.d/${pkgname}.conf -} Copied: knot/repos/community-x86_64/PKGBUILD (from rev 450617, knot/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-04-09 13:38:11 UTC (rev 450618) @@ -0,0 +1,61 @@ +# Maintainer: Bruno Pagani <archa...@archlinux.org> +# Contributor: Ondřej Surý <ond...@sury.org> +# Contributor: Julian Brost <jul...@0x4a42.net> +# Contributor: Oleander Reis <olean...@oleander.cc> +# Contributor: Otto Sabart <seberm[at]gmail[dot]com> + +pkgname=knot +pkgver=2.8.1 +pkgrel=1 +pkgdesc="High-performance authoritative-only DNS server" +arch=(x86_64) +url="https://www.knot-dns.cz/" +license=(GPL3) +depends=(libedit gnutls liburcu lmdb + libidn2 systemd libcap-ng + fstrm protobuf-c libmaxminddb) +backup=('etc/knot/knot.conf') +source=("https://secure.nic.cz/files/knot-dns/${pkgname}-${pkgver}.tar.xz"{,.asc}) +sha256sums=(b21bf03e5cb6804df4e0e8b3898446349e86ddae5bf110edaf240d0ad1e2a2c6 SKIP) +validpgpkeys=(742FA4E95829B6C5EAC6B85710BB7AF6FEBBD6AB) # Daniel Salzman <daniel.salz...@nic.cz> + +build() { + cd ${pkgname}-${pkgver} + + ./configure \ + --prefix=/usr \ + --sbindir=/usr/bin \ + --sysconfdir=/etc \ + --localstatedir=/var/lib \ + --libexecdir=/usr/lib/knot \ + --with-rundir=/run/knot \ + --with-storage=/var/lib/knot \ + --enable-recvmmsg \ + --enable-dnstap \ + --enable-systemd \ + --enable-reuseport \ + --disable-silent-rules + + make +} + +check() { + cd ${pkgname}-${pkgver} + make check +} + +package() { + cd ${pkgname}-${pkgver} + + make DESTDIR="${pkgdir}" install + + # Don’t keep those empty dir, manage them with systemd-tmpfiles instead + rmdir "${pkgdir}"/{var/{lib/{knot/,},},run/{knot/,}} + + rm "${pkgdir}"/etc/knot/example.com.zone + mv "${pkgdir}"/etc/knot/{knot.sample.conf,knot.conf} + + install -Dm644 distro/common/knot.service -t "${pkgdir}"/usr/lib/systemd/system/ + install -Dm644 distro/arch/knot.tmpfiles.arch "${pkgdir}"/usr/lib/tmpfiles.d/${pkgname}.conf + install -Dm644 distro/arch/knot.sysusers "${pkgdir}"/usr/lib/sysusers.d/${pkgname}.conf +}