summaryrefslogtreecommitdiff
path: root/community/pdnsd
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-05-14 01:18:40 -0700
committerroot <root@rshg054.dnsready.net>2013-05-14 01:18:40 -0700
commit2e5b72e5e8dfb5199a9b0da7c76d052a456662c2 (patch)
treefa055d4e2f367acb518de6c4e06b77b6d8cbef75 /community/pdnsd
parent66cb4a487ad73063c6b000279a5d5558fb7603f5 (diff)
Tue May 14 01:18:40 PDT 2013
Diffstat (limited to 'community/pdnsd')
-rw-r--r--community/pdnsd/PKGBUILD10
-rw-r--r--community/pdnsd/rc.d37
2 files changed, 3 insertions, 44 deletions
diff --git a/community/pdnsd/PKGBUILD b/community/pdnsd/PKGBUILD
index b6c872299..db92359f5 100644
--- a/community/pdnsd/PKGBUILD
+++ b/community/pdnsd/PKGBUILD
@@ -1,21 +1,19 @@
-# $Id: PKGBUILD 75512 2012-08-26 18:24:09Z bpiotrowski $
+# $Id: PKGBUILD 90701 2013-05-13 14:33:26Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Henrik Nymann Jensen <h@henriknj.dk>
pkgname=pdnsd
pkgver=1.2.9.a
_pkgver=${pkgver/.a/a}
-pkgrel=1
+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
- rc.d
- service)
+ service)
md5sums=('2f3e705d59a0f9308ad9504b24400769'
- '3670bd47c9303fbb655d9216715512de'
'fad5e518d126b29fc947941d57a0a494')
build() {
@@ -27,7 +25,5 @@ build() {
package() {
cd $srcdir/$pkgname-$_pkgver
make DESTDIR=$pkgdir install
-
- install -Dm0755 $srcdir/rc.d $pkgdir/etc/rc.d/pdnsd
install -Dm0644 $srcdir/service $pkgdir/usr/lib/systemd/system/pdnsd.service
}
diff --git a/community/pdnsd/rc.d b/community/pdnsd/rc.d
deleted file mode 100644
index 34a541d18..000000000
--- a/community/pdnsd/rc.d
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-PID=`pidof -o %PPID /usr/sbin/pdnsd`
-case "$1" in
- start)
- stat_busy "Starting pdnsd Daemon"
- if [ -z "$PID" ]; then
- /usr/sbin/pdnsd -d
- fi
- if [ ! -z "$PID" -o $? -gt 0 ]; then
- stat_fail
- else
- add_daemon pdnsd
- stat_done
- fi
- ;;
- stop)
- stat_busy "Stopping pdnsd Daemon"
- [ ! -z "$PID" ] && kill -TERM $PID &> /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm_daemon pdnsd
- stat_done
- fi
- ;;
- restart)
- $0 stop
- sleep 1
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac