From 1b21445a8e9097b0bb0542ed847fbb1eb832848f Mon Sep 17 00:00:00 2001 From: root Date: Thu, 20 Oct 2011 23:14:58 +0000 Subject: Thu Oct 20 23:14:58 UTC 2011 --- community/unbound/PKGBUILD | 6 ++++-- community/unbound/rc.d | 6 ++++++ 2 files changed, 10 insertions(+), 2 deletions(-) (limited to 'community/unbound') diff --git a/community/unbound/PKGBUILD b/community/unbound/PKGBUILD index fc2610b7d..00e8f4774 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 # Contributor: Hisato Tatekura # Contributor: Massimiliano Torromeo pkgname=unbound pkgver=1.4.13 -pkgrel=1 +pkgrel=2 pkgdesc='Validating, recursive, and caching DNS resolver' arch=('i686' 'x86_64') 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 -- cgit v1.2.3-54-g00ecf