SPECS: bind.spec - create null an random devices instead ordinary ...

twittner twittner at pld-linux.org
Thu Jun 16 01:56:06 CEST 2005


Author: twittner                     Date: Wed Jun 15 23:56:06 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- create null an random devices instead ordinary files for chrooted bind,
  set proper and secure permission / owners for /var/lib/named/dev
  + {null,random}
- removed %{_var}/log/named* for now from %files due to: RPM build errors:
    File not found by glob: /tmp/bind-9.3.1-root-inter/var/log/named*
  I leave it for others.
- rel. 1.2 - test it! (it's rather late now)

---- Files affected:
SPECS:
   bind.spec (1.217 -> 1.218) 

---- Diffs:

================================================================
Index: SPECS/bind.spec
diff -u SPECS/bind.spec:1.217 SPECS/bind.spec:1.218
--- SPECS/bind.spec:1.217	Thu May  5 15:20:59 2005
+++ SPECS/bind.spec	Thu Jun 16 01:55:58 2005
@@ -17,7 +17,7 @@
 Summary(zh_CN):	Internet ÓňĂűˇţÎńĆ÷
 Name:		bind
 Version:	9.3.1
-Release:	1.1
+Release:	1.2
 Epoch:		6
 License:	BSD-like
 Group:		Networking/Daemons
@@ -434,15 +434,15 @@
 %attr(750,root,named) %dir %{_var}/lib/named/M
 %attr(770,root,named) %dir %{_var}/lib/named/S
 %attr(750,root,named) %dir %{_var}/lib/named%{_sysconfdir}
-%attr(770,root,named) %dir %{_var}/lib/named/dev
 
 %config(noreplace) %verify(not size mtime md5) %{_var}/lib/named/M/*
 %config(noreplace) %verify(not size mtime md5) %{_var}/lib/named/root.*
 %attr(640,root,named) %config(noreplace) %verify(not size mtime md5) %{_var}/lib/named%{_sysconfdir}/*
 
-#%ghost %{_var}/lib/named/dev/*
-%attr(770,root,named) %{_var}/lib/named/dev/*
-%attr(660,named,named) %config(noreplace,missingok) %verify(not md5 size mtime) %{_var}/log/named*
+# devices for chrooted bind
+%attr(750,root,named) %dir %{_var}/lib/named/dev
+%dev(c,1,3) %attr(660,root,named) %{_var}/lib/named/dev/null
+%dev(c,1,8) %attr(640,root,named) %{_var}/lib/named/dev/random
 
 %files utils
 %defattr(644,root,root,755)
@@ -490,6 +490,15 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.218  2005/06/15 23:55:58  twittner
+- create null an random devices instead ordinary files for chrooted bind,
+  set proper and secure permission / owners for /var/lib/named/dev
+  + {null,random}
+- removed %{_var}/log/named* for now from %files due to: RPM build errors:
+    File not found by glob: /tmp/bind-9.3.1-root-inter/var/log/named*
+  I leave it for others.
+- rel. 1.2 - test it! (it's rather late now)
+
 Revision 1.217  2005/05/05 13:20:59  qboosh
 - M perms fix
 
================================================================

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




More information about the pld-cvs-commit mailing list