1 |
nelchael 12/02/11 18:44:14 |
2 |
|
3 |
Added: mod_caucho-4.0.25-no-jni.patch |
4 |
resin-4.0.25-build.patch |
5 |
resin-4.0.25-classpath.patch |
6 |
Log: |
7 |
Add patches for Resin 4.0.25. |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 src/patchsets/resin/4.0.25/mod_caucho-4.0.25-no-jni.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/resin/4.0.25/mod_caucho-4.0.25-no-jni.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/resin/4.0.25/mod_caucho-4.0.25-no-jni.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: mod_caucho-4.0.25-no-jni.patch |
16 |
=================================================================== |
17 |
diff -Nru resin-4.0.25.vanilla/configure.ac resin-4.0.25/configure.ac |
18 |
--- resin-4.0.25.vanilla/configure.ac 2012-02-11 19:37:27.161005340 +0100 |
19 |
+++ resin-4.0.25/configure.ac 2012-02-11 19:37:52.037162930 +0100 |
20 |
@@ -1122,11 +1122,6 @@ |
21 |
echo "checking for JNI in $JAVA_HOME/include ... found" |
22 |
else |
23 |
JNI="" |
24 |
- AC_MSG_ERROR([ |
25 |
- |
26 |
- *** Can't find JNI directory in JAVA_HOME=${JAVA_HOME} |
27 |
- *** JNI is expected in ${JAVA_HOME}/include/$jni_os |
28 |
- ]) |
29 |
fi |
30 |
|
31 |
HAS_JVMTI="" |
32 |
@@ -1141,8 +1136,6 @@ |
33 |
echo "Using JVMTI for class reloading" |
34 |
|
35 |
CFLAGS="$CFLAGS -DHAS_JVMTI" |
36 |
- else |
37 |
- AC_MSG_ERROR([Can't find JVMTI directory ${JNI_INCLUDE_DIR}/jvmti.h]) |
38 |
fi |
39 |
fi |
40 |
|
41 |
|
42 |
|
43 |
|
44 |
1.1 src/patchsets/resin/4.0.25/resin-4.0.25-build.patch |
45 |
|
46 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/resin/4.0.25/resin-4.0.25-build.patch?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/resin/4.0.25/resin-4.0.25-build.patch?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: resin-4.0.25-build.patch |
50 |
=================================================================== |
51 |
diff -Nru resin-4.0.25.vanilla/build-common.xml resin-4.0.25/build-common.xml |
52 |
--- resin-4.0.25.vanilla/build-common.xml 2012-02-11 19:37:27.157005309 +0100 |
53 |
+++ resin-4.0.25/build-common.xml 2012-02-11 19:38:42.341481619 +0100 |
54 |
@@ -37,15 +37,12 @@ |
55 |
<property name="resin.dist" location="${resindir}/dist"/> |
56 |
|
57 |
<property name="javac.verbose" value="off"/> |
58 |
- <property name="javac.debug" value="on"/> |
59 |
- <property name="javac.optimize" value="off"/> |
60 |
+ <property name="javac.debug" value="off"/> |
61 |
+ <property name="javac.optimize" value="on"/> |
62 |
<property name="javac.deprecation" value="off"/> |
63 |
<property name="javac.nowarn" value="on"/> |
64 |
<property name="javac.memoryMaximumSize" value="512m"/> |
65 |
|
66 |
- <property name="javac.source" value="1.5"/> |
67 |
- <property name="javac.target" value="1.5"/> |
68 |
- |
69 |
<property name="jar.compress" value="false"/> |
70 |
<!-- |
71 |
<property name="jar.index" value="true"/> |
72 |
@@ -292,6 +289,12 @@ |
73 |
<fileset dir="${maven.lib}"> |
74 |
<include name="**/*.jar"/> |
75 |
</fileset> |
76 |
+ <fileset dir="${basedir}/gentoo-deps"> |
77 |
+ <include name="**/*.jar"/> |
78 |
+ </fileset> |
79 |
+ <fileset dir="${basedir}/gentoo-deps"> |
80 |
+ <include name="**/*.jar"/> |
81 |
+ </fileset> |
82 |
</classpath> |
83 |
</javac> |
84 |
|
85 |
@@ -498,10 +501,6 @@ |
86 |
|
87 |
<property file="${artifact.src}/module.properties"/> |
88 |
|
89 |
- <mkdir dir="${dist.build}/project-jars"/> |
90 |
- |
91 |
- <copy tofile="${dist.build}/project-jars/resin-${artifact.name}-${version}.jar" |
92 |
- file="${artifact.dist}/${artifact.jar}"/> |
93 |
</target> |
94 |
|
95 |
<target name="resin.dist.jar" |
96 |
diff -Nru resin-4.0.25.vanilla/build.xml resin-4.0.25/build.xml |
97 |
--- resin-4.0.25.vanilla/build.xml 2012-02-11 19:37:27.157005309 +0100 |
98 |
+++ resin-4.0.25/build.xml 2012-02-11 19:38:42.381481879 +0100 |
99 |
@@ -12,7 +12,7 @@ |
100 |
<property name="eclipse.home" value="${user.home}/eclipse"/> |
101 |
|
102 |
<target name="compile" |
103 |
- depends="init, hessian, javaee, jaxstream, portlet, script, resin-kernel, quercus, resin, ecmascript, cdi, webutil, conf, ext, j2ee-management, resin-eclipselink"> |
104 |
+ depends="init, hessian, javaee, jaxstream, portlet, script, resin-kernel, quercus, resin, ecmascript, cdi, webutil, conf, j2ee-management, resin-eclipselink"> |
105 |
</target> |
106 |
|
107 |
<!-- |
108 |
@@ -156,7 +156,7 @@ |
109 |
</antcall> |
110 |
</target> |
111 |
|
112 |
- <target name="hessian" depends="init, servlet16"> |
113 |
+ <target name="hessian" depends="init"> |
114 |
<antcall target="module" inheritRefs="true"> |
115 |
<param name="module.name" value="hessian"/> |
116 |
<param name="module.jar" value="hessian.jar"/> |
117 |
@@ -180,7 +180,7 @@ |
118 |
</antcall> |
119 |
</target> |
120 |
|
121 |
- <target name="jaxrpc" depends="init,saaj,servlet16"> |
122 |
+ <target name="jaxrpc" depends="init,saaj"> |
123 |
<antcall target="module" inheritRefs="true"> |
124 |
<param name="module.name" value="jaxrpc"/> |
125 |
<param name="module.jar" value="jaxrpc-15.jar"/> |
126 |
@@ -228,13 +228,6 @@ |
127 |
</antcall> |
128 |
</target> |
129 |
|
130 |
- <target name="servlet16" depends="init"> |
131 |
- <antcall target="module" inheritRefs="true"> |
132 |
- <param name="module.name" value="servlet16"/> |
133 |
- <param name="module.jar" value="servlet-16.jar"/> |
134 |
- </antcall> |
135 |
- </target> |
136 |
- |
137 |
<!-- |
138 |
We now ship Sun's jsf-api.jar and jsf-impl.jar in modules/ext/ |
139 |
<target name="jsf" depends="init"> |
140 |
@@ -245,7 +238,7 @@ |
141 |
</antcall> |
142 |
</target--> |
143 |
|
144 |
- <target name="jstl" depends="init, servlet16"> |
145 |
+ <target name="jstl" depends="init"> |
146 |
<antcall target="module" inheritRefs="true"> |
147 |
<param name="module.name" value="jstl"/> |
148 |
<param name="module.jar" value="jstl-11.jar"/> |
149 |
@@ -344,7 +337,7 @@ |
150 |
</antcall> |
151 |
</target> |
152 |
|
153 |
- <target name="resin-kernel" depends="init, cdi, servlet16, version"> |
154 |
+ <target name="resin-kernel" depends="init, cdi, version"> |
155 |
<antcall target="module" inheritRefs="true"> |
156 |
<param name="module.name" value="kernel"/> |
157 |
<param name="module.dist" value="${lib}"/> |
158 |
@@ -483,7 +476,7 @@ |
159 |
</copy> |
160 |
</target> |
161 |
|
162 |
- <target name="javaee" depends="ejb, jca, jms, jpa, servlet16, cdi, jcache, jstl, jta"> |
163 |
+ <target name="javaee" depends="ejb, jca, jms, jpa, cdi, jcache, jstl, jta"> |
164 |
<!-- |
165 |
- javaee-16.jar |
166 |
--> |
167 |
@@ -528,10 +521,6 @@ |
168 |
</fileset> |
169 |
--> |
170 |
|
171 |
- <fileset dir="${resin.modules}/servlet16/classes"> |
172 |
- <exclude name="**/.*"/> |
173 |
- </fileset> |
174 |
- |
175 |
<fileset dir="${resin.modules}/webbeans/classes"> |
176 |
<exclude name="**/.*"/> |
177 |
</fileset> |
178 |
@@ -672,20 +661,12 @@ |
179 |
</copy> |
180 |
</target> |
181 |
|
182 |
- <target name="ext" depends="init, resin"> |
183 |
- <copy todir="${install}/lib" preservelastmodified="true"> |
184 |
- <fileset dir="${ext}"> |
185 |
- </fileset> |
186 |
- </copy> |
187 |
- </target> |
188 |
- |
189 |
<target name="webapps" depends="init, doc, quercus"> |
190 |
</target> |
191 |
|
192 |
<target name="doc" depends="init"> |
193 |
<mkdir dir="${install}/webapps"/> |
194 |
|
195 |
- <!-- |
196 |
<jar jarfile="${install}/webapps/resin-doc.war" |
197 |
compress="true" index="${jar.index}" update="${jar.update}"> |
198 |
|
199 |
@@ -699,7 +680,6 @@ |
200 |
<exclude name="**/.svnignore"/> |
201 |
</fileset> |
202 |
</jar> |
203 |
- --> |
204 |
</target> |
205 |
|
206 |
<target name="javadoc" depends="init"> |
207 |
@@ -721,7 +701,6 @@ |
208 |
|
209 |
<packageset dir="${modules}/ejb/src"/> |
210 |
<packageset dir="${modules}/hessian/src"/> |
211 |
- <packageset dir="${modules}/servlet16/src"/> |
212 |
<packageset dir="${modules}/jcache/src"/> |
213 |
<packageset dir="${modules}/jpa/src"/> |
214 |
<packageset dir="${modules}/jaxstream/src"/> |
215 |
|
216 |
|
217 |
|
218 |
1.1 src/patchsets/resin/4.0.25/resin-4.0.25-classpath.patch |
219 |
|
220 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/resin/4.0.25/resin-4.0.25-classpath.patch?rev=1.1&view=markup |
221 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/resin/4.0.25/resin-4.0.25-classpath.patch?rev=1.1&content-type=text/plain |
222 |
|
223 |
Index: resin-4.0.25-classpath.patch |
224 |
=================================================================== |
225 |
diff -Nru resin-4.0.25.vanilla/modules/resin/src/boot-manifest resin-4.0.25/modules/resin/src/boot-manifest |
226 |
--- resin-4.0.25.vanilla/modules/resin/src/boot-manifest 2012-02-11 19:37:26.168999053 +0100 |
227 |
+++ resin-4.0.25/modules/resin/src/boot-manifest 2012-02-11 19:39:25.761756699 +0100 |
228 |
@@ -1,5 +1,5 @@ |
229 |
Main-Class: com.caucho.server.bootstrap.ResinBoot |
230 |
-Class-Path: resin.jar jta-101.jar isorelax.jar jsdk-24.jar jmx-12.jar jca-15.jar jstl-11.jar |
231 |
+Class-Path: resin.jar jta-101.jar isorelax.jar resin-servlet-api.jar jmx-12.jar jca-15.jar jstl-11.jar |
232 |
Extension-Name: com.caucho.server.bootstrap |
233 |
Implementation-Vendor: Caucho Technology, Inc. |
234 |
Implementation-Version: 3.0.1 |
235 |
diff -Nru resin-4.0.25.vanilla/modules/resin/src/manifest resin-4.0.25/modules/resin/src/manifest |
236 |
--- resin-4.0.25.vanilla/modules/resin/src/manifest 2012-02-11 19:37:26.777002897 +0100 |
237 |
+++ resin-4.0.25/modules/resin/src/manifest 2012-02-11 19:39:25.761756699 +0100 |
238 |
@@ -1,4 +1,4 @@ |
239 |
-Class-Path: javaee-16.jar javaee-15.jar pro.jar license.jar hessian.jar quercus.jar resin-kernel.jar jcache-16.jar webservices-api.jar |
240 |
+Class-Path: javaee-16.jar javaee-15.jar pro.jar license.jar hessian.jar quercus.jar resin-kernel.jar jcache-16.jar webservices-api.jar resin-servlet-api.jar |
241 |
Implementation-Vendor: Caucho Technology, Inc. |
242 |
Implementation-Version: 4.0.25 |
243 |
J2EE-DeploymentFactory-Implementation-Class: com.caucho.j2ee.deployclient.DeploymentFactoryImpl |
244 |
diff -Nru resin-4.0.25.vanilla/modules/resin/src/manifest.in resin-4.0.25/modules/resin/src/manifest.in |
245 |
--- resin-4.0.25.vanilla/modules/resin/src/manifest.in 2012-02-11 19:37:26.773002881 +0100 |
246 |
+++ resin-4.0.25/modules/resin/src/manifest.in 2012-02-11 19:39:25.813757034 +0100 |
247 |
@@ -1,4 +1,4 @@ |
248 |
-Class-Path: javaee-16.jar javaee-15.jar pro.jar license.jar hessian.jar quercus.jar resin-kernel.jar jcache-16.jar webservices-api.jar |
249 |
+Class-Path: javaee-16.jar javaee-15.jar pro.jar license.jar hessian.jar quercus.jar resin-kernel.jar jcache-16.jar webservices-api.jar resin-servlet-api.jar |
250 |
Implementation-Vendor: Caucho Technology, Inc. |
251 |
Implementation-Version: @VERSION@ |
252 |
J2EE-DeploymentFactory-Implementation-Class: com.caucho.j2ee.deployclient.DeploymentFactoryImpl |