/[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 93654 - (show annotations) (download)
Sat Apr 30 11:26:37 2011 UTC (12 years, 11 months ago) by cjw
File size: 20508 byte(s)
- copy only the libgost.so module for the bind build architecture to the chroot (improved fix for bug #871)

1 # default options
2 %define sdb_ldap 1
3 %define sdb_mysql 0
4 %define geoip 0
5 %define gssapi 1
6
7 %{?_with_sdb_ldap: %{expand: %%global sdb_ldap 1}}
8 %{?_without_sdb_ldap: %{expand: %%global sdb_ldap 0}}
9 %{?_with_sdb_mysql: %{expand: %%global sdb_mysql 1}}
10 %{?_without_sdb_mysql: %{expand: %%global sdb_mysql 0}}
11 %{?_with_geoip: %{expand: %%global geoip 1}}
12 %{?_without_geoip: %{expand: %%global geoip 0}}
13 %{?_with_gssapi: %{expand: %%global gssapi 1}}
14 %{?_without_gssapi: %{expand: %%global gssapi 0}}
15
16 %if %{sdb_mysql}
17 %define sdb_ldap 0
18 %endif
19
20 %if %{sdb_ldap}
21 %define sdb_mysql 0
22 %endif
23
24 %if %{geoip}
25 %define geoip 1
26 %endif
27
28 %if %{gssapi}
29 %define gssapi 1
30 %endif
31
32 Summary: A DNS (Domain Name System) server
33 Name: bind
34 Version: 9.8.0
35 Release: %mkrel 4
36 License: Distributable
37 Group: System/Servers
38 URL: http://www.isc.org/products/BIND/
39 Source0: ftp://ftp.isc.org/isc/%{name}9/%{version}/%{name}-%{version}.tar.gz
40 Source1: ftp://ftp.isc.org/isc/%{name}9/%{version}/%{name}-%{version}.tar.gz.asc
41 Source2: bind-manpages.tar.bz2
42 Source3: bind-dhcp-dynamic-dns-examples.tar.bz2
43 Source4: bind-named.init
44 Source6: bind-named.sysconfig
45 Source7: bind-keygen.c
46 Source11: ftp://ftp.internic.net/domain/named.cache
47 # (oe) http://mysql-bind.sourceforge.net/
48 Source12: mysql-bind-0.1.tar.bz2
49 # (oe) http://bind9-ldap.bayour.com/bind-sdb-ldap-1.0.tar.gz
50 Source13: bind-sdb-ldap-1.0.tar.bz2
51 # (oe) http://www.blue-giraffe.com/zone2ldap/zone2ldap-0.4.tar.gz
52 Source14: zone2ldap-0.4.tar.bz2
53 # (oe) http://www.venaas.no/dns/ldap2zone/
54 Source15: ldap2zone.tar.bz2
55 # caching-nameserver files (S100-S112)
56 Source100: bogon_acl.conf
57 Source101: hosts
58 Source102: localdomain.zone
59 Source103: localhost.zone
60 Source104: logging.conf
61 Source105: named.broadcast
62 Source106: named.conf
63 Source107: named.ip6.local
64 Source108: named.local
65 Source109: named.zero
66 Source110: rndc.conf
67 Source111: rndc.key
68 Source112: trusted_networks_acl.conf
69 # make dig go to the 2nd server by default
70 # likely deprecated, to be looked at
71 Patch0: bind-fallback-to-second-server.diff
72 Patch1: bind-queryperf_fix.diff
73 Patch100: bind-9.2.3-sdb_ldap.patch
74 Patch101: bind-9.3.1-zone2ldap_fixes.diff
75 Patch102: bind-9.3.0rc2-sdb_mysql.patch
76 Patch103: zone2ldap-0.4-ldapv3.patch
77 Patch200: bind-9.2.0rc3-varrun.patch
78 Patch204: bind-9.4.0rc1-ppc-asm.patch
79 Patch205: bind-9.3.2-prctl_set_dumpable.patch
80 Patch208: bind-9.5-overflow.patch
81 Patch209: bind-9.5-dlz-64bit.patch
82 Patch212: bind-9.5-libidn.patch
83 Patch213: bind-9.5-libidn2.patch
84 Patch215: bind-9.5-libidn3.patch
85 Patch216: bind95-rh461409.patch
86 Patch218: bind-96-libtool2.patch
87 Patch219: bind-95-rh452060.patch
88 Patch220: bind93-rh490837.patch
89 Patch221: bind-96-dyndb.patch
90 # (oe) rediffed patch originates from http://www.caraytech.com/geodns/
91 Patch300: bind-9.4.0-geoip.diff
92 Requires(pre): rpm-helper
93 Requires(postun): rpm-helper
94 Requires: bind-utils >= %{version}-%{release}
95 BuildRequires: openssl-devel
96 BuildRequires: autoconf2.5
97 BuildRequires: automake
98 BuildRequires: file
99 %if %{sdb_mysql}
100 BuildRequires: mysql-devel
101 %endif
102 %if %{sdb_ldap}
103 BuildRequires: openldap-devel
104 %endif
105 Obsoletes: libdns0
106 Provides: libdns0
107 BuildRequires: multiarch-utils >= 1.0.3
108 %if %{geoip}
109 BuildRequires: libgeoip-devel
110 %endif
111 BuildRequires: libidn-devel
112 BuildRequires: postgresql-devel
113 BuildRequires: mysql-devel
114 BuildRequires: libcap-devel >= 2.10
115 %if %{gssapi}
116 BuildRequires: krb5-devel
117 %endif
118 BuildRequires: libxml2-devel
119 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
120
121 %description
122 BIND (Berkeley Internet Name Domain) is an implementation of the DNS
123 (domain Name System) protocols. BIND includes a DNS server (named),
124 which resolves host names to IP addresses, and a resolver library
125 (routines for applications to use when interfacing with DNS). A DNS
126 server allows clients to name resources or objects and share the
127 information with other network machines. The named DNS server can be
128 used on workstations as a caching name server, but is generally only
129 needed on one machine for an entire network. Note that the
130 configuration files for making BIND act as a simple caching nameserver
131 are included in the caching-nameserver package.
132
133 Install the bind package if you need a DNS server for your network. If
134 you want bind to act a caching name server, you will also need to install
135 the caching-nameserver package.
136
137 Many BIND 8 features previously unimplemented in BIND 9, including
138 domain-specific forwarding, the \$GENERATE master file directive, and
139 the "blackhole", "dialup", and "sortlist" options Forwarding of dynamic
140 update requests; this is enabled by the "allow-update-forwarding" option
141 A new, simplified database interface and a number of sample drivers based
142 on it; see doc/dev/sdb for details
143 Support for building single-threaded servers for environments that do not
144 supply POSIX threads
145 New configuration options: "min-refresh-time", "max-refresh-time",
146 "min-retry-time", "max-retry-time", "additional-from-auth",
147 "additional-from-cache", "notify explicit"
148 Faster lookups, particularly in large zones.
149
150 Build Options:
151 --without sdb_ldap Build without ldap simple database support (enabled
152 per default)
153 --with sdb_mysql Build with MySQL database support (disables ldap
154 support, it's either way.)
155 --with geoip Build with GeoIP support (disabled per default)
156
157 %package utils
158 Summary: Utilities for querying DNS name servers
159 Group: Networking/Other
160
161 %description utils
162 Bind-utils contains a collection of utilities for querying DNS (Domain
163 Name Service) name servers to find out information about Internet hosts.
164 These tools will provide you with the IP addresses for given host names,
165 as well as other information about registered domains and network
166 addresses.
167
168 You should install bind-utils if you need to get information from DNS name
169 servers.
170
171 %package devel
172 Summary: Include files and libraries needed for bind DNS development
173 Group: Development/C
174
175 %description devel
176 The bind-devel package contains all the include files and the
177 library required for DNS (Domain Name Service) development for
178 BIND versions 9.x.x.
179
180 %package doc
181 Summary: Documentation for BIND
182 Group: Books/Other
183
184 %description doc
185 The bind-devel package contains the documentation for BIND.
186
187 %prep
188
189 %setup -q -n %{name}-%{version} -a2 -a3 -a12 -a13 -a14 -a15
190
191 %patch0 -p1 -b .fallback-to-second-server.droplet
192 %patch1 -p0 -b .queryperf_fix.droplet
193
194 %if %{sdb_ldap}
195 %__cp bind-sdb-ldap-*/ldapdb.c bin/named/
196 %__cp bind-sdb-ldap-*/ldapdb.h bin/named/include/
197 %patch100 -p1 -b .ldap_sdb.droplet
198 %patch101 -p0 -b .zone2ldap_fixes.droplet
199 %patch103 -p0 -b .ldapv3.droplet
200 %endif
201
202 %if %{sdb_mysql}
203 mv mysql-bind-0.1 contrib/sdb/mysql
204 %__cp contrib/sdb/mysql/mysqldb.c bin/named
205 %__cp contrib/sdb/mysql/mysqldb.h bin/named/include
206 %patch102 -p1 -b .sdb_mysql.droplet
207 %endif
208
209 %patch200 -p0 -b .varrun.droplet
210 %patch204 -p0 -b .no-register-names.droplet
211 %patch205 -p0 -b .prctl_set_dumpable.droplet
212 %patch208 -p1 -b .overflow.droplet
213 %patch209 -p0 -b .64bit
214
215 %patch212 -p1 -b .libidn
216 %patch213 -p1 -b .libidn2
217 %patch215 -p1 -b .libidn3
218 %patch216 -p1 -b .rh461409
219 mkdir -p m4
220 %patch218 -p1 -b .libtool2
221 %patch219 -p0 -b .rh452060
222 %patch220 -p0 -b .rh490837
223 %patch221 -p1 -b .dyndb
224
225 %if %{geoip}
226 %patch300 -p1 -b .geoip
227 %endif
228
229 sed -e "s#@BUILD_ARCH@#%{_build_arch}#" %{SOURCE4} >named.init
230 cp %{SOURCE6} named.sysconfig
231 cp %{SOURCE7} keygen.c
232 cp %{SOURCE11} named.cache
233
234 mkdir -p caching-nameserver
235 cp %{SOURCE100} caching-nameserver/bogon_acl.conf
236 cp %{SOURCE101} caching-nameserver/hosts
237 cp %{SOURCE102} caching-nameserver/localdomain.zone
238 cp %{SOURCE103} caching-nameserver/localhost.zone
239 cp %{SOURCE104} caching-nameserver/logging.conf
240 cp %{SOURCE105} caching-nameserver/named.broadcast
241 cp %{SOURCE106} caching-nameserver/named.conf
242 cp %{SOURCE107} caching-nameserver/named.ip6.local
243 cp %{SOURCE108} caching-nameserver/named.local
244 cp %{SOURCE109} caching-nameserver/named.zero
245 cp %{SOURCE110} caching-nameserver/rndc.conf
246 cp %{SOURCE111} caching-nameserver/rndc.key
247 cp %{SOURCE112} caching-nameserver/trusted_networks_acl.conf
248
249 # strip away annoying ^M
250 find . -type f|xargs file|grep 'CRLF'|cut -d: -f1|xargs perl -p -i -e 's/\r//'
251 find . -type f|xargs file|grep 'text'|cut -d: -f1|xargs perl -p -i -e 's/\r//'
252
253 %build
254 %serverbuild
255
256 export CPPFLAGS="$CPPFLAGS -DDIG_SIGCHASE"
257 export STD_CDEFINES="$CPPFLAGS"
258
259 export WANT_AUTOCONF_2_5=1
260 libtoolize --copy --force; aclocal -I m4 --force; autoheader --force; autoconf --force
261
262 # (oe) make queryperf from the contrib _before_ bind..., makes it
263 # easier to determine if it builds or not, it saves time...
264 pushd contrib/queryperf
265 export WANT_AUTOCONF_2_5=1
266 rm -f configure
267 autoconf
268 %configure2_5x
269 %make CFLAGS="$CFLAGS"
270 popd
271
272 pushd contrib/query-loc-*
273 export WANT_AUTOCONF_2_5=1
274 perl -pi -e "s|-lnsl|-lnsl -lresolv|g" configure*
275 rm -f configure
276 autoconf
277 %configure2_5x
278 %make CFLAGS="$CFLAGS"
279 popd
280
281 export CFLAGS="$CFLAGS -DLDAP_DEPRECATED"
282
283 %if %{geoip}
284 export CFLAGS="$CFLAGS -DLDAP_DEPRECATED -DGEOIP"
285 export LDFLAGS="$LDFLAGS -lGeoIP"
286 %endif
287
288 # threading is evil for the host command
289 %configure \
290 --localstatedir=/var \
291 --disable-openssl-version-check \
292 --disable-threads \
293 --enable-largefile \
294 --enable-ipv6 \
295 --with-openssl=%{_prefix} \
296 --with-randomdev=/dev/urandom
297
298 make -C lib
299 make -C bin/dig
300 make -C bin/dig DESTDIR="`pwd`" install
301 make clean
302
303 %configure \
304 --localstatedir=/var \
305 --disable-openssl-version-check \
306 --enable-threads \
307 --enable-largefile \
308 --enable-ipv6 \
309 --enable-filter-aaaa \
310 --enable-epoll \
311 --with-openssl=%{_prefix} \
312 %if %{gssapi}
313 --with-gssapi=%{_prefix} --disable-isc-spnego \
314 %endif
315 --with-randomdev=/dev/urandom \
316 --with-libxml2=yes \
317 --with-dlz-postgres=yes \
318 --with-dlz-mysql=yes \
319 --with-dlz-bdb=no \
320 --with-dlz-filesystem=yes \
321 --with-dlz-ldap=yes \
322 --with-dlz-odbc=no \
323 --with-dlz-stub=yes
324
325 # pkcs11 support requires a working backend, otherwise bind won't start
326 # http://blogs.sun.com/janp/
327 # http://sourceforge.net/projects/opencryptoki
328 #--with-pkcs11 \
329
330 make
331
332 %if %{sdb_ldap}
333 pushd zone2ldap
334 # fix references to zone2ldap
335 perl -pi -e "s|zone2ldap|zonetoldap|g" *
336 gcc $CFLAGS -I../lib/dns/include -I../lib/dns/sec/dst/include \
337 -I../lib/isc/include -I../lib/isc/unix/include -I../lib/isc/pthreads/include -c zone2ldap.c
338 gcc $CFLAGS -o zone2ldap zone2ldap.o ../lib/dns/libdns.a -lcrypto -lpthread \
339 ../lib/isc/libisc.a -lldap -llber -lresolv %{?gssapi:-lgssapi_krb5} -lxml2 $LDFLAGS
340 popd
341
342 pushd ldap2zone
343 gcc $CFLAGS -I../lib/dns/include -I../lib/dns/sec/dst/include \
344 -I../lib/isc/include -I../lib/isc/unix/include -I../lib/isc/pthreads/include -c ldap2zone.c
345 gcc $CFLAGS -o ldap2zone ldap2zone.o ../lib/dns/libdns.a -lcrypto -lpthread \
346 ../lib/isc/libisc.a -lldap -llber -lresolv %{?_with_gssapi:-lgssapi_krb5} -lxml2 $LDFLAGS
347 popd
348 %endif
349
350 %if %{sdb_mysql}
351 pushd contrib/sdb/mysql
352 gcc $CFLAGS -I%{_includedir}/mysql -I../../../lib/dns/include -I../../../lib/dns/sec/dst/include \
353 -I../../../lib/isc/include -I../../../lib/isc/unix/include -I../../../lib/isc/pthreads/include \
354 -c zonetodb.c
355 gcc $CFLAGS -o zonetodb zonetodb.o \
356 ../../../lib/dns/libdns.a -lcrypto -lpthread ../../../lib/isc/libisc.a \
357 -lmysqlclient -lresolv %{?_with_gssapi:-lgssapi_krb5} -lxml2 $LDFLAGS
358 popd
359 %endif
360
361 gcc $CFLAGS -o dns-keygen keygen.c
362
363 #%%check
364 ## run the test suite
365 #make check
366
367 %install
368 rm -rf %{buildroot}
369
370 pushd doc
371 rm -rf html
372 popd
373
374 # make some directories
375 install -d %{buildroot}%{_initrddir}
376 install -d %{buildroot}%{_sysconfdir}/sysconfig
377 install -d %{buildroot}/var/run/named
378
379 %makeinstall_std
380
381 ln -snf named %{buildroot}%{_sbindir}/lwresd
382
383 install -m0755 contrib/named-bootconf/named-bootconf.sh %{buildroot}%{_sbindir}/named-bootconf
384 install -m0755 contrib/queryperf/queryperf %{buildroot}%{_bindir}/
385 cp contrib/queryperf/README README.queryperf
386
387 install -m0755 contrib/query-loc-*/query-loc %{buildroot}%{_bindir}/
388 install -m0644 contrib/query-loc-*/query-loc.1 %{buildroot}%{_mandir}/man1/
389 cp contrib/query-loc-*/ADDRESSES ADDRESSES.query-loc
390 cp contrib/query-loc-*/ALGO ALGO.query-loc
391 cp contrib/query-loc-*/README README.query-loc
392 cp contrib/query-loc-*/USAGE USAGE.query-loc
393
394
395 install -m0755 named.init %{buildroot}%{_initrddir}/named
396 install -m0644 named.sysconfig %{buildroot}%{_sysconfdir}/sysconfig/named
397
398 %if %{sdb_ldap}
399 install -m0755 zone2ldap/zone2ldap %{buildroot}%{_bindir}/zonetoldap
400 install -m0644 zone2ldap/zone2ldap.1 %{buildroot}%{_mandir}/man1/zonetoldap.1
401 install -m0755 ldap2zone/ldap2zone %{buildroot}%{_bindir}/ldap2zone
402 %endif
403
404 %if %{sdb_mysql}
405 install -m0755 contrib/sdb/mysql/zonetodb %{buildroot}%{_bindir}/
406 cp contrib/sdb/mysql/ChangeLog contrib/sdb/mysql/ChangeLog.mysql
407 cp contrib/sdb/mysql/README contrib/sdb/mysql/README.mysql
408 %endif
409
410 install -m0755 dns-keygen %{buildroot}%{_sbindir}/dns-keygen
411
412 # install the non-threaded host command
413 # fixes #16855
414 install -m0755 usr/bin/host %{buildroot}%{_bindir}/
415
416 # make the chroot
417 install -d %{buildroot}/var/lib/named/{dev,etc}
418 install -d %{buildroot}/var/lib/named/var/{log,run,tmp}
419 install -d %{buildroot}/var/lib/named/var/named/{master,slaves,reverse}
420
421 install -m 644 \
422 caching-nameserver/named.conf \
423 caching-nameserver/logging.conf \
424 caching-nameserver/trusted_networks_acl.conf \
425 caching-nameserver/hosts \
426 caching-nameserver/bogon_acl.conf \
427 %{buildroot}/var/lib/named/etc
428 install -m 640 \
429 caching-nameserver/rndc.conf\
430 caching-nameserver/rndc.key \
431 %{buildroot}/var/lib/named/etc
432 install -m 644 \
433 caching-nameserver/localdomain.zone \
434 caching-nameserver/localhost.zone \
435 %{buildroot}/var/lib/named/var/named/master
436 install -m 644 \
437 caching-nameserver/named.broadcast \
438 caching-nameserver/named.ip6.local \
439 caching-nameserver/named.local \
440 caching-nameserver/named.zero \
441 %{buildroot}/var/lib/named/var/named/reverse
442
443 # fix some compat symlinks
444 ln -s /var/lib/named/etc/named.conf %{buildroot}%{_sysconfdir}/named.conf
445 ln -s /var/lib/named/etc/rndc.conf %{buildroot}%{_sysconfdir}/rndc.conf
446 ln -s /var/lib/named/etc/rndc.key %{buildroot}%{_sysconfdir}/rndc.key
447 mv %{buildroot}%{_sysconfdir}/bind.keys %{buildroot}/var/lib/named/etc/
448 ln -s /var/lib/named/etc/bind.keys %{buildroot}%{_sysconfdir}/bind.keys
449
450 echo "; Use \"dig @A.ROOT-SERVERS.NET . ns\" to update this file if it's outdated." > named.cache.tmp
451 cat named.cache >> named.cache.tmp
452 install -m0644 named.cache.tmp %{buildroot}/var/lib/named/var/named/named.ca
453
454 # fix man pages
455 install -m0644 man5/resolver.5 %{buildroot}%{_mandir}/man5/
456 ln -s resolver.5 %{buildroot}%{_mandir}/man5/resolv.5
457
458 # the following 3 lines is needed to make it short-circuit compliant.
459 pushd doc
460 rm -rf html
461 popd
462
463 install -d doc/html
464 cp -f `find . -type f |grep html |sed -e 's#\/%{name}-%{version}##'|grep -v contrib` doc/html
465
466 %multiarch_binaries %{buildroot}%{_bindir}/isc-config.sh
467
468 cat > README.urpmi << EOF
469 The most significant changes starting from the bind-9.3.2-5mdk package:
470
471 o Installs in a chroot environment per default (/var/lib/named) for
472 security measures.
473
474 o Acts as a caching only resolver per default, ip addresses that should be
475 allowed to use recursive lookups must be defined in the
476 /var/lib/named/etc/trusted_networks_acl.conf file.
477 EOF
478
479 %pre
480 %_pre_useradd named /var/lib/named /bin/false
481
482 # check if bind is chrooted and try to restore it
483 if [ -x %{_sbindir}/bind-chroot.sh ]; then
484 ROOTDIR="/var/lib/named-chroot"
485 [ -f /etc/sysconfig/named ] && . /etc/sysconfig/named
486 if [ -d $ROOTDIR -a ! -d /var/lib/named ]; then
487 echo "old chroot found at $ROOTDIR, copying to /var/lib/named"
488 cp -rp $ROOTDIR /var/lib/named
489 chown -R named:named /var/lib/named
490 fi
491 if grep -q "$ROOTDIR" /etc/sysconfig/syslog; then
492 if [ -f /var/lock/subsys/named ]; then
493 service named stop > /dev/null 2>/dev/null || :
494 fi
495 %{_sbindir}/bind-chroot.sh --unchroot > /dev/null 2>/dev/null || :
496 fi
497 if [ -f /var/lock/subsys/syslog ]; then
498 service syslog restart > /dev/null 2>/dev/null || :
499 fi
500 fi
501
502 DATE=`date +%%Y%%m%%d%%j%%S`
503 for f in named.conf rndc.conf rndc.key; do
504 # move away files to prepare for softlinks
505 if [ -f /etc/$f -a ! -h /etc/$f ]; then mv -vf /etc/$f /etc/$f.$DATE; fi
506 if [ -f /etc/$f -a ! -h /etc/$f ]; then mv -vf /etc/$f /etc/$f.$DATE; fi
507 if [ -f /etc/$f -a ! -h /etc/$f ]; then mv -vf /etc/$f /etc/$f.$DATE; fi
508 done
509
510 %post
511 if grep -q "_MY_KEY_" /var/lib/named/etc/rndc.conf /var/lib/named/etc/rndc.key; then
512 MYKEY="`%{_sbindir}/dns-keygen`"
513 perl -pi -e "s|_MY_KEY_|$MYKEY|g" /var/lib/named/etc/rndc.conf /var/lib/named/etc/rndc.key
514 fi
515
516 %_post_service named
517
518 %preun
519 %_preun_service named
520
521 %postun
522 %_postun_userdel named
523
524 %clean
525 rm -rf %{buildroot}
526
527 %files
528 %defattr(-,root,root)
529 %doc CHANGES README FAQ COPYRIGHT README.urpmi
530 %if %{sdb_ldap}
531 %doc contrib/sdb/ldap/README.ldap contrib/sdb/ldap/INSTALL.ldap
532 %endif
533 %if %{sdb_mysql}
534 %doc contrib/sdb/mysql/ChangeLog.mysql contrib/sdb/mysql/README.mysql
535 %endif
536 %if %{geoip}
537 %doc geodns.INSTALL geodns.named.conf-sample
538 %endif
539 %config(noreplace) %{_sysconfdir}/sysconfig/named
540 %{_initrddir}/named
541 %{_sbindir}/arpaname
542 %{_sbindir}/ddns-confgen
543 %{_sbindir}/dns-keygen
544 %{_sbindir}/dnssec-dsfromkey
545 %{_sbindir}/dnssec-keyfromlabel
546 %{_sbindir}/dnssec-keygen
547 %{_sbindir}/dnssec-revoke
548 %{_sbindir}/dnssec-settime
549 %{_sbindir}/dnssec-signzone
550 %{_sbindir}/genrandom
551 %{_sbindir}/isc-hmac-fixup
552 %{_sbindir}/lwresd
553 %{_sbindir}/named
554 %{_sbindir}/named-bootconf
555 %{_sbindir}/named-checkconf
556 %{_sbindir}/named-checkzone
557 %{_sbindir}/named-compilezone
558 %{_sbindir}/named-journalprint
559 %{_sbindir}/nsec3hash
560 %{_sbindir}/rndc
561 %{_sbindir}/rndc-confgen
562 %{_mandir}/man1/arpaname.1.*
563 %{_mandir}/man5/named.conf.5*
564 %{_mandir}/man5/rndc.conf.5*
565 %{_mandir}/man8/ddns-confgen.8.*
566 %{_mandir}/man8/dnssec-*.8*
567 %{_mandir}/man8/genrandom.8.*
568 %{_mandir}/man8/isc-hmac-fixup.8.*
569 %{_mandir}/man8/lwresd.8*
570 %{_mandir}/man8/named-*.8*
571 %{_mandir}/man8/named.8*
572 %{_mandir}/man8/nsec3hash.8.*
573 %{_mandir}/man8/rndc.8*
574 %{_mandir}/man8/rndc-confgen.8*
575 # the chroot
576 %dir /var/lib/named
577 %dir /var/lib/named/dev
578 %dir /var/lib/named/etc
579 %dir /var/lib/named/var
580 %dir /var/lib/named/var/named
581 %attr(-,named,named) %dir /var/lib/named/var/log
582 %attr(-,named,named) %dir /var/lib/named/var/run
583 %attr(-,named,named) %dir /var/lib/named/var/tmp
584 %attr(-,named,named) %dir /var/lib/named/var/named/master
585 %attr(-,named,named) %dir /var/lib/named/var/named/slaves
586 %attr(-,named,named) %dir /var/lib/named/var/named/reverse
587 %config(noreplace) /var/lib/named/etc/named.conf
588 %attr(-,root,named) %config(noreplace) /var/lib/named/etc/bind.keys
589 %attr(-,root,named) %config(noreplace) /var/lib/named/etc/rndc.conf
590 %attr(-,root,named) %config(noreplace) /var/lib/named/etc/rndc.key
591 %{_sysconfdir}/bind.keys
592 %{_sysconfdir}/named.conf
593 %{_sysconfdir}/rndc.conf
594 %{_sysconfdir}/rndc.key
595 %config(noreplace) /var/lib/named/etc/bogon_acl.conf
596 %config(noreplace) /var/lib/named/etc/logging.conf
597 %config(noreplace) /var/lib/named/etc/trusted_networks_acl.conf
598 %config(noreplace) /var/lib/named/etc/hosts
599 %config(noreplace) /var/lib/named/var/named/master/localdomain.zone
600 %config(noreplace) /var/lib/named/var/named/master/localhost.zone
601 %config(noreplace) /var/lib/named/var/named/reverse/named.broadcast
602 %config(noreplace) /var/lib/named/var/named/reverse/named.ip6.local
603 %config(noreplace) /var/lib/named/var/named/reverse/named.local
604 %config(noreplace) /var/lib/named/var/named/reverse/named.zero
605 %config(noreplace) /var/lib/named/var/named/named.ca
606
607 %files devel
608 %defattr(-,root,root)
609 %doc CHANGES README
610 %multiarch %{multiarch_bindir}/isc-config.sh
611 %{_bindir}/isc-config.sh
612 %{_includedir}/*
613 %{_libdir}/*.a
614 %{_mandir}/man1/isc-config.sh.1*
615 %{_mandir}/man3/lwres*.3*
616
617 %files utils
618 %defattr(-,root,root)
619 %doc README COPYRIGHT *.query-loc *.queryperf
620 %{_bindir}/dig
621 %{_bindir}/host
622 %{_bindir}/nslookup
623 %{_bindir}/nsupdate
624 %{_bindir}/queryperf
625 %{_bindir}/query-loc
626 %{_mandir}/man1/host.1*
627 %{_mandir}/man1/dig.1*
628 %{_mandir}/man1/nslookup.1*
629 %{_mandir}/man1/nsupdate.1*
630 %{_mandir}/man1/query-loc.1*
631 %if %{sdb_ldap}
632 %doc zone2ldap/zone2ldap.README ldap2zone/README.ldap2zone ldap2zone/dnszone-schema.txt
633 %{_bindir}/zonetoldap
634 %{_bindir}/ldap2zone
635 %{_mandir}/man1/zonetoldap.1*
636 %endif
637 %{_mandir}/man5/resolver.5*
638 %{_mandir}/man5/resolv.5*
639
640 %files doc
641 %defattr(-,root,root)
642 %doc doc/draft doc/html doc/rfc doc/misc/
643 %doc doc/dhcp-dynamic-dns-examples doc/chroot doc/trustix
644
645

  ViewVC Help
Powered by ViewVC 1.1.30