Summary: BIND - DNS name server Summary(de): BIND - DNS-Namenserver Summary(fr): BIND - serveur de noms DNS Summary(pl): BIND - serwer nazw DNS Summary(tr): DNS alan adý sunucusu Name: bind Version: 8.1.2 Release: 7 Copyright: distributable Group: Networking/Daemons Source0: ftp://ftp.isc.org/isc/bind/cur/%{name}-src.tar.gz Source1: ftp://ftp.isc.org/isc/bind/cur/%{name}-doc.tar.gz Source2: ftp://ftp.isc.org/isc/bind/src/%{version}/bind-%{version}-contrib.tar.gz Source3: named.init Patch0: bind-makefile.patch Patch1: bind-libelf.patch URL: http://www.isc.org/bind.html Prereq: /sbin/chkconfig Buildroot: /tmp/%{name}-%{version}-root %description Includes the named name server, which is used to define host name to IP address translations (and vice versa). It can be used on workstations as a caching name server, but is generally only needed on one machine for an entire network. %description -l de Enthält den Namen-Server, der zum Umwandeln von Host-Namen in IP-Adressen und umgekehrt verwendet wird. Er kann auf Workstations als caching Namen-Server verwendet werden, ist aber i.d.R. nur auf einem Recher des Netzwerks erforderlich. %description -l fr Contient le serveur de noms named, utilisé pour définir les traductions nom d'hôte vers adresse IP (et vice versa). Il peut ętre utilisé sur les stations de travail comme serveur de nom en cache mais n'est souvent nécessaire que sur une machine pour un réseau entier. %description -l pl Includes the named name server, which is used to define host name to IP address translations (and vice versa). It can be used on workstations as a caching name server, but is generally only needed on one machine for an entire network. Pakiet ten zawiera demona named, który służy do zmieniania nazw komuterów na numery IP i odwrotnie. Może być on używany na na stacjach roboczych jako bufor odwołań do serwisu naz (caching name server) ale generalnie wystarczy tylko jedna jednostka wyposażona w ten program na fragment sieci. %description -l tr Bu paket, makina adýný IP numarasýna (ya da tersi) çevirmek için kullanýlan alan adý sunucusunu içerir. Ýţ istasyonlarýnda bir önbellek isim sunucusu olarak da kullanýlabilir ama genellikle bütün bir ađ için sadece bir makina üzerinde kurulur. %package utils Summary: DNS utils - host, dig, dnsquery, nslookup Summary(de): DNS-Utils - Host, Dig, Dnsquery, Nslookup Summary(fr): Utilitaires DNS - host, dig, dnsquery, nslookup Summary(pl): Narzędzia DNS - host, dig, dnsquery, nslookup Summary(tr): DNS araçlarý - host, dig, dnsquery, nslookup Group: Networking/Utilities %description utils Collection of utilities for querying name servers and looking up hosts. These tools let you determine the IP addresses for given host names, and find information about registered domains and network addresses. %description -l de utils Dienstprogrammsammlung zum Abfragen von Namen-Servern und Hosts. Diese Tools bestimmen die IP-Adresse eines angegebenen Host-Namen und finden Informationen über registrierte Domains und Netzwerk-Adressen. %description -l fr utils Ensemble d'utilitaires pour interroger les serveurs de noms et rechercher des hôtes. Ces outils vous permettent de déterminer les adresses IP pour des noms d'hôtes donnés, et trouver des informations sur les noms de domaine déclarés et les adresses réseau. %description -l pl utils Collection of utilities for querying name servers and looking up hosts. These tools let you determine the IP addresses for given host names, and find information about registered domains and network addresses. Pakiet ten zawiera zbiór aplikacji umożliwiających odpytywanie swerwerów nazw z innych domen w celu uzyskania ifnormacji o komupterach i ich adresach IP. %description -l tr utils Bu pakette isim sunucularýný sorgulamak ve makina adreslerini çözmek için kullanýlan araçlar bulunmaktadýr. %package devel Summary: DNS development includes and libs Summary(pl): pliki nagłówkowe i biblioteka statyczna Group: Networking/Development %description devel All the include files and the library required for DNS development for bind 8.x.x %description -l pl devel Pakiet zawiera pliki nagłówkowe i bibliotekę statyczną. Jeżeli będziesz pisał programy pod binda, lub kompilował kod źródłowy opragramowania korzystającego z tych plików nagłówkowych czy biblioteki powinieneś zainstalować ten pakiet. %prep %setup -q -n src %setup -q -n src -T -D -a 1 %setup -q -n src -T -D -a 2 %patch0 -p1 %patch1 -p1 rm -f compat/include/sys/cdefs.h %build RPM_PREFIX="" make make SUBDIRS=doc/man clean all %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT/{etc/{named,rc.d/init.d},usr/{bin,sbin,lib,man/man{1,3,5,7,8}}} make DESTDIR=$RPM_BUILD_ROOT install make SUBDIRS=doc/man DESTDIR=$RPM_BUILD_ROOT INSTALL=install install strip $RPM_BUILD_ROOT/usr/{sbin/*,bin/*} || : install %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/named install bin/named/named-bootconf.pl $RPM_BUILD_ROOT/usr/bin %post /sbin/chkconfig --add named if [ -f /etc/named.boot -a ! -f /etc/named.conf ]; then if [ -x /usr/bin/named-bootconf.pl ]; then cat /etc/named.boot | /usr/bin/named-bootconf.pl > /etc/named/named.conf chmod 644 /etc/named.conf fi fi %postun if [ $1 = 0 ]; then /sbin/chkconfig --del named fi %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644, root, root, 755) %doc README Version CHANGES TODO %attr(700, root, root) /etc/rc.d/init.d/named %attr(700, root, root) %dir /etc/named %attr(755, root, root) /usr/sbin/named %attr(755, root, root) /usr/sbin/named-xfer %attr(755, root, root) /usr/sbin/ndc %attr(755, root, root) /usr/bin/named-bootconf.pl %attr(644, root, man) /usr/man/man8/named.8 %attr(644, root, man) /usr/man/man8/ndc.8 %attr(644, root, man) /usr/man/man8/named-xfer.8 %attr(644, root, man) /usr/man/man7/hostname.7 %files utils %attr(755, root, root) /usr/bin/nslookup %attr(644, root, root) /usr/lib/nslookup.help %attr(755, root, root) /usr/bin/host %attr(755, root, root) /usr/bin/dig %attr(755, root, root) /usr/bin/dnsquery %attr(755, root, root) /usr/bin/addr %attr(755, root, root) /usr/bin/nsupdate %attr(644, root, man) /usr/man/man1/dig.1 %attr(644, root, man) /usr/man/man1/host.1 %attr(644, root, man) /usr/man/man1/dnsquery.1 %attr(644, root, man) /usr/man/man8/nslookup.8 %attr(644, root, man) /usr/man/man5/resolver.5 %files devel %defattr(644, root, root, 755) /usr/include/bind /usr/lib/lib*.a %attr(644, root, man) /usr/man/man3/* %changelog * Mon Nov 2 1998 Tomasz Kłoczko [8.1.2-7] - removed making /etc/rc.d/rc?.d/ symlinks (/etc/rc.d/init.d/named have suport for chkconfig), - fixed typo in %post, - added /etc/named to package. * Sat Oct 17 1998 Tomasz Kłoczko [8.1.2-6] - named-bootconf.pl script moved from %doc to /usr/bin. * Wed Sep 23 1998 Jeff Johnson - change named.restart to /usr/sbin/ndc restart * Sat Sep 19 1998 Jeff Johnson - install man pages correctly. - change K10named to K45named. * Tue Sep 1 1998 Tomasz Kłoczko [8.1.2-3] - changed Buildroot to /tmp/%%{name}-%%{version}-root, - added using %%{name} and %%{version} in Source, - added using $RPM_OPT_FLAGS during compile (modified bind-makefile.patch), - bind header files moved to /usr/include/bind, - static library moved to /usr/lib, - added full %attr description in %files. * Wed Aug 26 1998 Wojtek Ślusarczyk [8.1.2-2] - added pl translation. * Wed Aug 12 1998 Jeff Johnson - don't start if /etc/named.conf doesn't exist. * Sat Aug 8 1998 Jeff Johnson - autmagically create /etc/named.conf from /etc/named.boot in %post - remove echo in %post * Wed Jun 10 1998 Manuel J. Galan - Builds on RedHat 5.1 -Manhattan- - Some more modifications to install correctly (includes). * Sun Apr 12 1998 Manuel J. Galan - Several essential modifications to build and install correctly. - Modified 'ndc' to avoid deprecated use of '-' * Mon Dec 22 1997 Scott Lampert - Used buildroot - patched bin/named/ns_udp.c to use for include on Redhat 5.0 instead of