[csw-devel] SF.net SVN: gar:[12011] csw/mgar/pkg/exim/branches

bdwalton at users.sourceforge.net bdwalton at users.sourceforge.net
Sat Dec 18 21:39:34 CET 2010


Revision: 12011
          http://gar.svn.sourceforge.net/gar/?rev=12011&view=rev
Author:   bdwalton
Date:     2010-12-18 20:39:34 +0000 (Sat, 18 Dec 2010)

Log Message:
-----------
exim: branch to work on relocating spool and log directories, etc

Added Paths:
-----------
    csw/mgar/pkg/exim/branches/dir-loc-fixes/
    csw/mgar/pkg/exim/branches/dir-loc-fixes/Makefile
    csw/mgar/pkg/exim/branches/dir-loc-fixes/files/0003-Set-OpenCSW-build-options.patch
    csw/mgar/pkg/exim/branches/dir-loc-fixes/files/cswexim

Removed Paths:
-------------
    csw/mgar/pkg/exim/branches/dir-loc-fixes/Makefile
    csw/mgar/pkg/exim/branches/dir-loc-fixes/files/0003-Set-OpenCSW-build-options.patch
    csw/mgar/pkg/exim/branches/dir-loc-fixes/files/cswexim

Deleted: csw/mgar/pkg/exim/branches/dir-loc-fixes/Makefile
===================================================================
--- csw/mgar/pkg/exim/trunk/Makefile	2010-12-17 20:22:15 UTC (rev 11990)
+++ csw/mgar/pkg/exim/branches/dir-loc-fixes/Makefile	2010-12-18 20:39:34 UTC (rev 12011)
@@ -1,125 +0,0 @@
-NAME = exim
-VERSION = 4.72
-CATEGORIES = server
-
-DESCRIPTION = The Exim Mail Transfer Agent
-define BLURB
-  Exim is a message transfer agent (MTA) developed at the University of
-  Cambridge for use on Unix systems connected to the Internet. It is freely
-  available under the terms of the GNU General Public Licence. In style it
-  is similar to Smail 3, but its facilities are more general. There is a
-  great deal of flexibility in the way mail can be routed, and there are
-  extensive facilities for checking incoming mail. Exim can be installed in
-  place of sendmail, although the configuration of exim is quite different
-  to that of sendmail.
-endef
-
-MASTER_SITES = ftp://ftp.exim.org/pub/exim/exim4/
-DISTFILES  = $(NAME)-$(VERSION).tar.bz2
-DISTFILES += CSWexim.postinstall CSWexim.postremove CSWexim.preremove
-DISTFILES += CSWexim.request
-
-# NOTE TO FUTURE MAINTAINERS:
-# This patch should be thoroughly reviewed for each update so as not to
-# miss any new config options of interest...
-PATCHFILES += 0003-Set-OpenCSW-build-options.patch
-PATCHFILES += 0004-Force-Compiler-and-a-few-compilation-options.patch
-
-BUILD_DEP_PKGS = CSWlibspf2
-
-RUNTIME_DEP_PKGS_CSWexim  = CSWiconv CSWoldaprt CSWosslrt CSWsasl
-RUNTIME_DEP_PKGS_CSWexim += CSWmysql5rt CSWlibpq CSWlibspf2
-RUNTIME_DEP_PKGS_CSWexim += CSWgzip CSWgzipextras
-RUNTIME_DEP_PKGS_CSWexim += CSWpcrert
-
-# We define upstream file regex so we can be notifed of new upstream software release
-UFILES_REGEX = $(NAME)-(\d+(?:\.\d+)*).tar.bz2
-
-# They supply the GPL in a non-standard file.
-LICENSE = LICENCE
-
-LD_OPTIONS = -R/opt/csw/lib/\$$ISALIST -R/opt/csw/lib
-
-INITSMF = /etc/opt/csw/init.d/cswexim
-
-# scripts/exim_install has been patched to use this variable
-EXIM_VERSION = $(VERSION)
-export EXIM_VERSION
-
-# This is needed for the SPF2 workaround:
-PWD = $(shell pwd)
-
-# Local/Makefile has been patched to use these:
-CSW_CC = $($(GARCOMPILER)_CC)
-CSW_OPT = $(CFLAGS)
-CSW_WORKSRC = $(PWD)/$(WORKSRC)
-export CSW_CC CSW_OPT CSW_WORKSRC
-
-# exim doesn't use configure
-CONFIGURE_SCRIPTS =
-
-# We don't want exim_install to create the exim symlink or run chown
-INSTALL_ARGS = "INSTALL_ARG=-no_symlink -no_chown"
-
-# exim doesn't have a test target
-TEST_TARGET =
-
-# We use this to strip binaries after we're done building
-BINS =  exim exim_dbmbuild exim_dumpdb exim_fixdb exim_lock exim_tidydb
-BINS += eximon.bin
-
-UGPATH=/etc/opt/csw/pkg/CSWexim
-UGENTRY = exim:exim:CSW Exim User:/var/opt/csw/spool/exim:/bin/false:::NP
-USERGROUP = $(UGPATH)/cswusergroup
-
-CHECKPKG_OVERRIDES_CSWexim += surplus-dependency|CSWgzipextras
-CHECKPKG_OVERRIDES_CSWexim += surplus-dependency|CSWgzip
-
-include gar/category.mk
-
-pre-patch-modulated:
-	(cd $(WORKSRC); \
-	test -r Local/Makefile || cp -p src/EDITME Local/Makefile; \
-	test -r Local/eximon.conf || cp -p exim_monitor/EDITME Local/eximon.conf; \
-	git add Local/; git ci -m 'Setup Local build default files'; \
-	test -d spf2 || cp -pr /opt/csw/include/spf2 .; \
-	git add spf2; git ci -m 'import spf2 header files' )
-	@$(MAKECOOKIE)
-
-pre-build-modulated:
-	(cd $(WORKSRC); make makefile)
-	@$(MAKECOOKIE)
-
-DOC_LIST = ChangeLog Exim3.upgrade Exim4.upgrade NewStuff OptionLists.txt
-DOC_LIST += README README.SIEVE dbm.discuss.txt filter.txt pcrepattern.txt
-DOC_LIST += pcretest.txt spec.txt
-
-post-install-modulated:
-	(cd $(DESTDIR)$(prefix)/sbin; \
-	mv exim-$(VERSION)-1 exim; \
-	/usr/ccs/bin/strip $(BINS); \
-	/usr/ccs/bin/mcs -d $(BINS))
-	(cd $(DESTDIR)$(prefix)/etc/exim; \
-	for i in aliases exim.conf; do \
-		if [ -r "$$i" ]; then \
-			echo "$$i -> $$i.CSW"; \
-			mv "$$i" "$$i.CSW";	\
-		fi \
-	done)
-	(cd $(DESTDIR); mkdir -p etc/opt/csw/init.d; \
-		cp $(abspath $(FILEDIR)/cswexim) etc/opt/csw/init.d )
-	mkdir -p $(DESTDIR)/var/opt/csw/svc/manifest/network
-	cp -p files/exim.xml  $(DESTDIR)/var/opt/csw/svc/manifest/network
-	mkdir -p $(DESTDIR)$(prefix)/share/doc/exim
-	cp -p files/README.CSW  $(DESTDIR)$(prefix)/share/doc/exim/README.CSW
-	cp -p files/exim-env.sh $(DESTDIR)$(prefix)/etc/exim/exim-env.sh.CSW
-	(cd $(WORKSRC)/doc; \
-	cp -p $(DOC_LIST) $(DESTDIR)$(prefix)/share/doc/exim)
-	gzip -f $(DESTDIR)$(prefix)/share/doc/exim/ChangeLog
-	gzip -f $(DESTDIR)$(prefix)/share/doc/exim/spec.txt
-	@$(MAKECOOKIE)
-
-post-merge:
-	( cd $(PKGROOT); mkdir -p ./$(UGPATH); \
-		echo "$(UGENTRY)" > ./$(UGPATH)/cswusergroup )
-	@$(MAKECOOKIE)

Copied: csw/mgar/pkg/exim/branches/dir-loc-fixes/Makefile (from rev 12010, csw/mgar/pkg/exim/trunk/Makefile)
===================================================================
--- csw/mgar/pkg/exim/branches/dir-loc-fixes/Makefile	                        (rev 0)
+++ csw/mgar/pkg/exim/branches/dir-loc-fixes/Makefile	2010-12-18 20:39:34 UTC (rev 12011)
@@ -0,0 +1,134 @@
+NAME = exim
+VERSION = 4.72
+CATEGORIES = server
+
+DESCRIPTION = The Exim Mail Transfer Agent
+define BLURB
+  Exim is a message transfer agent (MTA) developed at the University of
+  Cambridge for use on Unix systems connected to the Internet. It is freely
+  available under the terms of the GNU General Public Licence. In style it
+  is similar to Smail 3, but its facilities are more general. There is a
+  great deal of flexibility in the way mail can be routed, and there are
+  extensive facilities for checking incoming mail. Exim can be installed in
+  place of sendmail, although the configuration of exim is quite different
+  to that of sendmail.
+endef
+
+MASTER_SITES = ftp://ftp.exim.org/pub/exim/exim4/
+DISTFILES  = $(NAME)-$(VERSION).tar.bz2
+DISTFILES += CSWexim.postinstall CSWexim.postremove CSWexim.preremove
+DISTFILES += CSWexim.request
+
+# NOTE TO FUTURE MAINTAINERS:
+# This patch should be thoroughly reviewed for each update so as not to
+# miss any new config options of interest...
+PATCHFILES += 0003-Set-OpenCSW-build-options.patch
+PATCHFILES += 0004-Force-Compiler-and-a-few-compilation-options.patch
+
+BUILD_DEP_PKGS = CSWlibspf2
+
+RUNTIME_DEP_PKGS_CSWexim  = CSWiconv CSWoldaprt CSWosslrt CSWsasl
+RUNTIME_DEP_PKGS_CSWexim += CSWmysql5rt CSWlibpq CSWlibspf2
+RUNTIME_DEP_PKGS_CSWexim += CSWgzip CSWgzipextras
+RUNTIME_DEP_PKGS_CSWexim += CSWpcrert
+
+# We define upstream file regex so we can be notifed of new upstream software release
+UFILES_REGEX = $(NAME)-(\d+(?:\.\d+)*).tar.bz2
+
+# They supply the GPL in a non-standard file.
+LICENSE = LICENCE
+
+LD_OPTIONS = -R/opt/csw/lib/\$$ISALIST -R/opt/csw/lib
+
+INITSMF = /etc/opt/csw/init.d/cswexim
+
+# scripts/exim_install has been patched to use this variable
+EXIM_VERSION = $(VERSION)
+export EXIM_VERSION
+
+# This is needed for the SPF2 workaround:
+PWD = $(shell pwd)
+
+# Local/Makefile has been patched to use these:
+CSW_CC = $($(GARCOMPILER)_CC)
+CSW_OPT = $(CFLAGS)
+CSW_WORKSRC = $(PWD)/$(WORKSRC)
+export CSW_CC CSW_OPT CSW_WORKSRC
+
+# exim doesn't use configure
+CONFIGURE_SCRIPTS =
+
+# We don't want exim_install to create the exim symlink or run chown
+INSTALL_ARGS = "INSTALL_ARG=-no_symlink -no_chown"
+
+# exim doesn't have a test target
+TEST_TARGET =
+
+# We use this to strip binaries after we're done building
+BINS =  exim exim_dbmbuild exim_dumpdb exim_fixdb exim_lock exim_tidydb
+BINS += eximon.bin
+
+UGPATH=/etc/opt/csw/pkg/CSWexim
+UGENTRY = exim:exim:CSW Exim User:/var/opt/csw/spool/exim:/bin/false:::NP
+USERGROUP = $(UGPATH)/cswusergroup
+
+CHECKPKG_OVERRIDES_CSWexim += surplus-dependency|CSWgzipextras
+CHECKPKG_OVERRIDES_CSWexim += surplus-dependency|CSWgzip
+CHECKPKG_OVERRIDES_CSWexim += discouraged-path-in-pkgmap|/opt/csw/var/log
+CHECKPKG_OVERRIDES_CSWexim += discouraged-path-in-pkgmap|/opt/csw/var/log/exim
+
+PROTOTYPE_MODIFIERS = eximsuid eximlogs
+PROTOTYPE_PERMS_eximsuid = 4755
+PROTOTYPE_FILES_eximsuid = $(sbindir)/exim
+PROTOTYPE_USER_eximlogs = exim
+PROTOTYPE_GROUP_eximlogs = exim
+PROTOTYPE_PERMS_eximlogs = 750
+PROTOTYPE_FILES_eximlogs = $(prefix)/var/log/exim
+
+include gar/category.mk
+
+pre-patch-modulated:
+	(cd $(WORKSRC); \
+	test -r Local/Makefile || cp -p src/EDITME Local/Makefile; \
+	test -r Local/eximon.conf || cp -p exim_monitor/EDITME Local/eximon.conf; \
+	git add Local/; git ci -m 'Setup Local build default files'; \
+	test -d spf2 || cp -pr /opt/csw/include/spf2 .; \
+	git add spf2; git ci -m 'import spf2 header files' )
+	@$(MAKECOOKIE)
+
+pre-build-modulated:
+	(cd $(WORKSRC); make makefile)
+	@$(MAKECOOKIE)
+
+DOC_LIST = ChangeLog Exim3.upgrade Exim4.upgrade NewStuff OptionLists.txt
+DOC_LIST += README README.SIEVE dbm.discuss.txt filter.txt pcrepattern.txt
+DOC_LIST += pcretest.txt spec.txt
+
+post-install-modulated:
+	(cd $(DESTDIR)$(prefix)/sbin; \
+	mv exim-$(VERSION)-1 exim; \
+	/usr/ccs/bin/strip $(BINS); \
+	/usr/ccs/bin/mcs -d $(BINS))
+	(cd $(DESTDIR)$(prefix)/etc/exim; \
+	for i in aliases exim.conf; do \
+		if [ -r "$$i" ]; then \
+			echo "$$i -> $$i.CSW"; \
+			mv "$$i" "$$i.CSW";	\
+		fi \
+	done)
+	(cd $(DESTDIR); mkdir -p etc/opt/csw/init.d; \
+		cp $(abspath $(FILEDIR)/cswexim) etc/opt/csw/init.d )
+	mkdir -p $(DESTDIR)$(prefix)/share/doc/exim
+	cp -p files/README.CSW  $(DESTDIR)$(prefix)/share/doc/exim/README.CSW
+	cp -p files/exim-env.sh $(DESTDIR)$(prefix)/etc/exim/exim-env.sh.CSW
+	(cd $(WORKSRC)/doc; \
+	cp -p $(DOC_LIST) $(DESTDIR)$(prefix)/share/doc/exim)
+	gzip -f $(DESTDIR)$(prefix)/share/doc/exim/ChangeLog
+	gzip -f $(DESTDIR)$(prefix)/share/doc/exim/spec.txt
+	@$(MAKECOOKIE)
+
+post-merge:
+	( cd $(PKGROOT); mkdir -p ./$(UGPATH); \
+		echo "$(UGENTRY)" > ./$(UGPATH)/cswusergroup )
+	( cd $(PKGROOT); mkdir -p opt/csw/var/log/exim )
+	@$(MAKECOOKIE)

Deleted: csw/mgar/pkg/exim/branches/dir-loc-fixes/files/0003-Set-OpenCSW-build-options.patch
===================================================================
--- csw/mgar/pkg/exim/trunk/files/0003-Set-OpenCSW-build-options.patch	2010-12-17 20:22:15 UTC (rev 11990)
+++ csw/mgar/pkg/exim/branches/dir-loc-fixes/files/0003-Set-OpenCSW-build-options.patch	2010-12-18 20:39:34 UTC (rev 12011)
@@ -1,317 +0,0 @@
-From 5c1f33d87884e0c66ace1fd36e290cbe28d5c0de Mon Sep 17 00:00:00 2001
-From: Ben Walton <bwalton at opencsw.org>
-Date: Tue, 14 Dec 2010 03:31:46 +0100
-Subject: [PATCH] Set OpenCSW build options
-
-Modify the template Local/Makefile to set the options for the csw
-environment.
-
-Signed-off-by: Ben Walton <bwalton at opencsw.org>
----
- Local/Makefile |   90 ++++++++++++++++++++++++++++----------------------------
- 1 files changed, 45 insertions(+), 45 deletions(-)
-
-diff --git a/Local/Makefile b/Local/Makefile
-index 9869eb1..6ba1bf8 100644
---- a/Local/Makefile
-+++ b/Local/Makefile
-@@ -100,7 +100,7 @@
- # /usr/local/sbin. The installation script will try to create this directory,
- # and any superior directories, if they do not exist.
- 
--BIN_DIRECTORY=/usr/exim/bin
-+BIN_DIRECTORY=/opt/csw/sbin
- 
- 
- #------------------------------------------------------------------------------
-@@ -116,7 +116,7 @@ BIN_DIRECTORY=/usr/exim/bin
- # don't exist. It will also install a default runtime configuration if this
- # file does not exist.
- 
--CONFIGURE_FILE=/usr/exim/configure
-+CONFIGURE_FILE=/opt/csw/etc/exim/exim.conf
- 
- # It is possible to specify a colon-separated list of files for CONFIGURE_FILE.
- # In this case, Exim will use the first of them that exists when it is run.
-@@ -134,7 +134,7 @@ CONFIGURE_FILE=/usr/exim/configure
- # owner of a local mailbox.) Specifying these values as root is very strongly
- # discouraged.
- 
--EXIM_USER=
-+EXIM_USER=ref:exim
- 
- # If you specify EXIM_USER as a name, this is looked up at build time, and the
- # uid number is built into the binary. However, you can specify that this
-@@ -176,7 +176,7 @@ EXIM_USER=
- 
- # Almost all installations choose this:
- 
--SPOOL_DIRECTORY=/var/spool/exim
-+SPOOL_DIRECTORY=/opt/csw/var/spool/exim
- 
- 
- 
-@@ -214,7 +214,7 @@ ROUTER_REDIRECT=yes
- 
- # This one is very special-purpose, so is not included by default.
- 
--# ROUTER_IPLOOKUP=yes
-+ROUTER_IPLOOKUP=yes
- 
- 
- #------------------------------------------------------------------------------
-@@ -235,7 +235,7 @@ TRANSPORT_SMTP=yes
- # This one is special-purpose, and commonly not required, so it is not
- # included by default.
- 
--# TRANSPORT_LMTP=yes
-+TRANSPORT_LMTP=yes
- 
- 
- #------------------------------------------------------------------------------
-@@ -244,9 +244,9 @@ TRANSPORT_SMTP=yes
- # MBX, is included only when requested. If you do not know what this is about,
- # leave these settings commented out.
- 
--# SUPPORT_MAILDIR=yes
--# SUPPORT_MAILSTORE=yes
--# SUPPORT_MBX=yes
-+SUPPORT_MAILDIR=yes
-+SUPPORT_MAILSTORE=yes
-+SUPPORT_MBX=yes
- 
- 
- #------------------------------------------------------------------------------
-@@ -262,16 +262,16 @@ LOOKUP_DBM=yes
- LOOKUP_LSEARCH=yes
- LOOKUP_DNSDB=yes
- 
--# LOOKUP_CDB=yes
--# LOOKUP_DSEARCH=yes
-+LOOKUP_CDB=yes
-+LOOKUP_DSEARCH=yes
- # LOOKUP_IBASE=yes
--# LOOKUP_LDAP=yes
--# LOOKUP_MYSQL=yes
--# LOOKUP_NIS=yes
--# LOOKUP_NISPLUS=yes
-+LOOKUP_LDAP=yes
-+LOOKUP_MYSQL=yes
-+LOOKUP_NIS=yes
-+LOOKUP_NISPLUS=yes
- # LOOKUP_ORACLE=yes
--# LOOKUP_PASSWD=yes
--# LOOKUP_PGSQL=yes
-+LOOKUP_PASSWD=yes
-+LOOKUP_PGSQL=yes
- # LOOKUP_SQLITE=yes
- # LOOKUP_WHOSON=yes
- 
-@@ -292,7 +292,7 @@ LOOKUP_DNSDB=yes
- # with Solaris 7 onwards. Uncomment whichever of these you are using.
- 
- # LDAP_LIB_TYPE=OPENLDAP1
--# LDAP_LIB_TYPE=OPENLDAP2
-+LDAP_LIB_TYPE=OPENLDAP2
- # LDAP_LIB_TYPE=NETSCAPE
- # LDAP_LIB_TYPE=SOLARIS
- 
-@@ -321,8 +321,8 @@ PCRE_LIBS=-lpcre
- # specified in INCLUDE. The settings below are just examples; -lpq is for
- # PostgreSQL, -lgds is for Interbase, -lsqlite3 is for SQLite.
- 
--# LOOKUP_INCLUDE=-I /usr/local/ldap/include -I /usr/local/mysql/include -I /usr/local/pgsql/include
--# LOOKUP_LIBS=-L/usr/local/lib -lldap -llber -lmysqlclient -lpq -lgds -lsqlite3
-+LOOKUP_INCLUDE=-I /opt/csw/mysql5/include/mysql -I /opt/csw/postgresql/include
-+LOOKUP_LIBS=-L/opt/csw/mysql5/lib/mysql -L/opt/csw/postgresql/lib -lldap -llber -lmysqlclient -lpq
- 
- 
- #------------------------------------------------------------------------------
-@@ -343,14 +343,14 @@ EXIM_MONITOR=eximon.bin
- # and the MIME ACL. Please read the documentation to learn more about these
- # features.
- 
--# WITH_CONTENT_SCAN=yes
-+WITH_CONTENT_SCAN=yes
- 
- # If you want to use the deprecated "demime" condition in the DATA ACL,
- # uncomment the line below. Doing so will also explicitly turn on the
- # WITH_CONTENT_SCAN option. If possible, use the MIME ACL instead of
- # the "demime" condition.
- 
--# WITH_OLD_DEMIME=yes
-+WITH_OLD_DEMIME=yes
- 
- #------------------------------------------------------------------------------
- # Compiling Exim with experimental features. These are documented in
-@@ -361,9 +361,9 @@ EXIM_MONITOR=eximon.bin
- # installed on your system (www.libspf2.org). Depending on where it is installed
- # you may have to edit the CFLAGS and LDFLAGS lines.
- 
--# EXPERIMENTAL_SPF=yes
-+EXPERIMENTAL_SPF=yes
- # CFLAGS  += -I/usr/local/include
--# LDFLAGS += -lspf2
-+LDFLAGS += -lspf2
- 
- # Uncomment the following lines to add SRS (Sender rewriting scheme) support.
- # You need to have libsrs_alt installed on your system (srs.mirtol.com).
-@@ -451,7 +451,7 @@ FIXED_NEVER_USERS=root
- # used. The prefix can be more restrictive than just a directory (the second
- # example).
- 
--# ALT_CONFIG_PREFIX=/some/directory/
-+ALT_CONFIG_PREFIX=/opt/csw/etc/exim/
- # ALT_CONFIG_PREFIX=/some/directory/exim.conf-
- 
- 
-@@ -486,11 +486,11 @@ FIXED_NEVER_USERS=root
- # included in the Exim binary. You will then need to set up the run time
- # configuration to make use of the mechanism(s) selected.
- 
--# AUTH_CRAM_MD5=yes
--# AUTH_CYRUS_SASL=yes
--# AUTH_DOVECOT=yes
--# AUTH_PLAINTEXT=yes
--# AUTH_SPA=yes
-+AUTH_CRAM_MD5=yes
-+AUTH_CYRUS_SASL=yes
-+AUTH_DOVECOT=yes
-+AUTH_PLAINTEXT=yes
-+AUTH_SPA=yes
- 
- 
- #------------------------------------------------------------------------------
-@@ -498,7 +498,7 @@ FIXED_NEVER_USERS=root
- # Cyrus SASL library installed before trying to build Exim, and you probably
- # want to uncomment the following line:
- 
--# AUTH_LIBS=-lsasl2
-+AUTH_LIBS=-lsasl2
- 
- 
- #------------------------------------------------------------------------------
-@@ -527,7 +527,7 @@ HEADERS_CHARSET="ISO-8859-1"
- # the Sieve filter support. For those OS where iconv() is known to be installed
- # as standard, the file in OS/Makefile-xxxx contains
- #
--# HAVE_ICONV=yes
-+HAVE_ICONV=yes
- #
- # If you are not using one of those systems, but have installed iconv(), you
- # need to uncomment that line above. In some cases, you may find that iconv()
-@@ -536,7 +536,7 @@ HEADERS_CHARSET="ISO-8859-1"
- #
- # HAVE_ICONV=yes
- # CFLAGS=-O -I/usr/local/include
--# EXTRALIBS_EXIM=-L/usr/local/lib -liconv
-+EXTRALIBS_EXIM=-L/opt/csw/lib -liconv -lpam -ldl
- #
- # but of course there may need to be other things in CFLAGS and EXTRALIBS_EXIM
- # as well.
-@@ -589,10 +589,10 @@ HEADERS_CHARSET="ISO-8859-1"
- # leave these settings commented out.
- 
- # This setting is required for any TLS support (either OpenSSL or GnuTLS)
--# SUPPORT_TLS=yes
-+SUPPORT_TLS=yes
- 
- # Uncomment this setting if you are using OpenSSL
--# TLS_LIBS=-lssl -lcrypto
-+TLS_LIBS=-lssl -lcrypto
- 
- # Uncomment these settings if you are using GnuTLS
- # USE_GNUTLS=yes
-@@ -611,7 +611,7 @@ HEADERS_CHARSET="ISO-8859-1"
- # with all your other libraries. If they are in a special directory, you may
- # need something like
- 
--# TLS_LIBS=-L/usr/local/openssl/lib -lssl -lcrypto
-+TLS_LIBS=-L/opt/csw/lib/ -lssl -lcrypto
- # or
- # TLS_LIBS=-L/opt/gnu/lib -lgnutls -ltasn1 -lgcrypt
- 
-@@ -619,7 +619,7 @@ HEADERS_CHARSET="ISO-8859-1"
- # auxiliary programs. If the include files are not in a standard place, you can
- # set TLS_INCLUDE to specify where they are, for example:
- 
--# TLS_INCLUDE=-I/usr/local/openssl/include/
-+TLS_INCLUDE=-I/opt/csw/include/openssl
- # or
- # TLS_INCLUDE=-I/opt/gnu/include
- 
-@@ -643,7 +643,7 @@ HEADERS_CHARSET="ISO-8859-1"
- # Once you have done this, "make install" will build the info files and
- # install them in the directory you have defined.
- 
--# INFO_DIRECTORY=/usr/share/info
-+INFO_DIRECTORY=/opt/csw/share/info
- 
- 
- #------------------------------------------------------------------------------
-@@ -656,7 +656,7 @@ HEADERS_CHARSET="ISO-8859-1"
- # %s. This will be replaced by one of the strings "main", "panic", or "reject"
- # to form the final file names. Some installations may want something like this:
- 
--# LOG_FILE_PATH=/var/log/exim_%slog
-+LOG_FILE_PATH=/opt/csw/var/log/%slog
- 
- # which results in files with names /var/log/exim_mainlog, etc. The directory
- # in which the log files are placed must exist; Exim does not try to create
-@@ -705,7 +705,7 @@ EXICYCLOG_MAX=10
- # files. Both the name of the command and the suffix that it adds to files
- # need to be defined here. See also the EXICYCLOG_MAX configuration.
- 
--COMPRESS_COMMAND=/usr/bin/gzip
-+COMPRESS_COMMAND=/opt/csw/bin/gzip
- COMPRESS_SUFFIX=gz
- 
- 
-@@ -713,7 +713,7 @@ COMPRESS_SUFFIX=gz
- # If the exigrep utility is fed compressed log files, it tries to uncompress
- # them using this command.
- 
--ZCAT_COMMAND=/usr/bin/zcat
-+ZCAT_COMMAND=/opt/csw/bin/zcat
- 
- 
- #------------------------------------------------------------------------------
-@@ -732,7 +732,7 @@ ZCAT_COMMAND=/usr/bin/zcat
- # that the local_scan API is made available by the linker. You may also need
- # to add -ldl to EXTRALIBS so that dlopen() is available to Exim.
- 
--# EXPAND_DLFUNC=yes
-+EXPAND_DLFUNC=yes
- 
- 
- #------------------------------------------------------------------------------
-@@ -742,7 +742,7 @@ ZCAT_COMMAND=/usr/bin/zcat
- # support, which is intended for use in conjunction with the SMTP AUTH
- # facilities, is included only when requested by the following setting:
- 
--# SUPPORT_PAM=yes
-+SUPPORT_PAM=yes
- 
- # You probably need to add -lpam to EXTRALIBS, and in some releases of
- # GNU/Linux -ldl is also needed.
-@@ -839,7 +839,7 @@ ZCAT_COMMAND=/usr/bin/zcat
- # (the value doesn't matter), the symbolic link is not created or moved. You
- # will then have to "turn Exim on" by setting up the link manually.
- 
--# NO_SYMLINK=yes
-+NO_SYMLINK=yes
- 
- 
- #------------------------------------------------------------------------------
-@@ -851,7 +851,7 @@ ZCAT_COMMAND=/usr/bin/zcat
- # aliases). The following setting can be changed to specify a different
- # location for the system alias file.
- 
--SYSTEM_ALIASES_FILE=/etc/aliases
-+SYSTEM_ALIASES_FILE=/opt/csw/etc/exim/aliases
- 
- 
- #------------------------------------------------------------------------------
--- 
-1.7.3.2
-

Copied: csw/mgar/pkg/exim/branches/dir-loc-fixes/files/0003-Set-OpenCSW-build-options.patch (from rev 12007, csw/mgar/pkg/exim/trunk/files/0003-Set-OpenCSW-build-options.patch)
===================================================================
--- csw/mgar/pkg/exim/branches/dir-loc-fixes/files/0003-Set-OpenCSW-build-options.patch	                        (rev 0)
+++ csw/mgar/pkg/exim/branches/dir-loc-fixes/files/0003-Set-OpenCSW-build-options.patch	2010-12-18 20:39:34 UTC (rev 12011)
@@ -0,0 +1,317 @@
+From 5c1f33d87884e0c66ace1fd36e290cbe28d5c0de Mon Sep 17 00:00:00 2001
+From: Ben Walton <bwalton at opencsw.org>
+Date: Tue, 14 Dec 2010 03:31:46 +0100
+Subject: [PATCH] Set OpenCSW build options
+
+Modify the template Local/Makefile to set the options for the csw
+environment.
+
+Signed-off-by: Ben Walton <bwalton at opencsw.org>
+---
+ Local/Makefile |   90 ++++++++++++++++++++++++++++----------------------------
+ 1 files changed, 45 insertions(+), 45 deletions(-)
+
+diff --git a/Local/Makefile b/Local/Makefile
+index 9869eb1..6ba1bf8 100644
+--- a/Local/Makefile
++++ b/Local/Makefile
+@@ -100,7 +100,7 @@
+ # /usr/local/sbin. The installation script will try to create this directory,
+ # and any superior directories, if they do not exist.
+ 
+-BIN_DIRECTORY=/usr/exim/bin
++BIN_DIRECTORY=/opt/csw/sbin
+ 
+ 
+ #------------------------------------------------------------------------------
+@@ -116,7 +116,7 @@ BIN_DIRECTORY=/usr/exim/bin
+ # don't exist. It will also install a default runtime configuration if this
+ # file does not exist.
+ 
+-CONFIGURE_FILE=/usr/exim/configure
++CONFIGURE_FILE=/opt/csw/etc/exim/exim.conf
+ 
+ # It is possible to specify a colon-separated list of files for CONFIGURE_FILE.
+ # In this case, Exim will use the first of them that exists when it is run.
+@@ -134,7 +134,7 @@ CONFIGURE_FILE=/usr/exim/configure
+ # owner of a local mailbox.) Specifying these values as root is very strongly
+ # discouraged.
+ 
+-EXIM_USER=
++EXIM_USER=ref:exim
+ 
+ # If you specify EXIM_USER as a name, this is looked up at build time, and the
+ # uid number is built into the binary. However, you can specify that this
+@@ -176,7 +176,7 @@ EXIM_USER=
+ 
+ # Almost all installations choose this:
+ 
+-SPOOL_DIRECTORY=/var/spool/exim
++SPOOL_DIRECTORY=/opt/csw/var/spool/exim
+ 
+ 
+ 
+@@ -214,7 +214,7 @@ ROUTER_REDIRECT=yes
+ 
+ # This one is very special-purpose, so is not included by default.
+ 
+-# ROUTER_IPLOOKUP=yes
++ROUTER_IPLOOKUP=yes
+ 
+ 
+ #------------------------------------------------------------------------------
+@@ -235,7 +235,7 @@ TRANSPORT_SMTP=yes
+ # This one is special-purpose, and commonly not required, so it is not
+ # included by default.
+ 
+-# TRANSPORT_LMTP=yes
++TRANSPORT_LMTP=yes
+ 
+ 
+ #------------------------------------------------------------------------------
+@@ -244,9 +244,9 @@ TRANSPORT_SMTP=yes
+ # MBX, is included only when requested. If you do not know what this is about,
+ # leave these settings commented out.
+ 
+-# SUPPORT_MAILDIR=yes
+-# SUPPORT_MAILSTORE=yes
+-# SUPPORT_MBX=yes
++SUPPORT_MAILDIR=yes
++SUPPORT_MAILSTORE=yes
++SUPPORT_MBX=yes
+ 
+ 
+ #------------------------------------------------------------------------------
+@@ -262,16 +262,16 @@ LOOKUP_DBM=yes
+ LOOKUP_LSEARCH=yes
+ LOOKUP_DNSDB=yes
+ 
+-# LOOKUP_CDB=yes
+-# LOOKUP_DSEARCH=yes
++LOOKUP_CDB=yes
++LOOKUP_DSEARCH=yes
+ # LOOKUP_IBASE=yes
+-# LOOKUP_LDAP=yes
+-# LOOKUP_MYSQL=yes
+-# LOOKUP_NIS=yes
+-# LOOKUP_NISPLUS=yes
++LOOKUP_LDAP=yes
++LOOKUP_MYSQL=yes
++LOOKUP_NIS=yes
++LOOKUP_NISPLUS=yes
+ # LOOKUP_ORACLE=yes
+-# LOOKUP_PASSWD=yes
+-# LOOKUP_PGSQL=yes
++LOOKUP_PASSWD=yes
++LOOKUP_PGSQL=yes
+ # LOOKUP_SQLITE=yes
+ # LOOKUP_WHOSON=yes
+ 
+@@ -292,7 +292,7 @@ LOOKUP_DNSDB=yes
+ # with Solaris 7 onwards. Uncomment whichever of these you are using.
+ 
+ # LDAP_LIB_TYPE=OPENLDAP1
+-# LDAP_LIB_TYPE=OPENLDAP2
++LDAP_LIB_TYPE=OPENLDAP2
+ # LDAP_LIB_TYPE=NETSCAPE
+ # LDAP_LIB_TYPE=SOLARIS
+ 
+@@ -321,8 +321,8 @@ PCRE_LIBS=-lpcre
+ # specified in INCLUDE. The settings below are just examples; -lpq is for
+ # PostgreSQL, -lgds is for Interbase, -lsqlite3 is for SQLite.
+ 
+-# LOOKUP_INCLUDE=-I /usr/local/ldap/include -I /usr/local/mysql/include -I /usr/local/pgsql/include
+-# LOOKUP_LIBS=-L/usr/local/lib -lldap -llber -lmysqlclient -lpq -lgds -lsqlite3
++LOOKUP_INCLUDE=-I /opt/csw/mysql5/include/mysql -I /opt/csw/postgresql/include
++LOOKUP_LIBS=-L/opt/csw/mysql5/lib/mysql -L/opt/csw/postgresql/lib -lldap -llber -lmysqlclient -lpq
+ 
+ 
+ #------------------------------------------------------------------------------
+@@ -343,14 +343,14 @@ EXIM_MONITOR=eximon.bin
+ # and the MIME ACL. Please read the documentation to learn more about these
+ # features.
+ 
+-# WITH_CONTENT_SCAN=yes
++WITH_CONTENT_SCAN=yes
+ 
+ # If you want to use the deprecated "demime" condition in the DATA ACL,
+ # uncomment the line below. Doing so will also explicitly turn on the
+ # WITH_CONTENT_SCAN option. If possible, use the MIME ACL instead of
+ # the "demime" condition.
+ 
+-# WITH_OLD_DEMIME=yes
++WITH_OLD_DEMIME=yes
+ 
+ #------------------------------------------------------------------------------
+ # Compiling Exim with experimental features. These are documented in
+@@ -361,9 +361,9 @@ EXIM_MONITOR=eximon.bin
+ # installed on your system (www.libspf2.org). Depending on where it is installed
+ # you may have to edit the CFLAGS and LDFLAGS lines.
+ 
+-# EXPERIMENTAL_SPF=yes
++EXPERIMENTAL_SPF=yes
+ # CFLAGS  += -I/usr/local/include
+-# LDFLAGS += -lspf2
++LDFLAGS += -lspf2
+ 
+ # Uncomment the following lines to add SRS (Sender rewriting scheme) support.
+ # You need to have libsrs_alt installed on your system (srs.mirtol.com).
+@@ -451,7 +451,7 @@ FIXED_NEVER_USERS=root
+ # used. The prefix can be more restrictive than just a directory (the second
+ # example).
+ 
+-# ALT_CONFIG_PREFIX=/some/directory/
++ALT_CONFIG_PREFIX=/opt/csw/etc/exim/
+ # ALT_CONFIG_PREFIX=/some/directory/exim.conf-
+ 
+ 
+@@ -486,11 +486,11 @@ FIXED_NEVER_USERS=root
+ # included in the Exim binary. You will then need to set up the run time
+ # configuration to make use of the mechanism(s) selected.
+ 
+-# AUTH_CRAM_MD5=yes
+-# AUTH_CYRUS_SASL=yes
+-# AUTH_DOVECOT=yes
+-# AUTH_PLAINTEXT=yes
+-# AUTH_SPA=yes
++AUTH_CRAM_MD5=yes
++AUTH_CYRUS_SASL=yes
++AUTH_DOVECOT=yes
++AUTH_PLAINTEXT=yes
++AUTH_SPA=yes
+ 
+ 
+ #------------------------------------------------------------------------------
+@@ -498,7 +498,7 @@ FIXED_NEVER_USERS=root
+ # Cyrus SASL library installed before trying to build Exim, and you probably
+ # want to uncomment the following line:
+ 
+-# AUTH_LIBS=-lsasl2
++AUTH_LIBS=-lsasl2
+ 
+ 
+ #------------------------------------------------------------------------------
+@@ -527,7 +527,7 @@ HEADERS_CHARSET="ISO-8859-1"
+ # the Sieve filter support. For those OS where iconv() is known to be installed
+ # as standard, the file in OS/Makefile-xxxx contains
+ #
+-# HAVE_ICONV=yes
++HAVE_ICONV=yes
+ #
+ # If you are not using one of those systems, but have installed iconv(), you
+ # need to uncomment that line above. In some cases, you may find that iconv()
+@@ -536,7 +536,7 @@ HEADERS_CHARSET="ISO-8859-1"
+ #
+ # HAVE_ICONV=yes
+ # CFLAGS=-O -I/usr/local/include
+-# EXTRALIBS_EXIM=-L/usr/local/lib -liconv
++EXTRALIBS_EXIM=-L/opt/csw/lib -liconv -lpam -ldl
+ #
+ # but of course there may need to be other things in CFLAGS and EXTRALIBS_EXIM
+ # as well.
+@@ -589,10 +589,10 @@ HEADERS_CHARSET="ISO-8859-1"
+ # leave these settings commented out.
+ 
+ # This setting is required for any TLS support (either OpenSSL or GnuTLS)
+-# SUPPORT_TLS=yes
++SUPPORT_TLS=yes
+ 
+ # Uncomment this setting if you are using OpenSSL
+-# TLS_LIBS=-lssl -lcrypto
++TLS_LIBS=-lssl -lcrypto
+ 
+ # Uncomment these settings if you are using GnuTLS
+ # USE_GNUTLS=yes
+@@ -611,7 +611,7 @@ HEADERS_CHARSET="ISO-8859-1"
+ # with all your other libraries. If they are in a special directory, you may
+ # need something like
+ 
+-# TLS_LIBS=-L/usr/local/openssl/lib -lssl -lcrypto
++TLS_LIBS=-L/opt/csw/lib/ -lssl -lcrypto
+ # or
+ # TLS_LIBS=-L/opt/gnu/lib -lgnutls -ltasn1 -lgcrypt
+ 
+@@ -619,7 +619,7 @@ HEADERS_CHARSET="ISO-8859-1"
+ # auxiliary programs. If the include files are not in a standard place, you can
+ # set TLS_INCLUDE to specify where they are, for example:
+ 
+-# TLS_INCLUDE=-I/usr/local/openssl/include/
++TLS_INCLUDE=-I/opt/csw/include/openssl
+ # or
+ # TLS_INCLUDE=-I/opt/gnu/include
+ 
+@@ -643,7 +643,7 @@ HEADERS_CHARSET="ISO-8859-1"
+ # Once you have done this, "make install" will build the info files and
+ # install them in the directory you have defined.
+ 
+-# INFO_DIRECTORY=/usr/share/info
++INFO_DIRECTORY=/opt/csw/share/info
+ 
+ 
+ #------------------------------------------------------------------------------
+@@ -656,7 +656,7 @@ HEADERS_CHARSET="ISO-8859-1"
+ # %s. This will be replaced by one of the strings "main", "panic", or "reject"
+ # to form the final file names. Some installations may want something like this:
+ 
+-# LOG_FILE_PATH=/var/log/exim_%slog
++LOG_FILE_PATH=/opt/csw/var/log/exim/%slog
+ 
+ # which results in files with names /var/log/exim_mainlog, etc. The directory
+ # in which the log files are placed must exist; Exim does not try to create
+@@ -705,7 +705,7 @@ EXICYCLOG_MAX=10
+ # files. Both the name of the command and the suffix that it adds to files
+ # need to be defined here. See also the EXICYCLOG_MAX configuration.
+ 
+-COMPRESS_COMMAND=/usr/bin/gzip
++COMPRESS_COMMAND=/opt/csw/bin/gzip
+ COMPRESS_SUFFIX=gz
+ 
+ 
+@@ -713,7 +713,7 @@ COMPRESS_SUFFIX=gz
+ # If the exigrep utility is fed compressed log files, it tries to uncompress
+ # them using this command.
+ 
+-ZCAT_COMMAND=/usr/bin/zcat
++ZCAT_COMMAND=/opt/csw/bin/zcat
+ 
+ 
+ #------------------------------------------------------------------------------
+@@ -732,7 +732,7 @@ ZCAT_COMMAND=/usr/bin/zcat
+ # that the local_scan API is made available by the linker. You may also need
+ # to add -ldl to EXTRALIBS so that dlopen() is available to Exim.
+ 
+-# EXPAND_DLFUNC=yes
++EXPAND_DLFUNC=yes
+ 
+ 
+ #------------------------------------------------------------------------------
+@@ -742,7 +742,7 @@ ZCAT_COMMAND=/usr/bin/zcat
+ # support, which is intended for use in conjunction with the SMTP AUTH
+ # facilities, is included only when requested by the following setting:
+ 
+-# SUPPORT_PAM=yes
++SUPPORT_PAM=yes
+ 
+ # You probably need to add -lpam to EXTRALIBS, and in some releases of
+ # GNU/Linux -ldl is also needed.
+@@ -839,7 +839,7 @@ ZCAT_COMMAND=/usr/bin/zcat
+ # (the value doesn't matter), the symbolic link is not created or moved. You
+ # will then have to "turn Exim on" by setting up the link manually.
+ 
+-# NO_SYMLINK=yes
++NO_SYMLINK=yes
+ 
+ 
+ #------------------------------------------------------------------------------
+@@ -851,7 +851,7 @@ ZCAT_COMMAND=/usr/bin/zcat
+ # aliases). The following setting can be changed to specify a different
+ # location for the system alias file.
+ 
+-SYSTEM_ALIASES_FILE=/etc/aliases
++SYSTEM_ALIASES_FILE=/opt/csw/etc/exim/aliases
+ 
+ 
+ #------------------------------------------------------------------------------
+-- 
+1.7.3.2
+

Deleted: csw/mgar/pkg/exim/branches/dir-loc-fixes/files/cswexim
===================================================================
--- csw/mgar/pkg/exim/trunk/files/cswexim	2010-12-17 20:22:15 UTC (rev 11990)
+++ csw/mgar/pkg/exim/branches/dir-loc-fixes/files/cswexim	2010-12-18 20:39:34 UTC (rev 12011)
@@ -1,62 +0,0 @@
-#! /bin/sh
-# /etc/init.d/exim
-#
-# Written by Miquel van Smoorenburg <miquels at drinkel.ow.org>.
-# Modified for Debian GNU/Linux by Ian Murdock <imurdock at gnu.ai.mit.edu>.
-# Modified for exim by Tim Cutts <timc at chiark.greenend.org.uk>
-# Modified for Blastwave by Markus Mayer <mmayer at blastwave.org>
-# Modified for OpenCSW by Ben Walton <bwalton at opencsw.org>
-
-# These are consumed by the i.cswinitsmf class action script
-#MANIFEST /var/opt/csw/svc/manifest/network/exim.xml
-
-# Exit if exim (or another MTA) runs from /etc/inetd.conf
-if [ -f /etc/inetd.conf ] && grep "^ *\([0-9.]\+:\)\?smtp" /etc/inetd.conf >/dev/null; then
-    exit 0
-fi
-
-DAEMON=/opt/csw/sbin/exim
-PIDFILE=/var/run/exim.pid
-CONFFILE=/opt/csw/etc/exim/exim.conf
-ENVFILE=/opt/csw/etc/exim/exim-env.sh
-
-# Exit if there's no exim binary
-test -x "$DAEMON" || exit 0
-
-# Make sure we have exim.conf
-test -r "$CONFFILE" || exit 0
-
-# Read customizable environment if it exists
-test -r "$ENVFILE" && . "$ENVFILE"
-
-# Use default parameters if $ENVFILE doesn't set $EXIM_PARAMS
-test -z "$EXIM_PARAMS" && EXIM_PARAMS="-bd -q30m"
-
-case "$1" in
-  start)
-    echo "Starting MTA: \c"
-    $DAEMON $EXIM_PARAMS
-    echo "exim."
-    ;;
-  stop)
-    echo "Stopping MTA: \c"
-    kill `cat "$PIDFILE"`
-    echo "exim."
-      ;;
-  restart)
-    echo "Restarting MTA: \c"
-    kill `cat "$PIDFILE"`
-    $DAEMON $EXIM_PARAMS
-    echo "exim."
-    ;;
-  reload|refresh|force-reload)
-    echo "Reloading exim configuration files"
-    kill -1 `cat "$PIDFILE"`
-    ;;
-  *)
-    echo "Usage: $0 {start|stop|restart|reload}"
-    exit 1
-    ;;
-esac
-
-exit 0

Copied: csw/mgar/pkg/exim/branches/dir-loc-fixes/files/cswexim (from rev 12000, csw/mgar/pkg/exim/trunk/files/cswexim)
===================================================================
--- csw/mgar/pkg/exim/branches/dir-loc-fixes/files/cswexim	                        (rev 0)
+++ csw/mgar/pkg/exim/branches/dir-loc-fixes/files/cswexim	2010-12-18 20:39:34 UTC (rev 12011)
@@ -0,0 +1,59 @@
+#! /bin/sh
+# /etc/init.d/exim
+#
+# Written by Miquel van Smoorenburg <miquels at drinkel.ow.org>.
+# Modified for Debian GNU/Linux by Ian Murdock <imurdock at gnu.ai.mit.edu>.
+# Modified for exim by Tim Cutts <timc at chiark.greenend.org.uk>
+# Modified for Blastwave by Markus Mayer <mmayer at blastwave.org>
+# Modified for OpenCSW by Ben Walton <bwalton at opencsw.org>
+
+# Exit if exim (or another MTA) runs from /etc/inetd.conf
+if [ -f /etc/inetd.conf ] && grep "^ *\([0-9.]\+:\)\?smtp" /etc/inetd.conf >/dev/null; then
+    exit 0
+fi
+
+DAEMON=/opt/csw/sbin/exim
+PIDFILE=/var/run/exim.pid
+CONFFILE=/opt/csw/etc/exim/exim.conf
+ENVFILE=/opt/csw/etc/exim/exim-env.sh
+
+# Exit if there's no exim binary
+test -x "$DAEMON" || exit 0
+
+# Make sure we have exim.conf
+test -r "$CONFFILE" || exit 0
+
+# Read customizable environment if it exists
+test -r "$ENVFILE" && . "$ENVFILE"
+
+# Use default parameters if $ENVFILE doesn't set $EXIM_PARAMS
+test -z "$EXIM_PARAMS" && EXIM_PARAMS="-bd -q30m"
+
+case "$1" in
+  start)
+    echo "Starting MTA: \c"
+    $DAEMON $EXIM_PARAMS
+    echo "exim."
+    ;;
+  stop)
+    echo "Stopping MTA: \c"
+    kill `cat "$PIDFILE"`
+    echo "exim."
+      ;;
+  restart)
+    echo "Restarting MTA: \c"
+    kill `cat "$PIDFILE"`
+    $DAEMON $EXIM_PARAMS
+    echo "exim."
+    ;;
+  reload|refresh|force-reload)
+    echo "Reloading exim configuration files"
+    kill -1 `cat "$PIDFILE"`
+    ;;
+  *)
+    echo "Usage: $0 {start|stop|restart|reload}"
+    exit 1
+    ;;
+esac
+
+exit 0


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