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
30 Prereq: /sbin/chkconfig
31 Requires: rc-scripts >= 0.2.0
32 Obsoletes: caching-nameserver
33 URL: http://www.isc.org/bind.html
34 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36 %define _datadir %{_prefix}/share/misc
37 %define _sysconfdir /etc
40 BIND (Berkeley Internet Name Domain) is an implementation of the DNS
41 (Domain Name System) protocols. BIND includes a DNS server (named),
42 which resolves host names to IP addresses, and a resolver library
43 (routines for applications to use when interfacing with DNS). A DNS
44 server allows clients to name resources or objects and share the
45 information with other network machines. The named DNS server can be
46 used on workstations as a caching name server, but is generally only
47 needed on one machine for an entire network. Note that the
48 configuration files for making BIND act as a simple caching nameserver
49 are included in the caching-nameserver package.
51 Install the bind package if you need a DNS server for your network. If
52 you want bind to act a caching name server, you will also need to
53 install the caching-nameserver package.
56 Enthält den Namen-Server, der zum Umwandeln von Host-Namen in
57 IP-Adressen und umgekehrt verwendet wird. Er kann auf Workstations als
58 caching Namen-Server verwendet werden, ist aber i.d.R. nur auf einem
59 Recher des Netzwerks erforderlich.
62 Contient le serveur de noms named, utilisé pour définir les
63 traductions nom d'hôte vers adresse IP (et vice versa). Il peut être
64 utilisé sur les stations de travail comme serveur de nom en cache mais
65 n'est souvent nécessaire que sur une machine pour un réseau entier.
68 Pakiet ten zawiera demona named, który s³u¿y do zmieniania nazw
69 komputerów na numery IP i odwrotnie. Mo¿e byæ on u¿ywany na stacjach
70 roboczych jako bufor odwo³añ do serwisu nazw (caching name server),
71 ale generalnie wystarczy tylko jedna jednostka wyposa¿ona w ten
72 program na fragment sieci.
75 Bu paket, makina adýný IP numarasýna (ya da tersi) çevirmek için
76 kullanýlan alan adý sunucusunu içerir. Ýþ istasyonlarýnda bir önbellek
77 isim sunucusu olarak da kullanýlabilir ama genellikle bütün bir að
78 için sadece bir makina üzerinde kurulur.
81 Summary: DNS utils - host, dig, dnsquery, nslookup
82 Summary(de): DNS-Utils - Host, Dig, Dnsquery, Nslookup
83 Summary(fr): Utilitaires DNS - host, dig, dnsquery, nslookup
84 Summary(pl): Narzêdzia DNS - host, dig, dnsquery, nslookup
85 Summary(tr): DNS araçlarý - host, dig, dnsquery, nslookup
86 Group: Networking/Utilities
87 Group(pl): Sieciowe/Narzêdzia
90 Bind-utils contains a collection of utilities for querying DNS (Domain
91 Name Service) name servers to find out information about Internet
92 hosts. These tools will provide you with the IP addresses for given
93 host names, as well as other information about registered domains and
96 You should install bind-utils if you need to get information from DNS
99 %description -l de utils
100 Dienstprogrammsammlung zum Abfragen von Namen-Servern und Hosts. Diese
101 Tools bestimmen die IP-Adresse eines angegebenen Host-Namen und finden
102 Informationen über registrierte Domains und Netzwerk-Adressen.
104 %description -l fr utils
105 Ensemble d'utilitaires pour interroger les serveurs de noms et
106 rechercher des hôtes. Ces outils vous permettent de déterminer les
107 adresses IP pour des noms d'hôtes donnés, et trouver des informations
108 sur les noms de domaine déclarés et les adresses réseau.
110 %description -l pl utils
111 Pakiet ten zawiera zbiór aplikacji umo¿liwiaj±cych odpytywanie
112 serwerów nazw z innych domen w celu uzyskania informacji o komupterach
115 %description -l tr utils
116 Bu pakette isim sunucularýný sorgulamak ve makina adreslerini çözmek
117 için kullanýlan araçlar bulunmaktadýr.
120 Summary: DNS development includes and libs
121 Summary(pl): Pliki nag³ówkowe i biblioteka statyczna
122 Group: Development/Libraries
123 Group(fr): Development/Librairies
124 Group(pl): Programowanie/Biblioteki
127 The bind-devel package contains all the include files and the library
128 required for DNS (Domain Name Service) development for BIND versions
131 You should install bind-devel if you want to develop bind DNS
132 applications. If you install bind-devel, you'll also need to install
135 %description -l pl devel
136 Pakiet zawiera pliki nag³ówkowe i bibliotekê statyczn±. Je¿eli
137 bêdziesz pisa³ programy pod binda, lub kompilowa³ kod ¼ród³owy
138 oprogramowania korzystaj±cego z tych plików nag³ówkowych czy
139 biblioteki powiniene¶ zainstalowaæ ten pakiet.
142 Summary: Bind documentation
143 Summary(pl): Dokumentacja programu bind
145 Group(pl): Dokumentacja
150 %decscription doc -l pl
151 Dokumentacja programu bind
154 %setup -q -c -n %{name}-%{version} -a 1 -a 2
168 rm -f compat/include/sys/cdefs.h
174 CDEBUG="$RPM_OPT_FLAGS" \
175 DESTBIN="%{_bindir}" \
176 DESTSBIN="%{_sbindir}" \
177 DESTMAN="%{_mandir}" \
178 DESTHELP="%{_datadir}" \
179 DESTETC="%{_sysconfdir}" \
183 rm -rf $RPM_BUILD_ROOT
185 install -d $RPM_BUILD_ROOT{%{_bindir},%{_sbindir},%{_libdir},%{_datadir}} \
186 $RPM_BUILD_ROOT/etc/{sysconfig,logrotate.d,rc.d/init.d} \
187 $RPM_BUILD_ROOT%{_mandir}/man{1,3,5,7,8}
191 DESTDIR="$RPM_BUILD_ROOT" \
192 DESTINC="%{_includedir}/bind" \
193 DESTLIB="%{_libdir}" \
194 DESTBIN="%{_bindir}" \
195 DESTSBIN="%{_sbindir}" \
196 DESTMAN="%{_mandir}" \
197 DESTHELP="%{_datadir}" \
198 DESTETC="%{_sysconfdir}" \
203 strip $RPM_BUILD_ROOT{%{_sbin}/*,%{_bindir}/*} || :
211 DESTDIR=$RPM_BUILD_ROOT \
216 install -d $RPM_BUILD_ROOT/var/{log,lib/named/{M,S}}
218 install src/bin/named/test/127.* $RPM_BUILD_ROOT/var/lib/named/M
219 install src/bin/named/test/loca* $RPM_BUILD_ROOT/var/lib/named/M
220 install src/conf/workstation/root.* $RPM_BUILD_ROOT/var/lib/named/root.hint
221 install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}
223 cp src/bin/named/named.conf EXAMPLE-CONFIG
225 install %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/named
226 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/named
227 install %{SOURCE5} $RPM_BUILD_ROOT/etc/logrotate.d/named
228 touch $RPM_BUILD_ROOT/var/log/named
230 mv $RPM_BUILD_ROOT%{_bindir}/nsupdate $RPM_BUILD_ROOT%{_sbindir}
231 rm -f $RPM_BUILD_ROOT%{_bindir}/mkservdb \
232 $RPM_BUILD_ROOT%{_mandir}/man5/resolver.5
234 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man[13578]/* \
235 src/README src/Version src/CHANGES EXAMPLE-CONFIG
238 if [ -f /etc/named.boot ]; then
239 cp /etc/named.boot /etc/named.boot.2conf
240 mv -f /etc/named.boot /etc/named.rpmsave
241 echo "Warrnig: /etc/named.boot saved as /etc/named.rpmsave" 1>&2
243 if ! id -g named; then
244 %{_sbindir}/groupadd -g 58 named
246 if ! id -u named; then
247 %{_sbindir}/useradd -u 58 -g 58 -d /dev/null -s /bin/false -c "BIND user" named
252 /sbin/chkconfig --add named
254 if [ -f /var/lock/subsys/named ]; then
255 /etc/rc.d/init.d/named restart 1>&2
257 echo "Type \"/etc/rc.d/init.d/named start\" to start named" 1>&2
260 if [ -f /etc/named.boot.2conf ]; then
261 /usr/sbin/named-bootconf </etc/named.boot.2conf >/etc/named.conf
262 rm /etc/named.boot.2conf
266 /bin/touch /var/log/named
267 chown root.named /var/log/named
270 if [ "$1" = "0" ]; then
271 if [ -f /var/lock/subsys/named ]; then
272 /etc/rc.d/init.d/named stop 1>&2
274 /sbin/chkconfig --del named
278 if [ "$1" = "0" ]; then
279 %{_sbindir}/groupdel named
280 %{_sbindir}/userdel named
285 rm -rf $RPM_BUILD_ROOT
288 %defattr(644,root,root,755)
289 %doc {src/README,src/Version,src/CHANGES,EXAMPLE-CONFIG}.gz
291 %attr(754,root,root) /etc/rc.d/init.d/named
292 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/named
293 %attr(640,root,named) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/named.conf
294 %attr(640,root,root) %config %verify(not size mtime md5) /etc/logrotate.d/named
296 %attr(755,root,root) %{_sbindir}/*
298 %{_mandir}/man8/named.8*
299 %{_mandir}/man8/ndc.8*
300 %{_mandir}/man8/named-xfer.8*
301 %{_mandir}/man8/named-bootconf.8*
302 %{_mandir}/man7/hostname.7*
303 %{_mandir}/man5/irs.conf.5*
304 %{_mandir}/man5/named.conf.5*
305 %{_mandir}/man1/dnskeygen.1*
306 %{_mandir}/man8/nsupdate.8*
308 %attr(770,root,named) %dir /var/lib/named
309 %attr(750,root,root) %dir /var/lib/named/M
310 %attr(770,root,named) %dir /var/lib/named/S
313 /var/lib/named/root.*
315 %attr(660,root,named) %ghost /var/log/named
318 %defattr(644,root,root,755)
319 %attr(755,root,root) %{_bindir}/*
321 %{_datadir}/nslookup.help
323 %{_mandir}/man1/dig.1*
324 %{_mandir}/man1/host.1*
325 %{_mandir}/man1/dnsquery.1*
326 %{_mandir}/man8/nslookup.8*
329 %defattr(644,root,root,755)
336 %defattr(644,root,root,755)
337 %doc doc/html doc/rfc doc/misc doc/notes