1 # TODO: package contains symlinks pointing to unpackaged files:
2 # /var/lib/named/named.log
3 # /var/lib/named/named.stats
6 %bcond_without ssl # build without OpenSSL support
7 %bcond_without ipv6 # build without IPv6 support
8 %bcond_without ldap # build without LDAP support
9 %bcond_without static_libs # build without static libraries
11 Summary: BIND - DNS name server
12 Summary(de): BIND - DNS-Namenserver
13 Summary(es): BIND - Servidor de nombres DNS
14 Summary(fr): BIND - serveur de noms DNS
15 Summary(pl): BIND - serwer nazw DNS
16 Summary(pt_BR): BIND - Servidor de nomes DNS
17 Summary(ru): BIND - cÅÒ×ÅÒ ÓÉÓÔÅÍÙ ÄÏÍÅÎÎÙÈ ÉÍÅÎ (DNS)
18 Summary(tr): DNS alan adý sunucusu
19 Summary(uk): BIND - cÅÒ×ÅÒ ÓÉÓÔÅÍÉ ÄÏÍÅÎÎÉÈ ¦ÍÅÎ (DNS)
20 Summary(zh_CN): Internet ÓòÃû·þÎñÆ÷
26 Group: Networking/Daemons
27 Source0: ftp://ftp.isc.org/isc/bind9/%{version}/%{name}-%{version}.tar.gz
28 # Source0-md5: df5417e7e7cf017fa28b65d0a3d6e999
29 Source1: %{name}-conf.tar.gz
30 # Source1-md5: 8ee77729f806fcd548fe0cceb34b4a06
32 Source3: named.sysconfig
33 Source4: named.logrotate
34 Source5: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
35 # Source5-md5: 35b1dfaa12615c9802126ee833e0e7f7
36 Source6: http://www.venaas.no/ldap/bind-sdb/dnszone-schema.txt
37 # Source6-md5: 49fe799c6eca54ae227b22d57ebc1145
38 Patch0: %{name}-time.patch
39 Patch1: %{name}-autoconf.patch
40 Patch2: %{name}-includedir-libbind.patch
41 Patch3: %{name}-link.patch
42 Patch4: %{name}-pmake.patch
43 Patch5: %{name}-sdb-ldap.patch
44 Patch6: %{name}-noinet6.patch
45 Patch7: %{name}-idn.patch
46 URL: http://www.isc.org/products/BIND/bind9.html
47 BuildRequires: autoconf
48 BuildRequires: automake
51 BuildRequires: idnkit-devel
52 BuildRequires: libtool
53 %{?with_ldap:BuildRequires: openldap-devel}
54 %{?with_ssl:BuildRequires: openssl-devel >= 0.9.7d}
55 BuildRequires: rpmbuild(macros) >= 1.268
56 Requires(post,preun): /sbin/chkconfig
57 Requires(postun): /usr/sbin/groupdel
58 Requires(postun): /usr/sbin/userdel
59 Requires(pre): /bin/id
60 Requires(pre): /usr/bin/getgid
61 Requires(pre): /usr/sbin/groupadd
62 Requires(pre): /usr/sbin/useradd
63 Requires(pre): fileutils
64 Requires: %{name}-libs = %{epoch}:%{version}-%{release}
65 Requires: psmisc >= 20.1
66 Requires: rc-scripts >= 0.2.0
67 Provides: group(named)
70 Obsoletes: caching-nameserver
72 Conflicts: %{name}-chroot
73 Conflicts: kernel < 2.2.18
74 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
77 BIND (Berkeley Internet Name Domain) is an implementation of the DNS
78 (Domain Name System) protocols. BIND includes a DNS server (named),
79 which resolves host names to IP addresses, and a resolver library
80 (routines for applications to use when interfacing with DNS). A DNS
81 server allows clients to name resources or objects and share the
82 information with other network machines. The named DNS server can be
83 used on workstations as a caching name server, but is generally only
84 needed on one machine for an entire network. Note that the
85 configuration files for making BIND act as a simple caching nameserver
86 are included in the caching-nameserver package.
88 Install the bind package if you need a DNS server for your network. If
89 you want bind to act a caching name server, you will also need to
90 install the caching-nameserver package.
93 Enthält den Namen-Server, der zum Umwandeln von Host-Namen in
94 IP-Adressen und umgekehrt verwendet wird. Er kann auf Workstations als
95 caching Namen-Server verwendet werden, ist aber i.d.R. nur auf einem
96 Recher des Netzwerks erforderlich.
99 Incluye el servidor de nombres (DNS), que se usa para traducir nombres
100 para IP (y viceversa). Puede ser usado en estaciones de trabajo como
101 un servidor de nombres caché, pero generalmente sólo hace falta en una
102 máquina para toda la red.
105 Contient le serveur de noms named, utilisé pour définir les
106 traductions nom d'hôte vers adresse IP (et vice versa). Il peut être
107 utilisé sur les stations de travail comme serveur de nom en cache mais
108 n'est souvent nécessaire que sur une machine pour un réseau entier.
111 Pakiet ten zawiera demona named, który s³u¿y do zmieniania nazw
112 komputerów na numery IP i odwrotnie. Mo¿e byæ on u¿ywany na stacjach
113 roboczych jako bufor odwo³añ do serwisu nazw (caching name server),
114 ale generalnie wystarczy tylko jedna jednostka wyposa¿ona w ten
115 program na fragment sieci.
117 %description -l pt_BR
118 Inclui o servidor de nomes (DNS), que é usado para traduzir nomes para
119 IP (e vice-versa). Pode ser usado em estações de trabalho como um
120 servidor de nomes cache, mas geralmente só é necessário em uma máquina
124 BIND (Berkeley Internet Name Domain) Ñ×ÌÑÅÔÓÑ ÒÅÁÌÉÚÁÃÉÅÊ ÐÒÏÔÏËÏÌÏ×
125 DNS (Domain Name System). BIND ×ËÌÀÞÁÅÔ DNS ÓÅÒ×ÅÒ (named) É
126 ÂÉÂÌÉÏÔÅËÕ "ÒÅÚÏÌ×ÅÒÁ" (ÐÏÄÐÒÏÇÒÁÍÍÙ ÄÌÑ ÐÒÉÌÏÖÅÎÉÊ, ÞÅÒÅÚ ËÏÔÏÒÙÅ
127 ÐÒÏÉÓÈÏÄÑÔ ÏÂÒÁÝÅÎÉÑ Ë DNS). DNS ÓÅÒ×ÅÒ named ÍÏÖÅÔ ÂÙÔØ ÉÓÐÏÌØÚÏ×ÁÎ
128 ÎÁ ÒÁÂÏÞÉÈ ÓÔÁÎÃÉÑÈ ËÁË ËÅÛÉÒÕÀÝÉÊ ÓÅÒ×ÅÒ, ÎÏ ÏÂÙÞÎÏ ÚÁÐÕÓËÁÅÔÓÑ ÎÁ
129 ÏÄÎÏÊ ÍÁÛÉÎÅ × ÌÏËÁÌØÎÏÊ ÓÅÔÉ É ÉÓÐÏÌØÚÕÅÔÓÑ ÏÓÔÁÌØÎÙÍÉ ÍÁÛÉÎÁÍÉ (ÜÔÉÍ
130 ÄÏÓÔÉÇÁÅÔÓÑ ÎÁÍÎÏÇÏ ÂÏÌÅÅ ÜÆÆÅËÔÉ×ÎÏÅ ËÅÛÉÒÏ×ÁÎÉÅ).
132 ëÏÎÆÉÇÕÒÁÃÉÏÎÎÙÅ ÆÁÊÌÙ, ÎÁÓÔÒÁÉ×ÁÀÝÉÅ BIND ÎÁ ÒÁÂÏÔÕ × ÒÅÖÉÍÅ ÐÒÏÓÔÏÇÏ
133 ËÅÛÉÒÕÀÝÅÇÏ ÓÅÒ×ÅÒÁ, ×ËÌÀÞÅÎÙ × ÐÁËÅÔ caching-nameserver.
136 Bu paket, makina adýný IP numarasýna (ya da tersi) çevirmek için
137 kullanýlan alan adý sunucusunu içerir. Ýþ istasyonlarýnda bir önbellek
138 isim sunucusu olarak da kullanýlabilir ama genellikle bütün bir að
139 için sadece bir makina üzerinde kurulur.
142 BIND (Berkeley Internet Name Domain) ¤ ÒÅÁ̦ÚÁæ¤À ÐÒÏÔÏËÏÌ¦× DNS
143 (Domain Name System). BIND ×ËÌÀÞÁ¤ DNS ÓÅÒ×ÅÒ (named) ÔÁ ¦Â̦ÏÔÅËÕ
144 "ÒÅÚÏÌ×ÅÒÁ" (ЦÄÐÒÏÇÒÁÍÉ, ÝÏ ÚÁÂÅÚÐÅÞÕÀÔØ ¦ÎÔÅÒÆÅÊÓ ÄÏ DNS). DNS
145 ÓÅÒ×ÅÒ named ÍÏÖÅ ÂÕÔÉ ×ÉËÏÒÉÓÔÁÎÉÊ ÎÁ ÒÏÂÏÞÉÈ ÓÔÁÎæÑÈ ÑË ËÅÛÉÒÕÀÞÉÊ
146 ÓÅÒ×ÅÒ, ÁÌÅ Ú×ÉÞÁÊÎÏ ÚÁÐÕÓËÁ¤ÔØÓÑ ÎÁ ÏÄÎ¦Ê ÍÁÛÉΦ × ÌÏËÁÌØÎ¦Ê ÍÅÒÅÖ¦ ¦
147 ×ÉËÏÒÉÓÔÏ×Õ¤ÔØÓÑ ¦ÎÛÉÍÉ (ÃÉÍ ÄÏÓÑÇÁ¤ÔØÓÑ Â¦ÌØÛÁ ÅÆÅËÔÉ×ΦÓÔØ
150 ëÏÎƦÇÕÒÁæÊΦ ÆÁÊÌÉ, ÝÁ ÎÁÓÔÒÏÀÀÔØ BIND ÎÁ ÒÏÂÏÔÕ × ÒÅÖÉͦ ÐÒÏÓÔÏÇÏ
151 ËÅÛÉÒÕÀÞÏÇÏ ÓÅÒ×ÅÒÕ, ×ËÌÀÞÅΦ × ÐÁËÅÔ caching-nameserver.
154 Summary: DNS utils - host, dig, dnsquery, nslookup
155 Summary(de): DNS-Utils - Host, Dig, Dnsquery, Nslookup
156 Summary(es): Utilitarios DNS - host, dig, dnsquery y nslookup
157 Summary(fr): Utilitaires DNS - host, dig, dnsquery, nslookup
158 Summary(pl): Narzêdzia DNS - host, dig, dnsquery, nslookup
159 Summary(pt_BR): Utilitários DNS - host, dig, dnsquery e nslookup
160 Summary(ru): õÔÉÌÉÔÙ ÄÌÑ ÐÏÓÙÌËÉ ÚÁÐÒÏÓÏ× Ë ÓÅÒ×ÅÒÁÍ DNS
161 Summary(tr): DNS araçlarý - host, dig, dnsquery, nslookup
162 Summary(uk): õÔÉ̦ÔÉ ÄÌÑ ÎÁÄÓÉÌÁÎÎÑ ÚÁÐÉÔ¦× ÄÏ ÓÅÒ×ÅÒ¦× DNS
163 Summary(zh_CN): Internet ÓòÃû·þÎñÆ÷ʵÓù¤¾ß
164 Group: Networking/Utilities
165 Requires: %{name}-libs = %{epoch}:%{version}-%{release}
169 Bind-utils contains a collection of utilities for querying DNS (Domain
170 Name Service) name servers to find out information about Internet
171 hosts. These tools will provide you with the IP addresses for given
172 host names, as well as other information about registered domains and
175 You should install bind-utils if you need to get information from DNS
178 %description utils -l de
179 Dienstprogrammsammlung zum Abfragen von Namen-Servern und Hosts. Diese
180 Tools bestimmen die IP-Adresse eines angegebenen Host-Namen und finden
181 Informationen über registrierte Domains und Netzwerk-Adressen.
183 %description utils -l es
184 Conjunto de utilitarios para consulta a servidores de nombres. Estas
185 herramientas permiten la determinación de direcciones IP para nombres
186 de máquinas informados y busca información sobre dominios registrados
187 y direcciones de red.
189 %description utils -l fr
190 Ensemble d'utilitaires pour interroger les serveurs de noms et
191 rechercher des hôtes. Ces outils vous permettent de déterminer les
192 adresses IP pour des noms d'hôtes donnés, et trouver des informations
193 sur les noms de domaine déclarés et les adresses réseau.
195 %description utils -l pl
196 Pakiet ten zawiera zbiór aplikacji umo¿liwiaj±cych odpytywanie
197 serwerów nazw z innych domen w celu uzyskania informacji o komputerach
200 %description utils -l pt_BR
201 Conjunto de utilitários para consulta a servidores DNS. Estas
202 ferramentas permitem a determinação de endereços IP para nomes de
203 máquinas informados e busca informações sobre domínios registrados e
204 endereços de rede. Você deveria instalar este pacote se necessitar
205 obter informações de servidores DNS.
207 %description utils -l ru
208 îÁÂÏÒ ÕÔÉÌÉÔ ÄÌÑ ÇÅÎÅÒÁÃÉÉ ÚÁÐÒÏÓÏ× Ë ÓÅÒ×ÅÒÁÍ ÉÍÅÎ (DNS) É ÐÏÉÓËÁ
209 ÁÄÒÅÓÏ× ÍÁÛÉÎ. üÔÉ ÕÔÉÌÉÔÙ ÐÏÚ×ÏÌÑÀÔ ÏÐÒÅÄÅÌÉÔØ IP-ÁÄÒÅÓ ÐÏ ÉÚ×ÅÓÔÎÏÍÕ
210 ÄÏÍÅÎÎÏÍÕ ÉÍÅÎÉ (É ÎÁÏÂÏÒÏÔ) É ÄÒÕÇÕÀ ÉÎÆÏÒÍÁÃÉÀ Ï ÚÁÒÅÇÉÓÔÒÉÒÏ×ÁÎÎÙÈ
211 ÄÏÍÅÎÁÈ É ÓÅÔÅ×ÙÈ ÁÄÒÅÓÁÈ.
213 %description utils -l tr
214 Bu pakette isim sunucularýný sorgulamak ve makina adreslerini çözmek
215 için kullanýlan araçlar bulunmaktadýr.
217 %description utils -l uk
218 îÁÂ¦Ò ÕÔÉÌ¦Ô ÄÌÑ ÇÅÎÅÒÁæ§ ÚÁÐÉÔ¦× ÄÏ ÓÅÒ×ÅÒ¦× ¦ÍÅÎ (DNS) ÔÁ ÐÏÛÕËÕ
219 ÁÄÒÅÓ ÍÁÛÉÎ. 㦠ÕÔÉ̦ÔÉ ÄÏÚ×ÏÌÑÀÔØ ÏÔÒÉÍÁÔÉ IP-ÁÄÒÅÓÕ ÚÁ צÄÏÍÉÍ
220 ÄÏÍÅÎÎÉÍ ¦ÍÅÎÅÍ ÔÁ ÎÁ×ÐÁËÉ, Á ÔÁËÏÖ ¦ÎÛÕ ¦ÎÆÏÒÍÁæÀ ÐÒÏ ÚÁÒŤÓÔÒÏ×ÁΦ
224 Summary: DNS libraries
225 Summary(pl): Biblioteki DNS
226 Summary(ru): âÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ bind
227 Summary(uk): â¦Â̦ÏÔÅËÉ, ÎÅÏÂȦÄΦ ÄÌÑ bind
228 Summary(zh_CN): Internet ÓòÃû·þÎñÆ÷¿ª·¢¿â
232 The bind-libs package contains all libraries required for running BIND
235 %description libs -l pl
236 Pakiet zawiera wszystkie biblioteki potrzebne do uruchomienia binda
237 lub programów z pakietu bind-utils.
239 %description libs -l ru
240 âÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÒÁÂÏÔÙ bind.
242 %description libs -l uk
243 â¦Â̦ÏÔÅËÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÒÏÂÏÔÉ bind.
246 Summary: DNS development includes
247 Summary(es): Archivos de inclusión y bibliotecas para desarrollo DNS
248 Summary(pl): Pliki nag³ówkowe bibliotek DNS
249 Summary(pt_BR): Todos os arquivos de cabeçalho e bibliotecas para desenvolvimento DNS
250 Summary(ru): èÅÄÅÒÙ É ÂÉÂÌÉÏÔÅËÉ ÒÁÚÒÁÂÏÔÞÉËÁ ÄÌÑ bind
251 Summary(uk): èÅÄÅÒÉ ÔÁ ¦Â̦ÏÔÅËÉ ÐÒÏÇÒÁͦÓÔÁ ÄÌÑ bind
252 Group: Development/Libraries
253 Requires: %{name}-libs = %{epoch}:%{version}-%{release}
256 The bind-devel package contains all the include files and symlinks
257 required for DNS (Domain Name Service) development for BIND.
259 You should install bind-devel if you want to develop bind DNS
260 applications. If you install bind-devel, you'll also need to install
263 %description devel -l es
264 Los archivos de inclusión y bibliotecas necesarios al desarrollo DNS
267 %description devel -l pl
268 Pakiet zawiera pliki nag³ówkowe. Je¿eli bêdziesz pisa³ programy pod
269 binda, lub kompilowa³ kod ¼ród³owy oprogramowania korzystaj±cego z
270 tych plików nag³ówkowych czy biblioteki powiniene¶ zainstalowaæ ten
273 %description devel -l pt_BR
274 Todos os arquivos de cabeçalho e bibliotecas necessários para o
275 desenvolvimento com o bind.
277 %description devel -l ru
278 ÷ÓÅ ÈÅÄÅÒÙ É ÂÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÎÁÐÉÓÁÎÉÑ ÐÒÏÇÒÁÍÍ Ó
279 ÉÓÐÏÌØÚÏ×ÁÎÉÅÍ BIND 9.x.x.
281 %description devel -l uk
282 ÷Ó¦ ÈÅÄÅÒÉ ÔÁ ¦Â̦ÏÔÅËÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ Ú
283 ×ÉËÏÒÉÓÔÁÎÎÑÍ BIND 9.x.x.
286 Summary: DNS static libs
287 Summary(pl): Biblioteki statyczne DNS
288 Summary(pt_BR): Bibliotecas estáticas para desenvolvimento DNS
289 Summary(ru): óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ ÒÁÚÒÁÂÏÔÞÉËÁ ÄÌÑ bind
290 Summary(uk): óÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ ÐÒÏÇÒÁͦÓÔÁ ÄÌÑ bind
291 Group: Development/Libraries
292 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
295 Static bind libraries.
297 %description static -l pl
298 Statyczne biblioteki binda.
300 %description static -l pt_BR
301 Bibliotecas estáticas para desenvolvimento DNS.
303 %description static -l ru
304 óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÎÁÐÉÓÁÎÉÑ ÐÒÏÇÒÁÍÍ Ó
307 %description static -l uk
308 óÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ Ú ×ÉËÏÒÉÓÔÁÎÎÑÍ
318 %{?with_ldap:%patch5 -p1}
334 %{?with_ssl:--with-openssl=%{_prefix}} \
335 %{?with_ipv6:--enable-ipv6} \
337 %{!?with_static_libs:--enable-static=no} \
344 rm -rf $RPM_BUILD_ROOT
345 install -d $RPM_BUILD_ROOT{%{_includedir},%{_bindir},%{_sbindir},%{_includedir}} \
346 $RPM_BUILD_ROOT/etc/{rc.d/init.d,logrotate.d,sysconfig} \
347 $RPM_BUILD_ROOT{%{_mandir}/man{1,3,5,8},%{_var}/{lib/named/{M,D,S,dev,etc},run,log}}
350 DESTDIR=$RPM_BUILD_ROOT
354 bzip2 -dc %{SOURCE5} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
355 mv $RPM_BUILD_ROOT%{_mandir}/ja/man8/nslookup.8 $RPM_BUILD_ROOT%{_mandir}/ja/man1/nslookup.1
356 %{__perl} -pi -e 's/NSLOOKUP 8/NSLOOKUP 1/' $RPM_BUILD_ROOT%{_mandir}/ja/man1/nslookup.1
358 install conf-pld/*.zone $RPM_BUILD_ROOT%{_var}/lib/named/M
359 install conf-pld/*.hint $RPM_BUILD_ROOT%{_var}/lib/named
360 install conf-pld/*.conf $RPM_BUILD_ROOT%{_var}/lib/named%{_sysconfdir}
361 install bin/tests/named.conf EXAMPLE-CONFIG-named
362 install bin/tests/ndc.conf EXAMPLE-CONFIG-ndc
363 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/named
364 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/named
365 install %{SOURCE4} $RPM_BUILD_ROOT/etc/logrotate.d/named
367 ln -sf %{_var}/lib/named%{_sysconfdir}/named.conf $RPM_BUILD_ROOT/etc/named.conf
368 ln -sf %{_var}/lib/named/named.log $RPM_BUILD_ROOT%{_var}/log/named
369 ln -sf %{_var}/lib/named/named.stats $RPM_BUILD_ROOT%{_var}/log/named.stats
371 touch $RPM_BUILD_ROOT%{_var}/lib/named/{named.{log,stats},dev/{random,null}}
373 %{?with_ldap:install -d $RPM_BUILD_ROOT%{_datadir}/openldap/schema}
374 %{?with_ldap:install %{SOURCE6} $RPM_BUILD_ROOT%{_datadir}/openldap/schema/dnszone.schema}
376 # we don't want Makefiles in documentation...
377 # FIXME: breaks re-entrant install
378 rm -f doc/misc/Makefile*
381 rm -rf $RPM_BUILD_ROOT
384 if [ -f %{_sysconfdir}/named.boot ]; then
385 cp -f %{_sysconfdir}/named.boot /etc/named.boot.2conf
386 mv -f %{_sysconfdir}/named.boot /etc/named.rpmsave
387 echo "Warning: %{_sysconfdir}/named.boot saved as /etc/named.rpmsave." 1>&2
389 %groupadd -g 58 named
390 %useradd -u 58 -g 58 -d /tmp -s /bin/false -c "BIND user" named
393 if [ "$1" = 1 ]; then
394 mknod -m 660 %{_var}/lib/named/dev/null c 1 3 2>/dev/null
395 chown root:named %{_var}/lib/named/dev/null 2>/dev/null
396 mknod -m 640 %{_var}/lib/named/dev/null c 1 8 2>/dev/null
397 chown root:named %{_var}/lib/named/dev/random 2>/dev/null
398 if [ ! -c %{_var}/lib/named/dev/null ] || [ ! -c %{_var}/lib/named/dev/random ]; then
399 %banner -e %{name}-devs <<-EOF
400 Device nodes were not created!!!
402 Please read PLD Linux Vserver FAQ if you're installing %{name} inside
403 vserver: <http://www.pld-linux.org/Vserver>.
407 /sbin/chkconfig --add named
408 %service named restart
411 if [ "$1" = "0" ]; then
413 /sbin/chkconfig --del named
417 if [ "$1" = "0" ]; then
422 %post libs -p /sbin/ldconfig
423 %postun libs -p /sbin/ldconfig
426 %defattr(644,root,root,755)
427 %doc README EXAMPLE-CONFIG-* FAQ doc/misc/* doc/arm/*.html doc/rfc/index %{?with_ldap:doc/*.sdb-ldap}
429 %attr(754,root,root) /etc/rc.d/init.d/named
430 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/named
431 %attr(640,root,named) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/named.conf
432 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/named
434 %attr(755,root,root) %{_sbindir}/*
436 %{?with_ldap:%{_datadir}/openldap/schema/*.schema}
439 %{_mandir}/man8/lwres*
440 %{_mandir}/man8/named*
441 %{_mandir}/man8/rndc*
442 %{_mandir}/man5/rndc*
443 %{_mandir}/man5/named.conf*
444 %lang(ja) %{_mandir}/ja/man8/named*
446 %attr(770,root,named) %dir %{_var}/lib/named
447 %attr(770,root,named) %dir %{_var}/lib/named/D
448 %attr(750,root,named) %dir %{_var}/lib/named/M
449 %attr(770,root,named) %dir %{_var}/lib/named/S
450 %attr(750,root,named) %dir %{_var}/lib/named%{_sysconfdir}
452 %config(noreplace) %verify(not md5 mtime size) %{_var}/lib/named/M/*
453 %config(noreplace) %verify(not md5 mtime size) %{_var}/lib/named/root.*
454 %attr(640,root,named) %config(noreplace) %verify(not md5 mtime size) %{_var}/lib/named%{_sysconfdir}/*
455 %attr(660,named,named) %config(noreplace,missingok) %verify(not md5 mtime size) %{_var}/log/named*
456 #Something like that should be added...
457 #%attr(660,named,named) %ghost %{_var}/lib/named/named.log
458 #%attr(660,named,named) %ghost %{_var}/lib/named/named.stats
460 # devices for chrooted bind
461 %attr(750,root,named) %dir %{_var}/lib/named/dev
462 %ghost %attr(660,root,named) %{_var}/lib/named/dev/null
463 %ghost %attr(640,root,named) %{_var}/lib/named/dev/random
466 %defattr(644,root,root,755)
467 %attr(755,root,root) %{_bindir}/dig
468 %attr(755,root,root) %{_bindir}/host
469 %attr(755,root,root) %{_bindir}/nslookup
470 %attr(755,root,root) %{_bindir}/nsupdate
471 %{_mandir}/man1/dig.1*
472 %{_mandir}/man1/host.1*
473 %{_mandir}/man1/nslookup.1*
474 %{_mandir}/man8/nsupdate.8*
476 %lang(fi) %{_mandir}/fi/man1/host.1*
478 %lang(fr) %{_mandir}/fr/man1/host.1*
480 %lang(hu) %{_mandir}/hu/man1/host.1*
482 %lang(ja) %{_mandir}/ja/man1/dig.1*
483 %lang(ja) %{_mandir}/ja/man1/host.1*
484 %lang(ja) %{_mandir}/ja/man1/nslookup.1*
485 %lang(ja) %{_mandir}/ja/man8/nsupdate.8*
487 %lang(pl) %{_mandir}/pl/man1/host.1*
490 %defattr(644,root,root,755)
491 %attr(755,root,root) %{_libdir}/*.so.*.*
494 %defattr(644,root,root,755)
495 %attr(755,root,root) %{_bindir}/*.sh
496 %attr(755,root,root) %{_libdir}/*.so
501 %if %{with static_libs}
503 %defattr(644,root,root,755)