[arch-commits] Commit in powerdns/repos (3 files)
Levente Polyak
anthraxx at archlinux.org
Tue Jan 9 23:07:48 UTC 2018
Date: Tuesday, January 9, 2018 @ 23:07:47
Author: anthraxx
Revision: 280791
archrelease: copy trunk to community-testing-x86_64
Added:
powerdns/repos/community-testing-x86_64/
powerdns/repos/community-testing-x86_64/PKGBUILD
(from rev 280790, powerdns/trunk/PKGBUILD)
powerdns/repos/community-testing-x86_64/sysusers.conf
(from rev 280790, powerdns/trunk/sysusers.conf)
---------------+
PKGBUILD | 77 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
sysusers.conf | 1
2 files changed, 78 insertions(+)
Copied: powerdns/repos/community-testing-x86_64/PKGBUILD (from rev 280790, powerdns/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2018-01-09 23:07:47 UTC (rev 280791)
@@ -0,0 +1,77 @@
+# 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.1.0
+pkgrel=1
+pkgdesc='Authoritative DNS server'
+url='https://www.powerdns.com/'
+arch=('x86_64')
+license=('GPL2')
+depends=('boost-libs' 'botan' 'libsodium' 'luajit' 'openssl' 'protobuf'
+ 'sqlite' 'systemd' 'lua')
+makedepends=('boost' 'geoip' 'libldap' 'libmariadbclient' 'opendbx' 'pkg-config'
+ 'postgresql-libs' 'tinycdb' 'unixodbc' 'yaml-cpp')
+optdepends=('geoip: GeoIP backend'
+ 'libmariadbclient: 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)
+sha512sums=('4b2b42f4893f8aac3cf07a6c8a3c999cb728a5907a710f1a5c9c8d08377ecb63e202e5eececbefc069c8f1d97a29b2aa607da7cf2bcc6335a72222418e409e77'
+ 'SKIP'
+ '522bde8b76367db6edd461fca8f81d50304a4d764addf33774b3e2c5c93a9e72d93993f54ddd4ee887ceeccf70280aceea3ffaf6370d26310e0a7ebbbf61f26a')
+validpgpkeys=('B76CD4671C0968BAA87DE61C5E50715BF2FFE1A7' # Winkels, Erik <erik.winkels at open-xchange.com>
+ '16E12866B7738C73976A57436FFC33439B0D04DF') # 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,' {} \;
+}
+
+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 280790, powerdns/trunk/sysusers.conf)
===================================================================
--- community-testing-x86_64/sysusers.conf (rev 0)
+++ community-testing-x86_64/sysusers.conf 2018-01-09 23:07:47 UTC (rev 280791)
@@ -0,0 +1 @@
+u powerdns - "PowerDNS Authoritative Server" -
More information about the arch-commits
mailing list