summaryrefslogtreecommitdiff
path: root/www/ap-jk
diff options
context:
space:
mode:
authorjwise <jwise>2001-03-29 19:34:18 +0000
committerjwise <jwise>2001-03-29 19:34:18 +0000
commitb54171b826691d8031bfc856b7e70a8925296e5b (patch)
tree75c71bb20a80b5b1e99e8be49e9c215e74b7a6b3 /www/ap-jk
parented73f8107e81efdd1adc922e801831b8215861c4 (diff)
downloadpkgsrc-b54171b826691d8031bfc856b7e70a8925296e5b.tar.gz
Initial import of ap-jk-3.2.1, the next generation connector for accessing
Jakarta Tomcat of JServ from Apache. Some more information: What is mod_jk? mod_jk is a replacement to the elderly mod_jserv. It is a completely new Tomcat-Apache plugin that handles the communication between Tomcat and Apache Why mod_jk? Several reasons: mod_jserv was too complex. Because it was ported from Apache/JServ, it brought with it lots of JServ specific bits that aren't needed by Apache. mod_jserv supported only Apache. Tomcat supports many web servers through a compatibility layer named the jk library. Supporting two different modes of work became problematic in terms of support, documentation and bug fixes. mod_jk should fix that. The layered approach provided by the jk library makes it easier to support both Apache1.3.x and Apache2.xx. Better support for SSL. mod_jserv couldn't reliably identify whether a request was made via HTTP or HTTPS. mod_jk can, using the newer Ajpv13 protocol.
Diffstat (limited to 'www/ap-jk')
-rw-r--r--www/ap-jk/Makefile31
-rw-r--r--www/ap-jk/files/patch-sum3
-rw-r--r--www/ap-jk/patches/patch-aa12
-rw-r--r--www/ap-jk/pkg/DESCR9
-rw-r--r--www/ap-jk/pkg/PLIST2
5 files changed, 57 insertions, 0 deletions
diff --git a/www/ap-jk/Makefile b/www/ap-jk/Makefile
new file mode 100644
index 00000000000..35423cedea0
--- /dev/null
+++ b/www/ap-jk/Makefile
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/03/29 19:34:18 jwise Exp $
+
+DISTNAME= jakarta-tomcat-3.2.1-src
+PKGNAME= ap-jk-3.2.1
+CATEGORIES= www
+MASTER_SITES= http://jakarta.apache.org/builds/tomcat/release/v3.2.1/src/
+
+MAINTAINER= jwise@netbsd.org
+HOMEPAGE= http://jakarta.apache.org/
+COMMENT= improved connector for accessing Jakarta Tomcat or JServ from Apache
+
+DEPENDS+= apache-*:../../www/apache
+
+DIGEST_FILE= ${PKGSRCDIR}/www/jakarta-tomcat/files/md5
+
+USE_JAVA= yes
+USE_PERL= yes
+
+EXTRACT_ELEMENTS= ${DISTNAME}/src/native
+WRKSRC= ${WRKDIR}/${DISTNAME}/src/native/apache1.3
+
+do-build:
+ (cd ${WRKSRC} && \
+ ${LOCALBASE}/sbin/apxs -o mod_jk.so \
+ -I../jk -I${JAVA_HOME}/include -I${JAVA_HOME}/include/netbsd \
+ -c *.c ../jk/*.c)
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/mod_jk.so ${PREFIX}/lib/httpd
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/ap-jk/files/patch-sum b/www/ap-jk/files/patch-sum
new file mode 100644
index 00000000000..abedf19a563
--- /dev/null
+++ b/www/ap-jk/files/patch-sum
@@ -0,0 +1,3 @@
+$NetBSD: patch-sum,v 1.1.1.1 2001/03/29 19:34:18 jwise Exp $
+
+SHA1 (patch-aa) = 916cb0718dfc1e73450ca0403dcc85e4e3a1bd28
diff --git a/www/ap-jk/patches/patch-aa b/www/ap-jk/patches/patch-aa
new file mode 100644
index 00000000000..cbe3f6a19f0
--- /dev/null
+++ b/www/ap-jk/patches/patch-aa
@@ -0,0 +1,12 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/03/29 19:34:18 jwise Exp $
+--- ../jk/jk_pool.h.orig Wed Mar 28 14:47:31 2001
++++ ../jk/jk_pool.h Wed Mar 28 14:51:40 2001
+@@ -91,6 +91,8 @@
+ typedef long long jk_pool_atom_t;
+ #elif defined(NETWARE)
+ typedef long long jk_pool_atom_t;
++#else
++ typedef long long jk_pool_atom_t;
+ #endif
+
+ /*
diff --git a/www/ap-jk/pkg/DESCR b/www/ap-jk/pkg/DESCR
new file mode 100644
index 00000000000..86f2858354f
--- /dev/null
+++ b/www/ap-jk/pkg/DESCR
@@ -0,0 +1,9 @@
+Tomcat is the Java Servlet / Java Server Page environment produced
+by the Apache Foundation's Jakarta Project. Tomcat can be run as a
+standalone web server with Servlet and JSP support, or using Apache
+Server as it's web server via the mod_jk Apache module (the
+www/ap-jk package).
+
+mod_jk is a replacement to the elderly mod_jserv. It is a completely
+new Tomcat-Apache plugin that handles the communication between
+Tomcat and Apache
diff --git a/www/ap-jk/pkg/PLIST b/www/ap-jk/pkg/PLIST
new file mode 100644
index 00000000000..8f7608ba5fa
--- /dev/null
+++ b/www/ap-jk/pkg/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/03/29 19:34:18 jwise Exp $
+lib/httpd/mod_jk.so