[Kolab-devel] gunnar: server/kolab-filter/filter config.php, 1.3, 1.4 kolabfilter.php, 1.2, 1.3 kolabmailboxfilter.php, 1.2, 1.3

Richard Bos ml at radoeka.nl
Fri Dec 7 13:39:04 CET 2007


Op Tuesday 04 December 2007 08:39:20 schreef Richard Bos:
> What about the explanation of what to do when the file resmgr.conf has been
> updated.  I think that such a text would be nice to put in the kolab
> header.   That way it does not show up in the resulting config files
> (config.php and etc/kolab/resmgr.conf):
>
> # head resmgr.conf.template.in
> KOLAB_META_START
> TARGET=@resmgr_confdir@/config.php
> PERMISSIONS=0640
> OWNERSHIP=@resmgr_conffile_usr@:@resmgr_conffile_grp@
>
> # This is an explanation of what to do with this file
> #
> # Blah Blah
>
> KOLAB_META_END
> <?php
>
>
> Is my assumption correct, and does the text have no influence on setting
> the permission, and the owner etc on the file?

I tested it, with a test script (with the code from kolabconf) and it seems to 
be no problem.  I would like to apply the following diff:

diff -u -r1.19 resmgr.conf.template.in
--- resmgr.conf.template.in     3 Dec 2007 11:27:19 -0000       1.19
+++ resmgr.conf.template.in     7 Dec 2007 12:37:59 -0000
@@ -2,6 +2,19 @@
 TARGET=@resmgr_confdir@/config.php
 PERMISSIONS=0640
 OWNERSHIP=@resmgr_conffile_usr@:@resmgr_conffile_grp@
+
+# Update instructions:
+# --------------------
+# If this file is being modified, please do the following:
+# - execute the command: convert_template2config_php.pl
+# - move the file resmgs.conf_config.php to 
server/kolab-filter/filter/config.php
+#
+# The file server/kolab-filter/filter/config.php is a configuration example
+# file that is distributed with the kolab-filter module/package.
+# The purpose of the server/kolab-filter/filter/config.php file is to be
+# an example configuration file, in case the kolab-filter module/package
+# is distributed on it's own.
+
 KOLAB_META_END
 <?php

Is it okay to apply?

-- 
Richard Bos
Without a home the journey is endless




More information about the devel mailing list