diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-01-21 09:45:51 +0100 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-01-21 10:11:54 +0100 |
commit | 013acdde21b3242c3d9a76ac907655f34b4b6fb5 (patch) | |
tree | a6c9fc49ba46a4d3bc29cb3e233bb71bce4e0cdc /main/unbound/APKBUILD | |
parent | 8b78a885fdc62fd626d0ca04e9c77b4b262ef363 (diff) | |
download | aports-013acdde21b3242c3d9a76ac907655f34b4b6fb5.tar.bz2 aports-013acdde21b3242c3d9a76ac907655f34b4b6fb5.tar.xz |
main/unbound: install tool to migrate from dnscache
Diffstat (limited to 'main/unbound/APKBUILD')
-rw-r--r-- | main/unbound/APKBUILD | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/main/unbound/APKBUILD b/main/unbound/APKBUILD index b743e9d238..2a552a5517 100644 --- a/main/unbound/APKBUILD +++ b/main/unbound/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=unbound pkgver=1.4.19 -pkgrel=0 +pkgrel=1 pkgdesc="Unbound is a validating, recursive, and caching DNS resolver" pkgusers="unbound" pkggroups="unbound" @@ -13,11 +13,12 @@ depends="dnssec-root" depends_dev="openssl-dev expat-dev ldns-dev libevent-dev" makedepends="$depends_dev python-dev swig" install="$pkgname.pre-install" -subpackages="$pkgname-dev $pkgname-doc $pkgname-libs py-unbound:py" +subpackages="$pkgname-dev $pkgname-doc $pkgname-libs py-unbound:py $pkgname-migrate" source="http://unbound.net/downloads/unbound-$pkgver.tar.gz conf.patch swig.patch update-unbound-root-hints + migrate-dnscache-to-unbound root.hints unbound.initd" @@ -83,9 +84,17 @@ py() { mv "$pkgdir"/usr/lib/python* "$subpkgdir"/usr/lib/ } +migrate() { + pkgdesc="Simple tool to migrate from dnscache to unbound" + mkdir -p "$subpkgdir"/usr/bin/ + install -m755 "$srcdir"/migrate-dnscache-to-unbound \ + "$subpkgdir"/usr/bin/ +} + md5sums="39f121e1921c7b5ad2f05a4d756a0487 unbound-1.4.19.tar.gz 32fe2914a2723142d3eae9ea556872d3 conf.patch cca28c13f9b835dfe94ea91012d76e2b swig.patch c1c71cd0e7f9630536a2abf2513c675d update-unbound-root-hints +01abc5360897967be608eaf4ec1c25dc migrate-dnscache-to-unbound d7a1cb305b7b5b72df4e574777f76723 root.hints ebf2b5f8e1be2c4dbec9c5fad1e0e0de unbound.initd" |