Gentoo Archives: gentoo-commits

From: "Miroslav Šulc" <fordfrog@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-servers/tomcat/
Date: Fri, 07 Aug 2020 07:51:18
Message-Id: 1596786662.a986c1110832819bfc3a6953d97dca85af9abf48.fordfrog@gentoo
1 commit: a986c1110832819bfc3a6953d97dca85af9abf48
2 Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
3 AuthorDate: Fri Aug 7 07:50:49 2020 +0000
4 Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
5 CommitDate: Fri Aug 7 07:51:02 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a986c111
7
8 www-servers/tomcat: removed obsolete ebuilds
9
10 Package-Manager: Portage-3.0.1, Repoman-2.3.23
11 Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
12
13 www-servers/tomcat/tomcat-7.0.105.ebuild | 146 ------------------------
14 www-servers/tomcat/tomcat-8.5.57.ebuild | 163 ---------------------------
15 www-servers/tomcat/tomcat-9.0.37.ebuild | 187 -------------------------------
16 3 files changed, 496 deletions(-)
17
18 diff --git a/www-servers/tomcat/tomcat-7.0.105.ebuild b/www-servers/tomcat/tomcat-7.0.105.ebuild
19 deleted file mode 100644
20 index 8fa804171b4..00000000000
21 --- a/www-servers/tomcat/tomcat-7.0.105.ebuild
22 +++ /dev/null
23 @@ -1,146 +0,0 @@
24 -# Copyright 1999-2020 Gentoo Authors
25 -# Distributed under the terms of the GNU General Public License v2
26 -
27 -EAPI=7
28 -
29 -JAVA_PKG_IUSE="doc source test"
30 -
31 -inherit eutils java-pkg-2 java-ant-2 prefix user
32 -
33 -MY_P="apache-${P}-src"
34 -
35 -DESCRIPTION="Tomcat Servlet-3.0/JSP-2.2 Container"
36 -HOMEPAGE="https://tomcat.apache.org/"
37 -SRC_URI="mirror://apache/${PN}/tomcat-7/v${PV}/src/${MY_P}.tar.gz"
38 -
39 -LICENSE="Apache-2.0"
40 -SLOT="7"
41 -KEYWORDS="amd64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x86-solaris"
42 -IUSE="extra-webapps websockets"
43 -
44 -RESTRICT="test" # can we run them on a production system?
45 -
46 -ECJ_SLOT="4.5"
47 -SAPI_SLOT="3.0"
48 -
49 -COMMON_DEP="dev-java/eclipse-ecj:${ECJ_SLOT}
50 - ~dev-java/tomcat-servlet-api-${PV}:${SAPI_SLOT}"
51 -RDEPEND="${COMMON_DEP}
52 - virtual/jre"
53 -DEPEND="${COMMON_DEP}
54 - virtual/jdk:1.8
55 - test? ( dev-java/ant-junit:0 )"
56 -
57 -S=${WORKDIR}/${MY_P}
58 -
59 -pkg_setup() {
60 - java-pkg-2_pkg_setup
61 - enewgroup tomcat 265
62 - enewuser tomcat 265 -1 /dev/null tomcat
63 -}
64 -
65 -src_prepare() {
66 - default
67 -
68 - # Remove bundled servlet-api
69 - rm -rv java/javax/{el,servlet} || die
70 -
71 - java-pkg_clean
72 -
73 - eapply "${FILESDIR}/${PN}-7.0.99-build.xml.patch"
74 -
75 - # For use of catalina.sh in netbeans
76 - sed -i -e "/^# ----- Execute The Requested Command/ a\
77 - CLASSPATH=\`java-config --classpath ${PN}-${SLOT}\`" \
78 - bin/catalina.sh || die
79 -
80 - java-pkg-2_src_prepare
81 -}
82 -
83 -JAVA_ANT_REWRITE_CLASSPATH="true"
84 -
85 -EANT_BUILD_TARGET="deploy"
86 -EANT_GENTOO_CLASSPATH="eclipse-ecj-${ECJ_SLOT},tomcat-servlet-api-${SAPI_SLOT}"
87 -EANT_GENTOO_CLASSPATH_EXTRA="${S}/output/classes"
88 -EANT_NEEDS_TOOLS="true"
89 -EANT_EXTRA_ARGS="-Dversion=${PV}-gentoo -Dversion.number=${PV} -Dcompile.debug=false"
90 -
91 -# revisions of the scripts
92 -IM_REV="-r1"
93 -INIT_REV="-r1"
94 -
95 -src_compile() {
96 - use websockets && EANT_EXTRA_ARGS+=" -Djava.7.home=${JAVA_HOME}"
97 - EANT_GENTOO_CLASSPATH_EXTRA+=":$(java-pkg_getjar --build-only ant-core ant.jar)"
98 - java-pkg-2_src_compile
99 -}
100 -
101 -src_test() {
102 - java-pkg-2_src_test
103 -}
104 -
105 -src_install() {
106 - local dest="/usr/share/${PN}-${SLOT}"
107 -
108 - java-pkg_jarinto "${dest}"/bin
109 - java-pkg_dojar output/build/bin/*.jar
110 - exeinto "${dest}"/bin
111 - doexe output/build/bin/*.sh
112 -
113 - java-pkg_jarinto "${dest}"/lib
114 - java-pkg_dojar output/build/lib/*.jar
115 -
116 - dodoc RELEASE-NOTES RUNNING.txt
117 - use doc && java-pkg_dojavadoc output/dist/webapps/docs/api
118 - use source && java-pkg_dosrc java/*
119 -
120 - ### Webapps ###
121 -
122 - insinto "${dest}"/webapps
123 - doins -r output/build/webapps/{host-manager,manager,ROOT}
124 - use extra-webapps && doins -r output/build/webapps/{docs,examples}
125 -
126 - ### Config ###
127 -
128 - # create "logs" directory in $CATALINA_BASE
129 - # and set correct perms, see #458890
130 - dodir "${dest}"/logs
131 - fperms 0750 "${dest}"/logs
132 -
133 - # replace the default pw with a random one, see #92281
134 - local randpw=$(echo ${RANDOM}|md5sum|cut -c 1-15)
135 - sed -i -e "s|SHUTDOWN|${randpw}|" output/build/conf/server.xml || die
136 -
137 - # prepend gentoo.classpath to common.loader, see #453212
138 - sed -i -e 's/^common\.loader=/\0${gentoo.classpath},/' output/build/conf/catalina.properties || die
139 -
140 - insinto "${dest}"
141 - doins -r output/build/conf
142 -
143 - ### rc ###
144 -
145 - cp "${FILESDIR}"/tomcat{.conf,${INIT_REV}.init,-instance-manager${IM_REV}.bash} "${T}" || die
146 - eprefixify "${T}"/tomcat{.conf,${INIT_REV}.init,-instance-manager${IM_REV}.bash}
147 - sed -i -e "s|@SLOT@|${SLOT}|g" "${T}"/tomcat{.conf,${INIT_REV}.init,-instance-manager${IM_REV}.bash} || die
148 -
149 - insinto "${dest}"/gentoo
150 - doins "${T}"/tomcat.conf
151 - exeinto "${dest}"/gentoo
152 - newexe "${T}"/tomcat${INIT_REV}.init tomcat.init
153 - newexe "${T}"/tomcat-instance-manager${IM_REV}.bash tomcat-instance-manager.bash
154 -}
155 -
156 -pkg_postinst() {
157 - elog "New ebuilds of Tomcat support running multiple instances. If you used prior version"
158 - elog "of Tomcat (<7.0.32), you have to migrate your existing instance to work with new Tomcat."
159 - elog "You can find more information at https://wiki.gentoo.org/wiki/Apache_Tomcat"
160 -
161 - elog "To manage Tomcat instances, run:"
162 - elog " ${EPREFIX}/usr/share/${PN}-${SLOT}/gentoo/tomcat-instance-manager.bash --help"
163 -
164 - ewarn "tomcat-dbcp.jar is not built at this time. Please fetch jar"
165 - ewarn "from upstream binary if you need it. Gentoo Bug # 144276"
166 -
167 - einfo "Please read https://wiki.gentoo.org/wiki/Apache_Tomcat and"
168 - einfo "https://wiki.gentoo.org/wiki/Project:Java/Tomcat_6_Guide for more information."
169 -}
170
171 diff --git a/www-servers/tomcat/tomcat-8.5.57.ebuild b/www-servers/tomcat/tomcat-8.5.57.ebuild
172 deleted file mode 100644
173 index 03adbd20dda..00000000000
174 --- a/www-servers/tomcat/tomcat-8.5.57.ebuild
175 +++ /dev/null
176 @@ -1,163 +0,0 @@
177 -# Copyright 1999-2020 Gentoo Authors
178 -# Distributed under the terms of the GNU General Public License v2
179 -
180 -EAPI=7
181 -
182 -JAVA_PKG_IUSE="doc source test"
183 -
184 -inherit eutils java-pkg-2 java-ant-2 prefix user
185 -
186 -MY_P="apache-${P}-src"
187 -
188 -DESCRIPTION="Tomcat Servlet-3.1/JSP-2.3/EL-3.0/WebSocket-1.1/JASPIC-1.1 Container"
189 -HOMEPAGE="https://tomcat.apache.org/"
190 -SRC_URI="mirror://apache/${PN}/tomcat-8/v${PV}/src/${MY_P}.tar.gz"
191 -
192 -LICENSE="Apache-2.0"
193 -SLOT="8.5"
194 -KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux ~x86-solaris"
195 -IUSE="extra-webapps"
196 -
197 -RESTRICT="test" # can we run them on a production system?
198 -
199 -ECJ_SLOT="4.5"
200 -SAPI_SLOT="3.1"
201 -
202 -COMMON_DEP="dev-java/eclipse-ecj:${ECJ_SLOT}
203 - ~dev-java/tomcat-servlet-api-${PV}:${SAPI_SLOT}"
204 -RDEPEND="${COMMON_DEP}
205 - virtual/jre"
206 -DEPEND="${COMMON_DEP}
207 - app-admin/pwgen
208 - >=dev-java/ant-core-1.9.13
209 - virtual/jdk:1.8
210 - doc? (
211 - dev-java/glassfish-xmlrpc-api:0
212 - dev-java/wsdl4j:0
213 - )
214 - test? (
215 - >=dev-java/ant-junit-1.9:0
216 - dev-java/easymock:3.2
217 - )"
218 -
219 -S=${WORKDIR}/${MY_P}
220 -
221 -pkg_setup() {
222 - java-pkg-2_pkg_setup
223 - enewgroup tomcat 265
224 - enewuser tomcat 265 -1 /dev/null tomcat
225 -}
226 -
227 -src_prepare() {
228 - default
229 -
230 - find -name '*.jar' -type f -delete -print || die
231 -
232 - # Remove bundled servlet-api
233 - rm -rv java/javax/{el,servlet} || die
234 -
235 - eapply "${FILESDIR}/${P}-build.xml.patch"
236 -
237 - # For use of catalina.sh in netbeans
238 - sed -i -e "/^# ----- Execute The Requested Command/ a\
239 - CLASSPATH=\`java-config --classpath ${PN}-${SLOT}\`" \
240 - bin/catalina.sh || die
241 -
242 - java-pkg-2_src_prepare
243 -}
244 -
245 -JAVA_ANT_REWRITE_CLASSPATH="true"
246 -
247 -EANT_BUILD_TARGET="deploy"
248 -EANT_GENTOO_CLASSPATH="eclipse-ecj-${ECJ_SLOT},tomcat-servlet-api-${SAPI_SLOT}"
249 -EANT_TEST_GENTOO_CLASSPATH="easymock-3.2"
250 -EANT_GENTOO_CLASSPATH_EXTRA="${S}/output/classes"
251 -EANT_NEEDS_TOOLS="true"
252 -EANT_EXTRA_ARGS="-Dversion=${PV}-gentoo -Dversion.number=${PV} -Dcompile.debug=false -Dexecute.validate=false"
253 -
254 -# revisions of the scripts
255 -IM_REV="-r2"
256 -INIT_REV="-r1"
257 -
258 -src_compile() {
259 - EANT_GENTOO_CLASSPATH_EXTRA+=":$(java-pkg_getjar --build-only ant-core ant.jar)"
260 - use doc && EANT_GENTOO_CLASSPATH_EXTRA+=":$(java-pkg_getjar --build-only glassfish-xmlrpc-api glassfish-xmlrpc-api.jar):$(java-pkg_getjar --build-only wsdl4j wsdl4j.jar)"
261 - java-pkg-2_src_compile
262 -}
263 -
264 -src_test() {
265 - java-pkg-2_src_test
266 -}
267 -
268 -src_install() {
269 - local dest="/usr/share/${PN}-${SLOT}"
270 -
271 - java-pkg_jarinto "${dest}"/bin
272 - java-pkg_dojar output/build/bin/*.jar
273 - exeinto "${dest}"/bin
274 - doexe output/build/bin/*.sh
275 -
276 - java-pkg_jarinto "${dest}"/lib
277 - java-pkg_dojar output/build/lib/*.jar
278 -
279 - dodoc RELEASE-NOTES RUNNING.txt
280 - use doc && java-pkg_dojavadoc output/dist/webapps/docs/api
281 - use source && java-pkg_dosrc java/*
282 -
283 - ### Webapps ###
284 -
285 - # add missing docBase
286 - local apps="host-manager manager"
287 - for app in ${apps}; do
288 - sed -i -e "s|=\"true\" >|=\"true\" docBase=\"\$\{catalina.home\}/webapps/${app}\" >|" \
289 - output/build/webapps/${app}/META-INF/context.xml || die
290 - done
291 -
292 - insinto "${dest}"/webapps
293 - doins -r output/build/webapps/{host-manager,manager,ROOT}
294 - use extra-webapps && doins -r output/build/webapps/{docs,examples}
295 -
296 - ### Config ###
297 -
298 - # create "logs" directory in $CATALINA_BASE
299 - # and set correct perms, see #458890
300 - dodir "${dest}"/logs
301 - fperms 0750 "${dest}"/logs
302 -
303 - # replace the default pw with a random one, see #92281
304 - local randpw="$(pwgen -s -B 15 1)"
305 - sed -i -e "s|SHUTDOWN|${randpw}|" output/build/conf/server.xml || die
306 -
307 - # prepend gentoo.classpath to common.loader, see #453212
308 - sed -i -e 's/^common\.loader=/\0${gentoo.classpath},/' output/build/conf/catalina.properties || die
309 -
310 - insinto "${dest}"
311 - doins -r output/build/conf
312 -
313 - ### rc ###
314 -
315 - cp "${FILESDIR}"/tomcat{.conf,${INIT_REV}.init,-instance-manager${IM_REV}.bash} "${T}" || die
316 - eprefixify "${T}"/tomcat{.conf,${INIT_REV}.init,-instance-manager${IM_REV}.bash}
317 - sed -i -e "s|@SLOT@|${SLOT}|g" "${T}"/tomcat{.conf,${INIT_REV}.init,-instance-manager${IM_REV}.bash} || die
318 -
319 - insinto "${dest}"/gentoo
320 - doins "${T}"/tomcat.conf
321 - exeinto "${dest}"/gentoo
322 - newexe "${T}"/tomcat${INIT_REV}.init tomcat.init
323 - newexe "${T}"/tomcat-instance-manager${IM_REV}.bash tomcat-instance-manager.bash
324 -}
325 -
326 -pkg_postinst() {
327 - elog "New ebuilds of Tomcat support running multiple instances. If you used prior version"
328 - elog "of Tomcat (<7.0.32), you have to migrate your existing instance to work with new Tomcat."
329 - elog "You can find more information at https://wiki.gentoo.org/wiki/Apache_Tomcat"
330 -
331 - elog "To manage Tomcat instances, run:"
332 - elog " ${EPREFIX}/usr/share/${PN}-${SLOT}/gentoo/tomcat-instance-manager.bash --help"
333 -
334 - ewarn "tomcat-dbcp.jar is not built at this time. Please fetch jar"
335 - ewarn "from upstream binary if you need it. Gentoo Bug # 144276"
336 -
337 - einfo "Please read https://wiki.gentoo.org/wiki/Apache_Tomcat and"
338 - einfo "https://wiki.gentoo.org/wiki/Project:Java/Tomcat_6_Guide for more information."
339 -}
340
341 diff --git a/www-servers/tomcat/tomcat-9.0.37.ebuild b/www-servers/tomcat/tomcat-9.0.37.ebuild
342 deleted file mode 100644
343 index 2999d01e997..00000000000
344 --- a/www-servers/tomcat/tomcat-9.0.37.ebuild
345 +++ /dev/null
346 @@ -1,187 +0,0 @@
347 -# Copyright 1999-2020 Gentoo Authors
348 -# Distributed under the terms of the GNU General Public License v2
349 -
350 -EAPI=7
351 -
352 -JAVA_PKG_IUSE="doc source test"
353 -
354 -inherit eutils java-pkg-2 java-ant-2 prefix user
355 -
356 -MY_P="apache-${PN}-${PV}-src"
357 -
358 -# Currently we bundle binary versions of bnd.jar and bndlib.jar
359 -# See bugs #203080 and #676116
360 -BND_VERSION="5.1.1"
361 -BND="biz.aQute.bnd-${BND_VERSION}.jar"
362 -BNDLIB="biz.aQute.bndlib-${BND_VERSION}.jar"
363 -
364 -DESCRIPTION="Tomcat Servlet-4.0/JSP-2.4?/EL-3.1?/WebSocket-1.2?/JASPIC-1.1 Container"
365 -HOMEPAGE="https://tomcat.apache.org/"
366 -SRC_URI="mirror://apache/${PN}/tomcat-9/v${PV}/src/${MY_P}.tar.gz
367 - https://repo.maven.apache.org/maven2/biz/aQute/bnd/biz.aQute.bnd/${BND_VERSION}/${BND}
368 - https://repo.maven.apache.org/maven2/biz/aQute/bnd/biz.aQute.bndlib/${BND_VERSION}/${BNDLIB}"
369 -
370 -LICENSE="Apache-2.0"
371 -SLOT="9"
372 -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x86-solaris"
373 -IUSE="extra-webapps"
374 -
375 -RESTRICT="test" # can we run them on a production system?
376 -
377 -ECJ_SLOT="4.13"
378 -SAPI_SLOT="4.0"
379 -
380 -COMMON_DEP="dev-java/eclipse-ecj:${ECJ_SLOT}
381 - dev-java/glassfish-xmlrpc-api:0
382 - ~dev-java/tomcat-servlet-api-${PV}:${SAPI_SLOT}
383 - dev-java/wsdl4j:0"
384 -RDEPEND="${COMMON_DEP}
385 - virtual/jre"
386 -DEPEND="${COMMON_DEP}
387 - app-admin/pwgen
388 - >=dev-java/ant-core-1.9.13
389 - virtual/jdk:1.8
390 - test? (
391 - >=dev-java/ant-junit-1.9:0
392 - dev-java/easymock:3.2
393 - )"
394 -
395 -S=${WORKDIR}/${MY_P}
396 -
397 -BND_HOME="${S}/tomcat-build-libs/bnd"
398 -BNDLIB_HOME="${S}/tomcat-build-libs/bndlib"
399 -BND_JAR="${BND_HOME}/${BND}"
400 -BNDLIB_JAR="${BNDLIB_HOME}/${BND_LIB}"
401 -
402 -src_unpack() {
403 - unpack ${MY_P}.tar.gz
404 -
405 - mkdir -p "${BND_HOME}" "${BNDLIB_HOME}" || die "Failed to create dir"
406 - ln -s "${DISTDIR}/${BND}" "${BND_HOME}/" || die "Failed to symlink bnd-*.jar"
407 - ln -s "${DISTDIR}/${BND}" "${BNDLIB_HOME}/" || die "Failed to symlink bndlib-*.jar"
408 -}
409 -
410 -pkg_setup() {
411 - java-pkg-2_pkg_setup
412 - enewgroup tomcat 265
413 - enewuser tomcat 265 -1 /dev/null tomcat
414 -}
415 -
416 -src_prepare() {
417 - default
418 -
419 - find -name '*.jar' -type f -delete -print || die
420 -
421 - # Remove bundled servlet-api
422 - rm -rv java/javax/{el,servlet} || die
423 -
424 - eapply "${FILESDIR}/${P}-build.xml.patch"
425 -
426 - # For use of catalina.sh in netbeans
427 - sed -i -e "/^# ----- Execute The Requested Command/ a\
428 - CLASSPATH=\`java-config --classpath ${PN}-${SLOT}\`" \
429 - bin/catalina.sh || die
430 -
431 - java-pkg-2_src_prepare
432 -}
433 -
434 -JAVA_ANT_REWRITE_CLASSPATH="true"
435 -
436 -EANT_BUILD_TARGET="deploy"
437 -EANT_GENTOO_CLASSPATH="eclipse-ecj-${ECJ_SLOT},tomcat-servlet-api-${SAPI_SLOT},glassfish-xmlrpc-api,wsdl4j"
438 -EANT_TEST_GENTOO_CLASSPATH="easymock-3.2"
439 -EANT_GENTOO_CLASSPATH_EXTRA="${S}/output/classes"
440 -EANT_NEEDS_TOOLS="true"
441 -EANT_EXTRA_ARGS="-Dversion=${PV}-gentoo -Dversion.number=${PV} -Dcompile.debug=false -Dbnd.jar=${BND_JAR} -Dbndlib.jar=${BNDLIB_JAR}"
442 -
443 -# revisions of the scripts
444 -IM_REV="-r2"
445 -INIT_REV="-r1"
446 -
447 -src_configure() {
448 - java-ant-2_src_configure
449 -
450 - eapply "${FILESDIR}/${P}-fix-build-rewrite.patch"
451 -}
452 -
453 -src_compile() {
454 - EANT_GENTOO_CLASSPATH_EXTRA+=":$(java-pkg_getjar --build-only ant-core ant.jar)"
455 - java-pkg-2_src_compile
456 -}
457 -
458 -src_test() {
459 - java-pkg-2_src_test
460 -}
461 -
462 -src_install() {
463 - local dest="/usr/share/${PN}-${SLOT}"
464 -
465 - java-pkg_jarinto "${dest}"/bin
466 - java-pkg_dojar output/build/bin/*.jar
467 - exeinto "${dest}"/bin
468 - doexe output/build/bin/*.sh
469 -
470 - java-pkg_jarinto "${dest}"/lib
471 - java-pkg_dojar output/build/lib/*.jar
472 -
473 - dodoc RELEASE-NOTES RUNNING.txt
474 - use doc && java-pkg_dojavadoc output/dist/webapps/docs/api
475 - use source && java-pkg_dosrc java/*
476 -
477 - ### Webapps ###
478 -
479 - # add missing docBase
480 - local apps="host-manager manager"
481 - for app in ${apps}; do
482 - sed -i -e "s|=\"true\" >|=\"true\" docBase=\"\$\{catalina.home\}/webapps/${app}\" >|" \
483 - output/build/webapps/${app}/META-INF/context.xml || die
484 - done
485 -
486 - insinto "${dest}"/webapps
487 - doins -r output/build/webapps/{host-manager,manager,ROOT}
488 - use extra-webapps && doins -r output/build/webapps/{docs,examples}
489 -
490 - ### Config ###
491 -
492 - # create "logs" directory in $CATALINA_BASE
493 - # and set correct perms, see #458890
494 - dodir "${dest}"/logs
495 - fperms 0750 "${dest}"/logs
496 -
497 - # replace the default pw with a random one, see #92281
498 - local randpw="$(pwgen -s -B 15 1)"
499 - sed -i -e "s|SHUTDOWN|${randpw}|" output/build/conf/server.xml || die
500 -
501 - # prepend gentoo.classpath to common.loader, see #453212
502 - sed -i -e 's/^common\.loader=/\0${gentoo.classpath},/' output/build/conf/catalina.properties || die
503 -
504 - insinto "${dest}"
505 - doins -r output/build/conf
506 -
507 - ### rc ###
508 -
509 - cp "${FILESDIR}"/tomcat{.conf,${INIT_REV}.init,-instance-manager${IM_REV}.bash} "${T}" || die
510 - eprefixify "${T}"/tomcat{.conf,${INIT_REV}.init,-instance-manager${IM_REV}.bash}
511 - sed -i -e "s|@SLOT@|${SLOT}|g" "${T}"/tomcat{.conf,${INIT_REV}.init,-instance-manager${IM_REV}.bash} || die
512 -
513 - insinto "${dest}"/gentoo
514 - doins "${T}"/tomcat.conf
515 - exeinto "${dest}"/gentoo
516 - newexe "${T}"/tomcat${INIT_REV}.init tomcat.init
517 - newexe "${T}"/tomcat-instance-manager${IM_REV}.bash tomcat-instance-manager.bash
518 -}
519 -
520 -pkg_postinst() {
521 - elog "New ebuilds of Tomcat support running multiple instances. If you used prior version"
522 - elog "of Tomcat (<7.0.32), you have to migrate your existing instance to work with new Tomcat."
523 - elog "You can find more information at https://wiki.gentoo.org/wiki/Apache_Tomcat"
524 -
525 - elog "To manage Tomcat instances, run:"
526 - elog " ${EPREFIX}/usr/share/${PN}-${SLOT}/gentoo/tomcat-instance-manager.bash --help"
527 -
528 - ewarn "tomcat-dbcp.jar is not built at this time. Please fetch jar"
529 - ewarn "from upstream binary if you need it. Gentoo Bug # 144276"
530 -
531 - einfo "Please read https://wiki.gentoo.org/wiki/Apache_Tomcat and"
532 - einfo "https://wiki.gentoo.org/wiki/Project:Java/Tomcat_6_Guide for more information."
533 -}