summaryrefslogtreecommitdiff
path: root/community/pdnsd
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-06-24 00:04:12 +0000
committerroot <root@rshg054.dnsready.net>2012-06-24 00:04:12 +0000
commit4319f36e44d4e7c70bf010c3286bb1739c59d4de (patch)
tree570e5a756192067d69cbabeab8fcf6b81cec3c51 /community/pdnsd
parent11357a5ab02a7d536375fb8333b2fb67278b4a36 (diff)
Sun Jun 24 00:04:11 UTC 2012
Diffstat (limited to 'community/pdnsd')
-rw-r--r--community/pdnsd/PKGBUILD13
-rw-r--r--community/pdnsd/pdnsd.service9
2 files changed, 17 insertions, 5 deletions
diff --git a/community/pdnsd/PKGBUILD b/community/pdnsd/PKGBUILD
index 70376661d..9a1f40211 100644
--- a/community/pdnsd/PKGBUILD
+++ b/community/pdnsd/PKGBUILD
@@ -1,20 +1,22 @@
-# $Id: PKGBUILD 67319 2012-03-08 16:32:05Z spupykin $
+# $Id: PKGBUILD 72793 2012-06-22 12:51:32Z dreisner $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Henrik Nymann Jensen <h@henriknj.dk>
pkgname=pdnsd
pkgver=1.2.9
-pkgrel=1
+pkgrel=2
pkgdesc="Is a proxy DNS server with permanent caching"
arch=(i686 x86_64)
-url="http://www.phys.uu.nl/~rombouts/pdnsd/"
+url="http://members.home.nl/p.a.rombouts/pdnsd/"
license=('GPL')
depends=('glibc')
#backup=('etc/pdnsd.conf')
source=(http://members.home.nl/p.a.rombouts/pdnsd/releases/pdnsd-$pkgver-par.tar.gz
- pdnsd)
+ pdnsd
+ pdnsd.service)
md5sums=('037f79d191b98974ffc2c9649727bf66'
- '3670bd47c9303fbb655d9216715512de')
+ '3670bd47c9303fbb655d9216715512de'
+ 'fad5e518d126b29fc947941d57a0a494')
build() {
cd $srcdir/$pkgname-$pkgver
@@ -22,4 +24,5 @@ build() {
make
make DESTDIR=$pkgdir install
install -Dm0755 $srcdir/pdnsd $pkgdir/etc/rc.d/pdnsd
+ install -Dm0644 $srcdir/pdnsd.service $pkgdir/usr/lib/systemd/system/pdnsd.service
}
diff --git a/community/pdnsd/pdnsd.service b/community/pdnsd/pdnsd.service
new file mode 100644
index 000000000..5821dbcb2
--- /dev/null
+++ b/community/pdnsd/pdnsd.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=proxy name server
+After=network.target
+
+[Service]
+ExecStart=/usr/sbin/pdnsd
+
+[Install]
+WantedBy=multi-user.target