Date: Wednesday, November 9, 2022 @ 22:23:36
Author: blakkheim
Revision: 1346303
archrelease: copy trunk to community-x86_64
Added:
knot/repos/community-x86_64/PKGBUILD
(from rev 1346302, knot/trunk/PKGBUILD)
knot/repos/community-x86_64/keys/
Deleted:
knot/repos/community-x86_64/PKGBUILD
knot/repos/community-x86_64/keys/
----------+
PKGBUILD | 121 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 61 insertions(+), 60 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-11-09 22:23:06 UTC (rev 1346302)
+++ PKGBUILD 2022-11-09 22:23:36 UTC (rev 1346303)
@@ -1,60 +0,0 @@
-# Maintainer: Bruno Pagani <[email protected]>
-# Contributor: Ondřej Surý <[email protected]>
-# Contributor: Julian Brost <[email protected]>
-# Contributor: Oleander Reis <[email protected]>
-# Contributor: Otto Sabart <seberm[at]gmail[dot]com>
-
-pkgname=knot
-pkgver=3.2.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
- libbpf libxdp libnghttp2 libmnl)
-backup=('etc/knot/knot.conf')
-source=("https://secure.nic.cz/files/knot-dns/${pkgname}-${pkgver}.tar.xz"{,.asc})
-sha256sums=(51efa36f92679b25d43dbf8ba543e9f26138559f0fa1ba5fae172f5400659c8f
SKIP)
-validpgpkeys=(742FA4E95829B6C5EAC6B85710BB7AF6FEBBD6AB) # Daniel Salzman
<[email protected]>
-
-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-dnstap \
- --enable-quic \
- --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/pkg/arch/knot.tmpfiles.arch
"${pkgdir}"/usr/lib/tmpfiles.d/${pkgname}.conf
- install -Dm644 distro/pkg/arch/knot.sysusers
"${pkgdir}"/usr/lib/sysusers.d/${pkgname}.conf
-}
Copied: knot/repos/community-x86_64/PKGBUILD (from rev 1346302,
knot/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-11-09 22:23:36 UTC (rev 1346303)
@@ -0,0 +1,61 @@
+# Maintainer: Bruno Pagani <[email protected]>
+# Contributor: Ondřej Surý <[email protected]>
+# Contributor: Julian Brost <[email protected]>
+# Contributor: Oleander Reis <[email protected]>
+# Contributor: Otto Sabart <seberm[at]gmail[dot]com>
+
+pkgname=knot
+pkgver=3.2.2
+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
+ libbpf libxdp libnghttp2 libmnl)
+backup=('etc/knot/knot.conf')
+source=("https://secure.nic.cz/files/knot-dns/${pkgname}-${pkgver}.tar.xz"{,.asc})
+sha256sums=('cea9c1988cdce7752f88fbe37378f65e83c4e54048978b94fb21a9c92f88788f'
+ 'SKIP')
+validpgpkeys=(742FA4E95829B6C5EAC6B85710BB7AF6FEBBD6AB) # Daniel Salzman
<[email protected]>
+
+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-dnstap \
+ --enable-quic \
+ --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/pkg/arch/knot.tmpfiles.arch
"${pkgdir}"/usr/lib/tmpfiles.d/${pkgname}.conf
+ install -Dm644 distro/pkg/arch/knot.sysusers
"${pkgdir}"/usr/lib/sysusers.d/${pkgname}.conf
+}