Gentoo Archives: gentoo-commits

From: Aaron Bauman <bman@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-apache/mod_jk/
Date: Wed, 09 Aug 2017 02:41:38
Message-Id: 1502246475.18d1534ee94f8a925cefb3f153230e2676c10758.bman@gentoo
1 commit: 18d1534ee94f8a925cefb3f153230e2676c10758
2 Author: Aaron Bauman <bman <AT> gentoo <DOT> org>
3 AuthorDate: Wed Aug 9 02:41:15 2017 +0000
4 Commit: Aaron Bauman <bman <AT> gentoo <DOT> org>
5 CommitDate: Wed Aug 9 02:41:15 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18d1534e
7
8 www-apache/mod_jk: cleanup vulnerable wrt sec bug #551216
9
10 www-apache/mod_jk/Manifest | 2 -
11 www-apache/mod_jk/mod_jk-1.2.37.ebuild | 74 ----------------------------------
12 www-apache/mod_jk/mod_jk-1.2.40.ebuild | 65 -----------------------------
13 3 files changed, 141 deletions(-)
14
15 diff --git a/www-apache/mod_jk/Manifest b/www-apache/mod_jk/Manifest
16 index 1a3592c1ebb..a265d05d5df 100644
17 --- a/www-apache/mod_jk/Manifest
18 +++ b/www-apache/mod_jk/Manifest
19 @@ -1,3 +1 @@
20 -DIST tomcat-connectors-1.2.37-src.tar.gz 1528647 SHA256 38a92623ddd28b85bbf54cf77f4c867ccbebafb71233131471623691e4e751f9 SHA512 96d0d3baba661a14a2235424ad7bdd78b8b44db168cabd015cba328a200f3df00aa922fd6afb4cd3cff896591e7aeb65cdde16c641ccff5bdcb84518d8d0862f WHIRLPOOL 4d6b7b24610309f0fa44951dca81e0638aa92646e171df95fa225d1f813841592c687d6204dd0be4fb03303ad84ccee3f2adf54b542ee365877e74caaa5581d4
21 -DIST tomcat-connectors-1.2.40-src.tar.gz 1526449 SHA256 895e347c4dff74049a848603fb29958e6cf429ea0fc708d514b3a8958236705d SHA512 502424add813e85d725dfd0658809db113510a9ed755d24257fa4ee50224971f9cd679fad4f6b4ecbcca0a6ecd1414c86b0d08023ce123374dc28538f1e53c1c WHIRLPOOL 7a5810727987b4aa76134fd813c611ea813bbd99b68bb283fdebc77ee0e67f00676a410de01984f880611e8033e80fadbb8bc6b480df5d3c5ea4c456cb11fa4b
22 DIST tomcat-connectors-1.2.42-src.tar.gz 3143693 SHA256 ea119f234c716649d4e7d4abd428852185b6b23a9205655e45554b88f01f3e31 SHA512 9a796e2a7865a99c16595deaead94e843c291ed7229f48414edf0a260b2dda05fc94671e8b863a9ccef719bbe2ca7622c06e3dae6ccf68a41f7d96e847b68791 WHIRLPOOL e103c1bff37b841d629b42b0a2b23f5048666f58e102da4c42571a54323454e5a799c1c2494f8641ad8b16e267954d7eb60688f4ca13b8fe12d3d81f9897565a
23
24 diff --git a/www-apache/mod_jk/mod_jk-1.2.37.ebuild b/www-apache/mod_jk/mod_jk-1.2.37.ebuild
25 deleted file mode 100644
26 index 03013156b80..00000000000
27 --- a/www-apache/mod_jk/mod_jk-1.2.37.ebuild
28 +++ /dev/null
29 @@ -1,74 +0,0 @@
30 -# Copyright 1999-2016 Gentoo Foundation
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI="2"
34 -
35 -inherit apache-module java-pkg-2
36 -
37 -MY_P="tomcat-connectors-${PV}-src"
38 -
39 -KEYWORDS="amd64 x86"
40 -
41 -DESCRIPTION="JK module for connecting Tomcat and Apache using the ajp13 protocol"
42 -HOMEPAGE="http://tomcat.apache.org/connectors-doc/"
43 -SRC_URI="mirror://apache/tomcat/tomcat-connectors/jk/${MY_P}.tar.gz"
44 -LICENSE="Apache-2.0"
45 -SLOT="0"
46 -IUSE=""
47 -
48 -S="${WORKDIR}/${MY_P}/native"
49 -
50 -APACHE2_MOD_FILE="${S}/apache-2.0/${PN}.so"
51 -APACHE2_MOD_CONF="88_${PN}"
52 -APACHE2_MOD_DEFINE="JK"
53 -
54 -DOCFILES="CHANGES"
55 -CONF_DIR="${WORKDIR}/${MY_P}/conf"
56 -
57 -DEPEND=">=virtual/jdk-1.4"
58 -RDEPEND=""
59 -
60 -need_apache
61 -
62 -pkg_setup() {
63 - java-pkg-2_pkg_setup
64 -}
65 -
66 -src_configure() {
67 - econf \
68 - --with-apxs=${APXS} \
69 - --with-apr-config=/usr/bin/apr-config \
70 - || die "econf failed"
71 -}
72 -
73 -src_compile() {
74 - emake LIBTOOL="/bin/sh $(pwd)/libtool --silent" || die "emake failed"
75 -}
76 -
77 -src_install() {
78 - # install the workers.properties file
79 - insinto "${APACHE_CONFDIR}"
80 - newins "${CONF_DIR}/workers.properties.minimal" \
81 - jk-workers-minimal.properties || die
82 - newins "${CONF_DIR}/workers.properties" \
83 - jk-workers.properties || die
84 - doins "${CONF_DIR}/uriworkermap.properties" || die
85 -
86 - # call the nifty default src_install :-)
87 - apache-module_src_install
88 -}
89 -
90 -pkg_postinst() {
91 - elog "Tomcat is not a dependency of mod_jk any longer, if you intend"
92 - elog "to use it with Tomcat, you have to merge www-servers/tomcat on"
93 - elog "your own."
94 -
95 - elog "Advanced Directives and Options can be found at: "
96 - elog "http://tomcat.apache.org/connectors-doc/reference/workers.html"
97 -
98 - elog ""
99 - elog "JNI Worker Deprecation:"
100 - elog "Workers of type jni are broken since a long time."
101 - elog "Since there is no more use for them, they have been deprecated now,"
102 - elog "and will be removed in a future release."
103 -}
104
105 diff --git a/www-apache/mod_jk/mod_jk-1.2.40.ebuild b/www-apache/mod_jk/mod_jk-1.2.40.ebuild
106 deleted file mode 100644
107 index aac99dff2b1..00000000000
108 --- a/www-apache/mod_jk/mod_jk-1.2.40.ebuild
109 +++ /dev/null
110 @@ -1,65 +0,0 @@
111 -# Copyright 1999-2015 Gentoo Foundation
112 -# Distributed under the terms of the GNU General Public License v2
113 -
114 -EAPI="5"
115 -inherit apache-module java-pkg-opt-2 readme.gentoo
116 -
117 -MY_P="tomcat-connectors-${PV#-*}-src"
118 -
119 -KEYWORDS="amd64 ~ppc x86"
120 -
121 -DESCRIPTION="JK module for connecting Tomcat and Apache using the ajp13 protocol."
122 -HOMEPAGE="http://tomcat.apache.org/connectors-doc/"
123 -SRC_URI="mirror://apache/tomcat/tomcat-connectors/jk/${MY_P}.tar.gz"
124 -LICENSE="Apache-2.0"
125 -SLOT="0"
126 -IUSE="java"
127 -
128 -S="${WORKDIR}/${MY_P}/native"
129 -
130 -APACHE2_MOD_FILE="${S}/apache-2.0/${PN}.so"
131 -APACHE2_MOD_CONF="88_${PN}"
132 -APACHE2_MOD_DEFINE="JK"
133 -
134 -CONF_DIR="${WORKDIR}/${MY_P}/conf"
135 -
136 -DEPEND="java? ( >=virtual/jdk-1.4 )"
137 -RDEPEND=""
138 -
139 -need_apache
140 -
141 -DOC_CONTENTS="
142 - Advanced Directives and Options can be found at:
143 - http://tomcat.apache.org/connectors-doc/reference/workers.html
144 -"
145 -
146 -pkg_setup() {
147 - if use java ; then
148 - java-pkg-2_pkg_setup
149 - fi
150 -}
151 -
152 -src_configure() {
153 - econf \
154 - --with-apxs=${APXS} \
155 - --with-apr-config=/usr/bin/apr-config
156 -}
157 -
158 -src_compile() {
159 - emake LIBTOOL="/bin/sh $(pwd)/libtool --silent"
160 -}
161 -
162 -src_install() {
163 - # install the workers.properties file
164 - insinto "${APACHE_CONFDIR}"
165 - newins "${CONF_DIR}/workers.properties.minimal" \
166 - jk-workers-minimal.properties
167 - newins "${CONF_DIR}/workers.properties" \
168 - jk-workers.properties
169 - doins "${CONF_DIR}/uriworkermap.properties"
170 -
171 - # call the nifty default src_install
172 - apache-module_src_install
173 -
174 - readme.gentoo_create_doc
175 -}