aboutsummaryrefslogtreecommitdiffstats
path: root/main/bind/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/bind/APKBUILD')
-rw-r--r--main/bind/APKBUILD15
1 files changed, 7 insertions, 8 deletions
diff --git a/main/bind/APKBUILD b/main/bind/APKBUILD
index c5b4aebfa6..44de6248de 100644
--- a/main/bind/APKBUILD
+++ b/main/bind/APKBUILD
@@ -5,12 +5,12 @@ pkgver=9.9.4_p1
_ver=${pkgver%_p*}
_p=${pkgver#*_p}
[ "$_p" != "$pkgver" ] && _ver="${_ver}-P$_p"
-pkgrel=0
-pkgdesc="BIND - Berkeley Internet Name Domain - Name Server and tools"
+pkgrel=1
+pkgdesc="The Berkeley Internet Name Domain Name Server and tools"
url="http://www.isc.org"
arch="all"
-license="as-is"
-depends=
+license="MIT BSD"
+depends=""
pkgusers="named"
pkggroups="named"
makedepends="openssl-dev perl"
@@ -27,7 +27,6 @@ source="http://ftp.isc.org/isc/bind9/${_ver}/bind-${_ver}.tar.gz
"
_builddir="$srcdir/bind-${_ver}"
-
prepare() {
cd "$_builddir"
@@ -78,13 +77,13 @@ package() {
"$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"/named.initd \
"$pkgdir"/etc/init.d/named || return 1
install -Dm644 "$srcdir"/named.confd \