1 |
nelchael 07/11/09 14:07:03 |
2 |
|
3 |
Added: resin.init resin-3.1.3-gentoo.patch resin.conf |
4 |
Log: |
5 |
Version bump. |
6 |
(Portage version: 2.1.3.19) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 www-servers/resin/files/3.1.3/resin.init |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-servers/resin/files/3.1.3/resin.init?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-servers/resin/files/3.1.3/resin.init?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: resin.init |
15 |
=================================================================== |
16 |
#!/sbin/runscript |
17 |
# Copyright 1999-2004 Gentoo Foundation |
18 |
# Distributed under the terms of the GNU General Public License v2 |
19 |
# $Header: /var/cvsroot/gentoo-x86/www-servers/resin/files/3.1.3/resin.init,v 1.1 2007/11/09 14:07:03 nelchael Exp $ |
20 |
|
21 |
depend() { |
22 |
need net |
23 |
use dns logger mysql postgresql |
24 |
} |
25 |
|
26 |
runResin() { |
27 |
|
28 |
JAVA_HOME=$(java-config -O) |
29 |
[ -n "${GENTOO_VM}" ] && JAVA_HOME=$(java-config --select-vm="${GENTOO_VM}" -O) |
30 |
export JAVA_HOME |
31 |
|
32 |
local extraArgs= |
33 |
if [ "${VERBOSE}" = "yes" ]; then |
34 |
extraArgs="-verbose" |
35 |
fi |
36 |
|
37 |
local msg="${1}" |
38 |
shift |
39 |
|
40 |
local cmdline="${JAVA_HOME}/bin/java -jar /usr/share/resin/lib/resin.jar ${extraArgs} -resin-home /usr/lib/resin ${@}" |
41 |
|
42 |
ebegin "${msg}" |
43 |
su - resin -c "${cmdline}" |
44 |
eend $? |
45 |
|
46 |
} |
47 |
|
48 |
start() { |
49 |
|
50 |
runResin "Starting Resin" "start" |
51 |
|
52 |
} |
53 |
|
54 |
stop() { |
55 |
|
56 |
runResin "Stopping Resin" "stop" |
57 |
|
58 |
} |
59 |
|
60 |
|
61 |
|
62 |
1.1 www-servers/resin/files/3.1.3/resin-3.1.3-gentoo.patch |
63 |
|
64 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-servers/resin/files/3.1.3/resin-3.1.3-gentoo.patch?rev=1.1&view=markup |
65 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-servers/resin/files/3.1.3/resin-3.1.3-gentoo.patch?rev=1.1&content-type=text/plain |
66 |
|
67 |
Index: resin-3.1.3-gentoo.patch |
68 |
=================================================================== |
69 |
diff -Nru resin-3.1.3.vanilla/Makefile.in resin-3.1.3/Makefile.in |
70 |
--- resin-3.1.3.vanilla/Makefile.in 2007-11-09 14:59:07.000000000 +0100 |
71 |
+++ resin-3.1.3/Makefile.in 2007-11-09 15:00:28.000000000 +0100 |
72 |
@@ -9,20 +9,20 @@ |
73 |
|
74 |
install : |
75 |
(cd modules/c/src; $(MAKE) install) |
76 |
- if test $(PREFIX) != `pwd`; then \ |
77 |
- mkdir -p $(PREFIX)/lib; \ |
78 |
- mkdir -p $(PREFIX)/$(LIBEXEC); \ |
79 |
- cp -r $(LIBEXEC)/* $(PREFIX)/$(LIBEXEC); \ |
80 |
- cp lib/*.jar $(PREFIX)/lib; \ |
81 |
- mkdir -p $(PREFIX)/bin; \ |
82 |
- cp bin/* $(PREFIX)/bin; \ |
83 |
- mkdir -p $(PREFIX)/webapps; \ |
84 |
- cp -r webapps/* $(PREFIX)/webapps; \ |
85 |
- mkdir -p $(PREFIX)/conf; \ |
86 |
- cp conf/resin.conf $(PREFIX)/conf/resin.conf.orig; \ |
87 |
- cp conf/app-default.xml $(PREFIX)/conf/app-default.xml.orig; \ |
88 |
- if test ! -r $(PREFIX)/conf/resin.conf; then \ |
89 |
- cp conf/resin.conf $(PREFIX)/conf/resin.conf; \ |
90 |
- cp conf/app-default.xml $(PREFIX)/conf/app-default.xml; \ |
91 |
+ if test $(DESTDIR)/$(PREFIX) != `pwd`; then \ |
92 |
+ mkdir -p $(DESTDIR)/$(PREFIX)/lib; \ |
93 |
+ mkdir -p $(DESTDIR)/$(PREFIX)/$(LIBEXEC); \ |
94 |
+ cp -r $(LIBEXEC)/* $(DESTDIR)/$(PREFIX)/$(LIBEXEC); \ |
95 |
+ cp lib/*.jar $(DESTDIR)/$(PREFIX)/lib; \ |
96 |
+ mkdir -p $(DESTDIR)/$(PREFIX)/bin; \ |
97 |
+ cp bin/* $(DESTDIR)/$(PREFIX)/bin; \ |
98 |
+ mkdir -p $(DESTDIR)/$(PREFIX)/webapps; \ |
99 |
+ cp -r webapps/* $(DESTDIR)/$(PREFIX)/webapps; \ |
100 |
+ mkdir -p $(DESTDIR)/$(PREFIX)/conf; \ |
101 |
+ cp conf/resin.conf $(DESTDIR)/$(PREFIX)/conf/resin.conf.orig; \ |
102 |
+ cp conf/app-default.xml $(DESTDIR)/$(PREFIX)/conf/app-default.xml.orig; \ |
103 |
+ if test ! -r $(DESTDIR)/$(PREFIX)/conf/resin.conf; then \ |
104 |
+ cp conf/resin.conf $(DESTDIR)/$(PREFIX)/conf/resin.conf; \ |
105 |
+ cp conf/app-default.xml $(DESTDIR)/$(PREFIX)/conf/app-default.xml; \ |
106 |
fi; \ |
107 |
fi |
108 |
diff -Nru resin-3.1.3.vanilla/build.xml resin-3.1.3/build.xml |
109 |
--- resin-3.1.3.vanilla/build.xml 2007-11-09 14:59:07.000000000 +0100 |
110 |
+++ resin-3.1.3/build.xml 2007-11-09 15:01:17.000000000 +0100 |
111 |
@@ -7,7 +7,6 @@ |
112 |
|
113 |
<property name="modules" location="${basedir}/modules"/> |
114 |
<property name="src" location="${basedir}/src"/> |
115 |
- <property name="ext" location="${basedir}/modules/ext"/> |
116 |
<property name="doc" location="${basedir}/doc"/> |
117 |
|
118 |
<property name="build" location="${install}/build"/> |
119 |
@@ -17,14 +16,12 @@ |
120 |
|
121 |
|
122 |
<property name="javac.verbose" value="off"/> |
123 |
- <property name="javac.debug" value="on"/> |
124 |
+ <property name="javac.debug" value="off"/> |
125 |
<property name="javac.optimize" value="off"/> |
126 |
<property name="javac.deprecation" value="off"/> |
127 |
<property name="javac.nowarn" value="on"/> |
128 |
<property name="javac.memoryMaximumSize" value="512m"/> |
129 |
|
130 |
- <property name="javac.source" value="1.5"/> |
131 |
- |
132 |
<property name="jar.compress" value="false"/> |
133 |
<!-- |
134 |
<property name="jar.index" value="true"/> |
135 |
@@ -83,14 +80,13 @@ |
136 |
</target> |
137 |
|
138 |
<target name="compile" |
139 |
- depends="init, jaxrpc, ejb, jpa, j2ee-deploy, j2ee-management, jca, jms, jsdk, jstl, jsf, jta, portlet, script, resin-util, quercus, resin, ecmascript, webutil, deploy, conf, ext"> |
140 |
+ depends="init, jaxrpc, ejb, jpa, j2ee-deploy, j2ee-management, jca, jms, jstl, jsf, jta, portlet, script, resin-util, quercus, resin, ecmascript, webutil, deploy, conf"> |
141 |
</target> |
142 |
|
143 |
<target name="ant" depends="init"> |
144 |
<antcall target="module" inheritRefs="true"> |
145 |
<param name="module.name" value="ant"/> |
146 |
<param name="module.jar" value="resin-ant.jar"/> |
147 |
- <param name="javac.source" value="1.5"/> |
148 |
</antcall> |
149 |
</target> |
150 |
|
151 |
@@ -98,7 +94,6 @@ |
152 |
<antcall target="module" inheritRefs="true"> |
153 |
<param name="module.name" value="ejb"/> |
154 |
<param name="module.jar" value="ejb-15.jar"/> |
155 |
- <param name="javac.source" value="1.5"/> |
156 |
</antcall> |
157 |
</target> |
158 |
|
159 |
@@ -106,7 +101,6 @@ |
160 |
<antcall target="module" inheritRefs="true"> |
161 |
<param name="module.name" value="jpa"/> |
162 |
<param name="module.jar" value="jpa-15.jar"/> |
163 |
- <param name="javac.source" value="1.5"/> |
164 |
</antcall> |
165 |
</target> |
166 |
|
167 |
@@ -124,11 +118,10 @@ |
168 |
</antcall> |
169 |
</target> |
170 |
|
171 |
- <target name="jaxrpc" depends="init,saaj,jsdk"> |
172 |
+ <target name="jaxrpc" depends="init,saaj"> |
173 |
<antcall target="module" inheritRefs="true"> |
174 |
<param name="module.name" value="jaxrpc"/> |
175 |
<param name="module.jar" value="jaxrpc-15.jar"/> |
176 |
- <param name="javac.source" value="1.5"/> |
177 |
</antcall> |
178 |
</target> |
179 |
|
180 |
@@ -167,7 +160,7 @@ |
181 |
</antcall> |
182 |
</target> |
183 |
|
184 |
- <target name="jstl" depends="init, jsdk"> |
185 |
+ <target name="jstl" depends="init"> |
186 |
<antcall target="module" inheritRefs="true"> |
187 |
<param name="module.name" value="jstl"/> |
188 |
<param name="module.jar" value="jstl-11.jar"/> |
189 |
@@ -221,7 +214,7 @@ |
190 |
</antcall> |
191 |
</target> |
192 |
|
193 |
- <target name="resin-dev" depends="init, ejb, jca, jcr, jms, jsdk, jstl, jsf, jta, j2ee-deploy, j2ee-management, saaj, jaxrpc, portlet, script, resin-util"> |
194 |
+ <target name="resin-dev" depends="init, ejb, jca, jcr, jms, jstl, jsf, jta, j2ee-deploy, j2ee-management, saaj, jaxrpc, portlet, script, resin-util"> |
195 |
|
196 |
<!-- filter to insert version --> |
197 |
|
198 |
@@ -251,7 +244,6 @@ |
199 |
|
200 |
<antcall target="module" inheritRefs="true"> |
201 |
<param name="module.name" value="resin"/> |
202 |
- <param name="javac.source" value="1.5"/> |
203 |
</antcall> |
204 |
</target> |
205 |
|
206 |
@@ -276,14 +268,12 @@ |
207 |
<target name="webutil" depends="init, resin"> |
208 |
<antcall target="module" inheritRefs="true"> |
209 |
<param name="module.name" value="webutil"/> |
210 |
- <param name="javac.source" value="1.5"/> |
211 |
</antcall> |
212 |
</target> |
213 |
|
214 |
<target name="quercus-dev" depends="init"> |
215 |
<antcall target="module" inheritRefs="true"> |
216 |
<param name="module.name" value="quercus"/> |
217 |
- <param name="javac.source" value="1.5"/> |
218 |
</antcall> |
219 |
</target> |
220 |
|
221 |
@@ -292,7 +282,6 @@ |
222 |
<target name="ecmascript" depends="init"> |
223 |
<antcall target="module" inheritRefs="true"> |
224 |
<param name="module.name" value="ecmascript"/> |
225 |
- <param name="javac.source" value="1.5"/> |
226 |
</antcall> |
227 |
</target> |
228 |
|
229 |
@@ -325,16 +314,15 @@ |
230 |
verbose="${javac.verbose}" |
231 |
debug="${javac.debug}" optimize="${javac.optimize}" |
232 |
deprecation="${javac.deprecation}" nowarn="${javac.nowarn}" |
233 |
- source="${javac.source}" |
234 |
excludes="**/.svn/**" |
235 |
memoryMaximumSize="${javac.memoryMaximumSize}"> |
236 |
<classpath> |
237 |
<dirset dir="${modules}"> |
238 |
<include name="*/classes"/> |
239 |
</dirset> |
240 |
- <fileset dir="${ext}"> |
241 |
- <include name="**/*.jar"/> |
242 |
- </fileset> |
243 |
+ <fileset dir="lib/"> |
244 |
+ <include name="*.jar"/> |
245 |
+ </fileset> |
246 |
</classpath> |
247 |
</javac> |
248 |
|
249 |
@@ -428,13 +416,6 @@ |
250 |
</copy> |
251 |
</target> |
252 |
|
253 |
- <target name="ext" depends="init, resin"> |
254 |
- <copy todir="${install}/lib" preservelastmodified="true"> |
255 |
- <fileset dir="${ext}"> |
256 |
- </fileset> |
257 |
- </copy> |
258 |
- </target> |
259 |
- |
260 |
<target name="webapps" depends="init, doc, quercus"> |
261 |
</target> |
262 |
|
263 |
@@ -536,9 +517,6 @@ |
264 |
<dirset dir="${modules}"> |
265 |
<include name="*/classes"/> |
266 |
</dirset> |
267 |
- <fileset dir="${modules}/ext"> |
268 |
- <include name="**/*.jar"/> |
269 |
- </fileset> |
270 |
</classpath> |
271 |
</java> |
272 |
|
273 |
@@ -667,7 +645,6 @@ |
274 |
<include name="lib/j2ee-management-10.jar"/> |
275 |
<include name="lib/jca-15.jar"/> |
276 |
<include name="lib/jms-11.jar"/> |
277 |
- <include name="lib/jsdk-15.jar"/> |
278 |
<include name="lib/jsf-12.jar"/> |
279 |
<include name="lib/jstl-11.jar"/> |
280 |
<include name="lib/jta-101.jar"/> |
281 |
|
282 |
|
283 |
|
284 |
1.1 www-servers/resin/files/3.1.3/resin.conf |
285 |
|
286 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-servers/resin/files/3.1.3/resin.conf?rev=1.1&view=markup |
287 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-servers/resin/files/3.1.3/resin.conf?rev=1.1&content-type=text/plain |
288 |
|
289 |
Index: resin.conf |
290 |
=================================================================== |
291 |
# JVM Runtime |
292 |
# Using the default setting, it will determine your JVM from the system-vm |
293 |
# set using java-config. |
294 |
# See java-config(1) manual page for assistance in determining this value. |
295 |
|
296 |
# You can override this value with whatever JDK 1.5 you want. |
297 |
# For a list of valid values for GENTOO_VM see output of |
298 |
# java-config -L |
299 |
#GENTOO_VM=sun-jdk-1.5 |
300 |
|
301 |
# Verbose starting and stopping? (yes/no, defaults to no) |
302 |
#VERBOSE="yes" |
303 |
|
304 |
|
305 |
|
306 |
-- |
307 |
gentoo-commits@g.o mailing list |