summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Tkac <atkac@fedoraproject.org>2009-03-10 11:53:43 +0000
committerAdam Tkac <atkac@fedoraproject.org>2009-03-10 11:53:43 +0000
commitfc276131b5b469f2a1cac58c079a5a59d264ccd7 (patch)
tree15bfee81a2a3d0628430cbce4117b02a6553038e
parent8f3a7935d831907f7c93e683a8d163516c77335d (diff)
downloadbind-fc276131b5b469f2a1cac58c079a5a59d264ccd7.tar.gz
bind-fc276131b5b469f2a1cac58c079a5a59d264ccd7.tar.xz
bind-fc276131b5b469f2a1cac58c079a5a59d264ccd7.zip
- enable DNSSEC only if it is enabled in sysconfig/dnssecbind-9_6_0-10_P1_fc11
-rw-r--r--bind.spec16
-rw-r--r--libbind.pc6
2 files changed, 12 insertions, 10 deletions
diff --git a/bind.spec b/bind.spec
index fdf66ef..07c4616 100644
--- a/bind.spec
+++ b/bind.spec
@@ -20,7 +20,7 @@ Summary: The Berkeley Internet Name Domain (BIND) DNS (Domain Name System) serv
Name: bind
License: ISC
Version: 9.6.0
-Release: 9.%{PATCHVER}%{?dist}
+Release: 10.%{PATCHVER}%{?dist}
Epoch: 32
Url: http://www.isc.org/products/BIND/
Buildroot:%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -377,9 +377,14 @@ if [ "$1" -eq 1 ]; then
# rndc.key has to have correct perms and ownership, CVE-2007-6283
[ -e /etc/rndc.key ] && chown root:named /etc/rndc.key
[ -e /etc/rndc.key ] && chmod 0640 /etc/rndc.key
- # Enable DNSSEC per default
- [ -x /usr/sbin/dnssec-configure ] && \
- dnssec-configure -b --norestart --dnssec=on --dlv=off > /dev/null 2>&1
+
+ # Check DNSSEC settings if this is a fresh install
+ if [ -r /etc/sysconfig/dnssec ]; then
+ . /etc/sysconfig/dnssec
+ [ -x /usr/sbin/dnssec-configure ] && \
+ dnssec-configure -b --norestart --dnssec="$DNSSEC" --dlv="$DLV" > \
+ /dev/null 2>&1
+ fi;
fi
:;
@@ -564,6 +569,9 @@ rm -rf ${RPM_BUILD_ROOT}
%ghost %{chroot_prefix}/etc/localtime
%changelog
+* Tue Mar 10 2009 Adam Tkac <atkac redhat com> 32:9.6.0-10.P1
+- enable DNSSEC only if it is enabled in sysconfig/dnssec
+
* Mon Mar 09 2009 Adam Tkac <atkac redhat com> 32:9.6.0-9.P1
- add DNSSEC support to initscript, enabled it per default
- add requires dnssec-conf
diff --git a/libbind.pc b/libbind.pc
deleted file mode 100644
index 11c6b93..0000000
--- a/libbind.pc
+++ /dev/null
@@ -1,6 +0,0 @@
-# pkg-config file for libbind
-Name: bind-devel
-Description: BIND 8 compatible DNS Resolver Library
-Version: 9.3.2
-Libs: -lbind
-Cflags: -I/usr/include/bind