/[packages]/cauldron/bind/current/SPECS/bind.spec
ViewVC logotype

Contents of /cauldron/bind/current/SPECS/bind.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 256011 - (show annotations) (download)
Tue Jun 5 21:39:37 2012 UTC (11 years, 10 months ago) by guillomovitch
File size: 19878 byte(s)
- new version
- update patchset from fedora

1 # default options
2 %define sdb 1
3 %define geoip 0
4 %define gssapi 1
5
6 %{?_with_sdbp: %{expand: %%global sdb 1}}
7 %{?_without_sdb: %{expand: %%global sdb 0}}
8 %{?_with_geoip: %{expand: %%global geoip 1}}
9 %{?_without_geoip: %{expand: %%global geoip 0}}
10 %{?_with_gssapi: %{expand: %%global gssapi 1}}
11 %{?_without_gssapi: %{expand: %%global gssapi 0}}
12
13 %define major_version 9.9.1
14 %define patch_version P1
15 %define dashpatch %{?patch_version:-%patch_version}%nil
16 %define dotpatch %{?patch_version:.%patch_version}%nil
17
18 Name: bind
19 Version: %{major_version}%{dotpatch}
20 Release: %mkrel 1
21 Summary: A DNS (Domain Name System) server
22 License: ISC
23 Group: System/Servers
24 URL: http://www.isc.org/products/BIND/
25 Source0: ftp://ftp.isc.org/isc/%{name}9/%{major_version}%{dashpatch}/%{name}-%{major_version}%{dashpatch}.tar.gz
26 Source1: ftp://ftp.isc.org/isc/%{name}9/%{major_version}%{dashpatch}/%{name}-%{major_version}%{dashpatch}.tar.gz.asc
27 Source2: bind-manpages.tar.bz2
28 Source3: bind-dhcp-dynamic-dns-examples.tar.bz2
29 Source6: bind-named.sysconfig
30 Source7: bind-keygen.c
31 Source8: named.NetworkManager
32 Source9: setup-named-chroot.sh
33 Source12: README.sdb_pgsql
34 Source11: ftp://ftp.internic.net/domain/named.cache
35 # caching-nameserver files (S100-S112)
36 Source100: bogon_acl.conf
37 Source101: hosts
38 Source102: localdomain.zone
39 Source103: localhost.zone
40 Source104: logging.conf
41 Source105: named.broadcast
42 Source106: named.conf
43 Source107: named.ip6.local
44 Source108: named.local
45 Source109: named.zero
46 Source110: rndc.conf
47 Source111: rndc.key
48 Source112: trusted_networks_acl.conf
49
50 Source30: ldap2zone.c
51 Source31: ldap2zone.1
52 Source32: named-sdb.8
53 Source33: zonetodb.1
54 Source34: zone2sqlite.1
55 Source35: bind.tmpfiles.d
56 Source36: bind-9.3.1rc1-sdb_tools-Makefile.in
57 Source37: named.service
58 Source39: named-sdb.service
59
60 # fedora patches
61 Patch72: bind-9.5-dlz-64bit.patch
62 Patch87: bind-9.5-parallel-build.patch
63 Patch99: bind-96-libtool2.patch
64 Patch101: bind-96-old-api.patch
65 Patch102: bind-95-rh452060.patch
66 Patch106: bind93-rh490837.patch
67 Patch107: bind97-dist-pkcs11.patch
68 Patch109: bind97-rh478718.patch
69 Patch110: bind97-rh570851.patch
70 Patch111: bind97-exportlib.patch
71 Patch112: bind97-rh645544.patch
72 Patch119: bind97-rh693982.patch
73 Patch121: bind97-rh714049.patch
74 Patch123: bind98-rh735103.patch
75 Patch124: nslookup-norec.patch
76 Patch125: bind99-buildfix.patch
77 Patch127: bind99-forward.patch
78 Patch129: bind98-rh816164.patch
79
80 # SDB patches
81 Patch11: bind-9.3.2b2-sdbsrc.patch
82 Patch12: bind-9.5-sdb.patch
83 Patch62: bind-9.5-sdb-sqlite-bld.patch
84
85
86 # needs inpection
87 Patch17: bind-9.3.2b1-fix_sdb_ldap.patch
88 Patch104: bind-96-dyndb.patch
89
90 # IDN patches
91 Patch73: bind-9.5-libidn.patch
92 Patch83: bind-9.5-libidn2.patch
93 Patch85: bind-9.5-libidn3.patch
94 Patch94: bind95-rh461409.patch
95
96 # other patches
97 Patch206: bind-9.2.0rc3-varrun.patch
98 Patch208: bind-9.3.2-prctl_set_dumpable.patch
99 # (oe) rediffed patch originates from http://www.caraytech.com/geodns/
100 Patch300: bind-9.4.0-geoip.diff
101 Requires: bind-utils >= %{version}-%{release}
102 Requires(post): rpm-helper >= 0.24.8-1
103 Requires(preun): rpm-helper >= 0.24.8-1
104 BuildRequires: openssl-devel
105 BuildRequires: multiarch-utils >= 1.0.3
106 BuildRequires: libidn-devel
107 BuildRequires: postgresql-devel
108 BuildRequires: mysql-devel
109 BuildRequires: libcap-devel >= 2.10
110 BuildRequires: libxml2-devel
111 %if %{gssapi}
112 BuildRequires: krb5-devel
113 %endif
114 %if %{geoip}
115 BuildRequires: libgeoip-devel
116 %endif
117 %if %{sdb}
118 BuildRequires: mysql-devel
119 BuildRequires: openldap-devel
120 BuildRequires: postgresql-devel
121 BuildRequires: sqlite3-devel
122 %endif
123
124 %description
125 BIND (Berkeley Internet Name Domain) is an implementation of the DNS
126 (domain Name System) protocols. BIND includes a DNS server (named),
127 which resolves host names to IP addresses, and a resolver library
128 (routines for applications to use when interfacing with DNS). A DNS
129 server allows clients to name resources or objects and share the
130 information with other network machines. The named DNS server can be
131 used on workstations as a caching name server, but is generally only
132 needed on one machine for an entire network. Note that the
133 configuration files for making BIND act as a simple caching nameserver
134 are included in the caching-nameserver package.
135
136 Install the bind package if you need a DNS server for your network. If
137 you want bind to act a caching name server, you will also need to install
138 the caching-nameserver package.
139
140 Many BIND 8 features previously unimplemented in BIND 9, including
141 domain-specific forwarding, the \$GENERATE master file directive, and
142 the "blackhole", "dialup", and "sortlist" options Forwarding of dynamic
143 update requests; this is enabled by the "allow-update-forwarding" option
144 A new, simplified database interface and a number of sample drivers based
145 on it; see doc/dev/sdb for details
146 Support for building single-threaded servers for environments that do not
147 supply POSIX threads
148 New configuration options: "min-refresh-time", "max-refresh-time",
149 "min-retry-time", "max-retry-time", "additional-from-auth",
150 "additional-from-cache", "notify explicit"
151 Faster lookups, particularly in large zones.
152
153 Build Options:
154 --with sdb Build with database backends and DLZ support (enabled by default)
155 --with geoip Build with GeoIP support (disabled per default)
156
157 %if %{sdb}
158 %package sdb
159 Summary: BIND server with database backends and DLZ support
160 Group: System/Servers
161 Requires: bind
162 Requires(post): rpm-helper >= 0.24.8-1
163 Requires(preun): rpm-helper >= 0.24.8-1
164
165 %description sdb
166 BIND (Berkeley Internet Name Domain) is an implementation of the DNS
167 (Domain Name System) protocols. BIND includes a DNS server (named-sdb)
168 which has compiled-in SDB (Simplified Database Backend) which includes
169 support for using alternative Zone Databases stored in an LDAP server
170 (ldapdb), a postgreSQL database (pgsqldb), an sqlite database (sqlitedb),
171 or in the filesystem (dirdb), in addition to the standard in-memory RBT
172 (Red Black Tree) zone database. It also includes support for DLZ
173 (Dynamic Loadable Zones)
174 %endif
175
176 %package utils
177 Summary: Utilities for querying DNS name servers
178 Group: Networking/Other
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 hosts.
183 These tools will provide you with the IP addresses for given host names,
184 as well as other information about registered domains and network
185 addresses.
186
187 You should install bind-utils if you need to get information from DNS name
188 servers.
189
190 %package devel
191 Summary: Include files and libraries needed for bind DNS development
192 Group: Development/C
193
194 %description devel
195 The bind-devel package contains all the include files and the
196 library required for DNS (Domain Name Service) development for
197 BIND versions 9.x.x.
198
199 %package doc
200 Summary: Documentation for BIND
201 Group: Books/Other
202 BuildArch: noarch
203
204 %description doc
205 The bind-devel package contains the documentation for BIND.
206
207 %prep
208 %setup -q -n %{name}-%{major_version}%{dashpatch} -a2 -a3
209
210 %patch104 -p1 -b .dyndb
211 %patch72 -p1 -b .64bit
212 %patch73 -p1 -b .libidn
213 %patch83 -p1 -b .libidn2
214 %patch85 -p1 -b .libidn3
215 %patch87 -p1 -b .parallel
216 %patch94 -p1 -b .rh461409
217 mkdir m4
218 %patch99 -p1 -b .libtool2
219
220 %patch102 -p1 -b .rh452060
221 %patch106 -p0 -b .rh490837
222 %patch107 -p1 -b .dist-pkcs11
223 %patch109 -p1 -b .rh478718
224 %patch110 -p1 -b .rh570851
225 %patch111 -p1 -b .exportlib
226 %patch112 -p1 -b .rh645544
227 %patch119 -p1 -b .rh693982
228 %patch121 -p1 -b .rh714049
229 %patch123 -p1 -b .rh735103
230 pushd bin/dig
231 %patch124 -p0 -b .nslookup-norec
232 popd
233 %patch125 -p1 -b .buildfix
234 %patch127 -p1 -b .forward
235 %patch129 -p1 -b .rh816164
236
237 %if %{sdb}
238 %patch101 -p1 -b .old-api
239 mkdir bin/named-sdb
240 cp -r bin/named/* bin/named-sdb
241 %patch11 -p1 -b .sdbsrc
242 # SDB ldap
243 cp -fp contrib/sdb/ldap/ldapdb.[ch] bin/named-sdb
244 # SDB postgreSQL
245 cp -fp contrib/sdb/pgsql/pgsqldb.[ch] bin/named-sdb
246 # SDB sqlite
247 cp -fp contrib/sdb/sqlite/sqlitedb.[ch] bin/named-sdb
248 # SDB Berkeley DB - needs to be ported to DB4!
249 #cp -fp contrib/sdb/bdb/bdb.[ch] bin/named_sdb
250 # SDB dir
251 cp -fp contrib/sdb/dir/dirdb.[ch] bin/named-sdb
252 # SDB tools
253 mkdir -p bin/sdb_tools
254 cp -fp %{SOURCE30} bin/sdb_tools/ldap2zone.c
255 cp -fp %{SOURCE36} bin/sdb_tools/Makefile.in
256 #cp -fp contrib/sdb/bdb/zone2bdb.c bin/sdb_tools
257 cp -fp contrib/sdb/ldap/{zone2ldap.1,zone2ldap.c} bin/sdb_tools
258 cp -fp contrib/sdb/pgsql/zonetodb.c bin/sdb_tools
259 cp -fp contrib/sdb/sqlite/zone2sqlite.c bin/sdb_tools
260 %patch12 -p1 -b .sdb
261 %patch17 -p1 -b .fix_sdb_ldap
262 %patch62 -p1 -b .sdb-sqlite-bld
263 %endif
264
265 %patch206 -p0 -b .varrun.droplet
266 %patch208 -p0 -b .prctl_set_dumpable.droplet
267
268 %if %{geoip}
269 %patch300 -p1 -b .geoip
270 %endif
271
272 cp %{SOURCE7} keygen.c
273 cp %{SOURCE11} named.cache
274
275 mkdir -p caching-nameserver
276 cp %{SOURCE100} caching-nameserver/bogon_acl.conf
277 cp %{SOURCE101} caching-nameserver/hosts
278 cp %{SOURCE102} caching-nameserver/localdomain.zone
279 cp %{SOURCE103} caching-nameserver/localhost.zone
280 cp %{SOURCE104} caching-nameserver/logging.conf
281 cp %{SOURCE105} caching-nameserver/named.broadcast
282 cp %{SOURCE106} caching-nameserver/named.conf
283 cp %{SOURCE107} caching-nameserver/named.ip6.local
284 cp %{SOURCE108} caching-nameserver/named.local
285 cp %{SOURCE109} caching-nameserver/named.zero
286 cp %{SOURCE110} caching-nameserver/rndc.conf
287 cp %{SOURCE111} caching-nameserver/rndc.key
288 cp %{SOURCE112} caching-nameserver/trusted_networks_acl.conf
289
290 %build
291 %serverbuild
292
293 export CPPFLAGS="$CPPFLAGS -DDIG_SIGCHASE"
294 export STD_CDEFINES="$CPPFLAGS"
295
296 libtoolize --copy --force
297 aclocal -I m4 --force
298 autoheader --force
299 autoconf --force
300
301 # (oe) make queryperf from the contrib _before_ bind..., makes it
302 # easier to determine if it builds or not, it saves time...
303 pushd contrib/queryperf
304 rm -f configure
305 autoconf
306 %configure2_5x
307 %make CFLAGS="$CFLAGS"
308 popd
309
310 pushd contrib/query-loc-*
311 perl -pi -e "s|-lnsl|-lnsl -lresolv|g" configure*
312 rm -f configure
313 autoconf
314 %configure2_5x
315 %make CFLAGS="$CFLAGS"
316 popd
317
318 %if %{geoip}
319 export CFLAGS="$CFLAGS -DGEOIP"
320 export LDFLAGS="$LDFLAGS -lGeoIP"
321 %endif
322
323 %configure2_5x \
324 --localstatedir=/var \
325 --disable-openssl-version-check \
326 --enable-exportlib \
327 --with-export-libdir=%{_libdir} \
328 --with-export-includedir=%{_includedir} \
329 --enable-threads \
330 --enable-largefile \
331 --enable-ipv6 \
332 --enable-filter-aaaa \
333 --enable-epoll \
334 --with-openssl=%{_prefix} \
335 %if %{gssapi}
336 --with-gssapi=%{_prefix} --disable-isc-spnego \
337 %endif
338 --with-randomdev=/dev/urandom \
339 --with-libxml2=yes \
340 %if %{sdb}
341 --with-dlz-ldap=yes \
342 --with-dlz-postgres=yes \
343 --with-dlz-mysql=yes \
344 --with-dlz-filesystem=yes \
345 --with-dlz-stub=yes
346 %endif
347
348 # pkcs11 support requires a working backend, otherwise bind won't start
349 # http://blogs.sun.com/janp/
350 # http://sourceforge.net/projects/opencryptoki
351 #--with-pkcs11 \
352
353 make
354
355 gcc $CFLAGS -o dns-keygen keygen.c
356
357 #%%check
358 ## run the test suite
359 #make check
360
361 %install
362 rm -rf %{buildroot}
363
364 # make some directories
365 install -d %{buildroot}/var/run/named
366
367 %makeinstall_std
368
369 ln -snf named %{buildroot}%{_sbindir}/lwresd
370
371 install -m0755 contrib/named-bootconf/named-bootconf.sh %{buildroot}%{_sbindir}/named-bootconf
372 install -m0755 contrib/queryperf/queryperf %{buildroot}%{_bindir}/
373 cp contrib/queryperf/README README.queryperf
374
375 install -m0755 contrib/query-loc-*/query-loc %{buildroot}%{_bindir}/
376 install -m0644 contrib/query-loc-*/query-loc.1 %{buildroot}%{_mandir}/man1/
377 cp contrib/query-loc-*/ADDRESSES ADDRESSES.query-loc
378 cp contrib/query-loc-*/ALGO ALGO.query-loc
379 cp contrib/query-loc-*/README README.query-loc
380 cp contrib/query-loc-*/USAGE USAGE.query-loc
381
382 install -d -m 755 %{buildroot}%{_sysconfdir}/sysconfig
383 install -m 644 %{SOURCE6} %{buildroot}%{_sysconfdir}/sysconfig/named
384
385 install -d -m 755 %{buildroot}%{_sysconfdir}/rsyslog.d/
386 cat > %{buildroot}%{_sysconfdir}/rsyslog.d/named.conf <<'EOF'
387 $AddUnixListenSocket /var/lib/named/dev/log
388 EOF
389
390 install -d -m 755 %{buildroot}%{_sysconfdir}/NetworkManager/dispatcher.d
391 install -m 755 %{SOURCE8} %{buildroot}%{_sysconfdir}/NetworkManager/dispatcher.d/13-named
392
393 install -m 755 %{SOURCE9} %{buildroot}%{_sbindir}/setup-named-chroot.sh
394
395 # systemd files
396 install -d -m 755 %{buildroot}%{_sysconfdir}/tmpfiles.d
397 install -m 644 %{SOURCE35} %{buildroot}%{_sysconfdir}/tmpfiles.d/named.conf
398
399 install -d -m 755 %{buildroot}%{_unitdir}
400 install -m 644 %{SOURCE37} %{buildroot}%{_unitdir}
401 install -m 644 %{SOURCE39} %{buildroot}%{_unitdir}
402
403 %if %{sdb}
404 install -m 644 %{SOURCE12} contrib/sdb/pgsql/
405
406 install -m 644 %{SOURCE31} %{buildroot}%{_mandir}/man1/ldap2zone.1
407 install -m 644 %{SOURCE32} %{buildroot}%{_mandir}/man8/named-sdb.8
408 install -m 644 %{SOURCE33} %{buildroot}%{_mandir}/man1/zonetodb.1
409 install -m 644 %{SOURCE34} %{buildroot}%{_mandir}/man1/zone2sqlite.1
410 %endif
411
412 install -m 755 dns-keygen %{buildroot}%{_sbindir}/dns-keygen
413
414 # make the chroot
415 install -d %{buildroot}/var/lib/named/{dev,etc}
416 install -d %{buildroot}/var/lib/named/var/{log,run,tmp}
417 install -d %{buildroot}/var/lib/named/var/named/{master,slaves,reverse,dynamic}
418
419 install -m 644 \
420 caching-nameserver/named.conf \
421 caching-nameserver/logging.conf \
422 caching-nameserver/trusted_networks_acl.conf \
423 caching-nameserver/hosts \
424 caching-nameserver/bogon_acl.conf \
425 %{buildroot}/var/lib/named/etc
426 install -m 640 \
427 caching-nameserver/rndc.conf\
428 caching-nameserver/rndc.key \
429 %{buildroot}/var/lib/named/etc
430 install -m 644 \
431 caching-nameserver/localdomain.zone \
432 caching-nameserver/localhost.zone \
433 %{buildroot}/var/lib/named/var/named/master
434 install -m 644 \
435 caching-nameserver/named.broadcast \
436 caching-nameserver/named.ip6.local \
437 caching-nameserver/named.local \
438 caching-nameserver/named.zero \
439 %{buildroot}/var/lib/named/var/named/reverse
440
441 # fix some compat symlinks
442 ln -s /var/lib/named/etc/named.conf %{buildroot}%{_sysconfdir}/named.conf
443 ln -s /var/lib/named/etc/rndc.conf %{buildroot}%{_sysconfdir}/rndc.conf
444 ln -s /var/lib/named/etc/rndc.key %{buildroot}%{_sysconfdir}/rndc.key
445 mv %{buildroot}%{_sysconfdir}/bind.keys %{buildroot}/var/lib/named/etc/
446 ln -s /var/lib/named/etc/bind.keys %{buildroot}%{_sysconfdir}/bind.keys
447
448 echo "; Use \"dig @A.ROOT-SERVERS.NET . ns\" to update this file if it's outdated." > named.cache.tmp
449 cat named.cache >> named.cache.tmp
450 install -m0644 named.cache.tmp %{buildroot}/var/lib/named/var/named/named.ca
451
452 # fix man pages
453 install -m0644 man5/resolver.5 %{buildroot}%{_mandir}/man5/
454 ln -s resolver.5 %{buildroot}%{_mandir}/man5/resolv.5
455
456
457 install -d -m 755 %{buildroot}%{_docdir}/%{name}
458 install -d -m 755 %{buildroot}%{_docdir}/%{name}/arm
459 install -m 644 doc/arm/*.html %{buildroot}%{_docdir}/%{name}/arm
460 install -m 644 doc/arm/*.pdf %{buildroot}%{_docdir}/%{name}/arm
461 cp -pr doc/trustix %{buildroot}%{_docdir}/%{name}
462 #cp -pr doc/rfc %{buildroot}%{_docdir}/%{name}
463 #cp -pr doc/draft %{buildroot}%{_docdir}/%{name}
464 cp -pr doc/misc %{buildroot}%{_docdir}/%{name}
465 rm -f %{buildroot}%{_docdir}/%{name}/misc/Makefile*
466 cp -pr doc/dhcp-dynamic-dns-examples %{buildroot}%{_docdir}/%{name}
467
468 %multiarch_binaries %{buildroot}%{_bindir}/isc-config.sh
469
470 %pre
471 %_pre_useradd named /var/lib/named /bin/false
472
473 DATE=`date +%%Y%%m%%d%%j%%S`
474 for f in named.conf rndc.conf rndc.key; do
475 # move away files to prepare for softlinks
476 if [ -f /etc/$f -a ! -h /etc/$f ]; then mv -vf /etc/$f /etc/$f.$DATE; fi
477 if [ -f /etc/$f -a ! -h /etc/$f ]; then mv -vf /etc/$f /etc/$f.$DATE; fi
478 if [ -f /etc/$f -a ! -h /etc/$f ]; then mv -vf /etc/$f /etc/$f.$DATE; fi
479 done
480
481 %post
482 if grep -q "_MY_KEY_" /var/lib/named/etc/rndc.conf /var/lib/named/etc/rndc.key; then
483 MYKEY="`%{_sbindir}/dns-keygen`"
484 perl -pi -e "s|_MY_KEY_|$MYKEY|g" /var/lib/named/etc/rndc.conf /var/lib/named/etc/rndc.key
485 fi
486 # remove device file created with wrong minor number (#3028)
487 urandom=/var/lib/named/dev/urandom
488 if [ -f $urandom ] && [ $(ls -l $urandom | awk '{print $6}') -eq 8 ]; then
489 rm -f $urandom
490 fi
491 %_post_service named
492
493 %preun
494 %_preun_service named
495
496 %postun
497 %_postun_userdel named
498
499 %files
500 %doc CHANGES README FAQ COPYRIGHT
501 %if %{geoip}
502 %doc geodns.INSTALL geodns.named.conf-sample
503 %endif
504 %config(noreplace) %{_sysconfdir}/sysconfig/named
505 %config(noreplace) %{_sysconfdir}/rsyslog.d/named.conf
506 %{_sysconfdir}/tmpfiles.d/named.conf
507 %{_sysconfdir}/NetworkManager/dispatcher.d/13-named
508 %{_unitdir}/named.service
509 %{_sbindir}/setup-named-chroot.sh
510 %{_sbindir}/arpaname
511 %{_sbindir}/ddns-confgen
512 %{_sbindir}/dns-keygen
513 %{_sbindir}/dnssec-dsfromkey
514 %{_sbindir}/dnssec-keyfromlabel
515 %{_sbindir}/dnssec-keygen
516 %{_sbindir}/dnssec-revoke
517 %{_sbindir}/dnssec-settime
518 %{_sbindir}/dnssec-signzone
519 %{_sbindir}/genrandom
520 %{_sbindir}/isc-hmac-fixup
521 %{_sbindir}/lwresd
522 %{_sbindir}/named
523 %{_sbindir}/named-bootconf
524 %{_sbindir}/named-checkconf
525 %{_sbindir}/named-checkzone
526 %{_sbindir}/named-compilezone
527 %{_sbindir}/named-journalprint
528 %{_sbindir}/nsec3hash
529 %{_sbindir}/rndc
530 %{_sbindir}/rndc-confgen
531 %{_mandir}/man1/arpaname.1.*
532 %{_mandir}/man5/named.conf.5*
533 %{_mandir}/man5/rndc.conf.5*
534 %{_mandir}/man8/ddns-confgen.8.*
535 %{_mandir}/man8/dnssec-*.8*
536 %{_mandir}/man8/genrandom.8.*
537 %{_mandir}/man8/isc-hmac-fixup.8.*
538 %{_mandir}/man8/lwresd.8*
539 %{_mandir}/man8/named-*.8*
540 %{_mandir}/man8/named.8*
541 %{_mandir}/man8/nsec3hash.8.*
542 %{_mandir}/man8/rndc.8*
543 %{_mandir}/man8/rndc-confgen.8*
544 # the chroot
545 %dir /var/lib/named
546 %dir /var/lib/named/dev
547 %dir /var/lib/named/etc
548 %dir /var/lib/named/var
549 %attr(-,named,named) %dir /var/lib/named/var/named
550 %attr(-,named,named) %dir /var/lib/named/var/log
551 %attr(-,named,named) %dir /var/lib/named/var/run
552 %attr(-,named,named) %dir /var/lib/named/var/tmp
553 %attr(-,named,named) %dir /var/lib/named/var/named/master
554 %attr(-,named,named) %dir /var/lib/named/var/named/slaves
555 %attr(-,named,named) %dir /var/lib/named/var/named/reverse
556 %attr(-,named,named) %dir /var/lib/named/var/named/dynamic
557 %config(noreplace) /var/lib/named/etc/named.conf
558 %attr(-,root,named) %config(noreplace) /var/lib/named/etc/bind.keys
559 %attr(-,root,named) %config(noreplace) /var/lib/named/etc/rndc.conf
560 %attr(-,root,named) %config(noreplace) /var/lib/named/etc/rndc.key
561 %{_sysconfdir}/bind.keys
562 %{_sysconfdir}/named.conf
563 %{_sysconfdir}/rndc.conf
564 %{_sysconfdir}/rndc.key
565 %config(noreplace) /var/lib/named/etc/bogon_acl.conf
566 %config(noreplace) /var/lib/named/etc/logging.conf
567 %config(noreplace) /var/lib/named/etc/trusted_networks_acl.conf
568 %config(noreplace) /var/lib/named/etc/hosts
569 %config(noreplace) /var/lib/named/var/named/master/localdomain.zone
570 %config(noreplace) /var/lib/named/var/named/master/localhost.zone
571 %config(noreplace) /var/lib/named/var/named/reverse/named.broadcast
572 %config(noreplace) /var/lib/named/var/named/reverse/named.ip6.local
573 %config(noreplace) /var/lib/named/var/named/reverse/named.local
574 %config(noreplace) /var/lib/named/var/named/reverse/named.zero
575 %config(noreplace) /var/lib/named/var/named/named.ca
576
577 %files devel
578 %doc CHANGES README
579 %multiarch %{multiarch_bindir}/isc-config.sh
580 %{_bindir}/isc-config.sh
581 %{_includedir}/*
582 %{_libdir}/*.a
583 %{_mandir}/man1/isc-config.sh.1*
584 %{_mandir}/man3/lwres*.3*
585
586 %files utils
587 %doc README COPYRIGHT *.query-loc *.queryperf
588 %{_bindir}/dig
589 %{_bindir}/host
590 %{_bindir}/nslookup
591 %{_bindir}/nsupdate
592 %{_bindir}/queryperf
593 %{_bindir}/query-loc
594 %{_mandir}/man1/host.1*
595 %{_mandir}/man1/dig.1*
596 %{_mandir}/man1/nslookup.1*
597 %{_mandir}/man1/nsupdate.1*
598 %{_mandir}/man1/query-loc.1*
599 %{_mandir}/man5/resolver.5*
600 %{_mandir}/man5/resolv.5*
601
602 %files doc
603 %{_docdir}/%{name}
604 %doc doc/dhcp-dynamic-dns-examples doc/chroot doc/trustix
605
606 %if %{sdb}
607 %files sdb
608 %{_unitdir}/named-sdb.service
609 %{_mandir}/man1/zone2ldap.1*
610 %{_mandir}/man1/ldap2zone.1*
611 %{_mandir}/man1/zonetodb.1*
612 %{_mandir}/man1/zone2sqlite.1*
613 %{_mandir}/man8/named-sdb.8*
614 %doc contrib/sdb/ldap/README.ldap contrib/sdb/ldap/INSTALL.ldap contrib/sdb/pgsql/README.sdb_pgsql
615 %{_sbindir}/named-sdb
616 %{_sbindir}/zone2ldap
617 %{_sbindir}/ldap2zone
618 %{_sbindir}/zonetodb
619 %{_sbindir}/zone2sqlite
620 %endif

  ViewVC Help
Powered by ViewVC 1.1.30