[arch-commits] Commit in knot/repos/community-x86_64 (PKGBUILD PKGBUILD)
Bruno Pagani
archange at gemini.archlinux.org
Thu Nov 4 12:01:45 UTC 2021
Date: Thursday, November 4, 2021 @ 12:01:45
Author: archange
Revision: 1036855
archrelease: copy trunk to community-x86_64
Added:
knot/repos/community-x86_64/PKGBUILD
(from rev 1036854, knot/trunk/PKGBUILD)
Deleted:
knot/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 124 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 62 insertions(+), 62 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-04 12:01:18 UTC (rev 1036854)
+++ PKGBUILD 2021-11-04 12:01:45 UTC (rev 1036855)
@@ -1,62 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-# Contributor: Ondřej Surý <ondrej at sury.org>
-# Contributor: Julian Brost <julian at 0x4a42.net>
-# Contributor: Oleander Reis <oleander at oleander.cc>
-# Contributor: Otto Sabart <seberm[at]gmail[dot]com>
-
-pkgname=knot
-pkgver=3.1.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 libnghttp2 libmnl)
-backup=('etc/knot/knot.conf')
-source=("https://secure.nic.cz/files/knot-dns/${pkgname}-${pkgver}.tar.xz"{,.asc})
-sha256sums=(a3fc448cbce3209575f93a3cf1224fa37802fc6606f7c7d4bb3aa6dbeaed2c64 SKIP)
-validpgpkeys=(742FA4E95829B6C5EAC6B85710BB7AF6FEBBD6AB) # Daniel Salzman <daniel.salzman at 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/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 1036854, knot/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-11-04 12:01:45 UTC (rev 1036855)
@@ -0,0 +1,62 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+# Contributor: Ondřej Surý <ondrej at sury.org>
+# Contributor: Julian Brost <julian at 0x4a42.net>
+# Contributor: Oleander Reis <oleander at oleander.cc>
+# Contributor: Otto Sabart <seberm[at]gmail[dot]com>
+
+pkgname=knot
+pkgver=3.1.4
+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 libnghttp2 libmnl)
+backup=('etc/knot/knot.conf')
+source=("https://secure.nic.cz/files/knot-dns/${pkgname}-${pkgver}.tar.xz"{,.asc})
+sha256sums=(05ebca053b4ce62205a095b6885ed1a1167c629ccac2b3c8dcc431bd2deedf70 SKIP)
+validpgpkeys=(742FA4E95829B6C5EAC6B85710BB7AF6FEBBD6AB) # Daniel Salzman <daniel.salzman at 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/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
+}
More information about the arch-commits
mailing list