summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArkadiusz Miśkiewicz2007-06-01 18:33:23 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commitf5d30edd2003b90b295998aea451269239782a30 (patch)
tree39ff805120c09e6f7f8cdc5ace9e0c09f7773e0f
parent52a11584996e6a25822a3452fe5aa0756ca7c2f6 (diff)
downloadbind-f5d30edd2003b90b295998aea451269239782a30.zip
bind-f5d30edd2003b90b295998aea451269239782a30.tar.gz
- rel 2; add trigger that comments out invalit categories from configauto/th/bind-9_4_1-2auto/ac/bind-9_4_1-2
Changed files: bind.spec -> 1.251
-rw-r--r--bind.spec6
1 files changed, 5 insertions, 1 deletions
diff --git a/bind.spec b/bind.spec
index 93393bc..1cd7915 100644
--- a/bind.spec
+++ b/bind.spec
@@ -20,7 +20,7 @@ Summary(uk.UTF-8): BIND - cервер системи доменних імен (
Summary(zh_CN.UTF-8): Internet 域名服务器
Name: bind
Version: 9.4.1
-Release: 1.2
+Release: 2
Epoch: 6
License: BSD-like
Group: Networking/Daemons
@@ -457,6 +457,10 @@ fi
%post libs -p /sbin/ldconfig
%postun libs -p /sbin/ldconfig
+%triggerpostun -- %{name} < 6:9.4.1
+sed -i -e 's#^\([ \t]*category[ \t]\+cname[ \t]\+.*\)$#// \1#g' /etc/named.conf
+sed -i -e 's#^\([ \t]*category[ \t]\+response-checks[ \t]\+.*\)$#// \1#g' /etc/named.conf
+
%files
%defattr(644,root,root,755)
%doc README EXAMPLE-CONFIG-* FAQ doc/misc/* doc/arm/*.html doc/rfc/index %{?with_ldap:doc/*.sdb-ldap} %{?with_hip:bind-hip/COPYRIGHT-HIP-RR}