Date: Wednesday, November 23, 2022 @ 18:50:13
Author: blakkheim
Revision: 1352068
archrelease: copy trunk to community-x86_64
Added:
knot/repos/community-x86_64/PKGBUILD
(from rev 1352067, knot/trunk/PKGBUILD)
knot/repos/community-x86_64/keys/
Deleted:
knot/repos/community-x86_64/PKGBUILD
knot/repos/community-x86_64/keys/
----------+
PKGBUILD | 126 +++++++++++++++++++++++++++++--------------------------------
1 file changed, 61 insertions(+), 65 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-11-23 18:49:45 UTC (rev 1352067)
+++ PKGBUILD 2022-11-23 18:50:13 UTC (rev 1352068)
@@ -1,65 +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.2
-pkgrel=2
-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}
- "https://gitlab.nic.cz/knot/knot-dns/-/commit/8a6645dab6.patch")
-sha256sums=('cea9c1988cdce7752f88fbe37378f65e83c4e54048978b94fb21a9c92f88788f'
- 'SKIP'
- '04fef28d0bc8b474d48eed4071bde2f0e3e7aa7cd51cbe9fb8eafe27c3ddd96d')
-validpgpkeys=(742FA4E95829B6C5EAC6B85710BB7AF6FEBBD6AB) # Daniel Salzman
<[email protected]>
-
-build() {
- cd ${pkgname}-${pkgver}
- # https://bugs.archlinux.org/task/76530
- patch -Np1 -i ../8a6645dab6.patch
-
- ./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 1352067,
knot/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-11-23 18:50:13 UTC (rev 1352068)
@@ -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.3
+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=('f736ef284358923e312f8e1e3c6ce7c97b20965b09eb65705e9f7e3d5e9a9d79'
+ '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
+}