aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2013-11-30 16:11:41 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-12-03 14:39:33 +0000
commitbbe4ea51fb26fad79aa1d06865410b007514defb (patch)
tree975d4ebc1e6adfc42b02cc5d275e6218d0800b0a
parentb3f209ff862a48d3dfe6d261fd3e8f6901c4c4d9 (diff)
downloadaports-bbe4ea51fb26fad79aa1d06865410b007514defb.tar.bz2
aports-bbe4ea51fb26fad79aa1d06865410b007514defb.tar.xz
main/bind: specify license
-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 \