From 9a3994ff136977425c0f63001c1307b946e5b7da Mon Sep 17 00:00:00 2001 From: James Mills Date: Sun, 28 Jan 2007 03:02:47 +1000 Subject: [PATCH] bind: 9.3.3 -> 9.3.4 --- bind/.md5sum | 2 +- bind/Pkgfile | 58 ++++++++++++++++++++++++++-------------------------- 2 files changed, 30 insertions(+), 30 deletions(-) diff --git a/bind/.md5sum b/bind/.md5sum index 7146de147..6a9b33e18 100644 --- a/bind/.md5sum +++ b/bind/.md5sum @@ -1,4 +1,4 @@ -b5cad77aa7912bf7b4cb770cfc42fdad bind-9.3.3.tar.gz +df5417e7e7cf017fa28b65d0a3d6e999 bind-9.3.4.tar.gz d5ef3bb5ce1020454a2c5996b73c8a5c db.0.0.127 c1e9d24f8ca28d50b5d5ad1637ccf241 db.ip6.arpa 1041493a69a6a5c21d4a513323104a0f db.localhost diff --git a/bind/Pkgfile b/bind/Pkgfile index 8223a8007..ceb9a30a6 100644 --- a/bind/Pkgfile +++ b/bind/Pkgfile @@ -3,47 +3,47 @@ # Maintainer: James Mills, prologic at shortcircuit dot net dot au # Packager: Daniel Mueller, daniel at danm dot de # -# Depends on: +# Depends on: name=bind -version=9.3.3 +version=9.3.4 release=1 source=(ftp://ftp.isc.org/isc/bind9/$version/$name-$version.tar.gz \ - ftp://ftp.rs.internic.net/domain/named.root \ - db.0.0.127 db.localhost db.ip6.arpa named named.conf) + ftp://ftp.rs.internic.net/domain/named.root \ + db.0.0.127 db.localhost db.ip6.arpa named named.conf) build() { - cd $name-$version - sed -i -e 's|\@LN\@ \${man3}/|ln -s |g' lib/lwres/man/Makefile.in - - ./configure \ - --prefix=/usr \ - --enable-ipv6 \ - --enable-threads \ - --with-openssl=yes \ - --sysconfdir=/etc + cd $name-$version + sed -i -e 's|\@LN\@ \${man3}/|ln -s |g' lib/lwres/man/Makefile.in - make && make DESTDIR=$PKG install - chown -R root:root $PKG + ./configure \ + --prefix=/usr \ + --enable-ipv6 \ + --enable-threads \ + --with-openssl=yes \ + --sysconfdir=/etc - install -d $PKG/var/{named,run/named} + make && make DESTDIR=$PKG install + chown -R root:root $PKG - install -D -m755 $SRC/named $PKG/etc/rc.d/named - install -D -m640 -gnamed $SRC/named.conf $PKG/etc/named.conf - install -m640 -gnamed $SRC/named.root $SRC/db.* $PKG/var/named/ + install -d $PKG/var/{named,run/named} - chown root:named $PKG/var/named - chmod 1770 $PKG/var/named + install -D -m755 $SRC/named $PKG/etc/rc.d/named + install -D -m640 -gnamed $SRC/named.conf $PKG/etc/named.conf + install -m640 -gnamed $SRC/named.root $SRC/db.* $PKG/var/named/ - touch $PKG/etc/rndc.{conf,key} - chown root:named $PKG/var/run/named $PKG/etc/rndc.{conf,key} - chmod 770 $PKG/var/run/named - chmod 640 $PKG/etc/rndc.{conf,key} - touch $PKG/var/run/named/named.pid + chown root:named $PKG/var/named + chmod 1770 $PKG/var/named - rm -f $PKG/usr/bin/{dig,host} - rm -rf $PKG/usr/man/man1 + touch $PKG/etc/rndc.{conf,key} + chown root:named $PKG/var/run/named $PKG/etc/rndc.{conf,key} + chmod 770 $PKG/var/run/named + chmod 640 $PKG/etc/rndc.{conf,key} + touch $PKG/var/run/named/named.pid - chown named:named $PKG/var/run/named/named.pid + rm -f $PKG/usr/bin/{dig,host} + rm -rf $PKG/usr/man/man1 + + chown named:named $PKG/var/run/named/named.pid }