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