diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-03-13 10:36:52 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-03-13 12:08:59 +0000 |
commit | 6bda80b11fede03e7e255f552d6598bb7910fe5f (patch) | |
tree | 0849065daee279d121d0840692ceaed1f41762ae /main/bind/APKBUILD | |
parent | 87104a6ecd305a72e669da977abe4ab1f19c7fc5 (diff) | |
download | aports-6bda80b11fede03e7e255f552d6598bb7910fe5f.tar.bz2 aports-6bda80b11fede03e7e255f552d6598bb7910fe5f.tar.xz |
main/bind: upgrade to 9.9.0
Diffstat (limited to 'main/bind/APKBUILD')
-rw-r--r-- | main/bind/APKBUILD | 41 |
1 files changed, 29 insertions, 12 deletions
diff --git a/main/bind/APKBUILD b/main/bind/APKBUILD index 994d3718e5..c2c81775fd 100644 --- a/main/bind/APKBUILD +++ b/main/bind/APKBUILD @@ -1,7 +1,7 @@ # Contributor: Carlo Landmeter <clandmeter@gmail.com> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=bind -pkgver=9.8.1_p1 +pkgver=9.9.0 _ver=${pkgver%_p*} _p=${pkgver#*_p} [ "$_p" != "$pkgver" ] && _ver="${_ver}-P$_p" @@ -11,8 +11,10 @@ url="http://www.isc.org" arch="all" license="as-is" depends= +pkgusers="named" +pkggroups="named" makedepends="openssl-dev perl" -install="$pkgname.pre-install $pkgname.post-install" +install="$pkgname.pre-install" subpackages="$pkgname-doc $pkgname-dev $pkgname-libs $pkgname-tools" source="http://ftp.isc.org/isc/bind9/${_ver}/bind-${_ver}.tar.gz bind.so_bsdcompat.patch @@ -66,16 +68,31 @@ build() { package() { cd "$_builddir" + install -d -m0770 -g named -o root "$pkgdir"/var/bind \ + "$pkgdir"/var/bind/sec \ + "$pkgdir"/var/bind/dyn \ + "$pkgdir"/var/run/named \ + "$pkgdir"/var/log/named \ + || return 1 + + install -d -m0750 -g named -o root "$pkgdir"/etc/bind \ + "$pkgdir"/var/bind/pri || return 1 + make DESTDIR="$pkgdir" install || return 1 rm "$pkgdir"/usr/lib/*.la || return 1 - install -Dm755 "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/named || return 1 - install -Dm644 "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/named || return 1 - install -Dm644 "$srcdir"/$pkgname.conf "$pkgdir"/etc/bind/named.conf || return 1 - install -Dm644 "$srcdir"/$pkgname.named.ca "$pkgdir"/var/bind/named.ca || return 1 - install -Dm644 "$srcdir"/$pkgname.127.zone "$pkgdir"/var/bind/pri/127.zone || return 1 - install -Dm644 "$srcdir"/$pkgname.localhost.zone "$pkgdir"/var/bind/pri/localhost.zone || return 1 - mkdir -p "$pkgdir"/var/bind/sec || return 1 + install -Dm755 "$srcdir"/$pkgname.initd \ + "$pkgdir"/etc/init.d/named || return 1 + install -Dm644 "$srcdir"/$pkgname.confd \ + "$pkgdir"/etc/conf.d/named || return 1 + install -Dm644 "$srcdir"/$pkgname.conf \ + "$pkgdir"/etc/bind/named.conf || return 1 + install -Dm644 "$srcdir"/$pkgname.named.ca \ + "$pkgdir"/var/bind/named.ca || return 1 + install -Dm644 "$srcdir"/$pkgname.127.zone \ + "$pkgdir"/var/bind/pri/127.zone || return 1 + install -Dm644 "$srcdir"/$pkgname.localhost.zone \ + "$pkgdir"/var/bind/pri/localhost.zone || return 1 cd "$pkgdir"/var/bind ln -s named.ca root.cache || return 1 } @@ -95,10 +112,10 @@ tools() { done } -md5sums="afa41f8203d50bedad65071f9b6f96d7 bind-9.8.1-P1.tar.gz +md5sums="9281d0b04f711d28153ba1ab04a54026 bind-9.9.0.tar.gz f270a5b0a28ab6e818840c5c368ddbcc bind.so_bsdcompat.patch -92914193cc603d8d81ef00534ce9c1c9 bind.initd -8b05a287976d66d51c18b73ee7523671 bind.confd +da52267d5d56317d08c0fb170fc14da8 bind.initd +418a367cecfdf8760c92235d3967867e bind.confd be5fd752bdbd59385f2a559d603098d5 bind.conf a7455b009b7fccd74ac6f6eaa6902a00 bind.127.zone c3220168fabfb31a25e8c3a545545e34 bind.localhost.zone |