Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 778758
Collapse All | Expand All

(-)a/www-apache/mod_jk/Manifest (+1 lines)
Line 1 Link Here
1
DIST tomcat-connectors-1.2.42-src.tar.gz 3143693 BLAKE2B d1ea2a85ec80a5e207896f3225049c12e96c5cb6d1734306ec7a268d0963f1c368bcf963b529e17efdf448c0f8ad3257902340f969b5a0bc6ee9644af4bb3772 SHA512 9a796e2a7865a99c16595deaead94e843c291ed7229f48414edf0a260b2dda05fc94671e8b863a9ccef719bbe2ca7622c06e3dae6ccf68a41f7d96e847b68791
1
DIST tomcat-connectors-1.2.42-src.tar.gz 3143693 BLAKE2B d1ea2a85ec80a5e207896f3225049c12e96c5cb6d1734306ec7a268d0963f1c368bcf963b529e17efdf448c0f8ad3257902340f969b5a0bc6ee9644af4bb3772 SHA512 9a796e2a7865a99c16595deaead94e843c291ed7229f48414edf0a260b2dda05fc94671e8b863a9ccef719bbe2ca7622c06e3dae6ccf68a41f7d96e847b68791
2
DIST tomcat-connectors-1.2.48-src.tar.gz 3665280 BLAKE2B eca84f31235e441dea08fd7f0e44de4370799e9781384a0a4329ae48c9dab4b146733bf810669fdcf60ede9e67e139942ccfe12c74e15f4eda19d9107f9b6150 SHA512 955a830724a3902e29032a5d2e7603d3170334e8a383d314f6bf8539d53d9f7ee4cfa0b31cfc954acb0a13d9975ed2229de085d08de3885f8679b509924fde47
(-)a/www-apache/mod_jk/mod_jk-1.2.48.ebuild (-1 / +58 lines)
Line 0 Link Here
0
- 
1
# Copyright 1999-2021 Gentoo Authors
2
# Distributed under the terms of the GNU General Public License v2
3
4
EAPI=7
5
6
MY_P="tomcat-connectors-${PV#-*}-src"
7
inherit apache-module readme.gentoo-r1
8
9
DESCRIPTION="JK module for connecting Tomcat and Apache using the ajp13 protocol"
10
HOMEPAGE="https://tomcat.apache.org/connectors-doc/"
11
SRC_URI="mirror://apache/tomcat/tomcat-connectors/jk/${MY_P}.tar.gz"
12
S="${WORKDIR}/${MY_P}/native"
13
14
LICENSE="Apache-2.0"
15
SLOT="0"
16
KEYWORDS="~amd64 ~ppc ~x86"
17
IUSE=""
18
19
APACHE2_MOD_FILE="${S}/apache-2.0/${PN}.so"
20
APACHE2_MOD_CONF="88_${PN}"
21
APACHE2_MOD_DEFINE="JK"
22
23
CONF_DIR="${WORKDIR}/${MY_P}/conf"
24
25
need_apache2
26
27
DOC_CONTENTS="
28
	Advanced Directives and Options can be found at:
29
	https://tomcat.apache.org/connectors-doc/reference/workers.html
30
"
31
32
src_configure() {
33
	econf \
34
		--with-apxs=${APXS}
35
}
36
37
src_compile() {
38
	emake LIBTOOL="/bin/sh $(pwd)/libtool --silent"
39
}
40
41
src_install() {
42
	# otherwise installs to /mod_jk.so
43
	APACHE_MODULESDIR="/usr/$(get_libdir)/apache2/modules"
44
45
	# install the workers.properties file
46
	insinto "${APACHE_CONFDIR}"
47
	newins "${CONF_DIR}/workers.properties" \
48
		jk-workers.properties
49
	doins "${CONF_DIR}/uriworkermap.properties"
50
51
	apache-module_src_install
52
53
	readme.gentoo_create_doc
54
}
55
56
pkg_postinst() {
57
	readme.gentoo_print_elog
58
}

Return to bug 778758