1 Summary: BIND - DNS name server
2 Summary(de): BIND - DNS-Namenserver
3 Summary(fr): BIND - serveur de noms DNS
4 Summary(pl): BIND - serwer nazw DNS
5 Summary(tr): DNS alan adý sunucusu
9 Copyright: distributable
10 Group: Networking/Daemons
11 Group(pl): Sieciowe/Serwery
12 Source0: ftp://ftp.isc.org/isc/bind/%{version}/%{name}-%{version}.src.tar.gz
13 Source1: ftp://ftp.isc.org/isc/bind/%{version}/%{name}-%{version}.doc.tar.gz
14 Source2: ftp://ftp.isc.org/isc/bind/%{version}/%{name}-%{version}.contrib.tar.gz
16 Source4: named.sysconfig
17 Source5: named.logrotate
19 Patch1: bind-pselect.patch
20 Patch2: bind-fds.patch
21 Patch3: bind-nonlist.patch
22 Patch4: bind-host.patch
23 Patch5: bind-glibc21.patch
24 Patch6: bind-mkdep.patch
25 Patch7: bind-probe_ipv6.patch
26 Patch8: bind-host-forcetype.patch
27 Patch9: bind-pidfile.patch
28 Patch10: bind-ttl.patch
29 Patch11: ftp://ftp.6bone.pl/pub/ipv6/set-glibc-2.1.new/host_991529+.diff
31 Prereq: /sbin/chkconfig
32 Requires: rc-scripts >= 0.2.0
33 Obsoletes: caching-nameserver
34 URL: http://www.isc.org/bind.html
35 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
37 %define _datadir %{_prefix}/share/misc
38 %define _sysconfdir /etc
41 BIND (Berkeley Internet Name Domain) is an implementation of the DNS
42 (Domain Name System) protocols. BIND includes a DNS server (named),
43 which resolves host names to IP addresses, and a resolver library
44 (routines for applications to use when interfacing with DNS). A DNS
45 server allows clients to name resources or objects and share the
46 information with other network machines. The named DNS server can be
47 used on workstations as a caching name server, but is generally only
48 needed on one machine for an entire network. Note that the
49 configuration files for making BIND act as a simple caching nameserver
50 are included in the caching-nameserver package.
52 Install the bind package if you need a DNS server for your network. If
53 you want bind to act a caching name server, you will also need to
54 install the caching-nameserver package.
57 Enthält den Namen-Server, der zum Umwandeln von Host-Namen in
58 IP-Adressen und umgekehrt verwendet wird. Er kann auf Workstations als
59 caching Namen-Server verwendet werden, ist aber i.d.R. nur auf einem
60 Recher des Netzwerks erforderlich.
63 Contient le serveur de noms named, utilisé pour définir les
64 traductions nom d'hôte vers adresse IP (et vice versa). Il peut être
65 utilisé sur les stations de travail comme serveur de nom en cache mais
66 n'est souvent nécessaire que sur une machine pour un réseau entier.
69 Pakiet ten zawiera demona named, który s³u¿y do zmieniania nazw
70 komputerów na numery IP i odwrotnie. Mo¿e byæ on u¿ywany na stacjach
71 roboczych jako bufor odwo³añ do serwisu nazw (caching name server),
72 ale generalnie wystarczy tylko jedna jednostka wyposa¿ona w ten
73 program na fragment sieci.
76 Bu paket, makina adýný IP numarasýna (ya da tersi) çevirmek için
77 kullanýlan alan adý sunucusunu içerir. Ýþ istasyonlarýnda bir önbellek
78 isim sunucusu olarak da kullanýlabilir ama genellikle bütün bir að
79 için sadece bir makina üzerinde kurulur.
82 Summary: DNS utils - host, dig, dnsquery, nslookup
83 Summary(de): DNS-Utils - Host, Dig, Dnsquery, Nslookup
84 Summary(fr): Utilitaires DNS - host, dig, dnsquery, nslookup
85 Summary(pl): Narzêdzia DNS - host, dig, dnsquery, nslookup
86 Summary(tr): DNS araçlarý - host, dig, dnsquery, nslookup
87 Group: Networking/Utilities
88 Group(pl): Sieciowe/Narzêdzia
91 Bind-utils contains a collection of utilities for querying DNS (Domain
92 Name Service) name servers to find out information about Internet
93 hosts. These tools will provide you with the IP addresses for given
94 host names, as well as other information about registered domains and
97 You should install bind-utils if you need to get information from DNS
100 %description -l de utils
101 Dienstprogrammsammlung zum Abfragen von Namen-Servern und Hosts. Diese
102 Tools bestimmen die IP-Adresse eines angegebenen Host-Namen und finden
103 Informationen über registrierte Domains und Netzwerk-Adressen.
105 %description -l fr utils
106 Ensemble d'utilitaires pour interroger les serveurs de noms et
107 rechercher des hôtes. Ces outils vous permettent de déterminer les
108 adresses IP pour des noms d'hôtes donnés, et trouver des informations
109 sur les noms de domaine déclarés et les adresses réseau.
111 %description -l pl utils
112 Pakiet ten zawiera zbiór aplikacji umo¿liwiaj±cych odpytywanie
113 serwerów nazw z innych domen w celu uzyskania informacji o komupterach
116 %description -l tr utils
117 Bu pakette isim sunucularýný sorgulamak ve makina adreslerini çözmek
118 için kullanýlan araçlar bulunmaktadýr.
121 Summary: DNS development includes and libs
122 Summary(pl): Pliki nag³ówkowe i biblioteka statyczna
123 Group: Development/Libraries
124 Group(fr): Development/Librairies
125 Group(pl): Programowanie/Biblioteki
128 The bind-devel package contains all the include files and the library
129 required for DNS (Domain Name Service) development for BIND versions
132 You should install bind-devel if you want to develop bind DNS
133 applications. If you install bind-devel, you'll also need to install
136 %description -l pl devel
137 Pakiet zawiera pliki nag³ówkowe i bibliotekê statyczn±. Je¿eli
138 bêdziesz pisa³ programy pod binda, lub kompilowa³ kod ¼ród³owy
139 oprogramowania korzystaj±cego z tych plików nag³ówkowych czy
140 biblioteki powiniene¶ zainstalowaæ ten pakiet.
143 Summary: Bind documentation
144 Summary(pl): Dokumentacja programu bind
146 Group(pl): Dokumentacja
151 %decscription doc -l pl
152 Dokumentacja programu bind
155 %setup -q -c -n %{name}-%{version} -a 1 -a 2
171 rm -f compat/include/sys/cdefs.h
177 CDEBUG="$RPM_OPT_FLAGS" \
178 DESTBIN="%{_bindir}" \
179 DESTSBIN="%{_sbindir}" \
180 DESTMAN="%{_mandir}" \
181 DESTHELP="%{_datadir}" \
182 DESTETC="%{_sysconfdir}" \
189 rm -rf $RPM_BUILD_ROOT
191 install -d $RPM_BUILD_ROOT{%{_bindir},%{_sbindir},%{_libdir},%{_datadir}} \
192 $RPM_BUILD_ROOT/etc/{sysconfig,logrotate.d,rc.d/init.d} \
193 $RPM_BUILD_ROOT%{_mandir}/man{1,3,5,7,8}
197 DESTDIR="$RPM_BUILD_ROOT" \
198 DESTINC="%{_includedir}/bind" \
199 DESTLIB="%{_libdir}" \
200 DESTBIN="%{_bindir}" \
201 DESTSBIN="%{_sbindir}" \
202 DESTMAN="%{_mandir}" \
203 DESTHELP="%{_datadir}" \
204 DESTETC="%{_sysconfdir}" \
209 strip $RPM_BUILD_ROOT{%{_sbin}/*,%{_bindir}/*} || :
217 DESTDIR=$RPM_BUILD_ROOT \
222 install -d $RPM_BUILD_ROOT/var/{log,lib/named/{M,S}}
224 install src/bin/named/test/127.* $RPM_BUILD_ROOT/var/lib/named/M
225 install src/bin/named/test/loca* $RPM_BUILD_ROOT/var/lib/named/M
226 install src/conf/workstation/root.* $RPM_BUILD_ROOT/var/lib/named/root.hint
227 install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}
229 install contrib/host/host $RPM_BUILD_ROOT%{_bindir}/host6
231 cp src/bin/named/named.conf EXAMPLE-CONFIG
233 install %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/named
234 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/named
235 install %{SOURCE5} $RPM_BUILD_ROOT/etc/logrotate.d/named
236 touch $RPM_BUILD_ROOT/var/log/named
238 mv $RPM_BUILD_ROOT%{_bindir}/nsupdate $RPM_BUILD_ROOT%{_sbindir}
239 rm -f $RPM_BUILD_ROOT%{_bindir}/mkservdb \
240 $RPM_BUILD_ROOT%{_mandir}/man5/resolver.5
242 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man[13578]/* \
243 src/README src/Version src/CHANGES EXAMPLE-CONFIG
246 if [ -f /etc/named.boot ]; then
247 cp /etc/named.boot /etc/named.boot.2conf
248 mv -f /etc/named.boot /etc/named.rpmsave
249 echo "Warrnig: /etc/named.boot saved as /etc/named.rpmsave" 1>&2
251 if ! id -g named > /dev/null 2>&1 ; then
252 %{_sbindir}/groupadd -g 58 named
254 if ! id -u named > /dev/null 2>&1 ; then
255 %{_sbindir}/useradd -u 58 -g 58 -d /dev/null -s /bin/false -c "BIND user" named
260 /sbin/chkconfig --add named
262 if [ -f /var/lock/subsys/named ]; then
263 /etc/rc.d/init.d/named restart 1>&2
265 echo "Type \"/etc/rc.d/init.d/named start\" to start named" 1>&2
268 if [ -f /etc/named.boot.2conf ]; then
269 /usr/sbin/named-bootconf </etc/named.boot.2conf >/etc/named.conf
270 rm /etc/named.boot.2conf
274 /bin/touch /var/log/named
275 chown root.named /var/log/named
278 if [ "$1" = "0" ]; then
279 if [ -f /var/lock/subsys/named ]; then
280 /etc/rc.d/init.d/named stop 1>&2
282 /sbin/chkconfig --del named
286 if [ "$1" = "0" ]; then
287 %{_sbindir}/groupdel named
288 %{_sbindir}/userdel named
293 rm -rf $RPM_BUILD_ROOT
296 %defattr(644,root,root,755)
297 %doc {src/README,src/Version,src/CHANGES,EXAMPLE-CONFIG}.gz
299 %attr(754,root,root) /etc/rc.d/init.d/named
300 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/named
301 %attr(640,root,named) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/named.conf
302 %attr(640,root,root) %config %verify(not size mtime md5) /etc/logrotate.d/named
304 %attr(755,root,root) %{_sbindir}/*
306 %{_mandir}/man8/named.8*
307 %{_mandir}/man8/ndc.8*
308 %{_mandir}/man8/named-xfer.8*
309 %{_mandir}/man8/named-bootconf.8*
310 %{_mandir}/man7/hostname.7*
311 %{_mandir}/man5/irs.conf.5*
312 %{_mandir}/man5/named.conf.5*
313 %{_mandir}/man1/dnskeygen.1*
314 %{_mandir}/man8/nsupdate.8*
316 %attr(770,root,named) %dir /var/lib/named
317 %attr(750,root,root) %dir /var/lib/named/M
318 %attr(770,root,named) %dir /var/lib/named/S
321 /var/lib/named/root.*
323 %attr(660,root,named) %ghost /var/log/named
326 %defattr(644,root,root,755)
327 %attr(755,root,root) %{_bindir}/*
329 %{_datadir}/nslookup.help
331 %{_mandir}/man1/dig.1*
332 %{_mandir}/man1/host.1*
333 %{_mandir}/man1/dnsquery.1*
334 %{_mandir}/man8/nslookup.8*
337 %defattr(644,root,root,755)
344 %defattr(644,root,root,755)
345 %doc doc/html doc/rfc doc/misc doc/notes