Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master binary grimoire by Julien ROZO (fa87ad950f01c98ca3f2aa85d8af5273eadd21d4)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Julien ROZO <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master binary grimoire by Julien ROZO (fa87ad950f01c98ca3f2aa85d8af5273eadd21d4)
  • Date: Wed, 9 Feb 2011 07:07:12 -0600

GIT changes to master binary grimoire by Julien ROZO <julien AT rozo.org>:

accounts | 1
bin-http/tomcat-5.5-bin/DETAILS | 4 +-
bin-http/tomcat-5.5-bin/HISTORY | 3 +
bin-http/tomcat-6-bin/DETAILS | 4 +-
bin-http/tomcat-6-bin/HISTORY | 3 +
bin-http/tomcat-7-bin/BUILD | 1
bin-http/tomcat-7-bin/DEPENDS | 1
bin-http/tomcat-7-bin/DETAILS | 15 ++++++++
bin-http/tomcat-7-bin/HISTORY | 4 ++
bin-http/tomcat-7-bin/INSTALL | 4 ++
bin-http/tomcat-7-bin/PRE_BUILD | 3 +
bin-http/tomcat-7-bin/init.d/tomcat7 | 54
++++++++++++++++++++++++++++++
bin-http/tomcat-7-bin/init.d/tomcat7.conf | 18 ++++++++++
13 files changed, 111 insertions(+), 4 deletions(-)

New commits:
commit fa87ad950f01c98ca3f2aa85d8af5273eadd21d4
Author: Julien ROZO <julien AT rozo.org>
Commit: Julien ROZO <julien AT rozo.org>

tomcat-7-bin: new spell, an implementation of the Servlet and JSP
technologies

commit 1559acca64f663f0e55174b6ccdb325f9e8c2d2c
Author: Julien ROZO <julien AT rozo.org>
Commit: Julien ROZO <julien AT rozo.org>

tomcat-6-bin: updated version to 6.0.32

commit 7877c5c4e961a05d47ab8064cbbcbab16b496be0
Author: Julien ROZO <julien AT rozo.org>
Commit: Julien ROZO <julien AT rozo.org>

tomcat-5.5-bin: updated version to 5.5.32

diff --git a/accounts b/accounts
index e51abbc..7ecd255 100755
--- a/accounts
+++ b/accounts
@@ -4,3 +4,4 @@ tomcat5:36:35
tomcat55:37:35
tomcat6:38:35
ontopia:39:36
+tomcat7:40:35
diff --git a/bin-http/tomcat-5.5-bin/DETAILS b/bin-http/tomcat-5.5-bin/DETAILS
index 1da0405..8aff3f4 100755
--- a/bin-http/tomcat-5.5-bin/DETAILS
+++ b/bin-http/tomcat-5.5-bin/DETAILS
@@ -1,8 +1,8 @@
SPELL=tomcat-5.5-bin
- VERSION=5.5.27
+ VERSION=5.5.32
SOURCE="apache-tomcat-${VERSION}.tar.gz"
SOURCE_URL[0]=$APACHE_URL/tomcat/tomcat-5/v${VERSION}/bin/${SOURCE}
-
SOURCE_HASH=sha512:0945080a3d0cd022167538654d71dc041df20695ce448b0181caa2ea10ece57467731124eeb918f8f69680ae3736fb68ef0a9659ec5e6880f40c078df7f21141
+
SOURCE_HASH=sha512:fd850e7096e3fbf63ca9dccb2672cbfd02143443895112b9f0bb8f053021e71ed9fd251ef032d35b6bbd1659409df0f73259abc42a44c0e76e895e342873258a
SOURCE_DIRECTORY="${BUILD_DIRECTORY}/apache-tomcat-${VERSION}"
WEB_SITE="http://tomcat.apache.org";
LICENSE[0]=ASF
diff --git a/bin-http/tomcat-5.5-bin/HISTORY b/bin-http/tomcat-5.5-bin/HISTORY
index 113039d..c634b3a 100644
--- a/bin-http/tomcat-5.5-bin/HISTORY
+++ b/bin-http/tomcat-5.5-bin/HISTORY
@@ -1,3 +1,6 @@
+2011-02-09 Julien "_kaze_" ROZO <julien AT rozo.org>
+ * DETAILS: updated version to 5.5.32
+
2009-07-21 Julien "_kaze_" ROZO <julien AT rozo.org>
* BUILD, DEPENDS, DETAILS, HISTORY, INSTALL, PRE_BUILD,
init.d/tomcat5.5,
init.d/tomcat5.5.conf: created this spell
diff --git a/bin-http/tomcat-6-bin/DETAILS b/bin-http/tomcat-6-bin/DETAILS
index 6dee7d2..b0c55ef 100755
--- a/bin-http/tomcat-6-bin/DETAILS
+++ b/bin-http/tomcat-6-bin/DETAILS
@@ -1,8 +1,8 @@
SPELL=tomcat-6-bin
- VERSION=6.0.20
+ VERSION=6.0.32
SOURCE="apache-tomcat-${VERSION}.tar.gz"
SOURCE_URL[0]=$APACHE_URL/tomcat/tomcat-6/v${VERSION}/bin/${SOURCE}
-
SOURCE_HASH=sha512:ee1a2d8ab7462eec65663648e984c064e9ed73e81c87847bdc1ab394ea35ee79640631bfcb6907f7353392277a18dc27b9bd075af5e9f172bb47514c75149e02
+
SOURCE_HASH=sha512:2eb2104e60e87e9a3c40f600b3249943ec6c76de58f7de382a53d4e85d0c208fe3df5c173c57e1b29a1123b601048ca16d0c39f86f0fe459e49c4b4761dfcbd2
SOURCE_DIRECTORY="${BUILD_DIRECTORY}/apache-tomcat-${VERSION}"
WEB_SITE="http://tomcat.apache.org";
LICENSE[0]=ASF
diff --git a/bin-http/tomcat-6-bin/HISTORY b/bin-http/tomcat-6-bin/HISTORY
index 06dc3ab..9d4c2e6 100644
--- a/bin-http/tomcat-6-bin/HISTORY
+++ b/bin-http/tomcat-6-bin/HISTORY
@@ -1,3 +1,6 @@
+2011-02-09 Julien "_kaze_" ROZO <julien AT rozo.org>
+ * DETAILS: updated version to 6.0.32
+
2009-07-21 Julien "_kaze_" ROZO <julien AT rozo.org>
* init.d/tomcat6: replaced a plain call to tomcat6 user by
${TOMCAT_USER}

diff --git a/bin-http/tomcat-7-bin/BUILD b/bin-http/tomcat-7-bin/BUILD
new file mode 100755
index 0000000..27ba77d
--- /dev/null
+++ b/bin-http/tomcat-7-bin/BUILD
@@ -0,0 +1 @@
+true
diff --git a/bin-http/tomcat-7-bin/DEPENDS b/bin-http/tomcat-7-bin/DEPENDS
new file mode 100755
index 0000000..d1ac437
--- /dev/null
+++ b/bin-http/tomcat-7-bin/DEPENDS
@@ -0,0 +1 @@
+depends JAVA6 "" "" z-rejected
diff --git a/bin-http/tomcat-7-bin/DETAILS b/bin-http/tomcat-7-bin/DETAILS
new file mode 100755
index 0000000..3f977f1
--- /dev/null
+++ b/bin-http/tomcat-7-bin/DETAILS
@@ -0,0 +1,15 @@
+ SPELL=tomcat-7-bin
+ VERSION=7.0.8
+ SOURCE="apache-tomcat-${VERSION}.tar.gz"
+ SOURCE_URL[0]=$APACHE_URL/tomcat/tomcat-7/v${VERSION}/bin/${SOURCE}
+
SOURCE_HASH=sha512:9c7fbdfb1b119e0df210667d2c8d0edce6dcecbb16b74c04496c13abf89ab0edb58aad4a2f3ed99546c5131af10b5bdef848b31328426e60d97f296d0504ab75
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/apache-tomcat-${VERSION}"
+ WEB_SITE="http://tomcat.apache.org";
+ LICENSE[0]=ASF
+ ENTERED=20110209
+ SHORT="an implementation of the Servlet and JSP technologies"
+cat << EOF
+Apache Tomcat is an implementation of the Java Servlet and JavaServer Pages
+technologies. The Java Servlet and JavaServer Pages specifications are
+developed under the Java Community Process.
+EOF
diff --git a/bin-http/tomcat-7-bin/HISTORY b/bin-http/tomcat-7-bin/HISTORY
new file mode 100644
index 0000000..f1a2520
--- /dev/null
+++ b/bin-http/tomcat-7-bin/HISTORY
@@ -0,0 +1,4 @@
+2011-02-09 Julien "_kaze_" ROZO <julien AT rozo.org>
+ * BUILD, DEPENDS, DETAILS, HISTORY, INSTALL, PRE_BUILD,
init.d/tomcat7,
+ init.d/tomcat7.conf: created this spell
+
diff --git a/bin-http/tomcat-7-bin/INSTALL b/bin-http/tomcat-7-bin/INSTALL
new file mode 100755
index 0000000..6a95ba6
--- /dev/null
+++ b/bin-http/tomcat-7-bin/INSTALL
@@ -0,0 +1,4 @@
+INSTALL_DIR=${INSTALL_ROOT}/opt/tomcat7 &&
+mkdir -pv ${INSTALL_DIR} &&
+cp -rv ${SOURCE_DIRECTORY}/* ${INSTALL_DIR} &&
+find ${INSTALL_DIR}/ -print0 | xargs -r -0 -n 1 chown tomcat7:tomcat
diff --git a/bin-http/tomcat-7-bin/PRE_BUILD b/bin-http/tomcat-7-bin/PRE_BUILD
new file mode 100755
index 0000000..d8140c8
--- /dev/null
+++ b/bin-http/tomcat-7-bin/PRE_BUILD
@@ -0,0 +1,3 @@
+create_account tomcat7 &&
+create_group tomcat &&
+default_pre_build
diff --git a/bin-http/tomcat-7-bin/init.d/tomcat7
b/bin-http/tomcat-7-bin/init.d/tomcat7
new file mode 100755
index 0000000..8144975
--- /dev/null
+++ b/bin-http/tomcat-7-bin/init.d/tomcat7
@@ -0,0 +1,54 @@
+#! /bin/sh
+#
+# tomcat Start the tomcat server.
+#
+
+PROGRAM=/bin/false
+PIDFILE="/var/run/tomcat7.pid"
+RUNLEVEL=3
+
+. /etc/init.d/smgl_init
+. /etc/sysconfig/tomcat7
+
+NAME="Jakarta Tomcat 7.0"
+
+start()
+{
+ echo -ne "Starting $NAME.\n"
+ if [ -e $PIDFILE ] ; then
+ echo "$NAME already running";
+ else
+ /bin/su -s /bin/sh $TOMCAT_USER -c $TOMCAT_HOME/bin/startup.sh
+ echo `ps -U ${TOMCAT_USER} -o pid=` > $PIDFILE
+ fi
+ evaluate_retval
+}
+
+stop()
+{
+ echo -ne "Stopping $NAME.\n"
+ if [ -e $PIDFILE ] ; then
+ /bin/su -s /bin/sh $TOMCAT_USER -c
$TOMCAT_HOME/bin/shutdown.sh
+ rm -f $PIDFILE
+ else
+ echo "$NAME not running";
+ fi
+ evaluate_retval
+}
+
+restart()
+{
+ echo -ne "Restarting $NAME.\n"
+ stop &&
+ sleep 5 &&
+ start
+}
+
+status()
+{
+ if [ -e $PIDFILE ] ; then
+ echo "$NAME is running with Process ID(s) `cat $PIDFILE`";
+ else
+ echo "$NAME is not running";
+ fi
+}
diff --git a/bin-http/tomcat-7-bin/init.d/tomcat7.conf
b/bin-http/tomcat-7-bin/init.d/tomcat7.conf
new file mode 100644
index 0000000..557eb65
--- /dev/null
+++ b/bin-http/tomcat-7-bin/init.d/tomcat7.conf
@@ -0,0 +1,18 @@
+# where java is installed
+JAVA_HOME="/usr/lib/java6"
+
+# where tomcat-7-bin is installed
+TOMCAT_HOME="/opt/tomcat7"
+
+# user launching the JVM
+TOMCAT_USER="tomcat7"
+
+# parameters passed to the JVM
+JAVA_OPTS=""
+
+# locale used by the JVM
+LANG="en_US"
+
+# if not exported, those variables are not available
+# to tomcat startup and shutdown scripts
+export JAVA_HOME JAVA_OPTS LANG



  • [SM-Commit] GIT changes to master binary grimoire by Julien ROZO (fa87ad950f01c98ca3f2aa85d8af5273eadd21d4), Julien ROZO, 02/09/2011

Archive powered by MHonArc 2.6.24.

Top of Page