Gentoo Archives: gentoo-commits

From: "Krzysiek Pawlik (nelchael)" <nelchael@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-apache/mod_caucho/files: mod_caucho-3.1.3-gentoo.patch digest-mod_caucho-3.1.3 mod_caucho-3.1.3-java.patch mod_caucho-3.1.3-ssl.patch digest-mod_caucho-3.1.2 mod_caucho-3.1.2-java.patch mod_caucho-3.1.2-ssl.patch mod_caucho-3.1.2-gentoo.patch
Date: Sat, 10 Nov 2007 11:21:09
Message-Id: E1IqoOd-0005ho-Mx@stork.gentoo.org
1 nelchael 07/11/10 11:21:03
2
3 Added: mod_caucho-3.1.3-gentoo.patch
4 digest-mod_caucho-3.1.3 mod_caucho-3.1.3-java.patch
5 mod_caucho-3.1.3-ssl.patch
6 Removed: digest-mod_caucho-3.1.2 mod_caucho-3.1.2-java.patch
7 mod_caucho-3.1.2-ssl.patch
8 mod_caucho-3.1.2-gentoo.patch
9 Log:
10 Version bump for Resin 3.1.3
11 (Portage version: 2.1.3.19)
12
13 Revision Changes Path
14 1.1 www-apache/mod_caucho/files/mod_caucho-3.1.3-gentoo.patch
15
16 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_caucho/files/mod_caucho-3.1.3-gentoo.patch?rev=1.1&view=markup
17 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_caucho/files/mod_caucho-3.1.3-gentoo.patch?rev=1.1&content-type=text/plain
18
19 Index: mod_caucho-3.1.3-gentoo.patch
20 ===================================================================
21 diff -Nru resin-3.1.1.vanilla/modules/c/src/apache2/Makefile.in resin-3.1.1/modules/c/src/apache2/Makefile.in
22 --- resin-3.1.1.vanilla/modules/c/src/apache2/Makefile.in 2006-12-26 02:44:02.000000000 +0100
23 +++ resin-3.1.1/modules/c/src/apache2/Makefile.in 2006-12-26 02:46:14.000000000 +0100
24 @@ -36,11 +36,8 @@
25 $(CC) -c $(INCLUDES) $(CFLAGS) $<
26
27 install : mod_caucho.la
28 - $(LIBTOOL) --mode=install $(CP) mod_caucho.la $(apache_libexec)
29 - - rm -f $(apache_libexec)/mod_caucho.la
30 - - rm -f $(apache_libexec)/mod_caucho.a
31 - sh install.sh -conf $(apache_conf) -libexec $(apache_libexec) \
32 - -resin_home $(resin_home)
33 + mkdir -p $(DESTDIR)$(apache_libexec)
34 + $(LIBTOOL) --mode=install $(CP) mod_caucho.la $(DESTDIR)$(apache_libexec)
35
36 clean :
37 - rm -r *.o *.lo *.la *.so .libs
38
39
40
41 1.1 www-apache/mod_caucho/files/digest-mod_caucho-3.1.3
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_caucho/files/digest-mod_caucho-3.1.3?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_caucho/files/digest-mod_caucho-3.1.3?rev=1.1&content-type=text/plain
45
46 Index: digest-mod_caucho-3.1.3
47 ===================================================================
48 MD5 9b786d3fc037f43f9c11b48d486a0893 resin-3.1.3-src.zip 12366224
49 RMD160 573db137aca6da906f519333b27e67611d2b8a7a resin-3.1.3-src.zip 12366224
50 SHA256 45825f9df5914f6f53633f5e6ce4905a4f9d788ba2b57eedba2a4bff9df78493 resin-3.1.3-src.zip 12366224
51
52
53
54 1.1 www-apache/mod_caucho/files/mod_caucho-3.1.3-java.patch
55
56 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_caucho/files/mod_caucho-3.1.3-java.patch?rev=1.1&view=markup
57 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_caucho/files/mod_caucho-3.1.3-java.patch?rev=1.1&content-type=text/plain
58
59 Index: mod_caucho-3.1.3-java.patch
60 ===================================================================
61 diff -Nru resin-3.1.2.vanilla/configure.in resin-3.1.2/configure.in
62 --- resin-3.1.2.vanilla/configure.in 2007-08-17 10:14:28.000000000 +0200
63 +++ resin-3.1.2/configure.in 2007-08-17 10:14:59.000000000 +0200
64 @@ -442,54 +442,6 @@
65 fi
66 fi
67 #
68 -# --with-java-home
69 -#
70 -AC_ARG_WITH(java-home,
71 -[ --with-java-home=DIR java home
72 -], [
73 -JAVA_HOME=${withval}
74 -])
75 -
76 -if test -z "$JAVA_HOME"; then
77 - java=`which java 2>/dev/null`
78 - if test $? = "0"; then
79 - while test -h "$java"
80 - do
81 - head=`dirname $java`
82 - tail=`/bin/ls -l $java | awk '{ print $NF; }'`
83 - if test -f "$tail"; then
84 - java=$tail
85 - else
86 - java=$head/$tail
87 - fi
88 - done
89 -
90 - javabin=`dirname $java`
91 - JAVA_HOME=`cd $javabin/..; pwd`
92 -
93 - # we're in $JAVA_HOME/jre
94 - if test -f "$JAVA_HOME/lib/rt.jar"; then
95 - JAVA_HOME=`cd $JAVA_HOME/..; pwd`
96 - elif test -d "/usr/java"; then
97 - JAVA_HOME=/usr/java
98 - elif test -f "/System/Library/Frameworks/JavaVM.framework"; then
99 - JAVA_HOME="/System/Library/Frameworks/JavaVM.framework"
100 - fi
101 - elif test -d "/usr/java"; then
102 - JAVA_HOME=/usr/java
103 - elif test -f "/System/Library/Frameworks/JavaVM.framework"; then
104 - JAVA_HOME="/System/Library/Frameworks/JavaVM.framework"
105 - fi
106 -fi
107 -
108 -echo $ac_n "checking for JAVA_HOME... $JAVA_HOME"
109 -
110 -if test ! -d "$JAVA_HOME"; then
111 - AC_MSG_ERROR([Can't find valid JAVA_HOME ${JAVA_HOME}])
112 -fi
113 -
114 -AC_SUBST(JAVA_HOME)
115 -#
116 # Resin home
117 #
118 resin_home=`pwd`
119 @@ -814,72 +766,6 @@
120 AC_SUBST(SSL_LIBS)
121
122 #
123 -# --with-jni-include
124 -#
125 -AC_ARG_WITH(jni-include,
126 -[ --with-jni-include="-Idir -Idir" jni include string
127 -], [
128 -JNI_INCLUDE=${withval}
129 -JNI="yes"
130 -])
131 -
132 -#
133 -# --enable-jni
134 -#
135 -AC_ARG_ENABLE(jni,
136 -[ --enable-jni Turn on jni],
137 -[case "${enableval}" in
138 - yes) JNI=true ;;
139 - no) JNI="" ;;
140 - *) AC_MSG_ERROR(bad value ${enableval} for --enable-jni) ;;
141 - esac],[JNI=""])
142 -
143 -if test -n "$JNI_INCLUDE"; then
144 - JNI=yes
145 -elif test -r "$JAVA_HOME/include/jni_md.h"; then
146 - JNI_INCLUDE="-I$JAVA_HOME/include"
147 - JNI=yes
148 - echo "checking for JNI in $JAVA_HOME/include ... found"
149 -elif test -r "$JAVA_HOME/include/$jni_os/jni_md.h"; then
150 - JNI_INCLUDE="-I$JAVA_HOME/include -I$JAVA_HOME/include/$jni_os"
151 - JNI=yes
152 - echo "checking for JNI in $JAVA_HOME/include/$jni_os ... found"
153 -elif test -r "/System/Library/Frameworks/JavaVM.framework/Headers/jni_md.h"; then
154 - # Darwin
155 - echo "checking for JNI in /System/Library/Frameworks/JavaVM.framework/Headers ... found"
156 - JNI_INCLUDE="-I/System/Library/Frameworks/JavaVM.framework/Headers"
157 - JNI=yes
158 -elif test -r "$JAVA_HOME/include/jni.h"; then
159 - JNI_INCLUDE="-I$JAVA_HOME/include"
160 - JNI=yes
161 - echo "checking for JNI in $JAVA_HOME/include ... found"
162 -else
163 - JNI=""
164 - AC_MSG_WARN([Can't find JNI directory ${JAVA_HOME}/include/$jni_os])
165 -fi
166 -
167 -if test -r "$JAVA_HOME/include/jvmti.h"; then
168 - echo "Using JVMTI for class reloading"
169 -
170 - CFLAGS="$CFLAGS -DHAS_JVMTI"
171 -fi
172 -
173 -if test -r "$JAVA_HOME/include/jvmdi.h"; then
174 - echo "Using JVMDI for class reloading"
175 -
176 - CFLAGS="$CFLAGS -DHAS_JVMDI"
177 -fi
178 -
179 -if test -n "$JNI"; then
180 - plugins="$plugins $resin_plugin resin_os"
181 -else
182 - echo "Can't JNI include files in JAVA_HOME: $JAVA_HOME"
183 -fi
184 -
185 -AC_SUBST(JNI)
186 -AC_SUBST(JNI_INCLUDE)
187 -
188 -#
189 # --enable-ssl
190 #
191 AC_ARG_ENABLE(ssl,
192
193
194
195 1.1 www-apache/mod_caucho/files/mod_caucho-3.1.3-ssl.patch
196
197 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_caucho/files/mod_caucho-3.1.3-ssl.patch?rev=1.1&view=markup
198 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_caucho/files/mod_caucho-3.1.3-ssl.patch?rev=1.1&content-type=text/plain
199
200 Index: mod_caucho-3.1.3-ssl.patch
201 ===================================================================
202 diff -Nru resin-3.1.1.vanilla/modules/c/src/apache2/mod_caucho.c resin-3.1.1/modules/c/src/apache2/mod_caucho.c
203 --- resin-3.1.1.vanilla/modules/c/src/apache2/mod_caucho.c 2007-04-13 15:41:18.000000000 +0200
204 +++ resin-3.1.1/modules/c/src/apache2/mod_caucho.c 2007-04-13 16:00:24.000000000 +0200
205 @@ -582,6 +582,16 @@
206 }
207 }
208 #endif
209 + /* Add SSL Client certificate: (requires SSLOptions +StdEnvVars) */
210 + {
211 + int i;
212 + char **env = (char **)ap_create_environment(r->pool, r->subprocess_env);
213 + for (i = 0; env[i]; ++i) {
214 + char *name = strsep(&(env[i]), "=");
215 + if (strncmp(name, "SSL_CLIENT_CERT", 16) == 0)
216 + cse_write_string(s, CSE_CLIENT_CERT, env[i]);
217 + }
218 + }
219 }
220
221 /**
222
223
224
225 --
226 gentoo-commits@g.o mailing list