From 2bcd41ff0cf7f49b7bd0ec910dfbda85d571b7fa Mon Sep 17 00:00:00 2001 From: fake Date: Mon, 4 Apr 2005 09:20:44 +0000 Subject: [PATCH] fake: add package mod_jk2, a tomcat <-> apache2 connector [2005020914571316379] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@5749 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- package/fake/mod_jk2/mod_jk2.conf | 19 +++++++++++++ package/fake/mod_jk2/mod_jk2.desc | 44 +++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+) create mode 100644 package/fake/mod_jk2/mod_jk2.conf create mode 100644 package/fake/mod_jk2/mod_jk2.desc diff --git a/package/fake/mod_jk2/mod_jk2.conf b/package/fake/mod_jk2/mod_jk2.conf new file mode 100644 index 000000000..47d1e881e --- /dev/null +++ b/package/fake/mod_jk2/mod_jk2.conf @@ -0,0 +1,19 @@ + + +modjk2_install() { + # install the apache module + cd ../build/jk2/apache2 + apxs -n jk2 -i mod_jk2.so + + # copy some example config files + cd ../../../ + cp -v conf/{jk2.properties,workers2*} $docdir +} + +hook_add preconf 1 "cd jk/native2" + +var_append confopt " " "--with-apxs2=/opt/apache/sbin/apxs" + +makeinstopt="" + +hook_add postmake 5 modjk2_install diff --git a/package/fake/mod_jk2/mod_jk2.desc b/package/fake/mod_jk2/mod_jk2.desc new file mode 100644 index 000000000..d90c4f7a4 --- /dev/null +++ b/package/fake/mod_jk2/mod_jk2.desc @@ -0,0 +1,44 @@ + +[COPY] --- ROCK-COPYRIGHT-NOTE-BEGIN --- +[COPY] +[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. +[COPY] Please add additional copyright information _after_ the line containing +[COPY] the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by +[COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text! +[COPY] +[COPY] ROCK Linux: rock-src/package/fake/mod_jk2/mod_jk2.desc +[COPY] ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf +[COPY] +[COPY] This program is free software; you can redistribute it and/or modify +[COPY] it under the terms of the GNU General Public License as published by +[COPY] the Free Software Foundation; either version 2 of the License, or +[COPY] (at your option) any later version. A copy of the GNU General Public +[COPY] License can be found at Documentation/COPYING. +[COPY] +[COPY] Many people helped and are helping developing ROCK Linux. Please +[COPY] have a look at http://www.rocklinux.org/ and the Documentation/TEAM +[COPY] file for details. +[COPY] +[COPY] --- ROCK-COPYRIGHT-NOTE-END --- + +[I] apache2 <-> tomcat AJP13 connector + +[T] mod_jk2 is a apache - tomcat connector using the AJP13 protocol, you can +[T] make webapps running in tomcat 'visible' through apache, which will also +[T] server your static content inside the webapp, providing for better per- +[T] formance. + +[U] http://jakarta.apache.org/tomcat/ + +[A] Apache Jakarta Team {http://jakarta.apache.org/site/whoweare.html} +[M] fake + +[C] extra/network + +[L] OpenSource +[S] Stable +[V] 2.0.4 +[P] X -----5---9 810.000 + +[D] 4217978887 jakarta-tomcat-connectors-jk2-2.0.4-src.tar.gz http://apache.4any.org/jakarta/tomcat-connectors/jk2/source/ +