public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Miroslav Šulc" <fordfrog@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: www-apache/mod_jk/
Date: Wed, 14 Aug 2024 08:52:24 +0000 (UTC)	[thread overview]
Message-ID: <1723625138.b5b916d886b69c6bcf686141b1784aa01ed0b68c.fordfrog@gentoo> (raw)

commit:     b5b916d886b69c6bcf686141b1784aa01ed0b68c
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Wed Aug 14 04:31:11 2024 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Wed Aug 14 08:45:38 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5b916d8

www-apache/mod_jk: add 1.2.50

Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/38141
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 www-apache/mod_jk/Manifest             |  2 +
 www-apache/mod_jk/mod_jk-1.2.50.ebuild | 77 ++++++++++++++++++++++++++++++++++
 2 files changed, 79 insertions(+)

diff --git a/www-apache/mod_jk/Manifest b/www-apache/mod_jk/Manifest
index 698f03cb11cb..ad56adb2ba39 100644
--- a/www-apache/mod_jk/Manifest
+++ b/www-apache/mod_jk/Manifest
@@ -1,2 +1,4 @@
 DIST tomcat-connectors-1.2.49-src.tar.gz 1702479 BLAKE2B 5994bbff6b8c11770cfe8287590d3af793d8720b8a54ecb066abe481e158517c25757a575c9db197e39b1ffc957f27237e92818a9da557db78e5d286b58b1d13 SHA512 936eb017ff9d9011996933838d5c306ede9ae1886405f4daed60719ee522cca6075dedb3b647863ef12155cca93f6db8e58209a5d3bbd2da157ffc536a6809f2
 DIST tomcat-connectors-1.2.49-src.tar.gz.asc 873 BLAKE2B 52cd9b6f051a6a76b1823773c4af2742dfdd686afa951975623d2d2a42730cbd40882e0f6f13600a6e473d265418b662ae1a576889e25685d74d8e692ae1a42e SHA512 41edf25b31bbf280814451dcb9fdc28497394213dfd968c37b2c15670aee34e028a7fc1145a374f128d7ab969c43ca9ae6fd296fee6bf5fae4785ea35908b144
+DIST tomcat-connectors-1.2.50-src.tar.gz 1738508 BLAKE2B ffa76cde244010169753d903735157fadcc93e91f32cb604247a8db801d6c05cf67817f457f11ba1aaa3b9d5ae480fad4bde2e50f3114e4e64a70117062419b4 SHA512 9b5a1eb1c0fd38627c574102b3551cdc96fc438b00be5d65770c55b43234af445e642fe8bcbdfe47686b0f3aadab3679340fa76b54b693f57f2273e83ac114ab
+DIST tomcat-connectors-1.2.50-src.tar.gz.asc 833 BLAKE2B e27ef4f7a194623f6561b30f9a97ba0dd1391404d44577e8bfe8663513bf12801753d859fbd75c63d1ceafa59493d338f5b0a1db2eb3678caf807293dc2acd7e SHA512 359721d9bbf121415b655082db5dc9ca7e98aa952038e89c49a69da0c77a4cd183a3e4c40107aa4803885332439868abfe9473b296e99480d01dd2ccc4c9b98b

diff --git a/www-apache/mod_jk/mod_jk-1.2.50.ebuild b/www-apache/mod_jk/mod_jk-1.2.50.ebuild
new file mode 100644
index 000000000000..189e7d517342
--- /dev/null
+++ b/www-apache/mod_jk/mod_jk-1.2.50.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_P="tomcat-connectors-${PV#-*}-src"
+
+inherit apache-module autotools verify-sig
+
+DESCRIPTION="Provides an AJP Apache2-JK-connector for the Tomcat servlet engine"
+HOMEPAGE="https://tomcat.apache.org/connectors-doc/"
+SRC_URI="mirror://apache/tomcat/tomcat-connectors/jk/${MY_P}.tar.gz
+	verify-sig? ( https://downloads.apache.org/tomcat/tomcat-connectors/jk/tomcat-connectors-${PV}-src.tar.gz.asc  )"
+S="${WORKDIR}/${MY_P}/native"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+
+DEPEND="dev-libs/apr:1="
+RDEPEND="${DEPEND}"
+BDEPEND="
+	dev-lang/perl
+	verify-sig? ( sec-keys/openpgp-keys-apache-tomcat-connectors )
+"
+
+APACHE2_MOD_FILE="${S}/apache-2.0/${PN}.so"
+APACHE2_MOD_DEFINE="JK"
+VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/tomcat-connectors.apache.org.asc"
+
+need_apache2
+
+pkg_setup() {
+	# Calling depend.apache_pkg_setup fails because we do not have
+	# "apache2" in IUSE but the function expects this in order to call
+	# _init_apache2_late which sets the APACHE_MODULESDIR variable.
+	_init_apache2
+	_init_apache2_late
+}
+
+src_prepare() {
+	default
+
+	# Don't add '-Wl,' as prefix for CFLAGS, as linker will fail
+	sed -e '/JK_PREFIX_IF_MISSING/d' -i configure.ac || die
+	eautoreconf
+
+	# Adjust confpath and logpath for Gentoo
+	local logs_path="/var/log/apache2"
+	sed -e "s|conf|${APACHE_CONFDIR}|g" -e "s|logs|${logs_path}|g" -i ../conf/httpd-jk.conf || die
+}
+
+src_configure() {
+	local myeconfargs=(
+		--disable-static
+		--with-apxs="${APXS}"
+	)
+
+	econf "${myeconfargs[@]}"
+}
+
+src_compile() {
+	LIBTOOL="/bin/sh $(pwd)/libtool --silent"
+	default
+}
+
+src_install() {
+	apache-module_src_install
+
+	insinto "${APACHE_CONFDIR}"
+	doins "${S}"/../conf/*.properties
+
+	insinto "${APACHE_MODULES_CONFDIR}"
+	newins ../conf/httpd-jk.conf 88_mod_jk.conf
+
+	einstalldocs
+}


             reply	other threads:[~2024-08-14  8:52 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-14  8:52 Miroslav Šulc [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-09-12 17:51 [gentoo-commits] repo/gentoo:master commit in: www-apache/mod_jk/ Eli Schwartz
2025-04-24 20:17 Sam James
2024-09-15 12:45 Conrad Kostecki
2024-09-15 12:45 Conrad Kostecki
2024-09-15 12:45 Conrad Kostecki
2023-10-17 13:03 Sam James
2023-10-17 13:03 Sam James
2023-09-14 21:32 Conrad Kostecki
2023-09-14 21:21 Conrad Kostecki
2023-09-13 19:42 Conrad Kostecki
2021-10-12 23:58 Sam James
2021-10-12 23:58 Sam James
2021-10-12 20:59 Conrad Kostecki
2021-07-08  7:11 Sergei Trofimovich
2021-07-08  7:08 Sergei Trofimovich
2021-07-05  6:06 Sergei Trofimovich
2021-04-13  7:36 Agostino Sarubbo
2021-04-05 19:01 Thomas Deutschmann
2021-04-04 19:44 Conrad Kostecki
2021-04-04 19:13 Conrad Kostecki
2021-04-04 19:13 Conrad Kostecki
2017-08-09  2:41 Aaron Bauman
2017-08-06 17:02 Aaron Bauman
2017-07-16  9:19 Tobias Klausmann
2017-06-23 15:31 Patrice Clement

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1723625138.b5b916d886b69c6bcf686141b1784aa01ed0b68c.fordfrog@gentoo \
    --to=fordfrog@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox