martin: server/kolab kolab.spec,1.22.2.13,1.22.2.14

cvs at intevation.de cvs at intevation.de
Sat Aug 9 02:13:48 CEST 2003


Author: martin

Update of /kolabrepository/server/kolab
In directory doto:/tmp/cvs-serv27133/kolab

Modified Files:
      Tag: KOLAB_1_0
	kolab.spec 
Log Message:
Martin K.: permission fix so that imapd can read its key for tls


Index: kolab.spec
===================================================================
RCS file: /kolabrepository/server/kolab/kolab.spec,v
retrieving revision 1.22.2.13
retrieving revision 1.22.2.14
diff -u -d -r1.22.2.13 -r1.22.2.14
--- kolab.spec	4 Aug 2003 19:29:17 -0000	1.22.2.13
+++ kolab.spec	9 Aug 2003 00:13:46 -0000	1.22.2.14
@@ -16,7 +16,7 @@
 Group:        core
 License:      GPL
 Version:      %{V_kolab}
-Release:      1.0.12
+Release:      1.0.14
 
 #   list of sources
 Source0:      ftp://ftp.kde.org/pub/kde/unstable/server/kolab/kolab-current/kolab-%{version}.tar.gz
@@ -47,7 +47,7 @@
 %install
     rm -rf $RPM_BUILD_ROOT
 
-    %{l_shtool} mkdir -p -m 750 $RPM_BUILD_ROOT%{l_prefix}/etc/kolab
+    %{l_shtool} mkdir -p -m 755 $RPM_BUILD_ROOT%{l_prefix}/etc/kolab
     %{l_shtool} mkdir -p -m 750 $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d
     %{l_shtool} mkdir -p -m 755 $RPM_BUILD_ROOT%{l_prefix}/var/kolab
     %{l_shtool} mkdir -p -m 755 $RPM_BUILD_ROOT%{l_prefix}/var/kolab/www
@@ -80,13 +80,13 @@
     %{l_shtool} install -c -m 640 imapd.group.template $RPM_BUILD_ROOT%{l_prefix}/etc/kolab/
     %{l_shtool} install -c -m 740 -e 's;@@@kolab_prefix@@@;%{l_prefix};g' kolab \
 	$RPM_BUILD_ROOT%{l_prefix}/etc/kolab/
-    %{l_shtool} install -c -m 640 kolab.conf $RPM_BUILD_ROOT%{l_prefix}/etc/kolab/
+    %{l_shtool} install -c -m 600 kolab.conf $RPM_BUILD_ROOT%{l_prefix}/etc/kolab/
     %{l_shtool} install -c -m 640 kolab.schema $RPM_BUILD_ROOT%{l_prefix}/etc/kolab/
     %{l_shtool} install -c -m 740 -e 's;@@@kolab_prefix@@@;%{l_prefix};g' \
 	-e "s;@@@l_musr@@@;%{l_musr};g" \
         -e "s;@@@l_rgrp@@@;%{l_rgrp};g" kolab_bootstrap \
 	$RPM_BUILD_ROOT%{l_prefix}/etc/kolab/
-    %{l_shtool} install -c -m 640 \
+    %{l_shtool} install -c -m 600 \
         -e 's;@@@kolab_prefix@@@;%{l_prefix};g' \
         -e "s;@@@l_musr@@@;%{l_musr};g" \
         -e "s;@@@l_rgrp@@@;%{l_rgrp};g" \
@@ -119,6 +119,8 @@
 %post
     chown %{l_nusr}:%{l_ngrp} %{l_prefix}/var/kolab/www/freebusy
     chown %{l_nusr}:%{l_ngrp} %{l_prefix}/var/kolab/www/locks
+    chmod 0600 %{l_prefix}/etc/kolab/kolab.conf
+
 
     echo "For a fresh install please initialize Kolab and run
 '%{l_prefix}/etc/kolab/kolab_bootstrap -b' as user root."





More information about the commits mailing list