]> git.pld-linux.org Git - packages/bind.git/commitdiff
- rel 2; add trigger that comments out invalit categories from config auto/ac/bind-9_4_1-2 auto/th/bind-9_4_1-2
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Fri, 1 Jun 2007 18:33:23 +0000 (18:33 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    bind.spec -> 1.251

bind.spec

index 93393bc01c893e63e4b66afa51e28d94085ae171..1cd7915e691c2832b6dfe206dbe14295a24884ee 100644 (file)
--- 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}
This page took 0.265047 seconds and 4 git commands to generate.