forked from ports/contrib
bind: 9.3.3 -> 9.3.4
This commit is contained in:
parent
13a36f71c6
commit
9a3994ff13
@ -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
|
||||
|
58
bind/Pkgfile
58
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
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user