[csw-devel] SF.net SVN: gar:[17104] csw/mgar/pkg
idogan23 at users.sourceforge.net
idogan23 at users.sourceforge.net
Tue Feb 21 12:55:43 CET 2012
Revision: 17104
http://gar.svn.sourceforge.net/gar/?rev=17104&view=rev
Author: idogan23
Date: 2012-02-21 11:55:43 +0000 (Tue, 21 Feb 2012)
Log Message:
-----------
mule: initial commit
Added Paths:
-----------
csw/mgar/pkg/mule/
csw/mgar/pkg/mule/Makefile
csw/mgar/pkg/mule/branches/
csw/mgar/pkg/mule/tags/
csw/mgar/pkg/mule/trunk/
csw/mgar/pkg/mule/trunk/Makefile
csw/mgar/pkg/mule/trunk/checksums
csw/mgar/pkg/mule/trunk/files/
csw/mgar/pkg/mule/trunk/files/0001-javapath.patch
csw/mgar/pkg/mule/trunk/files/cswmule
csw/mgar/pkg/mule/trunk/files/cswmule.xml
csw/mgar/pkg/mule/trunk/files/cswusergroup
Copied: csw/mgar/pkg/mule/Makefile (from rev 17088, csw/mgar/pkg/template/Makefile)
===================================================================
--- csw/mgar/pkg/mule/Makefile (rev 0)
+++ csw/mgar/pkg/mule/Makefile 2012-02-21 11:55:43 UTC (rev 17104)
@@ -0,0 +1,15 @@
+# vim: ft=make ts=4 sw=4 noet
+
+default:
+ @echo "You are in the pkg/ directory."
+
+%:
+ $(MAKE) -C trunk $*
+
+paranoid-%:
+ $(MAKE) -C trunk $* || exit 2
+
+export BUILDLOG ?= $(shell pwd)/buildlog.txt
+
+report-%:
+ $(MAKE) -C trunk $* || echo " *** make $* in $$i failed ***" >> $(BUILDLOG)
Property changes on: csw/mgar/pkg/mule/trunk
___________________________________________________________________
Added: svn:ignore
+ cookies
download
work
Added: csw/mgar/pkg/mule/trunk/Makefile
===================================================================
--- csw/mgar/pkg/mule/trunk/Makefile (rev 0)
+++ csw/mgar/pkg/mule/trunk/Makefile 2012-02-21 11:55:43 UTC (rev 17104)
@@ -0,0 +1,64 @@
+NAME = mule
+VERSION = 3.2.1
+GARTYPE = v2
+CATEGORIES = server
+
+DESCRIPTION = Java based lightweight enterprise service bus
+define BLURB
+ Lightweight enterprise service bus (ESB) and integration framework
+endef
+
+MASTER_SITES = http://www.mulesoft.org/
+DISTNAME = $(NAME)-standalone-$(VERSION)
+DISTFILES = $(DISTNAME).tar.gz
+DISTFILES += cswusergroup
+DISTFILES += cswmule.xml
+
+PATCHFILES += 0001-javapath.patch
+
+PACKAGING_PLATFORMS += solaris10-sparc solaris10-i386
+
+ARCHALL = 1
+
+# File name regex to get notifications about upstream software releases
+# NOTE: Use this only if the automatic regex creation
+# does not work for your package
+# UFILES_REGEX = $(NAME)-(\d+(?:\.\d+)*).tar.gz
+
+# If the url used to check for software update is different of MASTER_SITES, then
+# uncomment the next line. Otherwise it is set by default to the value of MASTER_SITES
+# UPSTREAM_MASTER_SITES =
+
+CONFIGURE_SCRIPTS =
+BUILD_SCRIPTS =
+TEST_SCRIPTS =
+INSTALL_SCRIPTS = custom
+
+SPKG_CLASSES = none cswinitsmf cswsampleconf cswusergroup ugfiles
+INITSMF = /etc/opt/csw/init.d/cswmule
+PRESERVECONF = /opt/csw/mule/conf/.*
+USERGROUP = /etc/opt/csw/pkg/CSWmule/cswusergroup
+
+PROTOTYPE_MODIFIERS = mule_ugfiles
+MULE_UGFILES = /opt/csw/mule/conf /var/opt/csw/mule/logs
+PROTOTYPE_FILES_mule_ugfiles = $(MULE_UGFILES)
+PROTOTYPE_USER_mule_ugfiles = mule
+PROTOTYPE_GROUP_mule_ugfiles = mule
+PROTOTYPE_CLASS_mule_ugfiles = ugfiles
+
+install-custom:
+ @ginstall -d $(DESTDIR)/opt/csw/$(NAME)
+ @cp -rp $(WORKDIR)/$(DISTNAME)/* $(DESTDIR)/opt/csw/$(NAME)
+ @ginstall -d $(DESTDIR)/var/opt/csw/mule
+ @mv $(DESTDIR)/opt/csw/mule/logs $(DESTDIR)/var/opt/csw/mule
+ @ln -s $(DESTDIR)/var/opt/csw/mule/logs $(DESTDIR)/opt/csw/mule/logs
+ @ginstall -d $(DESTDIR)/etc/opt/csw/init.d
+ @ginstall -m 755 $(FILEDIR)/cswmule $(DESTDIR)/etc/opt/csw/init.d/cswmule
+ @ginstall -d $(DESTDIR)/var/opt/csw/svc/manifest/application
+ @ginstall -m 644 $(FILEDIR)/cswmule.xml $(DESTDIR)/var/opt/csw/svc/manifest/application/cswmule.xml
+ @ginstall -d $(DESTDIR)/etc/opt/csw/pkg/CSWmule
+ @ginstall -m 644 $(FILEDIR)/cswusergroup $(DESTDIR)/etc/opt/csw/pkg/CSWmule/cswusergroup
+ @$(MAKECOOKIE)
+
+include gar/category.mk
+
Property changes on: csw/mgar/pkg/mule/trunk/Makefile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: csw/mgar/pkg/mule/trunk/checksums
===================================================================
--- csw/mgar/pkg/mule/trunk/checksums (rev 0)
+++ csw/mgar/pkg/mule/trunk/checksums 2012-02-21 11:55:43 UTC (rev 17104)
@@ -0,0 +1 @@
+10907926513d4b444f353c1115fd7dd2 mule-standalone-3.2.1.tar.gz
Added: csw/mgar/pkg/mule/trunk/files/0001-javapath.patch
===================================================================
--- csw/mgar/pkg/mule/trunk/files/0001-javapath.patch (rev 0)
+++ csw/mgar/pkg/mule/trunk/files/0001-javapath.patch 2012-02-21 11:55:43 UTC (rev 17104)
@@ -0,0 +1,42 @@
+From a4c99c1614cc51cf4d8b8972386a1f24051a243a Mon Sep 17 00:00:00 2001
+From: Ihsan Dogan <ihsan at opencsw.org>
+Date: Tue, 21 Feb 2012 10:58:51 +0100
+Subject: [PATCH] javapath
+
+---
+ bin/launcher | 13 +++++++++++--
+ 1 files changed, 11 insertions(+), 2 deletions(-)
+
+diff --git a/bin/launcher b/bin/launcher
+index 4c2c359..33ea58d 100755
+--- a/bin/launcher
++++ b/bin/launcher
+@@ -1,8 +1,17 @@
+ #! /bin/sh
+
++# Use CSWjre6 if installed
++if [ -x /opt/csw/java/jre/jre6/bin/java ]
++then
++ echo "==> using CSWjre6"
++ JAVA=/opt/csw/java/jre/jre6/bin/java
++else
++ echo "==> CSWjre6 not installed"
++ JAVA=
++fi
++
+ # Check for java in path
+
+-JAVA=
+ if [ -n "`which java 2>/dev/null`" ]
+ then
+ JAVA=java
+@@ -32,4 +41,4 @@ cp=${cp}:${commonsCliJar}
+
+ # The string passed to eval must handle spaces in paths correctly.
+ COMMAND_LINE="\"${JAVA}\" -Dmule.home=\"${MULE_HOME}\" -cp \"${cp}\" org.codehaus.groovy.tools.GroovyStarter --main groovy.ui.GroovyMain --conf \"${MULE_HOME}/bin/launcher.conf\" $@"
+-eval $COMMAND_LINE
+\ No newline at end of file
++eval $COMMAND_LINE
+--
+1.7.9
+
Added: csw/mgar/pkg/mule/trunk/files/cswmule
===================================================================
--- csw/mgar/pkg/mule/trunk/files/cswmule (rev 0)
+++ csw/mgar/pkg/mule/trunk/files/cswmule 2012-02-21 11:55:43 UTC (rev 17104)
@@ -0,0 +1,27 @@
+#!/sbin/sh
+
+#FMRI application
+#MANIFEST /var/opt/csw/svc/manifest/application/cswmule.xml
+
+DAEMON=/opt/csw/mule/bin/mule
+
+echo
+echo "**********************************************************************"
+echo "* You are running Solaris 9. This package might run on Solaris 9, *"
+echo "* but it is only supported on Solaris 10 and later releases. *"
+echo "**********************************************************************"
+echo
+
+case $1 in
+'start')
+ $DAEMON start
+ ;;
+'stop')
+ $DAEMON stop
+ ;;
+*)
+
+ echo "Usage: $0 { start | stop }"
+ exit 1
+ ;;
+esac
Added: csw/mgar/pkg/mule/trunk/files/cswmule.xml
===================================================================
(Binary files differ)
Property changes on: csw/mgar/pkg/mule/trunk/files/cswmule.xml
___________________________________________________________________
Added: svn:mime-type
+ application/xml
Added: csw/mgar/pkg/mule/trunk/files/cswusergroup
===================================================================
--- csw/mgar/pkg/mule/trunk/files/cswusergroup (rev 0)
+++ csw/mgar/pkg/mule/trunk/files/cswusergroup 2012-02-21 11:55:43 UTC (rev 17104)
@@ -0,0 +1 @@
+mule:mule:Mule ESP::::
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