diff options
author | Timo Gurr <timo.gurr@gmail.com> | 2017-06-20 15:23:59 +0200 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2017-06-23 17:22:37 +0200 |
commit | 2620cebb313f435d213434e210692a0744fb7475 (patch) | |
tree | 1445752bbce4936293d14f834b069a5c29af7e1b /www-apache/mod_jk/mod_jk-1.2.42.ebuild | |
parent | dev-python/pythondialog: version bump. (diff) | |
download | gentoo-2620cebb313f435d213434e210692a0744fb7475.tar.gz gentoo-2620cebb313f435d213434e210692a0744fb7475.tar.bz2 gentoo-2620cebb313f435d213434e210692a0744fb7475.zip |
www-apache/mod_jk: version bump to 1.2.42.
Gentoo-Bug: https://bugs.gentoo.org/551216
Closes: https://github.com/gentoo/gentoo/pull/4962
Diffstat (limited to 'www-apache/mod_jk/mod_jk-1.2.42.ebuild')
-rw-r--r-- | www-apache/mod_jk/mod_jk-1.2.42.ebuild | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/www-apache/mod_jk/mod_jk-1.2.42.ebuild b/www-apache/mod_jk/mod_jk-1.2.42.ebuild new file mode 100644 index 000000000000..eed7662cad20 --- /dev/null +++ b/www-apache/mod_jk/mod_jk-1.2.42.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit apache-module java-pkg-opt-2 readme.gentoo-r1 + +MY_P="tomcat-connectors-${PV#-*}-src" + +DESCRIPTION="JK module for connecting Tomcat and Apache using the ajp13 protocol" +HOMEPAGE="https://tomcat.apache.org/connectors-doc/" +SRC_URI="mirror://apache/tomcat/tomcat-connectors/jk/${MY_P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="java" + +S="${WORKDIR}/${MY_P}/native" + +APACHE2_MOD_FILE="${S}/apache-2.0/${PN}.so" +APACHE2_MOD_CONF="88_${PN}" +APACHE2_MOD_DEFINE="JK" + +CONF_DIR="${WORKDIR}/${MY_P}/conf" + +DEPEND="java? ( >=virtual/jdk-1.4 )" +RDEPEND="" + +need_apache2 + +DOC_CONTENTS=" + Advanced Directives and Options can be found at: + https://tomcat.apache.org/connectors-doc/reference/workers.html +" + +pkg_setup() { + use java && java-pkg-2_pkg_setup +} + +src_configure() { + econf \ + --with-apxs=${APXS} +} + +src_compile() { + emake LIBTOOL="/bin/sh $(pwd)/libtool --silent" +} + +src_install() { + # install the workers.properties file + insinto "${APACHE_CONFDIR}" + newins "${CONF_DIR}/workers.properties" \ + jk-workers.properties + doins "${CONF_DIR}/uriworkermap.properties" + + apache-module_src_install + + readme.gentoo_create_doc +} |