[csw-devel] SF.net SVN: gar:[18238] csw/mgar/pkg/exim/trunk
bdwalton at users.sourceforge.net
bdwalton at users.sourceforge.net
Thu Jun 7 02:10:55 CEST 2012
Revision: 18238
http://gar.svn.sourceforge.net/gar/?rev=18238&view=rev
Author: bdwalton
Date: 2012-06-07 00:10:55 +0000 (Thu, 07 Jun 2012)
Log Message:
-----------
exim/trunk: setup the sendmail/mailq/newaliases alternatives handling
Modified Paths:
--------------
csw/mgar/pkg/exim/trunk/Makefile
Added Paths:
-----------
csw/mgar/pkg/exim/trunk/files/newaliases
Modified: csw/mgar/pkg/exim/trunk/Makefile
===================================================================
--- csw/mgar/pkg/exim/trunk/Makefile 2012-06-06 21:09:26 UTC (rev 18237)
+++ csw/mgar/pkg/exim/trunk/Makefile 2012-06-07 00:10:55 UTC (rev 18238)
@@ -53,6 +53,8 @@
PRESERVECONF += /etc/opt/csw/exim/exim.conf /etc/opt/csw/exim/exim-env.sh
PRESERVECONF += /etc/opt/csw/exim/aliases
+ALTERNATIVE = /opt/csw/bin/sendmail sendmail /opt/csw/sbin/sendmail.exim 50 /opt/csw/bin/mailq mailq /opt/csw/bin/mailq.exim /opt/csw/bin/newaliases newaliases /opt/csw/bin/newaliases.exim
+
# scripts/exim_install has been patched to use this variable
EXIM_VERSION = $(VERSION)
export EXIM_VERSION
@@ -145,5 +147,9 @@
post-merge:
( cd $(PKGROOT); mkdir -p ./$(UGPATH); \
echo "$(UGENTRY)" > ./$(UGPATH)/cswusergroup )
- ( cd $(PKGROOT); mkdir -p var/opt/csw/log/exim )
+ ( cd $(PKGROOT); mkdir -p opt/csw/bin var/opt/csw/log/exim )
+ @( cd $(PKGROOT)/$(bindir); \
+ ln -s ../sbin/exim sendmail.exim; \
+ ln -s ../sbin/exim mailq.exim; \
+ ginstall -m 0755 $(abspath $(FILEDIR))/newaliases $(PKGROOT)/$(bindir)/newaliases.exim )
@$(MAKECOOKIE)
Added: csw/mgar/pkg/exim/trunk/files/newaliases
===================================================================
--- csw/mgar/pkg/exim/trunk/files/newaliases (rev 0)
+++ csw/mgar/pkg/exim/trunk/files/newaliases 2012-06-07 00:10:55 UTC (rev 18238)
@@ -0,0 +1,4 @@
+#!/bin/ksh
+
+# Note: This script is part of CSWexim
+/opt/csw/bin/exim -bi
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