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

Felix Yan fyan at archlinux.org
Wed Nov 5 04:42:02 UTC 2014


    Date: Wednesday, November 5, 2014 @ 05:42:02
  Author: fyan
Revision: 121932

archrelease: copy trunk to community-staging-x86_64, community-staging-i686

Added:
  powerdns/repos/community-staging-i686/
  powerdns/repos/community-staging-i686/PKGBUILD
    (from rev 121931, powerdns/trunk/PKGBUILD)
  powerdns/repos/community-staging-i686/pdns.service
    (from rev 121931, powerdns/trunk/pdns.service)
  powerdns/repos/community-staging-x86_64/
  powerdns/repos/community-staging-x86_64/PKGBUILD
    (from rev 121931, powerdns/trunk/PKGBUILD)
  powerdns/repos/community-staging-x86_64/pdns.service
    (from rev 121931, powerdns/trunk/pdns.service)

---------------------------------------+
 community-staging-i686/PKGBUILD       |   80 ++++++++++++++++++++++++++++++++
 community-staging-i686/pdns.service   |   12 ++++
 community-staging-x86_64/PKGBUILD     |   80 ++++++++++++++++++++++++++++++++
 community-staging-x86_64/pdns.service |   12 ++++
 4 files changed, 184 insertions(+)

Copied: powerdns/repos/community-staging-i686/PKGBUILD (from rev 121931, powerdns/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2014-11-05 04:42:02 UTC (rev 121932)
@@ -0,0 +1,80 @@
+# $Id: PKGBUILD 101429 2013-11-25 14:11:30Z arodseth $
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+# Contributor: Kevin Mihelich <kevin at archlinuxarm.org>
+
+pkgname=powerdns
+pkgver=3.4.0
+pkgrel=3
+pkgdesc='Authoritative DNS server'
+arch=('x86_64' 'i686')
+url='http://www.powerdns.com/'
+license=('GPL')
+depends=('boost-libs' 'gcc-libs' 'postgresql-libs' 'libmariadbclient' 'sqlite' 'libldap' 'lua')
+makedepends=('boost' 'setconf>=0.6.3')
+provides=('pdns' 'pdns-ldap' 'pdns-mysql' 'pdns-sqlite' 'pdns-pgsql')
+replaces=('pdns' 'pdns-ldap' 'pdns-mysql' 'pdns-sqlite' 'pdns-pgsql')
+conflicts=('pdns' 'pdns-ldap' 'pdns-mysql' 'pdns-sqlite' 'pdns-pgsql')
+options=('!makeflags')
+backup=('etc/powerdns/pdns.conf')
+source=("http://downloads.powerdns.com/releases/pdns-$pkgver.tar.bz2"
+        'pdns.service')
+sha256sums=('0780f7a7fe768f9debc9decadb5d3a555b716eed14296e7c41f355bf8db4825e'
+            'b2358a5951ac944feee15ac03d42ffe9c2a72fa6f57746f77ef8997d54a82040')
+
+prepare() {
+  touch "pdns-$pkgver/AUTHORS" "pdns-$pkgver/NEWS"
+
+  # Make changes to pdns.conf, while basing it on pdns.conf-dist
+  cp "pdns-$pkgver/pdns/pdns.conf-dist" pdns.conf
+
+  # Using setconf for setting the configuration options will make
+  # more sense in the next version of setconf, where uncommenting code
+  # will be supported.
+  for keyvalue in \
+    allow-recursion=127.0.0.1 \
+    cache-ttl=6 \
+    chroot=/var/empty \
+    config-dir=/etc \
+    daemon=yes \
+    distributor-threads=3 \
+    guardian=yes \
+    local-port=53 \
+    loglevel=3 \
+    module-dir=/usr/lib/pdns \
+    negquery-cache-ttl=60 \
+    setgid=nobody \
+    setuid=nobody \
+    socket-dir=/var/run \
+    webserver=no
+  do
+    setconf -a pdns.conf "$keyvalue"
+  done
+}
+
+build() {
+  cd "pdns-$pkgver"
+
+  ./configure \
+    --prefix=/usr \
+    --sysconfdir=/etc/powerdns \
+    --libexecdir=/usr/lib \
+    --libdir=/usr/lib \
+    --mandir=/usr/share/man \
+    --with-modules='' \
+    --with-dynmodules="ldap pipe gmysql gpgsql gsqlite3 geo" \
+    --docdir=/usr/share/doc/powerdns \
+    --sbindir=/usr/bin \
+    --bindir=/usr/bin
+  make  
+}
+
+package() {
+  make -C "pdns-$pkgver" DESTDIR="$pkgdir" install
+  install -m644 "pdns.conf" "$pkgdir/etc/powerdns/"
+  install -Dm644 "pdns.service" \
+    "$pkgdir/usr/lib/systemd/system/pdns.service"
+  rm -f "$pkgdir/etc/powerdns/pdns.conf-dist"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: powerdns/repos/community-staging-i686/pdns.service (from rev 121931, powerdns/trunk/pdns.service)
===================================================================
--- community-staging-i686/pdns.service	                        (rev 0)
+++ community-staging-i686/pdns.service	2014-11-05 04:42:02 UTC (rev 121932)
@@ -0,0 +1,12 @@
+[Unit]
+Description=PowerDNS Authorative Server
+After=syslog.target network.target
+
+[Service]
+Type=forking
+ExecStart=/usr/bin/pdns_server --daemon --guardian=yes
+ExecReload=/usr/bin/pdns_control cycle
+ExecStop=/usr/bin/pdns_control quit
+
+[Install]
+WantedBy=multi-user.target

Copied: powerdns/repos/community-staging-x86_64/PKGBUILD (from rev 121931, powerdns/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2014-11-05 04:42:02 UTC (rev 121932)
@@ -0,0 +1,80 @@
+# $Id: PKGBUILD 101429 2013-11-25 14:11:30Z arodseth $
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+# Contributor: Kevin Mihelich <kevin at archlinuxarm.org>
+
+pkgname=powerdns
+pkgver=3.4.0
+pkgrel=3
+pkgdesc='Authoritative DNS server'
+arch=('x86_64' 'i686')
+url='http://www.powerdns.com/'
+license=('GPL')
+depends=('boost-libs' 'gcc-libs' 'postgresql-libs' 'libmariadbclient' 'sqlite' 'libldap' 'lua')
+makedepends=('boost' 'setconf>=0.6.3')
+provides=('pdns' 'pdns-ldap' 'pdns-mysql' 'pdns-sqlite' 'pdns-pgsql')
+replaces=('pdns' 'pdns-ldap' 'pdns-mysql' 'pdns-sqlite' 'pdns-pgsql')
+conflicts=('pdns' 'pdns-ldap' 'pdns-mysql' 'pdns-sqlite' 'pdns-pgsql')
+options=('!makeflags')
+backup=('etc/powerdns/pdns.conf')
+source=("http://downloads.powerdns.com/releases/pdns-$pkgver.tar.bz2"
+        'pdns.service')
+sha256sums=('0780f7a7fe768f9debc9decadb5d3a555b716eed14296e7c41f355bf8db4825e'
+            'b2358a5951ac944feee15ac03d42ffe9c2a72fa6f57746f77ef8997d54a82040')
+
+prepare() {
+  touch "pdns-$pkgver/AUTHORS" "pdns-$pkgver/NEWS"
+
+  # Make changes to pdns.conf, while basing it on pdns.conf-dist
+  cp "pdns-$pkgver/pdns/pdns.conf-dist" pdns.conf
+
+  # Using setconf for setting the configuration options will make
+  # more sense in the next version of setconf, where uncommenting code
+  # will be supported.
+  for keyvalue in \
+    allow-recursion=127.0.0.1 \
+    cache-ttl=6 \
+    chroot=/var/empty \
+    config-dir=/etc \
+    daemon=yes \
+    distributor-threads=3 \
+    guardian=yes \
+    local-port=53 \
+    loglevel=3 \
+    module-dir=/usr/lib/pdns \
+    negquery-cache-ttl=60 \
+    setgid=nobody \
+    setuid=nobody \
+    socket-dir=/var/run \
+    webserver=no
+  do
+    setconf -a pdns.conf "$keyvalue"
+  done
+}
+
+build() {
+  cd "pdns-$pkgver"
+
+  ./configure \
+    --prefix=/usr \
+    --sysconfdir=/etc/powerdns \
+    --libexecdir=/usr/lib \
+    --libdir=/usr/lib \
+    --mandir=/usr/share/man \
+    --with-modules='' \
+    --with-dynmodules="ldap pipe gmysql gpgsql gsqlite3 geo" \
+    --docdir=/usr/share/doc/powerdns \
+    --sbindir=/usr/bin \
+    --bindir=/usr/bin
+  make  
+}
+
+package() {
+  make -C "pdns-$pkgver" DESTDIR="$pkgdir" install
+  install -m644 "pdns.conf" "$pkgdir/etc/powerdns/"
+  install -Dm644 "pdns.service" \
+    "$pkgdir/usr/lib/systemd/system/pdns.service"
+  rm -f "$pkgdir/etc/powerdns/pdns.conf-dist"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: powerdns/repos/community-staging-x86_64/pdns.service (from rev 121931, powerdns/trunk/pdns.service)
===================================================================
--- community-staging-x86_64/pdns.service	                        (rev 0)
+++ community-staging-x86_64/pdns.service	2014-11-05 04:42:02 UTC (rev 121932)
@@ -0,0 +1,12 @@
+[Unit]
+Description=PowerDNS Authorative Server
+After=syslog.target network.target
+
+[Service]
+Type=forking
+ExecStart=/usr/bin/pdns_server --daemon --guardian=yes
+ExecReload=/usr/bin/pdns_control cycle
+ExecStop=/usr/bin/pdns_control quit
+
+[Install]
+WantedBy=multi-user.target


More information about the arch-commits mailing list