community/unbound to 1.5.9-2

This commit is contained in:
Kevin Mihelich 2016-07-28 21:26:18 +00:00
parent 08666a2330
commit 809acdef10
2 changed files with 3 additions and 8 deletions

View file

@ -8,7 +8,7 @@
pkgname=unbound
pkgver=1.5.9
pkgrel=1
pkgrel=2
pkgdesc='Validating, recursive, and caching DNS resolver'
url='http://unbound.net/'
license=('custom:BSD')
@ -21,7 +21,8 @@ validpgpkeys=('EDFAA3F2CA4E6EB05681AF8E9F6F1C2D7E045F8D')
source=("http://unbound.net/downloads/${pkgname}-${pkgver}.tar.gz"{,.asc}
'service'
'conf')
sha1sums=('4882c52aac0abcd72a86ac5d06e9cd39576620ce' 'SKIP'
sha1sums=('4882c52aac0abcd72a86ac5d06e9cd39576620ce'
'SKIP'
'63fcc187cec6f262d81600e66c6747285c72ad15'
'98515708441cb831890a0b6d1986fd40649646c0')

View file

@ -2,9 +2,3 @@ post_install() {
getent group unbound &>/dev/null || groupadd -r unbound >/dev/null
getent passwd unbound &>/dev/null || useradd -r -g unbound -d /etc/unbound -s /bin/false -c unbound unbound >/dev/null
}
post_remove() {
getent passwd unbound &>/dev/null && userdel unbound >/dev/null
getent group unbound &>/dev/null && groupdel unbound >/dev/null
return 0
}