[arch-commits] Commit in knot/repos/community-x86_64 (PKGBUILD PKGBUILD)
Bruno Pagani
archange at archlinux.org
Wed Mar 4 10:31:53 UTC 2020
Date: Wednesday, March 4, 2020 @ 10:31:53
Author: archange
Revision: 589958
archrelease: copy trunk to community-x86_64
Added:
knot/repos/community-x86_64/PKGBUILD
(from rev 589957, knot/trunk/PKGBUILD)
Deleted:
knot/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 122 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 61 insertions(+), 61 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-04 10:31:46 UTC (rev 589957)
+++ PKGBUILD 2020-03-04 10:31:53 UTC (rev 589958)
@@ -1,61 +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=2.9.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)
-backup=('etc/knot/knot.conf')
-source=("https://secure.nic.cz/files/knot-dns/${pkgname}-${pkgver}.tar.xz"{,.asc})
-sha256sums=(298cdf33aa7589b50df7e5833694b24cd2de8b6d17cee7e1673873fe576db6ee 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/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 589957, knot/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-03-04 10:31:53 UTC (rev 589958)
@@ -0,0 +1,61 @@
+# 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=2.9.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)
+backup=('etc/knot/knot.conf')
+source=("https://secure.nic.cz/files/knot-dns/${pkgname}-${pkgver}.tar.xz"{,.asc})
+sha256sums=(f2adf137d70955a4a20df90c5409e10be8e1127204a98b27d626ac090531a07e 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/arch/knot.tmpfiles.arch "${pkgdir}"/usr/lib/tmpfiles.d/${pkgname}.conf
+ install -Dm644 distro/arch/knot.sysusers "${pkgdir}"/usr/lib/sysusers.d/${pkgname}.conf
+}
More information about the arch-commits
mailing list