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

  ViewVC Help
Powered by ViewVC 1.1.30