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.2.1 Release: 1 Copyright: distributable Group: Networking/Daemons Group(pl): Sieciowe/Serwery Source0: ftp://ftp.isc.org/isc/bind/%{version}/%{name}-%{version}-src.tar.gz Source1: ftp://ftp.isc.org/isc/bind/%{version}/%{name}-%{version}-doc.tar.gz Source2: ftp://ftp.isc.org/isc/bind/%{version}/%{name}-%{version}-contrib.tar.gz Source3: named.init Source4: named.sysconfig Patch1: bind-pselect.patch Patch2: bind-fds.patch Patch3: bind-nonlist.patch Patch5: bind-host.patch Patch6: bind-glibc21.patch Patch8: bind-mkdep.patch Prereq: /sbin/chkconfig URL: http://www.isc.org/bind.html Buildroot: /tmp/%{name}-%{version}-root %define _datadir %{_prefix}/share/misc %define _sysconfdir /etc %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 Pakiet ten zawiera demona named, który służy do zmieniania nazw komputerów na numery IP i odwrotnie. Może być on używany na stacjach roboczych jako bufor odwołań do serwisu nazw (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 Group(pl): Sieciowe/Narzędzia %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 Pakiet ten zawiera zbiór aplikacji umożliwiających odpytywanie serwerów nazw z innych domen w celu uzyskania informacji 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: Development/Libraries Group(pl): Programowanie/Biblioteki Requires: %{name} = %{version} %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 oprogramowania korzystającego z tych plików nagłówkowych czy biblioteki powinieneś zainstalować ten pakiet. %package doc Summary: Bind documentation Summary(pl): Dokumentacja programu bind Group: Documentation Group(pl): Dokumentacja %description doc Bind documentations %decscription doc -l pl Dokumentacja programu bind %prep %setup -q -n src -a 1 -a 2 %patch1 -p1 %patch2 -p2 %patch3 -p1 %patch5 -p2 %patch6 -p2 %patch8 -p1 %build rm -f compat/include/sys/cdefs.h make \ clean \ depend \ all \ DESTDIR="" \ CDEBUG="$RPM_OPT_FLAGS" \ DESTBIN="%{_bindir}" \ DESTSBIN="%{_sbindir}" \ DESTMAN="%{_mandir}" \ DESTHELP="%{_datadir}" \ DESTETC="%{_sysconfdir}" \ DESTRUN="/var/run" %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT{%{_bindir},%{_sbindir},%{_libdir},%{_datadir}} \ $RPM_BUILD_ROOT{/etc/{sysconfig,rc.d/init.d},%{_mandir}/man{1,3,5,7,8}} make install \ DESTDIR="$RPM_BUILD_ROOT" \ DESTINC="%{_includedir}/bind" \ DESTLIB="%{_libdir}" \ DESTBIN="%{_bindir}" \ DESTSBIN="%{_sbindir}" \ DESTMAN="%{_mandir}" \ DESTHELP="%{_datadir}" \ DESTETC="%{_sysconfdir}" \ DESTRUN="/var/run" \ INSTALL_LIB=" " \ INSTALL_EXEC=" " strip $RPM_BUILD_ROOT{%{_sbin}/*,%{_bindir}/*} || : cd doc/man make clean make install \ MANROFF=cat \ CATEXT=\$\$N \ DESTDIR=$RPM_BUILD_ROOT \ DESTMAN=%{_mandir} \ MANDIR=man install %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/named install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/named touch $RPM_BUILD_ROOT%{_sysconfdir}/named.conf gzip -9fn $RPM_BUILD_ROOT%{_mandir}/man[13578]/* \ ../../{README,Version,CHANGES} %pre if test ( ! -f /etc/named.conf ) -a ( -f /etc/named.boot ) cp /etc/named.boot /etc/named.boot.2conf fi %post /sbin/chkconfig --add named if [ -f /var/run/named.pid ]; then /etc/rc.d/init.d/named restart >&2 else echo "Type \'/etc/rc.d/init.d/named start\' to start named" >&2 fi if [ -f /etc/named.boot.2conf ] /usr/sbin/named-bootconf /etc/named.conf rm /etc/named.boot.2conf fi %preun if [ $1 = 0 ]; then /etc/rc.d/init.d/named stop >&2 /sbin/chkconfig --del named fi %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc {README,Version,CHANGES}.gz %attr(755,root,root) /etc/rc.d/init.d/named %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/named %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/named.conf %attr(755,root,root) %{_sbindir}/named %attr(755,root,root) %{_sbindir}/named-xfer %attr(755,root,root) %{_sbindir}/ndc %attr(755,root,root) %{_sbindir}/irpd %attr(755,root,root) %{_sbindir}/dnskeygen %attr(755,root,root) %{_sbindir}/named-bootconf %attr(755,root,root) %{_bindir}/nsupdate %{_mandir}/man8/named.8.gz %{_mandir}/man8/ndc.8.gz %{_mandir}/man8/named-xfer.8.gz %{_mandir}/man8/named-bootconf.8.gz %{_mandir}/man7/hostname.7.gz %{_mandir}/man5/irs.conf.5.gz %{_mandir}/man5/named.conf.5.gz %{_mandir}/man1/dnskeygen.1.gz %files utils %defattr(644,root,root,755) %attr(755,root,root) %{_bindir}/dig %attr(755,root,root) %{_bindir}/host %attr(755,root,root) %{_bindir}/dnsquery %attr(755,root,root) %{_bindir}/nslookup %attr(644,root,root) %{_datadir}/nslookup.help %{_mandir}/man1/dig.1.gz %{_mandir}/man1/host.1.gz %{_mandir}/man1/dnsquery.1.gz %{_mandir}/man8/nslookup.8.gz %{_mandir}/man5/resolver.5.gz %files devel %defattr(644,root,root,755) %{_includedir}/bind %{_libdir}/*.a %{_mandir}/man3/* %files doc %defattr(644,root,root,755) %doc doc/html doc/rfc doc/misc doc/notes %changelog * Mon May 31 1999 Wojtek Ślusarczyk - FHS 2.0 -- build prepare for Ra * Fri Apr 30 1999 Artur Frysiak [8.2-7] - upgrade to 8.2 - fixed group for devel subpackage - removed named-bootconf.pl (non exist) - symplifikation in %files * Wed Jan 13 1999 Wojtek Ślusarczyk [8.1.2-3d] - removed Requires: %{name} = %{version} from utils sub-package, - compressed man pages, - added Group(pl), - minor changes. * Tue Sep 1 1998 Tomasz Kłoczko [8.1.2-2d] - changed Buildroot to /tmp/%%{name}-%%{version}-root, - added using $RPM_OPT_FLAGS during compile (modified bind-makefile.patch), * Wed Aug 26 1998 Wojtek Ślusarczyk [8.1.2-1d] - translation modified for pl, - major changes -- needed for Linux PLD, - start at RH spec file.