[arch-commits] Commit in pdnsd/repos (8 files)

2014-03-26 Thread Daniel Micay
Date: Wednesday, March 26, 2014 @ 12:09:31
  Author: thestinger
Revision: 108298

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

Added:
  pdnsd/repos/community-i686/PKGBUILD
(from rev 108297, pdnsd/trunk/PKGBUILD)
  pdnsd/repos/community-i686/pdnsd.install
(from rev 108297, pdnsd/trunk/pdnsd.install)
  pdnsd/repos/community-i686/service
(from rev 108297, pdnsd/trunk/service)
  pdnsd/repos/community-x86_64/PKGBUILD
(from rev 108297, pdnsd/trunk/PKGBUILD)
  pdnsd/repos/community-x86_64/pdnsd.install
(from rev 108297, pdnsd/trunk/pdnsd.install)
  pdnsd/repos/community-x86_64/service
(from rev 108297, pdnsd/trunk/service)
Deleted:
  pdnsd/repos/community-i686/pdnsd.install
  pdnsd/repos/community-x86_64/pdnsd.install

+
 /pdnsd.install |   54 +++
 community-i686/PKGBUILD|   39 
 community-i686/pdnsd.install   |   22 ---
 community-i686/service |9 ++
 community-x86_64/PKGBUILD  |   39 
 community-x86_64/pdnsd.install |   22 ---
 community-x86_64/service   |9 ++
 7 files changed, 150 insertions(+), 44 deletions(-)

Copied: pdnsd/repos/community-i686/PKGBUILD (from rev 108297, 
pdnsd/trunk/PKGBUILD)
===
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2014-03-26 11:09:31 UTC (rev 108298)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Sergej Pupykin pupykin.s+a...@gmail.com
+# Contributor: Daniel Micay danielmi...@gmail.com
+# Contributor: Henrik Nymann Jensen h...@henriknj.dk
+
+pkgname=pdnsd
+pkgver=1.2.9.a
+_pkgver=${pkgver/.a/a}
+pkgrel=6
+pkgdesc=Proxy DNS server with permanent caching
+arch=(i686 x86_64)
+url=http://members.home.nl/p.a.rombouts/pdnsd/;
+license=('GPL')
+depends=('glibc')
+backup=(etc/pdnsd.conf)
+install=${pkgname}.install
+source=(http://members.home.nl/p.a.rombouts/pdnsd/releases/pdnsd-$_pkgver-par.tar.gz
+   service)
+md5sums=('2f3e705d59a0f9308ad9504b24400769'
+ '4f86bdbd8495b53341070d5720491996')
+
+build() {
+  cd $srcdir/$pkgname-$_pkgver
+  ./configure --prefix=/usr --sysconfdir=/etc --sbindir=/usr/bin --enable-ipv6
+  make
+}
+
+package() {
+  cd $srcdir/$pkgname-$_pkgver
+  make DESTDIR=$pkgdir install
+  install -Dm0644 ../service $pkgdir/usr/lib/systemd/system/pdnsd.service
+
+  # Rename the configuration file, so users get pacnew files.
+  mv $pkgdir/etc/pdnsd.conf.sample $pkgdir/etc/pdnsd.conf
+
+  sed -i 's/nobody/pdnsd/' $pkgdir/etc/pdnsd.conf
+
+  chown 184:184 $pkgdir/var/cache/pdnsd
+}

Deleted: community-i686/pdnsd.install
===
--- community-i686/pdnsd.install2014-03-26 11:03:52 UTC (rev 108297)
+++ community-i686/pdnsd.install2014-03-26 11:09:31 UTC (rev 108298)
@@ -1,22 +0,0 @@
-post_install() {
-  getent group pdnsd /dev/null || groupadd -g 184 pdnsd /dev/null
-  getent passwd pdnsd /dev/null || useradd -u 184 -g pdnsd -d /var/lib/pdnsd 
-c 'Proxy DNS server' -s /bin/nologin pdnsd /dev/null
-  true
-}
-
-post_upgrade() {
-  if [[ $(vercmp $2 1.2.9.a-5) -le 0 ]]; then
-# in case the user/group were already created as recommended by the wiki
-userdel pdnsd /dev/null
-groupdel pdnsd /dev/null
-
-post_install
-chown -R 184:184 /var/cache/pdnsd
-  fi
-}
-
-post_remove() {
-  getent passwd pdnsd /dev/null  userdel pdnsd /dev/null
-  getent group pdnsd /dev/null  groupdel pdnsd /dev/null
-  true
-}

Copied: pdnsd/repos/community-i686/pdnsd.install (from rev 108297, 
pdnsd/trunk/pdnsd.install)
===
--- community-i686/pdnsd.install(rev 0)
+++ community-i686/pdnsd.install2014-03-26 11:09:31 UTC (rev 108298)
@@ -0,0 +1,27 @@
+post_install() {
+  getent group pdnsd /dev/null || groupadd -g 184 pdnsd /dev/null
+  getent passwd pdnsd /dev/null || useradd -u 184 -g pdnsd -d 
/var/cache/pdnsd -c 'Proxy DNS server' -s /bin/nologin pdnsd /dev/null
+  true
+}
+
+post_upgrade() {
+  if [[ $(vercmp $2 1.2.9.a-6) -le 0 ]]; then
+echo Stopping pdnsd service in order to modify the user/group.
+systemctl stop pdnsd
+
+# in case the user/group were already created as recommended by the wiki
+userdel pdnsd /dev/null
+groupdel pdnsd /dev/null
+
+post_install
+chown -R 184:184 /var/cache/pdnsd
+
+echo You may now restart the pdnsd service.
+  fi
+}
+
+post_remove() {
+  getent passwd pdnsd /dev/null  userdel pdnsd /dev/null
+  getent group pdnsd /dev/null  groupdel pdnsd /dev/null
+  true
+}

Copied: pdnsd/repos/community-i686/service (from rev 108297, 
pdnsd/trunk/service)
===
--- community-i686/service  (rev 0)
+++ 

[arch-commits] Commit in pdnsd/repos (8 files)

2013-05-23 Thread Sergej Pupykin
Date: Thursday, May 23, 2013 @ 12:14:34
  Author: spupykin
Revision: 91500

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

Added:
  pdnsd/repos/community-i686/PKGBUILD
(from rev 91499, pdnsd/trunk/PKGBUILD)
  pdnsd/repos/community-i686/service
(from rev 91499, pdnsd/trunk/service)
  pdnsd/repos/community-x86_64/PKGBUILD
(from rev 91499, pdnsd/trunk/PKGBUILD)
  pdnsd/repos/community-x86_64/service
(from rev 91499, pdnsd/trunk/service)
Deleted:
  pdnsd/repos/community-i686/PKGBUILD
  pdnsd/repos/community-i686/service
  pdnsd/repos/community-x86_64/PKGBUILD
  pdnsd/repos/community-x86_64/service

---+
 /PKGBUILD |   58 
 /service  |   18 +
 community-i686/PKGBUILD   |   29 --
 community-i686/service|9 --
 community-x86_64/PKGBUILD |   29 --
 community-x86_64/service  |9 --
 6 files changed, 76 insertions(+), 76 deletions(-)

Deleted: community-i686/PKGBUILD
===
--- community-i686/PKGBUILD 2013-05-23 10:14:18 UTC (rev 91499)
+++ community-i686/PKGBUILD 2013-05-23 10:14:34 UTC (rev 91500)
@@ -1,29 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin pupykin.s+a...@gmail.com
-# Contributor: Henrik Nymann Jensen h...@henriknj.dk
-
-pkgname=pdnsd
-pkgver=1.2.9.a
-_pkgver=${pkgver/.a/a}
-pkgrel=3
-pkgdesc=Proxy DNS server with permanent caching
-arch=(i686 x86_64)
-url=http://members.home.nl/p.a.rombouts/pdnsd/;
-license=('GPL')
-depends=('glibc')
-source=(http://members.home.nl/p.a.rombouts/pdnsd/releases/pdnsd-$_pkgver-par.tar.gz
-   service)
-md5sums=('2f3e705d59a0f9308ad9504b24400769'
- 'fad5e518d126b29fc947941d57a0a494')
-
-build() {
-   cd $srcdir/$pkgname-${_pkgver}
-   ./configure --prefix=/usr --sysconfdir=/etc --enable-ipv6
-   make
-}
-
-package() {
-   cd $srcdir/$pkgname-${_pkgver}
-   make DESTDIR=$pkgdir install
-   install -Dm0644 $srcdir/service 
$pkgdir/usr/lib/systemd/system/pdnsd.service
-}

Copied: pdnsd/repos/community-i686/PKGBUILD (from rev 91499, 
pdnsd/trunk/PKGBUILD)
===
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2013-05-23 10:14:34 UTC (rev 91500)
@@ -0,0 +1,29 @@
+# $Id$
+# Maintainer: Sergej Pupykin pupykin.s+a...@gmail.com
+# Contributor: Henrik Nymann Jensen h...@henriknj.dk
+
+pkgname=pdnsd
+pkgver=1.2.9.a
+_pkgver=${pkgver/.a/a}
+pkgrel=4
+pkgdesc=Proxy DNS server with permanent caching
+arch=(i686 x86_64)
+url=http://members.home.nl/p.a.rombouts/pdnsd/;
+license=('GPL')
+depends=('glibc')
+source=(http://members.home.nl/p.a.rombouts/pdnsd/releases/pdnsd-$_pkgver-par.tar.gz
+   service)
+md5sums=('2f3e705d59a0f9308ad9504b24400769'
+ '4f86bdbd8495b53341070d5720491996')
+
+build() {
+   cd $srcdir/$pkgname-${_pkgver}
+   ./configure --prefix=/usr --sysconfdir=/etc --sbindir=/usr/bin 
--enable-ipv6
+   make
+}
+
+package() {
+   cd $srcdir/$pkgname-${_pkgver}
+   make DESTDIR=$pkgdir install
+   install -Dm0644 $srcdir/service 
$pkgdir/usr/lib/systemd/system/pdnsd.service
+}

Deleted: community-i686/service
===
--- community-i686/service  2013-05-23 10:14:18 UTC (rev 91499)
+++ community-i686/service  2013-05-23 10:14:34 UTC (rev 91500)
@@ -1,9 +0,0 @@
-[Unit]
-Description=proxy name server
-After=network.target
-
-[Service]
-ExecStart=/usr/sbin/pdnsd
-
-[Install]
-WantedBy=multi-user.target

Copied: pdnsd/repos/community-i686/service (from rev 91499, pdnsd/trunk/service)
===
--- community-i686/service  (rev 0)
+++ community-i686/service  2013-05-23 10:14:34 UTC (rev 91500)
@@ -0,0 +1,9 @@
+[Unit]
+Description=proxy name server
+After=network.target
+
+[Service]
+ExecStart=/usr/bin/pdnsd
+
+[Install]
+WantedBy=multi-user.target

Deleted: community-x86_64/PKGBUILD
===
--- community-x86_64/PKGBUILD   2013-05-23 10:14:18 UTC (rev 91499)
+++ community-x86_64/PKGBUILD   2013-05-23 10:14:34 UTC (rev 91500)
@@ -1,29 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin pupykin.s+a...@gmail.com
-# Contributor: Henrik Nymann Jensen h...@henriknj.dk
-
-pkgname=pdnsd
-pkgver=1.2.9.a
-_pkgver=${pkgver/.a/a}
-pkgrel=3
-pkgdesc=Proxy DNS server with permanent caching
-arch=(i686 x86_64)
-url=http://members.home.nl/p.a.rombouts/pdnsd/;
-license=('GPL')
-depends=('glibc')
-source=(http://members.home.nl/p.a.rombouts/pdnsd/releases/pdnsd-$_pkgver-par.tar.gz
-   service)
-md5sums=('2f3e705d59a0f9308ad9504b24400769'
- 'fad5e518d126b29fc947941d57a0a494')
-
-build() {
-   cd $srcdir/$pkgname-${_pkgver}
-   

[arch-commits] Commit in pdnsd/repos (8 files)

2013-05-20 Thread Sergej Pupykin
Date: Monday, May 20, 2013 @ 11:54:25
  Author: spupykin
Revision: 91143

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

Added:
  pdnsd/repos/community-i686/PKGBUILD
(from rev 91142, pdnsd/trunk/PKGBUILD)
  pdnsd/repos/community-i686/service
(from rev 91142, pdnsd/trunk/service)
  pdnsd/repos/community-x86_64/PKGBUILD
(from rev 91142, pdnsd/trunk/PKGBUILD)
  pdnsd/repos/community-x86_64/service
(from rev 91142, pdnsd/trunk/service)
Deleted:
  pdnsd/repos/community-i686/PKGBUILD
  pdnsd/repos/community-i686/service
  pdnsd/repos/community-x86_64/PKGBUILD
  pdnsd/repos/community-x86_64/service

---+
 /PKGBUILD |   58 
 /service  |   18 +
 community-i686/PKGBUILD   |   29 --
 community-i686/service|9 --
 community-x86_64/PKGBUILD |   29 --
 community-x86_64/service  |9 --
 6 files changed, 76 insertions(+), 76 deletions(-)

Deleted: community-i686/PKGBUILD
===
--- community-i686/PKGBUILD 2013-05-20 09:54:05 UTC (rev 91142)
+++ community-i686/PKGBUILD 2013-05-20 09:54:25 UTC (rev 91143)
@@ -1,29 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin pupykin.s+a...@gmail.com
-# Contributor: Henrik Nymann Jensen h...@henriknj.dk
-
-pkgname=pdnsd
-pkgver=1.2.9.a
-_pkgver=${pkgver/.a/a}
-pkgrel=2
-pkgdesc=Proxy DNS server with permanent caching
-arch=(i686 x86_64)
-url=http://members.home.nl/p.a.rombouts/pdnsd/;
-license=('GPL')
-depends=('glibc')
-source=(http://members.home.nl/p.a.rombouts/pdnsd/releases/pdnsd-$_pkgver-par.tar.gz
-   service)
-md5sums=('2f3e705d59a0f9308ad9504b24400769'
- 'fad5e518d126b29fc947941d57a0a494')
-
-build() {
-   cd $srcdir/$pkgname-$_pkgver
-   ./configure --prefix=/usr --sysconfdir=/etc
-   make
-}
-
-package() {
-   cd $srcdir/$pkgname-$_pkgver
-   make DESTDIR=$pkgdir install
-   install -Dm0644 $srcdir/service 
$pkgdir/usr/lib/systemd/system/pdnsd.service
-}

Copied: pdnsd/repos/community-i686/PKGBUILD (from rev 91142, 
pdnsd/trunk/PKGBUILD)
===
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2013-05-20 09:54:25 UTC (rev 91143)
@@ -0,0 +1,29 @@
+# $Id$
+# Maintainer: Sergej Pupykin pupykin.s+a...@gmail.com
+# Contributor: Henrik Nymann Jensen h...@henriknj.dk
+
+pkgname=pdnsd
+pkgver=1.2.9.a
+_pkgver=${pkgver/.a/a}
+pkgrel=3
+pkgdesc=Proxy DNS server with permanent caching
+arch=(i686 x86_64)
+url=http://members.home.nl/p.a.rombouts/pdnsd/;
+license=('GPL')
+depends=('glibc')
+source=(http://members.home.nl/p.a.rombouts/pdnsd/releases/pdnsd-$_pkgver-par.tar.gz
+   service)
+md5sums=('2f3e705d59a0f9308ad9504b24400769'
+ 'fad5e518d126b29fc947941d57a0a494')
+
+build() {
+   cd $srcdir/$pkgname-${_pkgver}
+   ./configure --prefix=/usr --sysconfdir=/etc --enable-ipv6
+   make
+}
+
+package() {
+   cd $srcdir/$pkgname-${_pkgver}
+   make DESTDIR=$pkgdir install
+   install -Dm0644 $srcdir/service 
$pkgdir/usr/lib/systemd/system/pdnsd.service
+}

Deleted: community-i686/service
===
--- community-i686/service  2013-05-20 09:54:05 UTC (rev 91142)
+++ community-i686/service  2013-05-20 09:54:25 UTC (rev 91143)
@@ -1,9 +0,0 @@
-[Unit]
-Description=proxy name server
-After=network.target
-
-[Service]
-ExecStart=/usr/sbin/pdnsd
-
-[Install]
-WantedBy=multi-user.target

Copied: pdnsd/repos/community-i686/service (from rev 91142, pdnsd/trunk/service)
===
--- community-i686/service  (rev 0)
+++ community-i686/service  2013-05-20 09:54:25 UTC (rev 91143)
@@ -0,0 +1,9 @@
+[Unit]
+Description=proxy name server
+After=network.target
+
+[Service]
+ExecStart=/usr/sbin/pdnsd
+
+[Install]
+WantedBy=multi-user.target

Deleted: community-x86_64/PKGBUILD
===
--- community-x86_64/PKGBUILD   2013-05-20 09:54:05 UTC (rev 91142)
+++ community-x86_64/PKGBUILD   2013-05-20 09:54:25 UTC (rev 91143)
@@ -1,29 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin pupykin.s+a...@gmail.com
-# Contributor: Henrik Nymann Jensen h...@henriknj.dk
-
-pkgname=pdnsd
-pkgver=1.2.9.a
-_pkgver=${pkgver/.a/a}
-pkgrel=2
-pkgdesc=Proxy DNS server with permanent caching
-arch=(i686 x86_64)
-url=http://members.home.nl/p.a.rombouts/pdnsd/;
-license=('GPL')
-depends=('glibc')
-source=(http://members.home.nl/p.a.rombouts/pdnsd/releases/pdnsd-$_pkgver-par.tar.gz
-   service)
-md5sums=('2f3e705d59a0f9308ad9504b24400769'
- 'fad5e518d126b29fc947941d57a0a494')
-
-build() {
-   cd $srcdir/$pkgname-$_pkgver
-   ./configure --prefix=/usr --sysconfdir=/etc
-