Mail archive
alpine-aports

[alpine-aports] [PATCH 4/5] main/unbound: invoke cron on post-install

From: Sören Tempel <soeren+git_at_soeren-tempel.net>
Date: Sun, 25 Oct 2015 13:58:05 +0100

---
 main/unbound/APKBUILD             | 5 +++--
 main/unbound/unbound.post-install | 1 +
 2 files changed, 4 insertions(+), 2 deletions(-)
 create mode 120000 main/unbound/unbound.post-install
diff --git a/main/unbound/APKBUILD b/main/unbound/APKBUILD
index 7734f3a..7fa58e3 100644
--- a/main/unbound/APKBUILD
+++ b/main/unbound/APKBUILD
_at_@ -1,8 +1,9 @@
+# Contributor: Sören Tempel <soeren+alpine_at_soeren-tempel.net>
 # Contributor: Carlo Landmeter <clandmeter_at_gmail.com>
 # Maintainer: Natanael Copa <ncopa_at_alpinelinux.org>
 pkgname=unbound
 pkgver=1.5.6
-pkgrel=2
+pkgrel=3
 pkgdesc="Unbound is a validating, recursive, and caching DNS resolver"
 pkgusers="unbound"
 pkggroups="unbound"
_at_@ -12,7 +13,7 @@ license="BSD"
 depends="dnssec-root"
 depends_dev="openssl-dev expat-dev ldns-dev libevent-dev"
 makedepends="$depends_dev python-dev swig linux-headers"
-install="$pkgname.pre-install"
+install="$pkgname.pre-install $pkgname.post-install"
 subpackages="$pkgname-dev $pkgname-doc $pkgname-libs $pkgname-dbg py-unbound:py $pkgname-migrate"
 source="http://unbound.net/downloads/unbound-$pkgver.tar.gz
 	conf.patch
diff --git a/main/unbound/unbound.post-install b/main/unbound/unbound.post-install
new file mode 120000
index 0000000..bc673aa
--- /dev/null
+++ b/main/unbound/unbound.post-install
_at_@ -0,0 +1 @@
+update-unbound-root-hints
\ No newline at end of file
-- 
2.6.1
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Sun Oct 25 2015 - 13:58:05 GMT