diff options
| author | Adam Tkac <atkac@fedoraproject.org> | 2007-07-20 12:53:34 +0000 |
|---|---|---|
| committer | Adam Tkac <atkac@fedoraproject.org> | 2007-07-20 12:53:34 +0000 |
| commit | fc2de4b7516c71c12bb7fca219cb5d8e82000dc0 (patch) | |
| tree | 5d5f4bd427aef1007f68c5e9188ef7e2d9fa118b /bind.spec | |
| parent | 23eda6f7258f5149d49bfe0b6149884d310378a2 (diff) | |
- fixed relation between logrotate and chroot-ed named
Diffstat (limited to 'bind.spec')
| -rw-r--r-- | bind.spec | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -18,7 +18,7 @@ Summary: The Berkeley Internet Name Domain (BIND) DNS (Domain Name System) serv Name: bind License: BSD-like Version: 9.5.0a5 -Release: 3.9%{?dist} +Release: 4%{?dist} Epoch: 31 Url: http://www.isc.org/products/BIND/ Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -322,6 +322,7 @@ touch ${RPM_BUILD_ROOT}/%{chroot_prefix}/etc/rndc.key touch ${RPM_BUILD_ROOT}/%{chroot_prefix}/dev/null touch ${RPM_BUILD_ROOT}/%{chroot_prefix}/dev/random touch ${RPM_BUILD_ROOT}/%{chroot_prefix}/dev/zero +touch ${RPM_BUILD_ROOT}/%{chroot_prefix}/var/log/named.log #end chroot make DESTDIR=${RPM_BUILD_ROOT} install touch ${RPM_BUILD_ROOT}%{_sysconfdir}/rndc.conf @@ -402,7 +403,7 @@ for f in my.internal.zone.db slaves/my.slave.internal.zone.db slaves/my.ddns.int echo '@ in soa localhost. root 1 3H 15M 1W 1D ns localhost.' > sample/var/named/$f; done -/usr/bin/tail -n '+'`/bin/egrep -n '\\$Id: bind.spec,v 1.195 2007/07/20 11:31:19 atkac Exp $/+1/' | bc` bin/rndc/rndc.conf | sed '/Sample rndc configuration file./{p;i\ +/usr/bin/tail -n '+'`/bin/egrep -n '\\$Id: bind.spec,v 1.196 2007/07/20 12:53:34 atkac Exp $/+1/' | bc` bin/rndc/rndc.conf | sed '/Sample rndc configuration file./{p;i\ *\ * NOTE: you only need to create this file if it is to\ * differ from the following default contents: @@ -672,6 +673,8 @@ rm -rf ${RPM_BUILD_ROOT} %dir %{chroot_prefix}/var/named/dynamic %dir %{chroot_prefix}/var/run/named %dir %{chroot_prefix}/var/tmp +%dir %{chroot_prefix}/var/log +%ghost %{chroot_prefix}/var/log/named.log %ghost %{chroot_prefix}/dev/null %ghost %{chroot_prefix}/dev/random %ghost %{chroot_prefix}/dev/zero @@ -679,6 +682,9 @@ rm -rf ${RPM_BUILD_ROOT} %{_sbindir}/bind-chroot-admin %changelog +* Fri Jul 20 2007 Adam Tkac <atkac redhat com> 31:9.5.0a5-4.fc8 +- fixed relation between logrotated and chroot-ed named + * Wed Jul 18 2007 Adam Tkac <atkac redhat com> 31:9.5.0a5-3.9.fc8 - removed bind-sdb package (default named has compiled SDB backend now) - integrated DLZ (Dynamically loadable zones) drivers |
