aboutsummaryrefslogtreecommitdiffstats
path: root/main/bind
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-09-15 13:04:51 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-09-15 13:04:51 +0000
commita64fd3e5c742e83739dd6eee768186bd6e38033c (patch)
tree69c131ad3b44475f9348daf8efee8bc81506c97c /main/bind
parent6db8acfc1942a92015b1db42ab3320c8482dca14 (diff)
downloadaports-a64fd3e5c742e83739dd6eee768186bd6e38033c.tar.bz2
aports-a64fd3e5c742e83739dd6eee768186bd6e38033c.tar.xz
main/bind,busybox-initscripts: start net services after firewall
Diffstat (limited to 'main/bind')
-rw-r--r--main/bind/APKBUILD18
-rw-r--r--main/bind/bind.initd1
2 files changed, 8 insertions, 11 deletions
diff --git a/main/bind/APKBUILD b/main/bind/APKBUILD
index 22a725acb1..18760fbf78 100644
--- a/main/bind/APKBUILD
+++ b/main/bind/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=bind
pkgver=9.6.1_p1
-pkgrel=0
+pkgrel=1
pkgdesc="BIND - Berkeley Internet Name Domain - Name Server and tools"
url="http://www.isc.org"
license="as-is"
@@ -18,7 +18,7 @@ source="http://ftp.isc.org/isc/bind9/9.6.0-P1/bind-9.6.0-P1.tar.gz
$pkgname.127.zone
$pkgname.localhost.zone
$pkgname.named.ca
- $install"
+ "
build() {
cd "$srcdir/bind-9.6.0-P1"
@@ -55,8 +55,6 @@ build() {
make || return 1
make DESTDIR="$pkgdir" install
- depends="$depends $pkgname-libs"
-
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
@@ -69,14 +67,14 @@ build() {
}
libs() {
- install=""
+ install=
mkdir -p "$subpkgdir"/usr
mv "$pkgdir"/usr/lib "$subpkgdir"/usr/
}
tools() {
- install=""
- depends="$pkgname-libs"
+ install=
+ depends=
mkdir -p "$subpkgdir"/usr/bin
for i in dig host nslookup nsupdate; do
mv "$pkgdir"/usr/bin/${i} "$subpkgdir"/usr/bin/ || return 1
@@ -85,11 +83,9 @@ tools() {
md5sums="886b7eae55cfdc8cd8d2ca74a2f99c6e bind-9.6.0-P1.tar.gz
f270a5b0a28ab6e818840c5c368ddbcc bind.so_bsdcompat.patch
-3adc904c1c12f81839d9369f7241022b bind.initd
+92914193cc603d8d81ef00534ce9c1c9 bind.initd
8b05a287976d66d51c18b73ee7523671 bind.confd
be5fd752bdbd59385f2a559d603098d5 bind.conf
a7455b009b7fccd74ac6f6eaa6902a00 bind.127.zone
c3220168fabfb31a25e8c3a545545e34 bind.localhost.zone
-a94e29ac677846f3d4d618c50b7d34f1 bind.named.ca
-d3137e2de6f82acfc914d4916999cf2a bind.pre-install
-695c957be18ec4f8ea46d0b1ff50b09b bind.post-install"
+a94e29ac677846f3d4d618c50b7d34f1 bind.named.ca"
diff --git a/main/bind/bind.initd b/main/bind/bind.initd
index 6469ee79ac..3284ec853a 100644
--- a/main/bind/bind.initd
+++ b/main/bind/bind.initd
@@ -5,6 +5,7 @@ DAEMON=/usr/sbin/$NAME
depend() {
need net
+ after firewall
use logger
provide dns
}