Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=6cf16d76c3e7170f0b65f102f10881c945815aa0

commit 6cf16d76c3e7170f0b65f102f10881c945815aa0
Author: Krisztian VASAS <[EMAIL PROTECTED]>
Date:   Sun Apr 13 10:48:29 2008 +0200

pdns-recursor-3.1.5-1-i686
- version bump
- corrected rc script
- changed m8r

diff --git a/source/network-extra/pdns-recursor/FrugalBuild 
b/source/network-extra/pdns-recursor/FrugalBuild
index df919d8..023310d 100644
--- a/source/network-extra/pdns-recursor/FrugalBuild
+++ b/source/network-extra/pdns-recursor/FrugalBuild
@@ -1,10 +1,11 @@
# Compiling Time: 0.12 SBU
-# Maintainer: Karoly CZOVEK <[EMAIL PROTECTED]>
+# Maintainer: Krisztian VASAS <[EMAIL PROTECTED]>
+# Contributor: Karoly CZOVEK <[EMAIL PROTECTED]>
# Contributor: Zoltan Kiss <[EMAIL PROTECTED]>

pkgname=pdns-recursor
-pkgver=3.1.4
-pkgrel=3
+pkgver=3.1.5
+pkgrel=1
pkgdesc="Power DNS recursor"
url="http://www.powerdns.com/";
depends=('libstdc++')
@@ -38,8 +39,8 @@ build()

}

-sha1sums=('d1fa344ec5f2feb12397361f92b011a0cb726d48'\
-          '78c1bed81bd52a53cab99d30e4970953d85f526b'\
+sha1sums=('5f341955e7027f28383704012dd410eef4698fd7'\
+          '51fb5dbfe97bdc738107e948663aa77383c66796'\
'8e5c0b594e2c78ad22c101ca77e278308e136ab8'\
'0ba53bf5ebd8b8f6766d4b06eb4c118c86efd60f')

diff --git a/source/network-extra/pdns-recursor/rc.pdns-recursor 
b/source/network-extra/pdns-recursor/rc.pdns-recursor
index f24081b..5532177 100644
--- a/source/network-extra/pdns-recursor/rc.pdns-recursor
+++ b/source/network-extra/pdns-recursor/rc.pdns-recursor
@@ -1,14 +1,19 @@
#!/bin/bash

-# chkconfig: 2345 99 01 # Change me! :)
-# description: <pdns-recursor  init scripts>
+# (c) 2005 Marcus Habermehl <[EMAIL PROTECTED]>
+# (c) 2008 Krisztian VASAS <[EMAIL PROTECTED]>
+# rc.pdns-recursor for Frugalware
+# distributed under GPL License
+
+# chkconfig: 2345 99 0
+# description: PowerDNS Recursor init script

source /lib/initscripts/functions
-TEXTDOMAIN=pdns-recursor # Change me! :)
+TEXTDOMAIN=pdns-recursor
TEXTDOMAINDIR=/lib/initscripts/messages

-actions=(start stop) # Change me! :)
-daemon=$"pdns-recursor" # Change me! :)
+actions=(start stop)
+daemon=$"pdns-recursor"

prefix=/usr
exec_prefix=${prefix}
@@ -17,8 +22,7 @@ SBINARYPATH=${exec_prefix}/sbin
PIDFILE=/var/run/pdns_recursor.pid
SOCKETPATH=/var/run

-
-pid="pidof pdns_recursor 2> /dev/null" # Change me! :)
+pid="pidof pdns_recursor 2> /dev/null"

# Some scripts need the new runlevel which is contained in $2
if [ -z $2 ] ; then
@@ -44,7 +48,7 @@ rc_stop()
{
stop_msg
if [[ "$(eval $pid)" != "" ]] ; then
-                       kill -9  $pid
+                       kill -9  $(eval $pid)
ok $?
else
ok 999
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to