Gentoo Archives: gentoo-commits

From: "Petteri Raty (betelgeuse)" <betelgeuse@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-apache/mod_jk: ChangeLog mod_jk-1.2.28.ebuild
Date: Sun, 05 Apr 2009 19:55:23
Message-Id: E1LqYR6-0007hh-Mu@stork.gentoo.org
1 betelgeuse 09/04/05 19:55:20
2
3 Modified: ChangeLog
4 Added: mod_jk-1.2.28.ebuild
5 Log:
6 Version bump. Fixes bug #264035.
7 (Portage version: 2.2_rc27/cvs/Linux i686)
8
9 Revision Changes Path
10 1.55 www-apache/mod_jk/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_jk/ChangeLog?rev=1.55&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_jk/ChangeLog?rev=1.55&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_jk/ChangeLog?r1=1.54&r2=1.55
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/www-apache/mod_jk/ChangeLog,v
19 retrieving revision 1.54
20 retrieving revision 1.55
21 diff -u -r1.54 -r1.55
22 --- ChangeLog 16 Feb 2009 23:33:32 -0000 1.54
23 +++ ChangeLog 5 Apr 2009 19:55:20 -0000 1.55
24 @@ -1,6 +1,11 @@
25 # ChangeLog for www-apache/mod_jk
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_jk/ChangeLog,v 1.54 2009/02/16 23:33:32 betelgeuse Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_jk/ChangeLog,v 1.55 2009/04/05 19:55:20 betelgeuse Exp $
29 +
30 +*mod_jk-1.2.28 (05 Apr 2009)
31 +
32 + 05 Apr 2009; Petteri Räty <betelgeuse@g.o> +mod_jk-1.2.28.ebuild:
33 + Version bump. Fixes bug #264035.
34
35 16 Feb 2009; Petteri Räty <betelgeuse@g.o> files/88_mod_jk.conf,
36 files/new/88_mod_jk.conf:
37
38
39
40 1.1 www-apache/mod_jk/mod_jk-1.2.28.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_jk/mod_jk-1.2.28.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_jk/mod_jk-1.2.28.ebuild?rev=1.1&content-type=text/plain
44
45 Index: mod_jk-1.2.28.ebuild
46 ===================================================================
47 # Copyright 1999-2009 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/www-apache/mod_jk/mod_jk-1.2.28.ebuild,v 1.1 2009/04/05 19:55:20 betelgeuse Exp $
50
51 EAPI="2"
52
53 inherit apache-module java-pkg-2
54
55 MY_P="tomcat-connectors-${PV}-src"
56
57 KEYWORDS="~amd64 ~ppc ~x86"
58
59 DESCRIPTION="JK module for connecting Tomcat and Apache using the ajp13 protocol."
60 HOMEPAGE="http://tomcat.apache.org/connectors-doc/"
61 SRC_URI="mirror://apache/tomcat/tomcat-connectors/jk/source/jk-${PV}/${MY_P}.tar.gz"
62 LICENSE="Apache-2.0"
63 SLOT="0"
64 IUSE=""
65
66 S="${WORKDIR}/${MY_P}/native"
67
68 APACHE2_MOD_FILE="${S}/apache-2.0/${PN}.so"
69 APACHE2_MOD_CONF="88_${PN}"
70 APACHE2_MOD_DEFINE="JK"
71
72 DOCFILES="CHANGES"
73 CONF_DIR="${WORKDIR}/${MY_P}/conf"
74 need_apache
75
76 DEPEND=">=virtual/jdk-1.4"
77
78 src_configure() {
79 econf \
80 --with-apxs=${APXS} \
81 --with-apr-config=/usr/bin/apr-config \
82 || die "econf failed"
83 }
84
85 src_compile() {
86 emake LIBTOOL="/bin/sh $(pwd)/libtool --silent" || die "emake failed"
87 }
88
89 src_install() {
90 # install the workers.properties file
91 insinto "${APACHE_CONFDIR}"
92 doins "${CONF_DIR}/workers.properties"
93 doins "${CONF_DIR}/uriworkermap.properties"
94
95 # call the nifty default src_install :-)
96 apache-module_src_install
97 }
98
99 pkg_postinst() {
100 elog "Tomcat is not a dependency of mod_jk any longer, if you intend"
101 elog "to use it with Tomcat, you have to merge www-servers/tomcat on"
102 elog "your own."
103
104 elog "Advanced Directives and Options can be found at: "
105 elog "http://tomcat.apache.org/connectors-doc/reference/workers.html"
106
107 elog ""
108 elog "JNI Worker Deprecation:"
109 elog "Workers of type jni are broken since a long time."
110 elog "Since there is no more use for them, they have been deprecated now,"
111 elog "and will be removed in a future release."
112 }