SPECS: bacula.spec - as tray-monitor.conf is world readable, leave bat.conf...

glen glen at pld-linux.org
Fri Apr 17 15:18:20 CEST 2009


Author: glen                         Date: Fri Apr 17 13:18:20 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- as tray-monitor.conf is world readable, leave bat.conf too, as those gui tools don't really need to be ran as root

---- Files affected:
SPECS:
   bacula.spec (1.106 -> 1.107) 

---- Diffs:

================================================================
Index: SPECS/bacula.spec
diff -u SPECS/bacula.spec:1.106 SPECS/bacula.spec:1.107
--- SPECS/bacula.spec:1.106	Wed Apr 15 18:14:35 2009
+++ SPECS/bacula.spec	Fri Apr 17 15:18:14 2009
@@ -640,7 +640,7 @@
 
 echo "Updating Bacula passwords and names..."
 cd /etc/bacula
-for f in *-password ; do
+for f in *-password; do
 	p=`cat $f`
 	sed -i -e"s:#FAKE-$f#:$p:" *.conf *.conf.rpmnew 2>/dev/null || :
 done
@@ -658,7 +658,7 @@
 %post fd
 echo "Updating Bacula passwords and names..."
 cd /etc/bacula
-for f in *-password ; do
+for f in *-password; do
 	p=`cat $f`
 	sed -i -e"s:#FAKE-$f#:$p:" *.conf *.conf.rpmnew 2>/dev/null || :
 done
@@ -676,7 +676,7 @@
 %post sd
 echo "Updating Bacula passwords and names..."
 cd /etc/bacula
-for f in *-password ; do
+for f in *-password; do
 	p=`cat $f`
 	sed -i -e"s:#FAKE-$f#:$p:" *.conf *.conf.rpmnew 2>/dev/null || :
 done
@@ -699,7 +699,7 @@
 %post console
 echo "Updating Bacula passwords and names..."
 cd /etc/bacula
-for f in *-password ; do
+for f in *-password; do
 	p=`cat $f`
 	sed -i -e"s:#FAKE-$f#:$p:" *.conf *.conf.rpmnew 2>/dev/null || :
 done
@@ -708,7 +708,7 @@
 %post console-wx
 echo "Updating Bacula passwords and names..."
 cd /etc/bacula
-for f in *-password ; do
+for f in *-password; do
 	p=`cat $f`
 	sed -i -e"s:#FAKE-$f#:$p:" *.conf *.conf.rpmnew 2>/dev/null || :
 done
@@ -717,7 +717,7 @@
 %post console-gnome
 echo "Updating Bacula passwords and names..."
 cd /etc/bacula
-for f in *-password ; do
+for f in *-password; do
 	p=`cat $f`
 	sed -i -e"s:#FAKE-$f#:$p:" *.conf *.conf.rpmnew 2>/dev/null || :
 done
@@ -726,7 +726,7 @@
 %post console-qt4
 echo "Updating Bacula passwords and names..."
 cd /etc/bacula
-for f in *-password ; do
+for f in *-password; do
 	p=`cat $f`
 	sed -i -e"s:#FAKE-$f#:$p:" *.conf *.conf.rpmnew 2>/dev/null || :
 done
@@ -735,7 +735,7 @@
 %post tray-monitor
 echo "Updating Bacula passwords and names..."
 cd /etc/bacula
-for f in *-password ; do
+for f in *-password; do
 	p=`cat $f`
 	sed -i -e"s:#FAKE-$f#:$p:" *.conf *.conf.rpmnew 2>/dev/null || :
 done
@@ -913,7 +913,7 @@
 %doc LICENSE
 %{_pixmapsdir}/%{name}.png
 %{_desktopdir}/bat.desktop
-%attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bat.conf
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bat.conf
 %attr(755,root,root) %{_sbindir}/bat
 %{_mandir}/man1/bat.1*
 %endif
@@ -952,6 +952,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.107  2009/04/17 13:18:14  glen
+- as tray-monitor.conf is world readable, leave bat.conf too, as those gui tools don't really need to be ran as root
+
 Revision 1.106  2009/04/15 16:14:35  glen
 - add -desktop.patch; renum patches
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/bacula.spec?r1=1.106&r2=1.107&f=u



More information about the pld-cvs-commit mailing list