[arch-commits] Commit in knot/repos/community-x86_64 (4 files)

Bruno Pagani archange at archlinux.org
Tue Aug 14 15:31:11 UTC 2018


    Date: Tuesday, August 14, 2018 @ 15:31:11
  Author: archange
Revision: 371525

archrelease: copy trunk to community-x86_64

Added:
  knot/repos/community-x86_64/PKGBUILD
    (from rev 371524, knot/trunk/PKGBUILD)
Deleted:
  knot/repos/community-x86_64/PKGBUILD
  knot/repos/community-x86_64/knot.sysusers
  knot/repos/community-x86_64/knot.tmpfiles

---------------+
 PKGBUILD      |  132 ++++++++++++++++++++++++++------------------------------
 knot.sysusers |    1 
 knot.tmpfiles |    2 
 3 files changed, 62 insertions(+), 73 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-08-14 15:30:57 UTC (rev 371524)
+++ PKGBUILD	2018-08-14 15:31:11 UTC (rev 371525)
@@ -1,70 +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.7.0
-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')
-optdepends=('python: for pykeymgr')
-backup=('etc/knot/knot.conf')
-source=("https://secure.nic.cz/files/knot-dns/${pkgname}-${pkgver}.tar.xz"{,.asc}
-        "https://gitlab.labs.nic.cz/knot/knot-dns/raw/v${pkgver}/distro/common/knot.service"
-        "${pkgname}.sysusers"
-        "${pkgname}.tmpfiles")
-sha256sums=('5583af2c78a81d38fa33b6ba349b599548a29a9f489920b2bc0287b4bc79af55'
-            'SKIP'
-            '1f6e31ef23520db3d126022bceeb8114c148193234dc45c044e11b979f470609'
-            '76c47120f91dbe467454a2f5330067d3dfd6ac5dacda5f3a095138b9a8877855'
-            '793fee121d03acce87e3b04cfa869d4eb65e6ac0ee3e1257804fa526fa60d7f5')
-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}
-
-    cd ..
-    install -Dm644 ${pkgname}.service -t "${pkgdir}"/usr/lib/systemd/system/
-    install -Dm644 ${pkgname}.tmpfiles "${pkgdir}"/usr/lib/tmpfiles.d/${pkgname}.conf
-    install -Dm644 ${pkgname}.sysusers "${pkgdir}"/usr/lib/sysusers.d/${pkgname}.conf
-}

Copied: knot/repos/community-x86_64/PKGBUILD (from rev 371524, knot/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-08-14 15:31:11 UTC (rev 371525)
@@ -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=2.7.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')
+optdepends=('python: for pykeymgr')
+backup=('etc/knot/knot.conf')
+source=("https://secure.nic.cz/files/knot-dns/${pkgname}-${pkgver}.tar.xz"{,.asc})
+sha256sums=('7d6ae20ada0f0ee7700d5df17f47f86b49eb21ee34977d0d70de6a0947371381' '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
+}

Deleted: knot.sysusers
===================================================================
--- knot.sysusers	2018-08-14 15:30:57 UTC (rev 371524)
+++ knot.sysusers	2018-08-14 15:31:11 UTC (rev 371525)
@@ -1 +0,0 @@
-u knot - "Knot DNS Daemon User"

Deleted: knot.tmpfiles
===================================================================
--- knot.tmpfiles	2018-08-14 15:30:57 UTC (rev 371524)
+++ knot.tmpfiles	2018-08-14 15:31:11 UTC (rev 371525)
@@ -1,2 +0,0 @@
-d /run/knot       0755 knot knot - -
-d /var/lib/knot   0700 knot knot - -



More information about the arch-commits mailing list