Date: Monday, May 13, 2013 @ 16:33:09 Author: spupykin Revision: 90700
upgpkg: pdnsd 1.2.9.a-2 upd Modified: pdnsd/trunk/PKGBUILD Deleted: pdnsd/trunk/rc.d ----------+ PKGBUILD | 8 ++------ rc.d | 37 ------------------------------------- 2 files changed, 2 insertions(+), 43 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2013-05-13 14:33:03 UTC (rev 90699) +++ PKGBUILD 2013-05-13 14:33:09 UTC (rev 90700) @@ -5,17 +5,15 @@ 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 @@ 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 } Deleted: rc.d =================================================================== --- rc.d 2013-05-13 14:33:03 UTC (rev 90699) +++ rc.d 2013-05-13 14:33:09 UTC (rev 90700) @@ -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