]> git.pld-linux.org Git - packages/bind.git/blob - bind.spec
- up to 9.5.0-P1; fixes CVE-2008-1447
[packages/bind.git] / bind.spec
1 # TODO
2 # - schema regstering in openldap-schema-bind
3 #
4 # Conditional build:
5 %bcond_without  ssl             # build without OpenSSL support
6 %bcond_without  ipv6            # build without IPv6 support
7 %bcond_without  ldap            # build without LDAP support
8 %bcond_without  kerberos5       # build without kerneros5 support
9 %bcond_without  sql             # build without SQL support
10 %bcond_without  static_libs     # build without static libraries
11 %bcond_without  tests           # perform tests
12 %bcond_with     hip             # build with HIP RR support
13 #
14 Summary:        BIND - DNS name server
15 Summary(de.UTF-8):      BIND - DNS-Namenserver
16 Summary(es.UTF-8):      BIND - Servidor de nombres DNS
17 Summary(fr.UTF-8):      BIND - serveur de noms DNS
18 Summary(pl.UTF-8):      BIND - serwer nazw DNS
19 Summary(pt_BR.UTF-8):   BIND - Servidor de nomes DNS
20 Summary(ru.UTF-8):      BIND - cервер системы доменных имен (DNS)
21 Summary(tr.UTF-8):      DNS alan adı sunucusu
22 Summary(uk.UTF-8):      BIND - cервер системи доменних імен (DNS)
23 Summary(zh_CN.UTF-8):   Internet 域名服务器
24 %define ver     9.5.0
25 %define plevel  P1
26 Name:           bind
27 Version:        %{ver}.%{plevel}
28 Release:        1
29 Epoch:          7
30 License:        BSD-like
31 Group:          Networking/Daemons
32 Source0:        ftp://ftp.isc.org/isc/bind9/%{ver}-%{plevel}/%{name}-%{ver}-%{plevel}.tar.gz
33 # Source0-md5:  a4f9dd6d205d24ec89fa4e44d8188197
34 Source1:        named.init
35 Source2:        named.sysconfig
36 Source3:        named.logrotate
37 Source4:        http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
38 # Source4-md5:  35b1dfaa12615c9802126ee833e0e7f7
39 Source5:        http://www.venaas.no/ldap/bind-sdb/dnszone-schema.txt
40 # Source5-md5:  49fe799c6eca54ae227b22d57ebc1145
41 Source6:        %{name}-hip.tar.gz
42 # Source6-md5:  62a8a67f51ff8db9fe815205416a1f62
43 Source7:        ftp://rs.internic.net/domain/named.root
44 # Source7-md5:  a94e29ac677846f3d4d618c50b7d34f1
45 Source8:        %{name}-127.0.0.zone
46 Source9:        %{name}-localhost.zone
47 Source10:       %{name}-named.conf
48 Patch0:         %{name}-time.patch
49 Patch1:         %{name}-autoconf.patch
50 Patch2:         %{name}-includedir-libbind.patch
51 Patch3:         %{name}-link.patch
52 Patch4:         %{name}-pmake.patch
53 Patch5:         %{name}-sdb-ldap.patch
54 Patch6:         %{name}-noinet6.patch
55 Patch7:         %{name}-chroot-numcpus.patch
56 URL:            http://www.isc.org/sw/bind/
57 BuildRequires:  autoconf
58 BuildRequires:  automake
59 BuildRequires:  bison
60 BuildRequires:  flex
61 BuildRequires:  idnkit-devel
62 %{?with_kerberos5:BuildRequires:        krb5-devel}
63 %{?with_hip:BuildRequires:      libxml2-devel}
64 BuildRequires:  libtool
65 %{?with_ldap:BuildRequires:     openldap-devel}
66 %{?with_ssl:BuildRequires:      openssl-devel >= 0.9.7d}
67 %{?with_sql:BuildRequires:      mysql-devel}
68 %{?with_sql:BuildRequires:      postgresql-devel}
69 %{?with_sql:BuildRequires:      unixODBC-devel}
70 BuildRequires:  rpmbuild(macros) >= 1.268
71 Requires(post,preun):   /sbin/chkconfig
72 Requires(postun):       /usr/sbin/groupdel
73 Requires(postun):       /usr/sbin/userdel
74 Requires(pre):  /bin/id
75 Requires(pre):  /usr/bin/getgid
76 Requires(pre):  /usr/sbin/groupadd
77 Requires(pre):  /usr/sbin/useradd
78 Requires(pre):  fileutils
79 Requires:       %{name}-libs = %{epoch}:%{version}-%{release}
80 Requires:       psmisc >= 20.1
81 Requires:       rc-scripts >= 0.2.0
82 Provides:       group(named)
83 Provides:       nameserver
84 Provides:       user(named)
85 Obsoletes:      caching-nameserver
86 Conflicts:      %{name}-chroot
87 Conflicts:      kernel < 2.2.18
88 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
89
90 %description
91 BIND (Berkeley Internet Name Domain) is an implementation of the DNS
92 (Domain Name System) protocols. BIND includes a DNS server (named),
93 which resolves host names to IP addresses, and a resolver library
94 (routines for applications to use when interfacing with DNS). A DNS
95 server allows clients to name resources or objects and share the
96 information with other network machines. The named DNS server can be
97 used on workstations as a caching name server, but is generally only
98 needed on one machine for an entire network. Note that the
99 configuration files for making BIND act as a simple caching nameserver
100 are included in the caching-nameserver package.
101
102 Install the bind package if you need a DNS server for your network. If
103 you want bind to act a caching name server, you will also need to
104 install the caching-nameserver package.
105
106 %description -l de.UTF-8
107 Enthält den Namen-Server, der zum Umwandeln von Host-Namen in
108 IP-Adressen und umgekehrt verwendet wird. Er kann auf Workstations als
109 caching Namen-Server verwendet werden, ist aber i.d.R. nur auf einem
110 Recher des Netzwerks erforderlich.
111
112 %description -l es.UTF-8
113 Incluye el servidor de nombres (DNS), que se usa para traducir nombres
114 para IP (y viceversa). Puede ser usado en estaciones de trabajo como
115 un servidor de nombres caché, pero generalmente sólo hace falta en una
116 máquina para toda la red.
117
118 %description -l fr.UTF-8
119 Contient le serveur de noms named, utilisé pour définir les
120 traductions nom d'hôte vers adresse IP (et vice versa). Il peut être
121 utilisé sur les stations de travail comme serveur de nom en cache mais
122 n'est souvent nécessaire que sur une machine pour un réseau entier.
123
124 %description -l pl.UTF-8
125 Pakiet ten zawiera demona named, który służy do zmieniania nazw
126 komputerów na numery IP i odwrotnie. Może być on używany na stacjach
127 roboczych jako bufor odwołań do serwisu nazw (caching name server),
128 ale generalnie wystarczy tylko jedna jednostka wyposażona w ten
129 program na fragment sieci.
130
131 %description -l pt_BR.UTF-8
132 Inclui o servidor de nomes (DNS), que é usado para traduzir nomes para
133 IP (e vice-versa). Pode ser usado em estações de trabalho como um
134 servidor de nomes cache, mas geralmente só é necessário em uma máquina
135 para toda a rede.
136
137 %description -l ru.UTF-8
138 BIND (Berkeley Internet Name Domain) является реализацией протоколов
139 DNS (Domain Name System). BIND включает DNS сервер (named) и
140 библиотеку "резолвера" (подпрограммы для приложений, через которые
141 происходят обращения к DNS). DNS сервер named может быть использован
142 на рабочих станциях как кеширующий сервер, но обычно запускается на
143 одной машине в локальной сети и используется остальными машинами (этим
144 достигается намного более эффективное кеширование).
145
146 Конфигурационные файлы, настраивающие BIND на работу в режиме простого
147 кеширующего сервера, включены в пакет caching-nameserver.
148
149 %description -l tr.UTF-8
150 Bu paket, makina adını IP numarasına (ya da tersi) çevirmek için
151 kullanılan alan adı sunucusunu içerir. İş istasyonlarında bir önbellek
152 isim sunucusu olarak da kullanılabilir ama genellikle bütün bir ağ
153 için sadece bir makina üzerinde kurulur.
154
155 %description -l uk.UTF-8
156 BIND (Berkeley Internet Name Domain) є реалізацією протоколів DNS
157 (Domain Name System). BIND включає DNS сервер (named) та бібліотеку
158 "резолвера" (підпрограми, що забезпечують інтерфейс до DNS). DNS
159 сервер named може бути використаний на робочих станціях як кешируючий
160 сервер, але звичайно запускається на одній машині в локальній мережі і
161 використовується іншими (цим досягається більша ефективність
162 використання кешу).
163
164 Конфігураційні файли, ща настроюють BIND на роботу в режимі простого
165 кешируючого серверу, включені в пакет caching-nameserver.
166
167 %package utils
168 Summary:        DNS utils - host, dig, dnsquery, nslookup
169 Summary(de.UTF-8):      DNS-Utils - Host, Dig, Dnsquery, Nslookup
170 Summary(es.UTF-8):      Utilitarios DNS - host, dig, dnsquery y nslookup
171 Summary(fr.UTF-8):      Utilitaires DNS - host, dig, dnsquery, nslookup
172 Summary(pl.UTF-8):      Narzędzia DNS - host, dig, dnsquery, nslookup
173 Summary(pt_BR.UTF-8):   Utilitários DNS - host, dig, dnsquery e nslookup
174 Summary(ru.UTF-8):      Утилиты для посылки запросов к серверам DNS
175 Summary(tr.UTF-8):      DNS araçları - host, dig, dnsquery, nslookup
176 Summary(uk.UTF-8):      Утиліти для надсилання запитів до серверів DNS
177 Summary(zh_CN.UTF-8):   Internet 域名服务器实用工具
178 Group:          Networking/Utilities
179 Requires:       %{name}-libs = %{epoch}:%{version}-%{release}
180 Requires:       iconv
181
182 %description utils
183 Bind-utils contains a collection of utilities for querying DNS (Domain
184 Name Service) name servers to find out information about Internet
185 hosts. These tools will provide you with the IP addresses for given
186 host names, as well as other information about registered domains and
187 network addresses.
188
189 You should install bind-utils if you need to get information from DNS
190 name servers.
191
192 %description utils -l de.UTF-8
193 Dienstprogrammsammlung zum Abfragen von Namen-Servern und Hosts. Diese
194 Tools bestimmen die IP-Adresse eines angegebenen Host-Namen und finden
195 Informationen über registrierte Domains und Netzwerk-Adressen.
196
197 %description utils -l es.UTF-8
198 Conjunto de utilitarios para consulta a servidores de nombres. Estas
199 herramientas permiten la determinación de direcciones IP para nombres
200 de máquinas informados y busca información sobre dominios registrados
201 y direcciones de red.
202
203 %description utils -l fr.UTF-8
204 Ensemble d'utilitaires pour interroger les serveurs de noms et
205 rechercher des hôtes. Ces outils vous permettent de déterminer les
206 adresses IP pour des noms d'hôtes donnés, et trouver des informations
207 sur les noms de domaine déclarés et les adresses réseau.
208
209 %description utils -l pl.UTF-8
210 Pakiet ten zawiera zbiór aplikacji umożliwiających odpytywanie
211 serwerów nazw z innych domen w celu uzyskania informacji o komputerach
212 i ich adresach IP.
213
214 %description utils -l pt_BR.UTF-8
215 Conjunto de utilitários para consulta a servidores DNS. Estas
216 ferramentas permitem a determinação de endereços IP para nomes de
217 máquinas informados e busca informações sobre domínios registrados e
218 endereços de rede. Você deveria instalar este pacote se necessitar
219 obter informações de servidores DNS.
220
221 %description utils -l ru.UTF-8
222 Набор утилит для генерации запросов к серверам имен (DNS) и поиска
223 адресов машин. Эти утилиты позволяют определить IP-адрес по известному
224 доменному имени (и наоборот) и другую информацию о зарегистрированных
225 доменах и сетевых адресах.
226
227 %description utils -l tr.UTF-8
228 Bu pakette isim sunucularını sorgulamak ve makina adreslerini çözmek
229 için kullanılan araçlar bulunmaktadır.
230
231 %description utils -l uk.UTF-8
232 Набір утиліт для генерації запитів до серверів імен (DNS) та пошуку
233 адрес машин. Ці утиліти дозволяють отримати IP-адресу за відомим
234 доменним іменем та навпаки, а також іншу інформацію про зареєстровані
235 домени та адреси.
236
237 %package libs
238 Summary:        DNS libraries
239 Summary(pl.UTF-8):      Biblioteki DNS
240 Summary(ru.UTF-8):      Библиотеки, необходимые для bind
241 Summary(uk.UTF-8):      Бібліотеки, необхідні для bind
242 Summary(zh_CN.UTF-8):   Internet 域名服务器开发库
243 Group:          Libraries
244
245 %description libs
246 The bind-libs package contains all libraries required for running BIND
247 and bind utils.
248
249 %description libs -l pl.UTF-8
250 Pakiet zawiera wszystkie biblioteki potrzebne do uruchomienia binda
251 lub programów z pakietu bind-utils.
252
253 %description libs -l ru.UTF-8
254 Библиотеки, необходимые для работы bind.
255
256 %description libs -l uk.UTF-8
257 Бібліотеки, необхідні для роботи bind.
258
259 %package devel
260 Summary:        DNS development includes
261 Summary(es.UTF-8):      Archivos de inclusión y bibliotecas para desarrollo DNS
262 Summary(pl.UTF-8):      Pliki nagłówkowe bibliotek DNS
263 Summary(pt_BR.UTF-8):   Todos os arquivos de cabeçalho e bibliotecas para desenvolvimento DNS
264 Summary(ru.UTF-8):      Хедеры и библиотеки разработчика для bind
265 Summary(uk.UTF-8):      Хедери та бібліотеки програміста для bind
266 Group:          Development/Libraries
267 Requires:       %{name}-libs = %{epoch}:%{version}-%{release}
268
269 %description devel
270 The bind-devel package contains all the include files and symlinks
271 required for DNS (Domain Name Service) development for BIND.
272
273 You should install bind-devel if you want to develop bind DNS
274 applications. If you install bind-devel, you'll also need to install
275 bind-libs.
276
277 %description devel -l es.UTF-8
278 Los archivos de inclusión y bibliotecas necesarios al desarrollo DNS
279 para el bind.
280
281 %description devel -l pl.UTF-8
282 Pakiet zawiera pliki nagłówkowe. Jeżeli będziesz pisał programy pod
283 binda, lub kompilował kod źródłowy oprogramowania korzystającego z
284 tych plików nagłówkowych czy biblioteki powinieneś zainstalować ten
285 pakiet.
286
287 %description devel -l pt_BR.UTF-8
288 Todos os arquivos de cabeçalho e bibliotecas necessários para o
289 desenvolvimento com o bind.
290
291 %description devel -l ru.UTF-8
292 Все хедеры и библиотеки, необходимые для написания программ с
293 использованием BIND 9.x.x.
294
295 %description devel -l uk.UTF-8
296 Всі хедери та бібліотеки, необхідні для розробки програм з
297 використанням BIND 9.x.x.
298
299 %package static
300 Summary:        DNS static libs
301 Summary(pl.UTF-8):      Biblioteki statyczne DNS
302 Summary(pt_BR.UTF-8):   Bibliotecas estáticas para desenvolvimento DNS
303 Summary(ru.UTF-8):      Статические библиотеки разработчика для bind
304 Summary(uk.UTF-8):      Статичні бібліотеки програміста для bind
305 Group:          Development/Libraries
306 Requires:       %{name}-devel = %{epoch}:%{version}-%{release}
307
308 %description static
309 Static bind libraries.
310
311 %description static -l pl.UTF-8
312 Statyczne biblioteki binda.
313
314 %description static -l pt_BR.UTF-8
315 Bibliotecas estáticas para desenvolvimento DNS.
316
317 %description static -l ru.UTF-8
318 Статические библиотеки, необходимые для написания программ с
319 использованием BIND.
320
321 %description static -l uk.UTF-8
322 Статичні бібліотеки, необхідні для розробки програм з використанням
323 BIND.
324
325 %package -n openldap-schema-bind
326 Summary:        BIND schema for openldap
327 Summary(pl.UTF-8):      Schemat BIND dla openldap
328 Group:          Development/Libraries
329 Requires:       %{name} = %{epoch}:%{version}-%{release}
330 Requires:       openldap-servers
331
332 %description -n openldap-schema-bind
333 BIND schema for openldap.
334
335 %description -n openldap-schema-bind -l pl.UTF-8
336 Schemat BIND dla openldap.
337
338 %prep
339 %setup -q %{?with_hip:-a6} -n %{name}-%{ver}-%{plevel}
340 %patch0 -p1
341 %patch1 -p1
342 %patch2 -p1
343 %patch3 -p1
344 %patch4 -p1
345 %{?with_ldap:%patch5 -p1}
346 %patch6 -p1
347 %patch7 -p1
348 %{?with_hip:mv bind-hip/hip_55.[ch] lib/dns/rdata/generic}
349
350
351 %build
352 %{__libtoolize}
353 %{__aclocal}
354 %{__autoconf}
355 cp -f /usr/share/automake/config.* .
356 cd lib/bind
357 %{__libtoolize}
358 %{__aclocal}
359 %{__autoconf}
360 cp -f /usr/share/automake/config.* .
361 cd ../..
362 %configure \
363         CFLAGS="-D_GNU_SOURCE=1" \
364         --with-idn \
365         --with-libtool \
366         %{?with_ssl:--with-openssl=%{_prefix}} \
367         %{?with_ipv6:--enable-ipv6} \
368         %{?with_kerberos5:--with-gssapi} \
369         --enable-libbind \
370         %{?with_sql:--with-dlz-postgres=yes} \
371         %{?with_sql:--with-dlz-mysql=yes} \
372         --with-dlz-bdb=no \
373         --with-dlz-filesystem=yes \
374         %{?with_ldap:--with-dlz-ldap=yes} \
375         --with-dlz-odbc=no \
376         --with-dlz-stub=yes \
377         --enable-largefile \
378         %{!?with_static_libs:--enable-static=no} \
379         --enable-threads \
380         --enable-getifaddrs=glibc
381
382 %{__make}
383 %{?with_hip:cd bind-hip/; %{__make}}
384
385 %{?with_tests:%{__make} test}
386
387 %install
388 rm -rf $RPM_BUILD_ROOT
389 install -d $RPM_BUILD_ROOT{%{_includedir},%{_bindir},%{_sbindir},%{_includedir}} \
390         $RPM_BUILD_ROOT/etc/{rc.d/init.d,logrotate.d,sysconfig} \
391         $RPM_BUILD_ROOT{%{_mandir}/man{1,3,5,8},%{_var}/{lib/named/{M,D,S,dev,etc},run,log}}
392
393 %{__make} install \
394         DESTDIR=$RPM_BUILD_ROOT
395
396 rm -f doc/rfc/rfc*
397
398 bzip2 -dc %{SOURCE4} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
399 mv $RPM_BUILD_ROOT%{_mandir}/ja/man8/nslookup.8 $RPM_BUILD_ROOT%{_mandir}/ja/man1/nslookup.1
400 %{__perl} -pi -e 's/NSLOOKUP 8/NSLOOKUP 1/' $RPM_BUILD_ROOT%{_mandir}/ja/man1/nslookup.1
401
402 install bin/tests/named.conf            EXAMPLE-CONFIG-named
403 install bin/tests/ndc.conf              EXAMPLE-CONFIG-ndc
404 install %{SOURCE1}                      $RPM_BUILD_ROOT/etc/rc.d/init.d/named
405 install %{SOURCE2}                      $RPM_BUILD_ROOT/etc/sysconfig/named
406 install %{SOURCE3}                      $RPM_BUILD_ROOT/etc/logrotate.d/named
407 install %{SOURCE7}                      $RPM_BUILD_ROOT%{_var}/lib/named/root.hint
408 install %{SOURCE8}                      $RPM_BUILD_ROOT%{_var}/lib/named/M/127.0.0.zone
409 install %{SOURCE9}                      $RPM_BUILD_ROOT%{_var}/lib/named/M/localhost.zone
410 install %{SOURCE10}                     $RPM_BUILD_ROOT%{_var}/lib/named%{_sysconfdir}/named.conf
411
412 ln -sf %{_var}/lib/named%{_sysconfdir}/named.conf $RPM_BUILD_ROOT/etc/named.conf
413 ln -sf %{_var}/lib/named/named.log      $RPM_BUILD_ROOT%{_var}/log/named
414 ln -sf %{_var}/lib/named/named.stats    $RPM_BUILD_ROOT%{_var}/log/named.stats
415
416 touch $RPM_BUILD_ROOT%{_var}/lib/named/named.{log,stats}
417
418 %{?with_ldap:install -d $RPM_BUILD_ROOT%{_datadir}/openldap/schema}
419 %{?with_ldap:install %{SOURCE5} $RPM_BUILD_ROOT%{_datadir}/openldap/schema/dnszone.schema}
420 %{?with_hip:install bind-hip/hi2dns $RPM_BUILD_ROOT%{_bindir}}
421
422 rm -f $RPM_BUILD_ROOT%{_mandir}/man8/named-compilezone.8
423 echo ".so man8/named-checkzone.8" > $RPM_BUILD_ROOT%{_mandir}/man8/named-compilezone.8
424
425 # we don't want Makefiles in documentation...
426 # FIXME: breaks re-entrant install
427 #rm -f doc/misc/Makefile*
428
429 %clean
430 rm -rf $RPM_BUILD_ROOT
431
432 %pre
433 if [ -f %{_sysconfdir}/named.boot ]; then
434         cp -f %{_sysconfdir}/named.boot /etc/named.boot.2conf
435         mv -f %{_sysconfdir}/named.boot /etc/named.rpmsave
436         echo "Warning: %{_sysconfdir}/named.boot saved as /etc/named.rpmsave." 1>&2
437 fi
438 %groupadd -g 58 named
439 %useradd -u 58 -g 58 -d /tmp -s /bin/false -c "BIND user" named
440
441 %post
442 /sbin/chkconfig --add named
443 %service named restart
444
445 %preun
446 if [ "$1" = "0" ]; then
447         %service named stop
448         /sbin/chkconfig --del named
449 fi
450
451 %postun
452 if [ "$1" = "0" ]; then
453         %userremove named
454         %groupremove named
455 fi
456
457 %post   libs -p /sbin/ldconfig
458 %postun libs -p /sbin/ldconfig
459
460 %triggerpostun -- %{name} < 7:9.4.2-2
461 /sbin/chkconfig named reset
462 #triggerpostun -- %{name} < 6:9.4.1
463 sed -i -e 's#^\([ \t]*category[ \t]\+cname[ \t]\+.*\)$#// \1#g' /var/lib/named/etc/named.conf
464 sed -i -e 's#^\([ \t]*category[ \t]\+response-checks[ \t]\+.*\)$#// \1#g' /var/lib/named/etc/named.conf
465 sed -i -e 's#^\([ \t]*category[ \t]\+load[ \t]\+.*\)$#// \1#g' /var/lib/named/etc/named.conf
466
467 %files
468 %defattr(644,root,root,755)
469 %doc README EXAMPLE-CONFIG-* FAQ doc/misc/* doc/arm/*.html doc/rfc/index %{?with_ldap:doc/*.sdb-ldap} %{?with_hip:bind-hip/COPYRIGHT-HIP-RR}
470
471 %attr(754,root,root) /etc/rc.d/init.d/named
472 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/named
473 %attr(640,root,named) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/named.conf
474 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/named
475
476 %attr(755,root,root) %{_sbindir}/*
477
478 %{_mandir}/man8/dns*
479 %{_mandir}/man8/lwres*
480 %{_mandir}/man8/named*
481 %{_mandir}/man8/rndc*
482 %{_mandir}/man5/rndc*
483 %{_mandir}/man5/named.conf*
484 %lang(ja) %{_mandir}/ja/man8/named*
485
486 %attr(770,root,named) %dir %{_var}/lib/named
487 %attr(770,root,named) %dir %{_var}/lib/named/D
488 %attr(750,root,named) %dir %{_var}/lib/named/M
489 %attr(770,root,named) %dir %{_var}/lib/named/S
490 %attr(750,root,named) %dir %{_var}/lib/named%{_sysconfdir}
491
492 %config(noreplace) %verify(not md5 mtime size) %{_var}/lib/named/M/*
493 %config(noreplace) %verify(not md5 mtime size) %{_var}/lib/named/root.*
494 %attr(640,root,named) %config(noreplace) %verify(not md5 mtime size) %{_var}/lib/named%{_sysconfdir}/*
495 %attr(660,named,named) %config(noreplace,missingok) %verify(not md5 mtime size) %{_var}/log/named*
496 %attr(660,named,named) %ghost  %{_var}/lib/named/named.log
497 %attr(660,named,named) %ghost  %{_var}/lib/named/named.stats
498
499 %files utils
500 %defattr(644,root,root,755)
501 %attr(755,root,root) %{_bindir}/dig
502 %attr(755,root,root) %{_bindir}/host
503 %attr(755,root,root) %{_bindir}/nslookup
504 %attr(755,root,root) %{_bindir}/nsupdate
505 %{?with_hip:%attr(755,root,root) %{_bindir}/hi2dns}
506 %{_mandir}/man1/dig.1*
507 %{_mandir}/man1/host.1*
508 %{_mandir}/man1/nslookup.1*
509 %{_mandir}/man8/nsupdate.8*
510
511 %lang(fi) %{_mandir}/fi/man1/host.1*
512
513 %lang(fr) %{_mandir}/fr/man1/host.1*
514
515 %lang(hu) %{_mandir}/hu/man1/host.1*
516
517 %lang(ja) %{_mandir}/ja/man1/dig.1*
518 %lang(ja) %{_mandir}/ja/man1/host.1*
519 %lang(ja) %{_mandir}/ja/man1/nslookup.1*
520 %lang(ja) %{_mandir}/ja/man8/nsupdate.8*
521
522 %lang(pl) %{_mandir}/pl/man1/host.1*
523
524 %files libs
525 %defattr(644,root,root,755)
526 %attr(755,root,root) %{_libdir}/libbind.so.*.*.*
527 %attr(755,root,root) %ghost %{_libdir}/libbind.so.[0-9]
528 %attr(755,root,root) %{_libdir}/libbind9.so.*.*.*
529 %attr(755,root,root) %ghost %{_libdir}/libbind9.so.[0-9][0-9]
530 %attr(755,root,root) %{_libdir}/libdns.so.*.*.*
531 %attr(755,root,root) %ghost %{_libdir}/libdns.so.[0-9][0-9]
532 %attr(755,root,root) %{_libdir}/libisc.so.*.*.*
533 %attr(755,root,root) %ghost %{_libdir}/libisc.so.[0-9][0-9]
534 %attr(755,root,root) %{_libdir}/libisccc.so.*.*.*
535 %attr(755,root,root) %ghost %{_libdir}/libisccc.so.[0-9][0-9]
536 %attr(755,root,root) %{_libdir}/libisccfg.so.*.*.*
537 %attr(755,root,root) %ghost %{_libdir}/libisccfg.so.[0-9][0-9]
538 %attr(755,root,root) %{_libdir}/liblwres.so.*.*.*
539 %attr(755,root,root) %ghost %{_libdir}/liblwres.so.[0-9][0-9]
540
541 %files devel
542 %defattr(644,root,root,755)
543 %attr(755,root,root) %{_bindir}/isc-config.sh
544 %attr(755,root,root) %{_libdir}/libbind.so
545 %attr(755,root,root) %{_libdir}/libbind9.so
546 %attr(755,root,root) %{_libdir}/libdns.so
547 %attr(755,root,root) %{_libdir}/libisc.so
548 %attr(755,root,root) %{_libdir}/libisccc.so
549 %attr(755,root,root) %{_libdir}/libisccfg.so
550 %attr(755,root,root) %{_libdir}/liblwres.so
551 %{_libdir}/libbind.la
552 %{_libdir}/libbind9.la
553 %{_libdir}/libdns.la
554 %{_libdir}/libisc.la
555 %{_libdir}/libisccc.la
556 %{_libdir}/libisccfg.la
557 %{_libdir}/liblwres.la
558 %{_includedir}/bind
559 %{_includedir}/bind9
560 %{_includedir}/dns
561 %{_includedir}/dst
562 %{_includedir}/isc
563 %{_includedir}/isccc
564 %{_includedir}/isccfg
565 %{_includedir}/lwres
566 %{_mandir}/man3/lwres*.3*
567
568 %if %{with static_libs}
569 %files static
570 %defattr(644,root,root,755)
571 %{_libdir}/libbind.a
572 %{_libdir}/libbind9.a
573 %{_libdir}/libdns.a
574 %{_libdir}/libisc.a
575 %{_libdir}/libisccc.a
576 %{_libdir}/libisccfg.a
577 %{_libdir}/liblwres.a
578 %endif
579
580 %if %{with ldap}
581 %files -n openldap-schema-bind
582 %defattr(644,root,root,755)
583 %{_datadir}/openldap/schema/dnszone.schema
584 %endif
This page took 0.090575 seconds and 4 git commands to generate.