[arch-commits] Commit in powerdns/repos (4 files)

Lukas Fleischer lfleischer at archlinux.org
Fri May 29 18:30:43 UTC 2020


    Date: Friday, May 29, 2020 @ 18:30:41
  Author: lfleischer
Revision: 637254

db-move: moved powerdns from [community-staging] to [community-testing] (x86_64)

Added:
  powerdns/repos/community-testing-x86_64/
  powerdns/repos/community-testing-x86_64/PKGBUILD
    (from rev 637253, powerdns/repos/community-staging-x86_64/PKGBUILD)
  powerdns/repos/community-testing-x86_64/sysusers.conf
    (from rev 637253, powerdns/repos/community-staging-x86_64/sysusers.conf)
Deleted:
  powerdns/repos/community-staging-x86_64/

---------------+
 PKGBUILD      |   81 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sysusers.conf |    1 
 2 files changed, 82 insertions(+)

Copied: powerdns/repos/community-testing-x86_64/PKGBUILD (from rev 637253, powerdns/repos/community-staging-x86_64/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2020-05-29 18:30:41 UTC (rev 637254)
@@ -0,0 +1,81 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+# Contributor: Kevin Mihelich <kevin at archlinuxarm.org>
+# Contributor: Remi Gacogne <rgacogne[at]archlinux[dot]org>
+# Contributor: Pieter Lexis <pieter[dot]lexis[at]powerdns[dot]com>
+
+pkgname=powerdns
+pkgver=4.2.2
+pkgrel=2
+pkgdesc='Authoritative DNS server'
+url='https://www.powerdns.com/'
+arch=('x86_64')
+license=('GPL2')
+depends=('boost-libs' 'botan>=2.7.0' 'libsodium' 'luajit' 'openssl' 'protobuf'
+         'sqlite' 'systemd' 'lua' 'curl' 'libcurl.so')
+makedepends=('boost' 'geoip' 'libldap' 'mariadb-libs' 'opendbx'
+             'postgresql-libs' 'tinycdb' 'unixodbc' 'yaml-cpp')
+optdepends=('geoip: GeoIP backend'
+            'mariadb-libs: MariaDB/MySQL and MyDNS backend'
+            'libldap: LDAP backend'
+            'opendbx: OpenDBX backend'
+            'postgresql-libs: PostgreSQL backend'
+            'unixodbc: ODBC backend'
+            'tinycdb: TinyDNS backend'
+            'yaml-cpp: GeoIP backend')
+provides=('pdns')
+conflicts=('pdns')
+backup=('etc/powerdns/pdns.conf')
+source=(https://downloads.powerdns.com/releases/pdns-${pkgver}.tar.bz2{,.asc}
+        sysusers.conf
+        ${pkgname}-gcc10.patch::https://github.com/PowerDNS/pdns/commit/ffb885e937c27bb1c62dee8f18c58.patch)
+sha512sums=('b9d0daadd89f4ab009981305d2c323ab75e283b59b94f764d53c37984a2b6200debe4e514572eac49973fcba2034df65214afb949ce3b1b4ff57b07b07f6e608'
+            'SKIP'
+            '522bde8b76367db6edd461fca8f81d50304a4d764addf33774b3e2c5c93a9e72d93993f54ddd4ee887ceeccf70280aceea3ffaf6370d26310e0a7ebbbf61f26a'
+            '3685c8e08df2073351e3cd722ea1d7d19236c148d3a88368884ae5eb0a4fcd084eb2b62082e7f326e0770cd56c184a0f14fb026c02c0111a8386b6a0a46db3e5')
+validpgpkeys=('B76CD4671C0968BAA87DE61C5E50715BF2FFE1A7'   # Winkels, Erik <erik.winkels at open-xchange.com>
+              '16E12866B7738C73976A57436FFC33439B0D04DF'   # Peter van Dijk <peter.van.dijk at powerdns.com>
+              'FBAE0323821C7706A5CA151BDCF513FA7EED19F3' ) # Pieter Lexis <pieter.lexis at powerdns.com>
+
+prepare() {
+  cd pdns-${pkgver}
+  # Patch the Makefile.in's so /powerdns is used instead of /pdns (for e.g. $LIBDIR)
+  # This allows for running pdns_server without setting `module-dir` in the config.
+  find . -name 'Makefile.in' -exec sed -i 's,pkglibdir = \$(libdir)/@PACKAGE@,pkglibdir = $(libdir)/powerdns,' {} \;
+  patch -Np1 < "${srcdir}/${pkgname}-gcc10.patch"
+}
+
+build() {
+  cd pdns-${pkgver}
+  ./configure \
+    --prefix=/usr \
+    --sysconfdir=/etc/powerdns \
+    --sbindir=/usr/bin \
+    --with-modules='' \
+    --with-dynmodules="bind geoip gmysql godbc gpgsql gsqlite3 ldap lua mydns opendbx pipe random remote tinydns" \
+    --docdir=/usr/share/doc/powerdns \
+    --enable-libsodium \
+    --enable-botan \
+    --enable-tools \
+    --disable-dependency-tracking \
+    --disable-silent-rules \
+    --enable-reproducible \
+    --enable-unit-tests \
+    --enable-systemd
+  make
+}
+
+check() {
+  make -C pdns-${pkgver} check
+}
+
+package() {
+  make -C pdns-${pkgver} DESTDIR="${pkgdir}" install
+  install -D -m644 sysusers.conf "${pkgdir}/usr/lib/sysusers.d/${pkgname}.conf"
+  mv "${pkgdir}/etc/powerdns/pdns.conf"{-dist,}
+  # Ensure we run as the powerdns user
+  sed -i "s,^# \(set.id=\),\1${pkgname}," "${pkgdir}/etc/powerdns/pdns.conf"
+}
+
+# vim: ts=2 sw=2 et:

Copied: powerdns/repos/community-testing-x86_64/sysusers.conf (from rev 637253, powerdns/repos/community-staging-x86_64/sysusers.conf)
===================================================================
--- community-testing-x86_64/sysusers.conf	                        (rev 0)
+++ community-testing-x86_64/sysusers.conf	2020-05-29 18:30:41 UTC (rev 637254)
@@ -0,0 +1 @@
+u powerdns - "PowerDNS Authoritative Server" -


More information about the arch-commits mailing list