mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
Loadable servlet module for apache.
PR: ports/10389 (part of) Submitted by: greg@greg.rim.or.jp
This commit is contained in:
parent
e9cec94908
commit
1e257996e8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=19924
46
www/apache-jserv/Makefile
Normal file
46
www/apache-jserv/Makefile
Normal file
@ -0,0 +1,46 @@
|
||||
# New ports collection makefile for: apache mod_jserv
|
||||
# Version required: 1.0
|
||||
# Date created: 1999/05/29
|
||||
# Whom: Kensaku Masuda <greg@greg.rim.or.jp>
|
||||
#
|
||||
# $Id$
|
||||
|
||||
DISTNAME= Apache_JServ_1.0
|
||||
PKGNAME= apache-jserv-1.0
|
||||
CATEGORIES= www java
|
||||
MASTER_SITES= http://java.apache.org/jserv/dist/
|
||||
|
||||
MAINTAINER= greg@greg.rim.or.jp
|
||||
|
||||
BUILD_DEPENDS= ${PREFIX}/jdk1.1.8/bin/javac:${PORTSDIR}/java/jdk\
|
||||
${PREFIX}/share/java/classes/jsdk.jar:${PORTSDIR}/java/jsdk
|
||||
RUN_DEPENDS= ${PREFIX}/jdk1.1.8/bin/java:${PORTSDIR}/java/jdk\
|
||||
${PREFIX}/sbin/apachectl:${PORTSDIR}/www/apache13\
|
||||
${PREFIX}/share/java/classes/jsdk.jar:${PORTSDIR}/java/jsdk
|
||||
|
||||
WRKSRC= ${WRKDIR}/ApacheJServ-1.0
|
||||
USE_LIBTOOL= yes
|
||||
CONFIGURE_TARGET=
|
||||
CONFIGURE_ARGS= --prefix=${PREFIX}\
|
||||
--libexecdir=${PREFIX}/libexec/apache\
|
||||
--libdir=${PREFIX}/libexec/apache\
|
||||
--sysconfdir=${PREFIX}/etc/apache\
|
||||
--with-jdk-home=${PREFIX}/jdk1.1.8\
|
||||
--with-jsdk=${PREFIX}/share/java/classes/jsdk.jar\
|
||||
--with-apache-install=${PREFIX}\
|
||||
--with-java=${PREFIX}/jdk1.1.8/bin/java\
|
||||
--with-javac=${PREFIX}/jdk1.1.8/bin/javac\
|
||||
--with-gnu-ld\
|
||||
--enable-compressed-jar
|
||||
|
||||
post-install:
|
||||
@(cd ${WRKSRC}/conf;\
|
||||
${INSTALL_DATA} httpd.conf \
|
||||
${PREFIX}/etc/apache/jserv.conf.default;\
|
||||
${INSTALL_DATA} jserv.properties \
|
||||
${PREFIX}/etc/apache/jserv.properties.default; \
|
||||
${INSTALL_DATA} zone.properties \
|
||||
${PREFIX}/etc/apache/zone.properties.default)
|
||||
@${CAT} ${PKGDIR}/MESSAGE
|
||||
|
||||
.include <bsd.port.mk>
|
1
www/apache-jserv/distinfo
Normal file
1
www/apache-jserv/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (Apache_JServ_1.0.tar.gz) = 772027454979e53a51c5ceefe3860ed6
|
11
www/apache-jserv/files/patch-aa
Normal file
11
www/apache-jserv/files/patch-aa
Normal file
@ -0,0 +1,11 @@
|
||||
--- configure.orig Wed Mar 3 08:46:29 1999
|
||||
+++ configure Wed Mar 3 08:46:42 1999
|
||||
@@ -1239,7 +1239,7 @@
|
||||
fi
|
||||
|
||||
# Always use our own libtool.
|
||||
-LIBTOOL='$(SHELL) $(top_builddir)/libtool'
|
||||
+LIBTOOL='libtool'
|
||||
|
||||
# Check for any special flags to pass to ltconfig.
|
||||
libtool_flags=
|
11
www/apache-jserv/files/patch-ab
Normal file
11
www/apache-jserv/files/patch-ab
Normal file
@ -0,0 +1,11 @@
|
||||
--- docs/Makefile.in.orig Sat Jun 12 05:47:51 1999
|
||||
+++ docs/Makefile.in Sat Jun 26 23:45:33 1999
|
||||
@@ -87,7 +87,7 @@
|
||||
|
||||
DOCFILES = $(strip $(shell ls $(EXTRA_DIST)))
|
||||
|
||||
-docdir = ${prefix}/docs
|
||||
+docdir = ${prefix}/share/doc/mod_jserv
|
||||
mkinstalldirs = $(SHELL) $(top_srcdir)/src/scripts/build/unix/mkinstalldirs
|
||||
CONFIG_CLEAN_FILES =
|
||||
DIST_COMMON = Makefile.am Makefile.in
|
35
www/apache-jserv/files/patch-ac
Normal file
35
www/apache-jserv/files/patch-ac
Normal file
@ -0,0 +1,35 @@
|
||||
--- conf/httpd.conf.in.orig Sat Jun 12 05:38:46 1999
|
||||
+++ conf/httpd.conf.in Thu Jul 1 00:07:44 1999
|
||||
@@ -6,7 +6,7 @@
|
||||
# Note: this file should be appended to or included in httpd.conf
|
||||
|
||||
# Tell Apache on win32 to load the Apache JServ communication module
|
||||
-#LoadModule jserv_module modules/ApacheModuleJServ.dll
|
||||
+LoadModule jserv_module libexec/apache/mod_jserv.so
|
||||
|
||||
<IfModule mod_jserv.c>
|
||||
|
||||
@@ -19,13 +19,13 @@
|
||||
# In manual mode this directive is ignored
|
||||
# Syntax: ApJServProperties [filename]
|
||||
# Default: "./conf/jserv.properties"
|
||||
-ApJServProperties ./conf/jserv.properties
|
||||
+ApJServProperties etc/apache/jserv.properties
|
||||
|
||||
# Log file for this module operation relative to Apache root directory.
|
||||
# Syntax: ApJServLogFile [filename]
|
||||
# Default: "./logs/mod_jserv.log"
|
||||
# Note: when set to "DISABLED", the log will be redirected to Apache error log
|
||||
-ApJServLogFile ./logs/mod_jserv.log
|
||||
+ApJServLogFile /var/log/mod_jserv.log
|
||||
|
||||
# Log Level for this module
|
||||
# Syntax: ApJServLogLevel [debug|info|notice|warn|error|crit|alert|emerg]
|
||||
@@ -99,6 +99,7 @@
|
||||
#ApJServAction .jsp /servlets/nl.nmg.jsp.JSPServlet
|
||||
#ApJServAction .gsp /servlets/com.bitmechanics.gsp.GspServlet
|
||||
#ApJServAction .jhtml /servlets/org.apache.servlet.ssi.SSI
|
||||
+# Uncomment if you use Cocoon.
|
||||
#ApJServAction .xml /servlets/org.apache.cocoon.Cocoon
|
||||
|
||||
# Enable the Apache JServ status handler with the URL of
|
37
www/apache-jserv/files/patch-ad
Normal file
37
www/apache-jserv/files/patch-ad
Normal file
@ -0,0 +1,37 @@
|
||||
--- conf/jserv.properties.in.orig Sat Jun 12 05:38:46 1999
|
||||
+++ conf/jserv.properties.in Tue Jun 29 23:02:02 1999
|
||||
@@ -52,8 +52,15 @@
|
||||
# Note: the classes you want to be automatically reloaded upon modification
|
||||
# MUST NOT be in this classpath or the classpath of the shell
|
||||
# you start the Apache from.
|
||||
-wrapper.classpath=@JSERV_CLASSES@
|
||||
+wrapper.classpath=@libexecdir@/ApacheJServ.jar
|
||||
wrapper.classpath=@JSDK_CLASSES@
|
||||
+# Uncomment if you use Cocoon.
|
||||
+#wrapper.classpath=@prefix@/share/java/classes/Cocoon.jar
|
||||
+#wrapper.classpath=@prefix@/share/java/classes/openxml.jar
|
||||
+#wrapper.classpath=@prefix@/share/java/classes/xslp.jar
|
||||
+# Currently, these are not officially supported by the Cocoon team.
|
||||
+#wrapper.classpath=@prefix@/share/java/classes/xml4j.jar
|
||||
+#wrapper.classpath=@prefix@/share/java/classes/lotusxsl.jar
|
||||
|
||||
# An environment name with value passed to the JVM
|
||||
# Syntax: wrapper.env=[name]=[value]
|
||||
@@ -94,7 +101,7 @@
|
||||
# Syntax: [servlet zone name as on the zones list].properties=[full path to configFile] (String)
|
||||
# Default: NONE
|
||||
# Note: if the file could not be opened, try using absolute paths.
|
||||
-root.properties=@JSERV_CONF@/zone.properties
|
||||
+root.properties=@sysconfdir@/zone.properties
|
||||
|
||||
#
|
||||
# Security parameters
|
||||
@@ -177,7 +184,7 @@
|
||||
# Syntax: log.file=[log path and filename] (String)
|
||||
# Default: NONE
|
||||
# Note: if the file could not be opened, try using absolute paths.
|
||||
-log.file=@JSERV_LOG@/jserv.log
|
||||
+log.file=/var/log/jserv.log
|
||||
|
||||
# Enable the timestamp before the log message
|
||||
# Syntax: log.timestamp=[true,false] (boolean)
|
20
www/apache-jserv/files/patch-ae
Normal file
20
www/apache-jserv/files/patch-ae
Normal file
@ -0,0 +1,20 @@
|
||||
--- conf/zone.properties.in~ Fri Feb 19 13:09:29 1999
|
||||
+++ conf/zone.properties.in Tue Jun 29 23:04:05 1999
|
||||
@@ -23,6 +23,8 @@
|
||||
# here.
|
||||
|
||||
repositories=
|
||||
+# Uncomment if you use Cocoon.
|
||||
+#repositories=@prefix@/share/java/classes/Cocoon.jar
|
||||
|
||||
# Classloader parameters
|
||||
#########################
|
||||
@@ -133,6 +135,8 @@
|
||||
# Syntax: servlet.[classname].initArgs=[name]=[value],[name]=[value],...
|
||||
# Default: NONE
|
||||
# servlet.org.fool.Dummy.initArgs=message=I'm a dummy servlet
|
||||
+# Uncomment if you use Cocoon.
|
||||
+#servlet.org.apache.cocoon.Cocoon.initArgs=properties=@prefix@/etc/apache/cocoon.properties
|
||||
|
||||
# Aliased Servlet Init Parameters
|
||||
##################################
|
1
www/apache-jserv/pkg-comment
Normal file
1
www/apache-jserv/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
Loadable servlet module for apache.
|
19
www/apache-jserv/pkg-descr
Normal file
19
www/apache-jserv/pkg-descr
Normal file
@ -0,0 +1,19 @@
|
||||
What is it?
|
||||
Apache JServ is a 100% pure Java servlet engine designed to
|
||||
implement the Sun Java Servlet API 2.0 specifications and
|
||||
add Java Servlet capabilities to the Apache
|
||||
HTTP Server <http://www.apache.org/>.
|
||||
|
||||
The Latest Version
|
||||
Details of the latest version can be found on the Java
|
||||
Apache Project web site <http://java.apache.org/>.
|
||||
|
||||
Documentation
|
||||
Documentation is available in HTML format, in the docs/
|
||||
directory. The most up-to-date documentation can be found at
|
||||
<http://java.apache.org/jserv/docs/>.
|
||||
|
||||
Licensing
|
||||
Please see the file called LICENSE.
|
||||
|
||||
WWW: http://java.apache.org/jserv/
|
7
www/apache-jserv/pkg-message
Normal file
7
www/apache-jserv/pkg-message
Normal file
@ -0,0 +1,7 @@
|
||||
To activate mod_jserv:
|
||||
|
||||
o Copy jserv.conf.default, jserv.properties.default and
|
||||
zone.properties.default in ${PREFIX}/etc/apache to jserv.conf,
|
||||
jserv.properties and zone.properties.
|
||||
o Touch /var/log/jserv.log with write permission for owner of httpd.
|
||||
o Add "Include etc/apache/jserv.conf" into httpd.conf to activate mod_jserv.
|
52
www/apache-jserv/pkg-plist
Normal file
52
www/apache-jserv/pkg-plist
Normal file
@ -0,0 +1,52 @@
|
||||
etc/apache/jserv.conf.default
|
||||
etc/apache/jserv.properties.default
|
||||
etc/apache/zone.properties.default
|
||||
libexec/apache/libjserv.a
|
||||
libexec/apache/libjserv.so
|
||||
libexec/apache/libjserv.so.0
|
||||
libexec/apache/mod_jserv.so
|
||||
libexec/apache/ApacheJServ.jar
|
||||
share/doc/mod_jserv/FAQ.html
|
||||
share/doc/mod_jserv/api/index.html
|
||||
share/doc/mod_jserv/bugs.html
|
||||
share/doc/mod_jserv/changes.html
|
||||
share/doc/mod_jserv/contributing.html
|
||||
share/doc/mod_jserv/contributors.html
|
||||
share/doc/mod_jserv/features.html
|
||||
share/doc/mod_jserv/future/index.html
|
||||
share/doc/mod_jserv/future/sandboxing.html
|
||||
share/doc/mod_jserv/glossary.html
|
||||
share/doc/mod_jserv/howto.load-balancing.html
|
||||
share/doc/mod_jserv/images/apache_pb.gif
|
||||
share/doc/mod_jserv/images/java-apache-project.gif
|
||||
share/doc/mod_jserv/images/lbfail001.gif
|
||||
share/doc/mod_jserv/images/lbfail002.gif
|
||||
share/doc/mod_jserv/images/lbfail003.gif
|
||||
share/doc/mod_jserv/images/lbprod001.gif
|
||||
share/doc/mod_jserv/images/lbprod002.gif
|
||||
share/doc/mod_jserv/images/lbshm001.gif
|
||||
share/doc/mod_jserv/index.html
|
||||
share/doc/mod_jserv/license.html
|
||||
share/doc/mod_jserv/install/howto.security.html
|
||||
share/doc/mod_jserv/install/howto.servlets.html
|
||||
share/doc/mod_jserv/install/howto.status.html
|
||||
share/doc/mod_jserv/install/howto.unix_install.html
|
||||
share/doc/mod_jserv/install/howto.win32_install.html
|
||||
share/doc/mod_jserv/install/index.html
|
||||
share/doc/mod_jserv/modules.html
|
||||
share/doc/mod_jserv/operation.html
|
||||
share/doc/mod_jserv/protocol/AJPv1.html
|
||||
share/doc/mod_jserv/protocol/AJPv11.html
|
||||
share/doc/mod_jserv/protocol/AJPv2.html
|
||||
share/doc/mod_jserv/protocol/AJPv21.html
|
||||
share/doc/mod_jserv/security.html
|
||||
share/doc/mod_jserv/sendbug.html
|
||||
share/doc/mod_jserv/support.html
|
||||
share/doc/mod_jserv/y2k.html
|
||||
share/doc/mod_jserv/zones.html
|
||||
@dirrm share/doc/mod_jserv/api
|
||||
@dirrm share/doc/mod_jserv/future
|
||||
@dirrm share/doc/mod_jserv/images
|
||||
@dirrm share/doc/mod_jserv/install
|
||||
@dirrm share/doc/mod_jserv/protocol
|
||||
@dirrm share/doc/mod_jserv
|
Loading…
Reference in New Issue
Block a user