Author: arekm                        Date: Fri Jun  1 18:33:29 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- rel 2; add trigger that comments out invalit categories from config

---- Files affected:
SPECS:
   bind.spec (1.250 -> 1.251) 

---- Diffs:

================================================================
Index: SPECS/bind.spec
diff -u SPECS/bind.spec:1.250 SPECS/bind.spec:1.251
--- SPECS/bind.spec:1.250       Fri Jun  1 20:15:50 2007
+++ SPECS/bind.spec     Fri Jun  1 20:33:23 2007
@@ -21,7 +21,7 @@
 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
@@ -458,6 +458,10 @@
 %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}
@@ -549,6 +553,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.251  2007/06/01 18:33:23  arekm
+- rel 2; add trigger that comments out invalit categories from config
+
 Revision 1.250  2007/06/01 18:15:50  arekm
 - correctly autodetect number of threads (based on number of online cpus) even 
if chroot is used.
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/bind.spec?r1=1.250&r2=1.251&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to