Commit ab5ee9b1 authored by Leo's avatar Leo Committed by Natanael Copa

main/unbound: upgrade to 1.9.3

parent c1b6b2e5
......@@ -2,8 +2,8 @@
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=unbound
pkgver=1.9.2
pkgrel=1
pkgver=1.9.3
pkgrel=0
pkgdesc="Unbound is a validating, recursive, and caching DNS resolver"
url="http://unbound.net/"
arch="all"
......@@ -18,13 +18,12 @@ pkgusers="unbound"
pkggroups="unbound"
subpackages="$pkgname-dev $pkgname-doc $pkgname-libs $pkgname-dbg
$pkgname-openrc py-unbound:py $pkgname-migrate::noarch"
source="https://unbound.net/downloads/$pkgname-$pkgver.tar.gz
source="https://unbound.net/downloads/unbound-$pkgver.tar.gz
conf.patch
migrate-dnscache-to-unbound
$pkgname.initd
$pkgname.confd
"
builddir="$srcdir/$pkgname-$pkgver"
build() {
cd "$builddir"
......@@ -107,8 +106,8 @@ migrate() {
"$subpkgdir"/usr/bin/migrate-dnscache-to-unbound
}
sha512sums="118f0e53ee2d5cfb53ce1f792ca680cc01b5825bf81575e36bd3b24f3bdbe14e6631401bf1bf85eb2ac2a3fa0ee2ee3eb6a28b245d06d48d9975ce4cc260f764 unbound-1.9.2.tar.gz
sha512sums="21e14dc1577adbe502a262d7fbe9aae0cd389cd9c0b822246beadf00f0ee875e268eeb3ce820433cbb01495d6b182c334b34b63b1bc33b08589a230810ccfe90 unbound-1.9.3.tar.gz
f9b90c6e717f99f3927a20320c5ec9e666af9eb4ad732520cd6de12c9ea98375c44dbbc598bef955a7c0243fbce0b29d9015ccc85b909b62509967cd8976a3c8 conf.patch
0a5c7b8f2b8c79c5384bce05962c8f8f5f31ce3aeb967b0e897361a24ea7065eb4e7c28ff3acfb0fb0d46be966d4e526e64b231f49b589ec63f576c25433bb59 migrate-dnscache-to-unbound
a2b39cb00d342c3bae70ae714dc2bd7c15d0475b35f7afff11fb0bd4c1786f83dd5425a5900a7b4d6c17915a6c546e37f82404bceb44f79c054629e999f23152 unbound.initd
8ceabe5efcccfa1d9e210a8166de60ce218ea0261b9edf620524f33216786fad64d6cd8551255942091ee171247222a49a99a1a1ca1999d43fff00ccb17b6276 unbound.initd
40c660f275a78f93677761f52bdf7ef151941e8469dd17767a947dbe575880e0d113c320d15c7ea7e12ef636d8ec9453eeae804619678293fa35e3d4c7e75a71 unbound.confd"
#!/sbin/openrc-run
supervisor=supervise-daemon
extra_commands="checkconfig configtest"
extra_started_commands="reload"
......@@ -11,10 +12,9 @@ description_reload="Kills all children and reloads the configuration."
# Upper case variables are here only for backward compatibility.
: ${cfgfile:=${UNBOUND_CONFFILE:-/etc/unbound/$RC_SVCNAME.conf}}
command="/usr/sbin/unbound"
command_args="-d $command_args"
command_background=yes
pidfile="/run/$RC_SVCNAME.pid"
command=/usr/sbin/unbound
command_args="$command_args"
command_args_foreground="-d"
required_files="$cfgfile"
......@@ -31,11 +31,6 @@ checkconfig() {
eend $?
}
configtest() {
ewarn "This command is deprecated, use checkconfig instead"
checkconfig
}
start_pre() {
checkconfig
}
......@@ -44,6 +39,6 @@ reload() {
start_pre || return $?
ebegin "Reloading $name"
start-stop-daemon --signal HUP --pidfile "$pidfile"
$supervisor "$RC_SVCNAME" --signal HUP
eend $?
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment