milis/talimatname/genel/b/bind/talimat

43 lines
1.4 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: BIND, Etki Alanı Ad Sistemi (DNS) bilgilerini İnternet'te yayınlamanızı ve kullanıcılarınız için DNS sorgularını çözmeyi sağlayan açık kaynaklı bir yazılımdır.
# URL: http://www.isc.org/downloads/bind/
# Paketçi: milisarge
# Gerekler: kerberos libxml2
# Grup: bilim_mühendislik
isim=bind
surum=9.10.3.p2
devir=1
kaynak=(ftp://ftp.isc.org/isc/bind9/9.10.3-P3/bind-9.10.3-P2.tar.gz)
derle(){
# blfs-bootscript
source /etc/blfs-bootscripts
wget http://www.linuxfromscratch.org/blfs/downloads/svn/$scripts-$scriptsversion.tar.bz2
tar xvf $scripts-$scriptsversion.tar.bz2
# pkg
cd $isim-9.10.3-P2
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/share/man \
--enable-threads \
--with-randomdev=/dev/urandom &&
make -C lib/dns &&
make -C lib/isc &&
make -C lib/bind9 &&
make -C lib/isccfg &&
make -C lib/lwres &&
make -C bin/dig
make DESTDIR=$PKG -C bin/dig install
# doc
install -v -m755 -d $PKG/usr/share/doc/bind-$surum/{arm,misc} &&
install -v -m644 doc/arm/*.html \
$PKG/usr/share/doc/bind-$surum/arm &&
install -v -m644 \
doc/misc/{dnssec,ipv6,migrat*,options,rfc-compliance,roadmap,sdb} \
$PKG/usr/share/doc/bind-$surum/misc
# init script
cd $SRC/$scripts-$scriptsversion
make DESTDIR=$PKG install-bind
}