Initial import of ap2-jk2-2.0.4.

mod_jk2 handles the communication between Tomcat and Apache.
JK2 is a refactoring of JK and is much more powerful.
This commit is contained in:
Juan Romero Pardines 2004-05-27 15:53:35 +00:00 committed by Thomas Klausner
parent 325a4ceb25
commit c6191a1c06
5 changed files with 68 additions and 0 deletions

2
ap2-jk2/DESCR Normal file
View File

@ -0,0 +1,2 @@
mod_jk2 handles the communication between Tomcat and Apache.
JK2 is a refactoring of JK and is much more powerful.

26
ap2-jk2/MESSAGE Normal file
View File

@ -0,0 +1,26 @@
===========================================================================
$NetBSD: MESSAGE,v 1.1.1.1 2004/05/27 15:53:36 xtraeme Exp $
In order to use this module in your Apache installation, you need to
add the following to your httpd.conf file:
LoadModule jk2_module lib/httpd/mod_jk2.so
You will also need a running Java Servlet engine, e.g. www/jakarta-tomcat
or www/ap-jserv. You will need to consult the servlet engine documentation
for to finish configuring Apache before you can use mod_jk2.so. A possible
configuration you can add to your httpd.conf to use Jakarta Tomcat is:
<IfModule mod_jk2.c>
JkWorkersFile ${PREFIX}/tomcat/conf/workers.properties
JkLogFile /var/log/httpd/mod_jk.log
JkLogLevel info
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
</IfModule>
Make sure to copy ${EGDIR}/workers.properties into ${PREFIX}/tomcat/conf
before using this module!
Good luck and enjoy!
===========================================================================

32
ap2-jk2/Makefile Normal file
View File

@ -0,0 +1,32 @@
# $NetBSD: Makefile,v 1.1.1.1 2004/05/27 15:53:35 xtraeme Exp $
#
DISTNAME= jakarta-tomcat-connectors-jk2-${AP_JK_VER}-src
PKGNAME= ap2-jk2-${AP_JK_VER}
CATEGORIES= www
MASTER_SITES= http://www.apache.org/dist/jakarta/tomcat-connectors/jk2/source/
MAINTAINER= xtraeme@NetBSD.org
HOMEPAGE= http://jakarta.apache.org/tomcat/
COMMENT= Apache2 JK2 module for connecting to Tomcat using AJP1X
WRKSRC= ${WRKDIR}/${DISTNAME}/jk/native2
GNU_CONFIGURE= yes
USE_BUILDLINK3= yes
USE_GNU_TOOLS+= make
USE_LIBTOOL= yes
AP_JK_VER= 2.0.4
ALL_TARGET= jk2-build-apxs
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
do-install:
@(cd ${WRKSRC}/server/apache2; \
${GMAKE} -f Makefile.apxs install; \
${APXS} -e -A -n jk2 mod_jk2.la)
${INSTALL_DATA_DIR} ${EGDIR}
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/jk/conf/workers.properties \
${EGDIR}
.include "../../www/apache2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

4
ap2-jk2/PLIST Normal file
View File

@ -0,0 +1,4 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2004/05/27 15:53:35 xtraeme Exp $
lib/httpd/mod_jk2.so
share/examples/ap2-jk2/workers.properties
@dirrm share/examples/ap2-jk2

4
ap2-jk2/distinfo Normal file
View File

@ -0,0 +1,4 @@
$NetBSD: distinfo,v 1.1.1.1 2004/05/27 15:53:35 xtraeme Exp $
SHA1 (jakarta-tomcat-connectors-jk2-2.0.4-src.tar.gz) = b81b262f1086e324216684b05753d562d7182e2c
Size (jakarta-tomcat-connectors-jk2-2.0.4-src.tar.gz) = 907088 bytes