[arch-commits] Commit in powerdns/repos (4 files)
Date: Friday, December 17, 2021 @ 06:21:17 Author: felixonmars Revision: 1075807 archrelease: copy trunk to community-staging-x86_64 Added: powerdns/repos/community-staging-x86_64/ powerdns/repos/community-staging-x86_64/PKGBUILD (from rev 1075805, powerdns/trunk/PKGBUILD) powerdns/repos/community-staging-x86_64/boost-1.76.patch (from rev 1075805, powerdns/trunk/boost-1.76.patch) powerdns/repos/community-staging-x86_64/sysusers.conf (from rev 1075805, powerdns/trunk/sysusers.conf) --+ PKGBUILD | 81 + boost-1.76.patch | 15 + sysusers.conf|1 3 files changed, 97 insertions(+) Copied: powerdns/repos/community-staging-x86_64/PKGBUILD (from rev 1075805, powerdns/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-12-17 06:21:17 UTC (rev 1075807) @@ -0,0 +1,81 @@ +# Maintainer: Levente Polyak +# Maintainer: Remi Gacogne +# Contributor: Alexander Rødseth +# Contributor: Jan de Groot +# Contributor: Kevin Mihelich +# Contributor: Pieter Lexis + +pkgname=powerdns +pkgver=4.5.2 +pkgrel=3 +pkgdesc='Authoritative DNS server' +url='https://www.powerdns.com/' +arch=('x86_64') +license=('GPL2') +depends=('boost-libs' 'gnutls' 'libcurl.so' 'libsodium' 'lmdb' 'luajit' + 'openssl' 'sqlite' 'systemd-libs') +makedepends=('boost' 'geoip' 'libldap' 'mariadb-libs' 'curl' 'libmaxminddb' + 'postgresql-libs' 'systemd' 'tinycdb' 'unixodbc' 'yaml-cpp') +optdepends=('geoip: GeoIP backend' +'mariadb-libs: MariaDB/MySQL and MyDNS backend' +'libldap: LDAP backend' +'libmaxminddb: MaxMindDB GeoIP2 database for the GeoIP 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) +sha512sums=('0a183d8c0bb517799afa0f9382e3c06ad3c6e9c871b7912073a860364ca97dc121be2372080100677db10601c8ef96ad56b10787c02a9a9ede82f8a1cc904c6e' +'SKIP' + '522bde8b76367db6edd461fca8f81d50304a4d764addf33774b3e2c5c93a9e72d93993f54ddd4ee887ceeccf70280aceea3ffaf6370d26310e0a7ebbbf61f26a') +validpgpkeys=('B76CD4671C0968BAA87DE61C5E50715BF2FFE1A7' # Winkels, Erik + '16E12866B7738C73976A57436FFC33439B0D04DF' # Peter van Dijk + 'FBAE0323821C7706A5CA151BDCF513FA7EED19F3' ) # Pieter Lexis + +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,' {} \; +} + +build() { + cd pdns-${pkgver} + ./configure \ +--prefix=/usr \ +--sysconfdir=/etc/powerdns \ +--sbindir=/usr/bin \ +--with-modules='' \ +--with-dynmodules="bind geoip gmysql godbc gpgsql gsqlite3 ldap lmdb lua2 pipe random remote tinydns" \ +--docdir=/usr/share/doc/powerdns \ +--with-libsodium \ +--enable-tools \ +--enable-ixfrdist \ +--enable-dns-over-tls \ +--disable-dependency-tracking \ +--disable-silent-rules \ +--enable-reproducible \ +--enable-unit-tests \ +--enable-systemd \ +--with-service-user=powerdns \ +--with-service-group=powerdns + make +} + +check() { + make -C pdns-${pkgver} check +} + +package() { + make -C pdns-${pkgver} DESTDIR="${pkgdir}" install + install -Dm 644 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-staging-x86_64/boost-1.76.patch (from rev 1075805, powerdns/trunk/boost-1.76.patch) === --- community-staging-x86_64/boost-1.76.patch (rev 0) +++ community-staging-x86_64/boost-1.76.patch 2021-12-17 06:21:17 UTC (rev 1075807) @@ -0,0 +1,15 @@ +Upstream commit: https://github.com/PowerDNS/pdns/commit/311f26839819 + +diff -upr pdns-4.4.1.orig/pdns/Makefile.am pdns-4.4.1/pdns/Makefile.am +--- pdns-4.4.1.orig/pdns/Makefile.am 2021-02-07 00:37:20.0 +0200 pdns-4.4.1/pdns/Makefile.am2021-06-09 00:18:28.264532242 +0300 +@@ -6,7 +6,8 @@ AM_CPPFLAGS += \ + $(LIBEDIT_CFLAGS) \ + $(LIBCRYPTO_INCLUDES) \ + $(SYSTEMD_CFLAGS) \ +- $(YAML_CFLAGS) ++ $(YAML_CFLAGS) \ ++ -DBOOST_CONTAINER_USE_STD_EXCEPTIONS +
[arch-commits] Commit in powerdns/repos (4 files)
Date: Saturday, November 13, 2021 @ 20:19:08 Author: felixonmars Revision: 1046058 archrelease: copy trunk to community-staging-x86_64 Added: powerdns/repos/community-staging-x86_64/ powerdns/repos/community-staging-x86_64/PKGBUILD (from rev 1046057, powerdns/trunk/PKGBUILD) powerdns/repos/community-staging-x86_64/boost-1.76.patch (from rev 1046057, powerdns/trunk/boost-1.76.patch) powerdns/repos/community-staging-x86_64/sysusers.conf (from rev 1046057, powerdns/trunk/sysusers.conf) --+ PKGBUILD | 81 + boost-1.76.patch | 15 + sysusers.conf|1 3 files changed, 97 insertions(+) Copied: powerdns/repos/community-staging-x86_64/PKGBUILD (from rev 1046057, powerdns/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-11-13 20:19:08 UTC (rev 1046058) @@ -0,0 +1,81 @@ +# Maintainer: Levente Polyak +# Maintainer: Remi Gacogne +# Contributor: Alexander Rødseth +# Contributor: Jan de Groot +# Contributor: Kevin Mihelich +# Contributor: Pieter Lexis + +pkgname=powerdns +pkgver=4.5.2 +pkgrel=2 +pkgdesc='Authoritative DNS server' +url='https://www.powerdns.com/' +arch=('x86_64') +license=('GPL2') +depends=('boost-libs' 'gnutls' 'libcurl.so' 'libsodium' 'lmdb' 'luajit' + 'openssl' 'sqlite' 'systemd-libs') +makedepends=('boost' 'geoip' 'libldap' 'mariadb-libs' 'curl' 'libmaxminddb' + 'postgresql-libs' 'systemd' 'tinycdb' 'unixodbc' 'yaml-cpp') +optdepends=('geoip: GeoIP backend' +'mariadb-libs: MariaDB/MySQL and MyDNS backend' +'libldap: LDAP backend' +'libmaxminddb: MaxMindDB GeoIP2 database for the GeoIP 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) +sha512sums=('0a183d8c0bb517799afa0f9382e3c06ad3c6e9c871b7912073a860364ca97dc121be2372080100677db10601c8ef96ad56b10787c02a9a9ede82f8a1cc904c6e' +'SKIP' + '522bde8b76367db6edd461fca8f81d50304a4d764addf33774b3e2c5c93a9e72d93993f54ddd4ee887ceeccf70280aceea3ffaf6370d26310e0a7ebbbf61f26a') +validpgpkeys=('B76CD4671C0968BAA87DE61C5E50715BF2FFE1A7' # Winkels, Erik + '16E12866B7738C73976A57436FFC33439B0D04DF' # Peter van Dijk + 'FBAE0323821C7706A5CA151BDCF513FA7EED19F3' ) # Pieter Lexis + +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,' {} \; +} + +build() { + cd pdns-${pkgver} + ./configure \ +--prefix=/usr \ +--sysconfdir=/etc/powerdns \ +--sbindir=/usr/bin \ +--with-modules='' \ +--with-dynmodules="bind geoip gmysql godbc gpgsql gsqlite3 ldap lmdb lua2 pipe random remote tinydns" \ +--docdir=/usr/share/doc/powerdns \ +--with-libsodium \ +--enable-tools \ +--enable-ixfrdist \ +--enable-dns-over-tls \ +--disable-dependency-tracking \ +--disable-silent-rules \ +--enable-reproducible \ +--enable-unit-tests \ +--enable-systemd \ +--with-service-user=powerdns \ +--with-service-group=powerdns + make +} + +check() { + make -C pdns-${pkgver} check +} + +package() { + make -C pdns-${pkgver} DESTDIR="${pkgdir}" install + install -Dm 644 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-staging-x86_64/boost-1.76.patch (from rev 1046057, powerdns/trunk/boost-1.76.patch) === --- community-staging-x86_64/boost-1.76.patch (rev 0) +++ community-staging-x86_64/boost-1.76.patch 2021-11-13 20:19:08 UTC (rev 1046058) @@ -0,0 +1,15 @@ +Upstream commit: https://github.com/PowerDNS/pdns/commit/311f26839819 + +diff -upr pdns-4.4.1.orig/pdns/Makefile.am pdns-4.4.1/pdns/Makefile.am +--- pdns-4.4.1.orig/pdns/Makefile.am 2021-02-07 00:37:20.0 +0200 pdns-4.4.1/pdns/Makefile.am2021-06-09 00:18:28.264532242 +0300 +@@ -6,7 +6,8 @@ AM_CPPFLAGS += \ + $(LIBEDIT_CFLAGS) \ + $(LIBCRYPTO_INCLUDES) \ + $(SYSTEMD_CFLAGS) \ +- $(YAML_CFLAGS) ++ $(YAML_CFLAGS) \ ++ -DBOOST_CONTAINER_USE_STD_EXCEPTIONS +
[arch-commits] Commit in powerdns/repos (4 files)
Date: Sunday, October 24, 2021 @ 23:57:11 Author: svenstaro Revision: 1033273 archrelease: copy trunk to community-staging-x86_64 Added: powerdns/repos/community-staging-x86_64/ powerdns/repos/community-staging-x86_64/PKGBUILD (from rev 1033272, powerdns/trunk/PKGBUILD) powerdns/repos/community-staging-x86_64/boost-1.76.patch (from rev 1033272, powerdns/trunk/boost-1.76.patch) powerdns/repos/community-staging-x86_64/sysusers.conf (from rev 1033272, powerdns/trunk/sysusers.conf) --+ PKGBUILD | 81 + boost-1.76.patch | 15 + sysusers.conf|1 3 files changed, 97 insertions(+) Copied: powerdns/repos/community-staging-x86_64/PKGBUILD (from rev 1033272, powerdns/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-10-24 23:57:11 UTC (rev 1033273) @@ -0,0 +1,81 @@ +# Maintainer: Levente Polyak +# Maintainer: Remi Gacogne +# Contributor: Alexander Rødseth +# Contributor: Jan de Groot +# Contributor: Kevin Mihelich +# Contributor: Pieter Lexis + +pkgname=powerdns +pkgver=4.5.1 +pkgrel=2 +pkgdesc='Authoritative DNS server' +url='https://www.powerdns.com/' +arch=('x86_64') +license=('GPL2') +depends=('boost-libs' 'libcurl.so' 'libsodium' 'lmdb' 'luajit' 'openssl' + 'sqlite' 'systemd-libs') +makedepends=('boost' 'geoip' 'libldap' 'mariadb-libs' 'curl' 'libmaxminddb' + 'postgresql-libs' 'systemd' 'tinycdb' 'unixodbc' 'yaml-cpp') +optdepends=('geoip: GeoIP backend' +'mariadb-libs: MariaDB/MySQL and MyDNS backend' +'libldap: LDAP backend' +'libmaxminddb: MaxMindDB GeoIP2 database for the GeoIP 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) +sha512sums=('428be2bea0d39613fe31def9116c0d3dbfc95eac953ca058df088f06a971a5a1a49067f83c99719af2657e7abcf2e7c471311bd26a1ebf1bae2bd70e1a823fca' +'SKIP' + '522bde8b76367db6edd461fca8f81d50304a4d764addf33774b3e2c5c93a9e72d93993f54ddd4ee887ceeccf70280aceea3ffaf6370d26310e0a7ebbbf61f26a') +validpgpkeys=('B76CD4671C0968BAA87DE61C5E50715BF2FFE1A7' # Winkels, Erik + '16E12866B7738C73976A57436FFC33439B0D04DF' # Peter van Dijk + 'FBAE0323821C7706A5CA151BDCF513FA7EED19F3' ) # Pieter Lexis + +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,' {} \; +} + +build() { + cd pdns-${pkgver} + ./configure \ +--prefix=/usr \ +--sysconfdir=/etc/powerdns \ +--sbindir=/usr/bin \ +--with-modules='' \ +--with-dynmodules="bind geoip gmysql godbc gpgsql gsqlite3 ldap lmdb lua2 pipe random remote tinydns" \ +--docdir=/usr/share/doc/powerdns \ +--with-libsodium \ +--enable-tools \ +--enable-ixfrdist \ +--enable-dns-over-tls \ +--disable-dependency-tracking \ +--disable-silent-rules \ +--enable-reproducible \ +--enable-unit-tests \ +--enable-systemd \ +--with-service-user=powerdns \ +--with-service-group=powerdns + make +} + +check() { + make -C pdns-${pkgver} check +} + +package() { + make -C pdns-${pkgver} DESTDIR="${pkgdir}" install + install -Dm 644 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-staging-x86_64/boost-1.76.patch (from rev 1033272, powerdns/trunk/boost-1.76.patch) === --- community-staging-x86_64/boost-1.76.patch (rev 0) +++ community-staging-x86_64/boost-1.76.patch 2021-10-24 23:57:11 UTC (rev 1033273) @@ -0,0 +1,15 @@ +Upstream commit: https://github.com/PowerDNS/pdns/commit/311f26839819 + +diff -upr pdns-4.4.1.orig/pdns/Makefile.am pdns-4.4.1/pdns/Makefile.am +--- pdns-4.4.1.orig/pdns/Makefile.am 2021-02-07 00:37:20.0 +0200 pdns-4.4.1/pdns/Makefile.am2021-06-09 00:18:28.264532242 +0300 +@@ -6,7 +6,8 @@ AM_CPPFLAGS += \ + $(LIBEDIT_CFLAGS) \ + $(LIBCRYPTO_INCLUDES) \ + $(SYSTEMD_CFLAGS) \ +- $(YAML_CFLAGS) ++ $(YAML_CFLAGS) \ ++ -DBOOST_CONTAINER_USE_STD_EXCEPTIONS + +
[arch-commits] Commit in powerdns/repos (4 files)
Date: Sunday, June 20, 2021 @ 19:43:16 Author: foutrelis Revision: 966056 archrelease: copy trunk to community-staging-x86_64 Added: powerdns/repos/community-staging-x86_64/ powerdns/repos/community-staging-x86_64/PKGBUILD (from rev 966055, powerdns/trunk/PKGBUILD) powerdns/repos/community-staging-x86_64/boost-1.76.patch (from rev 966055, powerdns/trunk/boost-1.76.patch) powerdns/repos/community-staging-x86_64/sysusers.conf (from rev 966055, powerdns/trunk/sysusers.conf) --+ PKGBUILD | 84 + boost-1.76.patch | 15 + sysusers.conf|1 3 files changed, 100 insertions(+) Copied: powerdns/repos/community-staging-x86_64/PKGBUILD (from rev 966055, powerdns/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-06-20 19:43:16 UTC (rev 966056) @@ -0,0 +1,84 @@ +# Maintainer: Levente Polyak +# Maintainer: Remi Gacogne +# Contributor: Alexander Rødseth +# Contributor: Jan de Groot +# Contributor: Kevin Mihelich +# Contributor: Pieter Lexis + +pkgname=powerdns +pkgver=4.4.1 +pkgrel=5 +pkgdesc='Authoritative DNS server' +url='https://www.powerdns.com/' +arch=('x86_64') +license=('GPL2') +depends=('boost-libs' 'libcurl.so' 'libsodium' 'lmdb' 'luajit' 'openssl' 'protobuf' + 'sqlite' 'systemd-libs') +makedepends=('boost' 'geoip' 'libldap' 'mariadb-libs' 'curl' 'libmaxminddb' + 'postgresql-libs' 'systemd' 'tinycdb' 'unixodbc' 'yaml-cpp') +optdepends=('geoip: GeoIP backend' +'mariadb-libs: MariaDB/MySQL and MyDNS backend' +'libldap: LDAP backend' +'libmaxminddb: MaxMindDB GeoIP2 database for the GeoIP 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} +boost-1.76.patch +sysusers.conf) +sha512sums=('a6f31972f77ded8ecfb523e8810dd90e5b7aa628746fee2a9a0daae2a7935800f111ce8617ffd71d5ce3881947d4ffc36c9cb37996a7bcc514536bb4abe1f79e' +'SKIP' + 'f269db1941a8bd6715ed8dbdb118975cd9f54edcbdc55a016211936aeeb121a30af2148a33925bc72a9188db43f8d18b2b12c923ba581d882ee527afdb6d4cbd' + '522bde8b76367db6edd461fca8f81d50304a4d764addf33774b3e2c5c93a9e72d93993f54ddd4ee887ceeccf70280aceea3ffaf6370d26310e0a7ebbbf61f26a') +validpgpkeys=('B76CD4671C0968BAA87DE61C5E50715BF2FFE1A7' # Winkels, Erik + '16E12866B7738C73976A57436FFC33439B0D04DF' # Peter van Dijk + 'FBAE0323821C7706A5CA151BDCF513FA7EED19F3' ) # Pieter Lexis + +prepare() { + cd pdns-${pkgver} + patch -Np1 -i ../boost-1.76.patch + autoreconf -vi + # 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,' {} \; +} + +build() { + cd pdns-${pkgver} + ./configure \ +--prefix=/usr \ +--sysconfdir=/etc/powerdns \ +--sbindir=/usr/bin \ +--with-modules='' \ +--with-dynmodules="bind geoip gmysql godbc gpgsql gsqlite3 ldap lmdb lua2 pipe random remote tinydns" \ +--docdir=/usr/share/doc/powerdns \ +--with-libsodium \ +--enable-tools \ +--enable-ixfrdist \ +--disable-dependency-tracking \ +--disable-silent-rules \ +--enable-reproducible \ +--enable-unit-tests \ +--enable-systemd \ +--with-service-user=powerdns \ +--with-service-group=powerdns + make +} + +check() { + make -C pdns-${pkgver} check +} + +package() { + make -C pdns-${pkgver} DESTDIR="${pkgdir}" install + install -Dm 644 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-staging-x86_64/boost-1.76.patch (from rev 966055, powerdns/trunk/boost-1.76.patch) === --- community-staging-x86_64/boost-1.76.patch (rev 0) +++ community-staging-x86_64/boost-1.76.patch 2021-06-20 19:43:16 UTC (rev 966056) @@ -0,0 +1,15 @@ +Upstream commit: https://github.com/PowerDNS/pdns/commit/311f26839819 + +diff -upr pdns-4.4.1.orig/pdns/Makefile.am pdns-4.4.1/pdns/Makefile.am +--- pdns-4.4.1.orig/pdns/Makefile.am 2021-02-07 00:37:20.0 +0200 pdns-4.4.1/pdns/Makefile.am2021-06-09 00:18:28.264532242 +0300 +@@ -6,7 +6,8 @@ AM_CPPFLAGS +=
[arch-commits] Commit in powerdns/repos (4 files)
Date: Tuesday, June 8, 2021 @ 21:29:40 Author: foutrelis Revision: 959918 archrelease: copy trunk to community-staging-x86_64 Added: powerdns/repos/community-staging-x86_64/ powerdns/repos/community-staging-x86_64/PKGBUILD (from rev 959917, powerdns/trunk/PKGBUILD) powerdns/repos/community-staging-x86_64/boost-1.76.patch (from rev 959917, powerdns/trunk/boost-1.76.patch) powerdns/repos/community-staging-x86_64/sysusers.conf (from rev 959917, powerdns/trunk/sysusers.conf) --+ PKGBUILD | 84 + boost-1.76.patch | 15 + sysusers.conf|1 3 files changed, 100 insertions(+) Copied: powerdns/repos/community-staging-x86_64/PKGBUILD (from rev 959917, powerdns/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-06-08 21:29:40 UTC (rev 959918) @@ -0,0 +1,84 @@ +# Maintainer: Levente Polyak +# Maintainer: Remi Gacogne +# Contributor: Alexander Rødseth +# Contributor: Jan de Groot +# Contributor: Kevin Mihelich +# Contributor: Pieter Lexis + +pkgname=powerdns +pkgver=4.4.1 +pkgrel=4 +pkgdesc='Authoritative DNS server' +url='https://www.powerdns.com/' +arch=('x86_64') +license=('GPL2') +depends=('boost-libs' 'libcurl.so' 'libsodium' 'lmdb' 'luajit' 'openssl' 'protobuf' + 'sqlite' 'systemd-libs') +makedepends=('boost' 'geoip' 'libldap' 'mariadb-libs' 'curl' 'libmaxminddb' + 'postgresql-libs' 'systemd' 'tinycdb' 'unixodbc' 'yaml-cpp') +optdepends=('geoip: GeoIP backend' +'mariadb-libs: MariaDB/MySQL and MyDNS backend' +'libldap: LDAP backend' +'libmaxminddb: MaxMindDB GeoIP2 database for the GeoIP 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} +boost-1.76.patch +sysusers.conf) +sha512sums=('a6f31972f77ded8ecfb523e8810dd90e5b7aa628746fee2a9a0daae2a7935800f111ce8617ffd71d5ce3881947d4ffc36c9cb37996a7bcc514536bb4abe1f79e' +'SKIP' + 'f269db1941a8bd6715ed8dbdb118975cd9f54edcbdc55a016211936aeeb121a30af2148a33925bc72a9188db43f8d18b2b12c923ba581d882ee527afdb6d4cbd' + '522bde8b76367db6edd461fca8f81d50304a4d764addf33774b3e2c5c93a9e72d93993f54ddd4ee887ceeccf70280aceea3ffaf6370d26310e0a7ebbbf61f26a') +validpgpkeys=('B76CD4671C0968BAA87DE61C5E50715BF2FFE1A7' # Winkels, Erik + '16E12866B7738C73976A57436FFC33439B0D04DF' # Peter van Dijk + 'FBAE0323821C7706A5CA151BDCF513FA7EED19F3' ) # Pieter Lexis + +prepare() { + cd pdns-${pkgver} + patch -Np1 -i ../boost-1.76.patch + autoreconf -vi + # 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,' {} \; +} + +build() { + cd pdns-${pkgver} + ./configure \ +--prefix=/usr \ +--sysconfdir=/etc/powerdns \ +--sbindir=/usr/bin \ +--with-modules='' \ +--with-dynmodules="bind geoip gmysql godbc gpgsql gsqlite3 ldap lmdb lua2 pipe random remote tinydns" \ +--docdir=/usr/share/doc/powerdns \ +--with-libsodium \ +--enable-tools \ +--enable-ixfrdist \ +--disable-dependency-tracking \ +--disable-silent-rules \ +--enable-reproducible \ +--enable-unit-tests \ +--enable-systemd \ +--with-service-user=powerdns \ +--with-service-group=powerdns + make +} + +check() { + make -C pdns-${pkgver} check +} + +package() { + make -C pdns-${pkgver} DESTDIR="${pkgdir}" install + install -Dm 644 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-staging-x86_64/boost-1.76.patch (from rev 959917, powerdns/trunk/boost-1.76.patch) === --- community-staging-x86_64/boost-1.76.patch (rev 0) +++ community-staging-x86_64/boost-1.76.patch 2021-06-08 21:29:40 UTC (rev 959918) @@ -0,0 +1,15 @@ +Upstream commit: https://github.com/PowerDNS/pdns/commit/311f26839819 + +diff -upr pdns-4.4.1.orig/pdns/Makefile.am pdns-4.4.1/pdns/Makefile.am +--- pdns-4.4.1.orig/pdns/Makefile.am 2021-02-07 00:37:20.0 +0200 pdns-4.4.1/pdns/Makefile.am2021-06-09 00:18:28.264532242 +0300 +@@ -6,7 +6,8 @@ AM_CPPFLAGS +=