summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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