summaryrefslogtreecommitdiff
path: root/community/unbound
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-10-21 11:13:53 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-10-21 11:13:53 -0300
commit0fc81a2f2d55fa67c0c719ec87371f0cce0dc344 (patch)
treef615e5bac43a9f0977a687dffc56a866624fddf3 /community/unbound
parent65d9286f54bc65d71cf50737006c9d4c08512070 (diff)
parent1b21445a8e9097b0bb0542ed847fbb1eb832848f (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/haskell-hslogger/PKGBUILD
Diffstat (limited to 'community/unbound')
-rw-r--r--community/unbound/PKGBUILD6
-rw-r--r--community/unbound/rc.d6
2 files changed, 10 insertions, 2 deletions
diff --git a/community/unbound/PKGBUILD b/community/unbound/PKGBUILD
index 57dbaebff..07109a954 100644
--- a/community/unbound/PKGBUILD
+++ b/community/unbound/PKGBUILD
@@ -1,10 +1,12 @@
+# $Id: PKGBUILD 57055 2011-10-19 13:43:09Z bisson $
+
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
# Contributor: Hisato Tatekura <hisato_tatekura@excentrics.net>
# Contributor: Massimiliano Torromeo <massimiliano DOT torromeo AT google mail service>
pkgname=unbound
pkgver=1.4.13
-pkgrel=1
+pkgrel=2
pkgdesc='Validating, recursive, and caching DNS resolver'
arch=('i686' 'x86_64' 'mips64el')
url='http://unbound.net/'
@@ -19,7 +21,7 @@ source=("http://unbound.net/downloads/${pkgname}-${pkgver}.tar.gz"
'rc.d')
sha1sums=('834ccfd1cb41a44f53b33f8338a8f9cc68febaf7'
'5d473ec2943fd85367cdb653fcd58e186f07383f'
- 'a0c8c496d71d43ed9e09b170d3df836dfb096480')
+ 'dc96e772f467b32555df21d16fdb15e98194c228')
install=install
diff --git a/community/unbound/rc.d b/community/unbound/rc.d
index f392450ae..b5b6466de 100644
--- a/community/unbound/rc.d
+++ b/community/unbound/rc.d
@@ -21,6 +21,12 @@ stop)
&& { rm_daemon $name; stat_done; } \
|| { stat_fail; exit 1; }
;;
+reload)
+ stat_busy "Reloading $name daemon"
+ [[ -n "$PID" ]] && kill -SIGHUP $PID &>/dev/null \
+ && { stat_done; } \
+ || { stat_fail; exit 1; }
+ ;;
restart)
$0 stop
sleep 2