[csw-devel] SF.net SVN: gar:[15170] csw/mgar/pkg/imapproxy/trunk
chninkel at users.sourceforge.net
chninkel at users.sourceforge.net
Wed Jul 20 17:24:58 CEST 2011
Revision: 15170
http://gar.svn.sourceforge.net/gar/?rev=15170&view=rev
Author: chninkel
Date: 2011-07-20 15:24:58 +0000 (Wed, 20 Jul 2011)
Log Message:
-----------
imapproxy: moved configuration files from /opt/csw/etc to /etc/opt/csw
Modified Paths:
--------------
csw/mgar/pkg/imapproxy/trunk/Makefile
csw/mgar/pkg/imapproxy/trunk/files/README.CSW
csw/mgar/pkg/imapproxy/trunk/files/conf_file_location.patch
csw/mgar/pkg/imapproxy/trunk/files/cswimapproxy
csw/mgar/pkg/imapproxy/trunk/files/cswimapproxy.xml
Modified: csw/mgar/pkg/imapproxy/trunk/Makefile
===================================================================
--- csw/mgar/pkg/imapproxy/trunk/Makefile 2011-07-20 15:02:44 UTC (rev 15169)
+++ csw/mgar/pkg/imapproxy/trunk/Makefile 2011-07-20 15:24:58 UTC (rev 15170)
@@ -61,6 +61,8 @@
INITSMF = /etc/opt/csw/init.d/cswimapproxy
PRESERVECONF = /etc/opt/csw/imapproxy.conf
+MIGRATE_FILES = imapproxy.conf
+
# imapproxy lacks include of openssl/md5.h
# PATCHFILES += md5_include.patch
Modified: csw/mgar/pkg/imapproxy/trunk/files/README.CSW
===================================================================
--- csw/mgar/pkg/imapproxy/trunk/files/README.CSW 2011-07-20 15:02:44 UTC (rev 15169)
+++ csw/mgar/pkg/imapproxy/trunk/files/README.CSW 2011-07-20 15:24:58 UTC (rev 15170)
@@ -11,9 +11,9 @@
* under Solaris <= 9:
- create the configuration file using the CSW template:
- cp /opt/csw/etc/imapproxy.conf.CSW /opt/csw/etc/imapproxy.conf
+ cp /etc/opt/csw/imapproxy.conf.CSW /etc/opt/csw/imapproxy.conf
- - set the server_hostname variable in the /opt/csw/etc/imapproxy.conf
+ - set the server_hostname variable in the /etc/opt/csw/imapproxy.conf
file to a valid imap server hostname.
- launch the daemon:
@@ -21,7 +21,7 @@
* under Solaris >= 10:
- - set the server_hostname variable in the /opt/csw/etc/imapproxy.conf
+ - set the server_hostname variable in the /etc/opt/csw/imapproxy.conf
file to a valid imap server hostname.
- enable the imapproxy daemon:
Modified: csw/mgar/pkg/imapproxy/trunk/files/conf_file_location.patch
===================================================================
--- csw/mgar/pkg/imapproxy/trunk/files/conf_file_location.patch 2011-07-20 15:02:44 UTC (rev 15169)
+++ csw/mgar/pkg/imapproxy/trunk/files/conf_file_location.patch 2011-07-20 15:24:58 UTC (rev 15170)
@@ -6,7 +6,7 @@
#ifndef DEFAULT_CONFIG_FILE
-#define DEFAULT_CONFIG_FILE "/etc/imapproxy.conf"
-+#define DEFAULT_CONFIG_FILE "/opt/csw/etc/imapproxy.conf"
++#define DEFAULT_CONFIG_FILE "/etc/opt/csw/imapproxy.conf"
#endif
#define LITERAL_PASSWORD 1
Modified: csw/mgar/pkg/imapproxy/trunk/files/cswimapproxy
===================================================================
--- csw/mgar/pkg/imapproxy/trunk/files/cswimapproxy 2011-07-20 15:02:44 UTC (rev 15169)
+++ csw/mgar/pkg/imapproxy/trunk/files/cswimapproxy 2011-07-20 15:24:58 UTC (rev 15170)
@@ -16,7 +16,7 @@
PROGNAME=in.imapproxyd
BINPATH=/opt/csw/sbin
INIT_FILE=/etc/init.d/cswimapproxy
-CONF_DIR=/opt/csw/etc
+CONF_DIR=/etc/opt/csw
CONF_FILE=$CONF_DIR/imapproxy.conf
OPTIONS=""
Modified: csw/mgar/pkg/imapproxy/trunk/files/cswimapproxy.xml
===================================================================
--- csw/mgar/pkg/imapproxy/trunk/files/cswimapproxy.xml 2011-07-20 15:02:44 UTC (rev 15169)
+++ csw/mgar/pkg/imapproxy/trunk/files/cswimapproxy.xml 2011-07-20 15:24:58 UTC (rev 15170)
@@ -45,7 +45,7 @@
restart_on='refresh'
type='path'>
<service_fmri
- value='file://localhost/opt/csw/etc/imapproxy.conf' />
+ value='file://localhost/etc/opt/csw/imapproxy.conf' />
</dependency>
<dependent
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list