[arch-commits] Commit in powerdns-recursor/trunk (PKGBUILD sysusers.conf)

Levente Polyak anthraxx at archlinux.org
Sun May 24 17:23:58 UTC 2020


    Date: Sunday, May 24, 2020 @ 17:23:57
  Author: anthraxx
Revision: 633024

upgpkg: powerdns-recursor 4.3.1-1

Added:
  powerdns-recursor/trunk/sysusers.conf
Modified:
  powerdns-recursor/trunk/PKGBUILD

---------------+
 PKGBUILD      |   21 ++++++++++++++-------
 sysusers.conf |    1 +
 2 files changed, 15 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-24 17:23:47 UTC (rev 633023)
+++ PKGBUILD	2020-05-24 17:23:57 UTC (rev 633024)
@@ -5,22 +5,24 @@
 # Contributor: Remi Gacogne <rgacogne[at]archlinux[dot]org>
 
 pkgname=powerdns-recursor
-pkgver=4.2.2
+pkgver=4.3.1
 pkgrel=1
 pkgdesc='Resolving DNS server'
 url='https://www.powerdns.com/'
 arch=('x86_64')
 license=('GPL2')
-depends=('gcc-libs' 'boost-libs' 'libsodium' 'systemd-libs' 'lua' 'openssl' 'protobuf'
-         'libboost_context.so')
+depends=('gcc-libs' 'boost-libs' 'libsodium' 'systemd-libs' 'luajit' 'openssl' 'protobuf'
+         'libboost_context.so' 'fstrm' 'net-snmp' 'libprotobuf.so')
 makedepends=('boost' 'inetutils' 'pandoc' 'ragel' 'systemd')
 provides=('pdns-recursor')
 conflicts=('pdns-recursor')
 backup=('etc/powerdns/recursor.conf')
 source=(https://downloads.powerdns.com/releases/pdns-recursor-${pkgver}.tar.bz2{,.asc}
+        sysusers.conf
         ${pkgname}-gcc10.patch::https://github.com/PowerDNS/pdns/commit/ffb885e937c27bb1c62dee8f18c58.patch)
-sha512sums=('c34708603a46af7dde7ec0ebd352fa001826ac61ecdf1f12c7e297b490886870fe85a94ee846d48ace1de51952da19fa0102ed43e5ec27ee34978cb42414abc0'
+sha512sums=('49ae4957ef202f94ec87e6449dfa9c147689b5576ca1002e0155319099d698300c113e221571f6d41cb1cdc1649619621c2ccf8105620c25452ac30bd83e46b8'
             'SKIP'
+            '63b3f0664d38fbbcb6b1c914cee050a27eca0a15550962973743580dd5d3ace2e68272ca2d856d53cc74001fe9246d61207ebbc74524c096736777ed08c88e72'
             '3685c8e08df2073351e3cd722ea1d7d19236c148d3a88368884ae5eb0a4fcd084eb2b62082e7f326e0770cd56c184a0f14fb026c02c0111a8386b6a0a46db3e5')
 validpgpkeys=('B76CD4671C0968BAA87DE61C5E50715BF2FFE1A7'  # Pieter Lexis <pieter.lexis at powerdns.com>
               'FBAE0323821C7706A5CA151BDCF513FA7EED19F3'  # Peter van Dijk <peter.van.dijk at powerdns.com>
@@ -28,7 +30,8 @@
 
 prepare() {
   cd pdns-recursor-${pkgver}
-  patch -Np1 < ../${pkgname}-gcc10.patch
+  patch -Np1 < "${srcdir}/${pkgname}-gcc10.patch"
+  autoreconf -i
 }
 
 build() {
@@ -40,8 +43,11 @@
     --disable-silent-rules \
     --enable-reproducible \
     --enable-systemd \
-    --enable-protobuf \
-    --enable-libsodium
+    --with-protobuf \
+    --with-libsodium \
+    --with-lua=luajit \
+    --with-service-user=pdns-recursor \
+    --with-service-group=pdns-recursor
   make
 }
 
@@ -49,6 +55,7 @@
   cd pdns-recursor-${pkgver}
   make DESTDIR="${pkgdir}" install
   mv "${pkgdir}/etc/powerdns/recursor.conf"{-dist,}
+  install -Dm 644 "${srcdir}/sysusers.conf" "${pkgdir}/usr/lib/sysusers.d/powerdns-recursor.conf"
 }
 
 # vim: ts=2 sw=2 et:

Added: sysusers.conf
===================================================================
--- sysusers.conf	                        (rev 0)
+++ sysusers.conf	2020-05-24 17:23:57 UTC (rev 633024)
@@ -0,0 +1 @@
+u pdns-recursor - "PowerDNS Recursor" -



More information about the arch-commits mailing list