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