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