[arch-commits] Commit in powerdns-recursor/trunk (PKGBUILD pdns-recursor.service)
Levente Polyak
anthraxx at archlinux.org
Tue Aug 30 13:34:56 UTC 2016
Date: Tuesday, August 30, 2016 @ 13:34:55
Author: anthraxx
Revision: 188054
upgpkg: powerdns-recursor 4.0.2-1
Modified:
powerdns-recursor/trunk/PKGBUILD
Deleted:
powerdns-recursor/trunk/pdns-recursor.service
-----------------------+
PKGBUILD | 55 +++++++++++++++++++++---------------------------
pdns-recursor.service | 10 --------
2 files changed, 25 insertions(+), 40 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-08-30 13:18:15 UTC (rev 188053)
+++ PKGBUILD 2016-08-30 13:34:55 UTC (rev 188054)
@@ -1,46 +1,41 @@
-# $Id: PKGBUILD 100035 2013-10-31 11:20:48Z arodseth $
-# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# 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: Jan Steffens <heftig at archlinux.org>
+# Contributor: Remi Gacogne <rgacogne[at]archlinux[dot]org>
pkgname=powerdns-recursor
-pkgver=3.7.3
-pkgrel=3
+pkgver=4.0.2
+pkgrel=1
pkgdesc='Resolving DNS server'
url='https://www.powerdns.com/'
-license=('GPL')
-arch=('x86_64' 'i686')
-depends=('gcc-libs' 'lua')
-makedepends=('boost' 'inetutils')
-replaces=('pdns-recursor')
+arch=('i686' 'x86_64')
+license=('GPL2')
+depends=('gcc-libs' 'boost-libs' 'libsystemd' 'lua' 'openssl' 'protobuf')
+makedepends=('boost' 'inetutils' 'pkg-config')
provides=('pdns-recursor')
conflicts=('pdns-recursor')
backup=('etc/powerdns/recursor.conf')
-source=(http://downloads.powerdns.com/releases/pdns-recursor-$pkgver.tar.bz2{,.asc}
- 'pdns-recursor.service')
-sha256sums=('859ca6071147dd2e2ac1b2a5c3d5c2cbff0f5cbc501660db4259e7cbf27fea11'
- 'SKIP'
- 'd4f545e85dffa86bf23c89ff0f352c74ec3524dfc53871f129656299222e4fba')
-validpgpkeys=('FBAE0323821C7706A5CA151BDCF513FA7EED19F3') # Peter van Dijk <peter.van.dijk at powerdns.com>
+source=(http://downloads.powerdns.com/releases/pdns-recursor-${pkgver}.tar.bz2{,.asc})
+sha512sums=('74dea771deb0bcce6209c256f4c2c82a76d34a80a4a67497b58bf8889166a51864c2649527475aa6e6355af8bba86a68d599828274eaa7521006384223f2e937'
+ 'SKIP')
+validpgpkeys=('B76CD4671C0968BAA87DE61C5E50715BF2FFE1A7') # Pieter Lexis <pieter.lexis at powerdns.com>
build() {
- cd "pdns-recursor-$pkgver"
-
- ./configure --prefix=/usr
- make -j1 LUA=1 \
- LUA_CPPFLAGS_CONFIG="$(pkg-config --cflags lua)" \
- LUA_LIBS_CONFIG="$(pkg-config --libs lua)"
+ cd pdns-recursor-${pkgver}
+ ./configure \
+ --prefix=/usr \
+ --sbindir=/usr/bin \
+ --sysconfdir=/etc/powerdns \
+ --disable-silent-rules \
+ --enable-reproducible
+ make
}
package() {
- cd "pdns-recursor-$pkgver"
-
- make SBINDIR="/usr/bin" DESTDIR="$pkgdir" install
- mv "$pkgdir/etc/powerdns/recursor.conf-dist" \
- "$pkgdir/etc/powerdns/recursor.conf"
- rm -r "$pkgdir/etc/init.d"
- install -Dm644 "$srcdir/pdns-recursor.service" \
- "$pkgdir/usr/lib/systemd/system/pdns-recursor.service"
+ cd pdns-recursor-${pkgver}
+ make DESTDIR="${pkgdir}" install
+ mv "${pkgdir}/etc/powerdns/recursor.conf"{-dist,}
}
-# vim:set ts=2 sw=2 et:
+# vim: ts=2 sw=2 et:
Deleted: pdns-recursor.service
===================================================================
--- pdns-recursor.service 2016-08-30 13:18:15 UTC (rev 188053)
+++ pdns-recursor.service 2016-08-30 13:34:55 UTC (rev 188054)
@@ -1,10 +0,0 @@
-[Unit]
-Description=PowerDNS resolving DNS server
-After=network.target
-
-[Service]
-Type=forking
-ExecStart=/usr/bin/pdns_recursor --daemon
-
-[Install]
-WantedBy=multi-user.target
More information about the arch-commits
mailing list