/[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 87095 - (show annotations) (download)
Sun Apr 17 10:47:06 2011 UTC (13 years ago) by misc
File size: 20390 byte(s)
- update to 9.8.0, update dyndb patch from fedora

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

  ViewVC Help
Powered by ViewVC 1.1.30