talimat 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. # Description: 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.
  2. # URL: http://www.isc.org/downloads/bind/
  3. # Packager: milisarge
  4. # Depends on: kerberos libxml2
  5. name=bind
  6. version=9.10.3.p2
  7. release=1
  8. source=(ftp://ftp.isc.org/isc/bind9/9.10.3-P3/bind-9.10.3-P2.tar.gz)
  9. build(){
  10. # blfs-bootscript
  11. source /etc/blfs-bootscripts
  12. wget http://www.linuxfromscratch.org/blfs/downloads/svn/$scripts-$scriptsversion.tar.bz2
  13. tar xvf $scripts-$scriptsversion.tar.bz2
  14. # pkg
  15. cd $name-9.10.3-P2
  16. ./configure --prefix=/usr \
  17. --sysconfdir=/etc \
  18. --localstatedir=/var \
  19. --mandir=/usr/share/man \
  20. --enable-threads \
  21. --with-randomdev=/dev/urandom &&
  22. make -C lib/dns &&
  23. make -C lib/isc &&
  24. make -C lib/bind9 &&
  25. make -C lib/isccfg &&
  26. make -C lib/lwres &&
  27. make -C bin/dig
  28. make DESTDIR=$PKG -C bin/dig install
  29. # doc
  30. install -v -m755 -d $PKG/usr/share/doc/bind-$version/{arm,misc} &&
  31. install -v -m644 doc/arm/*.html \
  32. $PKG/usr/share/doc/bind-$version/arm &&
  33. install -v -m644 \
  34. doc/misc/{dnssec,ipv6,migrat*,options,rfc-compliance,roadmap,sdb} \
  35. $PKG/usr/share/doc/bind-$version/misc
  36. # init script
  37. cd $SRC/$scripts-$scriptsversion
  38. make DESTDIR=$PKG install-bind
  39. }