summaryrefslogtreecommitdiff
path: root/www/apache-jserv/files
diff options
context:
space:
mode:
Diffstat (limited to 'www/apache-jserv/files')
-rw-r--r--www/apache-jserv/files/patch-ab8
-rw-r--r--www/apache-jserv/files/patch-ac34
-rw-r--r--www/apache-jserv/files/patch-ad16
-rw-r--r--www/apache-jserv/files/patch-ae8
-rw-r--r--www/apache-jserv/files/patch-af30
-rw-r--r--www/apache-jserv/files/patch-ag31
6 files changed, 82 insertions, 45 deletions
diff --git a/www/apache-jserv/files/patch-ab b/www/apache-jserv/files/patch-ab
index a3247303a387..d7c90ec22be7 100644
--- a/www/apache-jserv/files/patch-ab
+++ b/www/apache-jserv/files/patch-ab
@@ -1,11 +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 @@
+--- docs/Makefile.in.orig Wed Jan 26 18:21:50 2000
++++ docs/Makefile.in Wed Jan 26 18:22:14 2000
+@@ -115,7 +115,7 @@
DOCFILES = $(strip $(shell ls $(EXTRA_DIST)))
-docdir = ${prefix}/docs
+docdir = ${prefix}/share/doc/mod_jserv
+ doc_DATA = $(DOCFILES)
mkinstalldirs = $(SHELL) $(top_srcdir)/src/scripts/build/unix/mkinstalldirs
CONFIG_CLEAN_FILES =
- DIST_COMMON = Makefile.am Makefile.in
diff --git a/www/apache-jserv/files/patch-ac b/www/apache-jserv/files/patch-ac
index 4d484cc4f81c..2c5a27f548ef 100644
--- a/www/apache-jserv/files/patch-ac
+++ b/www/apache-jserv/files/patch-ac
@@ -1,35 +1,11 @@
---- 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]
+--- conf/jserv.conf.in.orig Wed Jan 26 18:37:20 2000
++++ conf/jserv.conf.in Wed Jan 26 18:38:36 2000
+@@ -40,7 +40,7 @@
+ # 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 @JSERV_LOG@/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
diff --git a/www/apache-jserv/files/patch-ad b/www/apache-jserv/files/patch-ad
index d66834a164ec..ab3f5a8b5b9c 100644
--- a/www/apache-jserv/files/patch-ad
+++ b/www/apache-jserv/files/patch-ad
@@ -1,9 +1,9 @@
---- 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
+--- conf/jserv.properties.in.orig Wed Jan 26 18:26:31 2000
++++ conf/jserv.properties.in Wed Jan 26 18:28:44 2000
+@@ -53,8 +53,15 @@
# 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@
@@ -16,8 +16,8 @@
+#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: wrapper.env=[name]=[value] (String)
+@@ -117,7 +124,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.
@@ -25,8 +25,8 @@
+root.properties=@sysconfdir@/zone.properties
#
- # Security parameters
-@@ -177,7 +184,7 @@
+ # Thread Pool parameters
+@@ -247,7 +254,7 @@
# Syntax: log.file=[log path and filename] (String)
# Default: NONE
# Note: if the file could not be opened, try using absolute paths.
diff --git a/www/apache-jserv/files/patch-ae b/www/apache-jserv/files/patch-ae
index 6b2f886f9d88..7160b939b3b1 100644
--- a/www/apache-jserv/files/patch-ae
+++ b/www/apache-jserv/files/patch-ae
@@ -1,15 +1,15 @@
---- conf/zone.properties.in~ Fri Feb 19 13:09:29 1999
-+++ conf/zone.properties.in Tue Jun 29 23:04:05 1999
+--- conf/zone.properties.in.orig Wed Jan 26 18:30:38 2000
++++ conf/zone.properties.in Wed Jan 26 18:31:53 2000
@@ -23,6 +23,8 @@
# here.
- repositories=
+ repositories=@JSERV_REPO@
+# Uncomment if you use Cocoon.
+#repositories=@prefix@/share/java/classes/Cocoon.jar
# Classloader parameters
#########################
-@@ -133,6 +135,8 @@
+@@ -141,6 +143,8 @@
# Syntax: servlet.[classname].initArgs=[name]=[value],[name]=[value],...
# Default: NONE
# servlet.org.fool.Dummy.initArgs=message=I'm a dummy servlet
diff --git a/www/apache-jserv/files/patch-af b/www/apache-jserv/files/patch-af
new file mode 100644
index 000000000000..6e055125da78
--- /dev/null
+++ b/www/apache-jserv/files/patch-af
@@ -0,0 +1,30 @@
+--- src/java/org/apache/java/lang/AdaptiveClassLoader.java.orig Tue Feb 8 18:37:01 2000
++++ src/java/org/apache/java/lang/AdaptiveClassLoader.java Tue Feb 8 20:33:18 2000
+@@ -661,7 +661,18 @@
+ ZipEntry entry = zipfile.getEntry(name);
+
+ if (entry != null) {
+- return zipfile.getInputStream(entry);
++ InputStream stream = zipfile.getInputStream(entry);
++ byte data[] = new byte[(int)entry.getSize()];
++ for(int i = 0 ; i < data.length ;) {
++ int size = stream.read(data, i, data.length - i);
++ if(size < 0) {
++ stream.close();
++ return null;
++ }
++ i += size;
++ }
++ stream.close();
++ return new ByteArrayInputStream(data);;
+ } else {
+ return null;
+ }
+@@ -671,6 +682,7 @@
+ if ( zipfile != null ) {
+ try {
+ zipfile.close();
++ zipfile = null;
+ } catch ( IOException ignored ) {
+ }
+ }
diff --git a/www/apache-jserv/files/patch-ag b/www/apache-jserv/files/patch-ag
new file mode 100644
index 000000000000..b2ff44682907
--- /dev/null
+++ b/www/apache-jserv/files/patch-ag
@@ -0,0 +1,31 @@
+--- src/java/org/apache/jserv/JServConnection.java.orig Wed Feb 9 00:05:03 2000
++++ src/java/org/apache/jserv/JServConnection.java Wed Feb 9 00:15:59 2000
+@@ -1062,6 +1062,14 @@
+ * known.
+ */
+ public String getRemoteUser() {
++ String type = getAuthType();
++ if(type == null) {
++ return (String) env_vars.get("REMOTE_USER");
++ } else if(type.equalsIgnoreCase("SSL")) {
++ String name = (String)env_vars.get("SSL_CLIENT_DN");
++ name = name.replace('/', ',');
++ return name.substring(1);
++ }
+ return (String) env_vars.get("REMOTE_USER");
+ }
+
+@@ -1072,7 +1080,12 @@
+ * @return this request's authentication scheme, or null if none.
+ */
+ public String getAuthType() {
+- return (String) env_vars.get("AUTH_TYPE");
++ String temp = (String) env_vars.get("SSL_CLIENT_DN");
++ if(temp != null && temp.equals("") == false) {
++ return "SSL";
++ } else {
++ return (String) env_vars.get("AUTH_TYPE");
++ }
+ }
+
+ /**