[arch-commits] Commit in pdns-recursor/repos (6 files)
Alexander Rødseth
arodseth at nymeria.archlinux.org
Tue Jul 9 19:00:37 UTC 2013
Date: Tuesday, July 9, 2013 @ 21:00:37
Author: arodseth
Revision: 93748
archrelease: copy trunk to community-staging-x86_64, community-staging-i686
Added:
pdns-recursor/repos/community-staging-i686/
pdns-recursor/repos/community-staging-i686/PKGBUILD
(from rev 93747, pdns-recursor/trunk/PKGBUILD)
pdns-recursor/repos/community-staging-i686/pdns-recursor.service
(from rev 93747, pdns-recursor/trunk/pdns-recursor.service)
pdns-recursor/repos/community-staging-x86_64/
pdns-recursor/repos/community-staging-x86_64/PKGBUILD
(from rev 93747, pdns-recursor/trunk/PKGBUILD)
pdns-recursor/repos/community-staging-x86_64/pdns-recursor.service
(from rev 93747, pdns-recursor/trunk/pdns-recursor.service)
------------------------------------------------+
community-staging-i686/PKGBUILD | 40 +++++++++++++++++++++++
community-staging-i686/pdns-recursor.service | 10 +++++
community-staging-x86_64/PKGBUILD | 40 +++++++++++++++++++++++
community-staging-x86_64/pdns-recursor.service | 10 +++++
4 files changed, 100 insertions(+)
Copied: pdns-recursor/repos/community-staging-i686/PKGBUILD (from rev 93747, pdns-recursor/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2013-07-09 19:00:37 UTC (rev 93748)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+# Contributor: Jan Steffens <heftig at archlinux.org>
+
+pkgname=pdns-recursor
+pkgver=3.5.2
+pkgrel=1
+pkgdesc='PowerDNS recursor'
+url='https://www.powerdns.com/'
+license=('GPL')
+arch=('x86_64' 'i686')
+depends=('gcc-libs' 'lua51')
+makedepends=('boost')
+backup=('etc/powerdns/recursor.conf')
+source=("http://downloads.powerdns.com/releases/$pkgname-$pkgver.tar.bz2"
+ 'pdns-recursor.service')
+sha256sums=('ffe3158ee5b3f62e927198fd44e839a01d3241a41a4e61afdca6709113c276bd'
+ '51688d9576736fdf210048098fa96c8710bfbd6a63eb4d69d20bac57b299b5f9')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make LUA=1 \
+ LUA_CPPFLAGS_CONFIG="$(pkg-config --cflags lua5.1)" \
+ LUA_LIBS_CONFIG="$(pkg-config --libs lua5.1)"
+}
+
+package() {
+ cd "$srcdir/$pkgname-$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"
+}
+
+# vim:set ts=2 sw=2 et:
Copied: pdns-recursor/repos/community-staging-i686/pdns-recursor.service (from rev 93747, pdns-recursor/trunk/pdns-recursor.service)
===================================================================
--- community-staging-i686/pdns-recursor.service (rev 0)
+++ community-staging-i686/pdns-recursor.service 2013-07-09 19:00:37 UTC (rev 93748)
@@ -0,0 +1,10 @@
+[Unit]
+Description=PowerDNS recursing nameserver
+After=network.target
+
+[Service]
+Type=forking
+ExecStart=/usr/bin/pdns_recursor --daemon
+
+[Install]
+WantedBy=multi-user.target
Copied: pdns-recursor/repos/community-staging-x86_64/PKGBUILD (from rev 93747, pdns-recursor/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2013-07-09 19:00:37 UTC (rev 93748)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+# Contributor: Jan Steffens <heftig at archlinux.org>
+
+pkgname=pdns-recursor
+pkgver=3.5.2
+pkgrel=1
+pkgdesc='PowerDNS recursor'
+url='https://www.powerdns.com/'
+license=('GPL')
+arch=('x86_64' 'i686')
+depends=('gcc-libs' 'lua51')
+makedepends=('boost')
+backup=('etc/powerdns/recursor.conf')
+source=("http://downloads.powerdns.com/releases/$pkgname-$pkgver.tar.bz2"
+ 'pdns-recursor.service')
+sha256sums=('ffe3158ee5b3f62e927198fd44e839a01d3241a41a4e61afdca6709113c276bd'
+ '51688d9576736fdf210048098fa96c8710bfbd6a63eb4d69d20bac57b299b5f9')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make LUA=1 \
+ LUA_CPPFLAGS_CONFIG="$(pkg-config --cflags lua5.1)" \
+ LUA_LIBS_CONFIG="$(pkg-config --libs lua5.1)"
+}
+
+package() {
+ cd "$srcdir/$pkgname-$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"
+}
+
+# vim:set ts=2 sw=2 et:
Copied: pdns-recursor/repos/community-staging-x86_64/pdns-recursor.service (from rev 93747, pdns-recursor/trunk/pdns-recursor.service)
===================================================================
--- community-staging-x86_64/pdns-recursor.service (rev 0)
+++ community-staging-x86_64/pdns-recursor.service 2013-07-09 19:00:37 UTC (rev 93748)
@@ -0,0 +1,10 @@
+[Unit]
+Description=PowerDNS recursing nameserver
+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