packages: bacula/bacula.spec - bacula must have access to its own configs -...

hawk hawk at pld-linux.org
Thu Nov 18 09:59:37 CET 2010


Author: hawk                         Date: Thu Nov 18 08:59:37 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- bacula must have access to its own configs
- set basename for services on install not during package build
- release 10

---- Files affected:
packages/bacula:
   bacula.spec (1.172 -> 1.173) 

---- Diffs:

================================================================
Index: packages/bacula/bacula.spec
diff -u packages/bacula/bacula.spec:1.172 packages/bacula/bacula.spec:1.173
--- packages/bacula/bacula.spec:1.172	Wed Nov  3 08:40:31 2010
+++ packages/bacula/bacula.spec	Thu Nov 18 09:59:32 2010
@@ -28,7 +28,7 @@
 Summary(pl.UTF-8):	Bacula - rozwiązanie do wykonywania kopii zapasowych po sieci
 Name:		bacula
 Version:	5.0.3
-Release:	9
+Release:	10
 License:	AGPL v3
 Group:		Networking/Utilities
 Source0:	http://downloads.sourceforge.net/bacula/%{name}-%{version}.tar.gz
@@ -482,6 +482,7 @@
 	src/cats/create_* src/cats/delete_* src/cats/drop_* \
 	src/cats/grant_* src/cats/make_* src/cats/update_*
 sed -i -e 's/@hostname@/--hostname--/' src/*/*.conf.in
+sed -i -e 's/@basename@/--hostname--/' src/*/*.conf.in
 
 %if %{with dbi}
 for dbtype in mysql postgresql sqlite3; do
@@ -968,7 +969,7 @@
 %files fd
 %defattr(644,root,root,755)
 %doc LICENSE
-%attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bacula-fd.conf
+%attr(640,root,bacula) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bacula-fd.conf
 %attr(754,root,root) /etc/rc.d/init.d/bacula-fd
 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/bacula-fd
 %attr(755,root,root) %{_sbindir}/bacula-fd
@@ -978,8 +979,8 @@
 %files sd
 %defattr(644,root,root,755)
 %doc LICENSE
-%attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bacula-sd.conf
-%attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mtx-changer.conf
+%attr(640,root,bacula) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bacula-sd.conf
+%attr(640,root,bacula) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mtx-changer.conf
 %attr(754,root,root) /etc/rc.d/init.d/bacula-sd
 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/bacula-sd
 %attr(755,root,root) %{_sbindir}/bacula-sd
@@ -1001,7 +1002,7 @@
 %files console
 %defattr(644,root,root,755)
 %doc LICENSE
-%attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bconsole.conf
+%attr(640,root,bacula) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bconsole.conf
 %attr(755,root,root) %{_sbindir}/bconsole
 %{_mandir}/man8/bconsole.8*
 
@@ -1070,6 +1071,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.173  2010/11/18 08:59:32  hawk
+- bacula must have access to its own configs
+- set basename for services on install not during package build
+- release 10
+
 Revision 1.172  2010/11/03 07:40:31  glen
 - package examples/python when python scripting is enabled (anyone uses py scripting?)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/bacula/bacula.spec?r1=1.172&r2=1.173&f=u



More information about the pld-cvs-commit mailing list