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: dev-java/tomcat-native/
Date: Thu, 25 Jul 2024 09:07:51 +0000 (UTC)	[thread overview]
Message-ID: <1721898338.5bfb363752b18098943595cb6053dd43a63004b8.fordfrog@gentoo> (raw)

commit:     5bfb363752b18098943595cb6053dd43a63004b8
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Thu Jul 25 08:37:11 2024 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Thu Jul 25 09:05:38 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5bfb3637

dev-java/tomcat-native: add 2.0.8

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

 dev-java/tomcat-native/Manifest                   |  2 +
 dev-java/tomcat-native/tomcat-native-2.0.8.ebuild | 79 +++++++++++++++++++++++
 2 files changed, 81 insertions(+)

diff --git a/dev-java/tomcat-native/Manifest b/dev-java/tomcat-native/Manifest
index 7aace8ac6336..68125b9bbf5d 100644
--- a/dev-java/tomcat-native/Manifest
+++ b/dev-java/tomcat-native/Manifest
@@ -2,3 +2,5 @@ DIST tomcat-native-1.3.0-src.tar.gz 345276 BLAKE2B 73e8433e12bdd88036509f4ffbd2c
 DIST tomcat-native-1.3.0-src.tar.gz.asc 833 BLAKE2B b7e05447643000ffda0d66143c199192b41843f10ae89874c353d613f612a6d481be3081aa971b640a3bedc6c903be7d052c418e2abc2d7d6db42924c7b3cf91 SHA512 9cfc137cd13086ccf421376a006164e6e6e14844636457db0cf7c0f699a1b1ceab28a52bd80da71dc9e190bdf84676abfdbe07a0cabecfc59b7845ac82a171e5
 DIST tomcat-native-2.0.7-src.tar.gz 538131 BLAKE2B ef973c830e3e3e04f4bf7bd711915b1ac5f28e34832edd0750117a5d6b00f9a7fa9e390858d23bfaeeb08ad825d7dcc1e95967c00d4ada96cac83377fca7bea6 SHA512 625b334271494f7c86c06d6a8c6d13c06d9d6094f65cccbdc8d3df13ee2aae4cb42ad326e20bcbf8a8f141240111778991882f9bf87793b09a2920433d6c8c85
 DIST tomcat-native-2.0.7-src.tar.gz.asc 833 BLAKE2B 081f40de6fdc5ad819a167e0150a2e03ab8d4fd679be0dbabac9a9f2aabffd2fa36fd6a9c764deefd419576dcda07bc1b22ea2f14c04eddbfa7f94e4834bec7e SHA512 16a96a3c3b55d258ad0820c30392f37643f433c563b74a983109492569d06a399471acc42c7f07b87b50bff8711bc10ed278bfa183807bcdde1355e6b8058605
+DIST tomcat-native-2.0.8-src.tar.gz 471386 BLAKE2B 7fb5e3c4671e4b56bfa5eb546ac1f87fdf1e33b350533ffcadb9005c1f3054013d61d15f4212923d9ec9370d15fd2717e2b446c80818c82d83cd9f1497e321c4 SHA512 fd45533b9c34b008717d18ed49334c7286b93c849c487c1c42746f2998cc4a6ff0362e536a8b5124c6539847a92a9f7631c7638a21cd5d22134fe1a9bb0f0702
+DIST tomcat-native-2.0.8-src.tar.gz.asc 833 BLAKE2B b438034baf5191ce2af55087d1fcd55f196c3cfa75dc2c7fc9d1bfa8fa5b5289181dad6a02e55674e7d685482228df603478ba1f73a9b67169f50390cdd198a7 SHA512 64879cd6f02a6213a2b6cd102dc175d968a7c20bc821877e9f6f5bbaa11069e5cb672b584c47e3a7563a6c872d56646535a59e42331a2ad524c7f85e628085df

diff --git a/dev-java/tomcat-native/tomcat-native-2.0.8.ebuild b/dev-java/tomcat-native/tomcat-native-2.0.8.ebuild
new file mode 100644
index 000000000000..03965f330c13
--- /dev/null
+++ b/dev-java/tomcat-native/tomcat-native-2.0.8.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+JAVA_PKG_IUSE="doc source test"
+JAVA_TESTING_FRAMEWORKS="junit-4"
+
+inherit java-pkg-2 java-pkg-simple verify-sig
+
+DESCRIPTION="Allows Tomcat to use certain native resources for better performance"
+HOMEPAGE="https://tomcat.apache.org/native-doc/"
+SRC_URI="mirror://apache/tomcat/tomcat-connectors/native/${PV}/source/${P}-src.tar.gz
+	verify-sig? (
+		https://downloads.apache.org/tomcat/tomcat-connectors/native/${PV}/source/tomcat-native-${PV}-src.tar.gz.asc
+	)"
+S=${WORKDIR}/${P}-src/native
+
+KEYWORDS="~amd64 ~x86"
+LICENSE="Apache-2.0"
+SLOT="2"
+IUSE="static-libs"
+
+DEPEND="
+	>=virtual/jdk-1.8:*
+"
+RDEPEND="
+	dev-libs/apr:1=
+	dev-libs/openssl:0/3
+	>=virtual/jre-1.8:*
+"
+BDEPEND="verify-sig? ( sec-keys/openpgp-keys-apache-tomcat-connectors )"
+VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/tomcat-connectors.apache.org.asc"
+
+JAVA_RESOURCE_DIRS="../resources"
+JAVA_SRC_DIR="../java"
+JAVA_TEST_GENTOO_CLASSPATH="junit-4"
+JAVA_TEST_SRC_DIR="../test"
+
+DOCS=( ../{CHANGELOG.txt,NOTICE,README.txt} )
+
+src_prepare() {
+	java-pkg-2_src_prepare
+	mkdir -p "${JAVA_RESOURCE_DIRS}/META-INF" || die
+	sed -ne '/attribute name/s:^.*name="\(.*\)" value="\(.*\)".*$:\1\: \2:p' \
+		../build.xml \
+		| sed "s:\${version}:${PV}:" \
+		> "${JAVA_RESOURCE_DIRS}/META-INF/MANIFEST.MF" || die
+}
+
+src_configure() {
+	local myeconfargs=(
+		--with-apr="${EPREFIX}"/usr/bin/apr-1-config
+		--with-ssl="${EPREFIX}"/usr
+	)
+	econf "${myeconfargs[@]}"
+}
+
+src_compile() {
+	java-pkg-simple_src_compile
+	default
+}
+
+src_test() {
+	JAVA_TEST_EXTRA_ARGS=( -Djava.library.path=".libs" )
+	java-pkg-simple_src_test
+}
+
+src_install() {
+	java-pkg-simple_src_install
+	java-pkg_doso .libs/*.so*
+	dodoc -r ../docs
+	! use static-libs && find "${D}" -name '*.la' -delete || die
+}
+
+pkg_postinst() {
+	elog "For more information, please visit"
+	elog "https://tomcat.apache.org/tomcat-9.0-doc/apr.html"
+}


             reply	other threads:[~2024-07-25  9:07 UTC|newest]

Thread overview: 101+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-25  9:07 Miroslav Šulc [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-26  8:30 [gentoo-commits] repo/gentoo:master commit in: dev-java/tomcat-native/ Miroslav Šulc
2024-08-25 13:59 Sam James
2024-08-25 13:59 Sam James
2024-07-26  9:19 Miroslav Šulc
2024-07-26  9:18 Miroslav Šulc
2024-04-14 20:25 Miroslav Šulc
2024-04-14 18:36 Arthur Zamarin
2024-03-15 10:17 Miroslav Šulc
2024-03-11 19:20 Miroslav Šulc
2024-03-11 12:48 Sam James
2024-02-11 12:12 Miroslav Šulc
2023-12-01  9:24 Miroslav Šulc
2023-12-01  6:21 Sam James
2023-12-01  6:21 Sam James
2023-10-03 10:04 Miroslav Šulc
2023-10-03  6:45 Miroslav Šulc
2023-09-14 16:28 Sam James
2023-09-14 16:28 Sam James
2023-08-15  8:36 Miroslav Šulc
2023-08-15  8:36 Miroslav Šulc
2023-08-14  6:15 Miroslav Šulc
2023-08-14  6:15 Miroslav Šulc
2023-07-12  7:23 Miroslav Šulc
2023-07-11  8:43 Jakov Smolić
2023-07-11  8:43 Jakov Smolić
2023-06-02 12:27 Miroslav Šulc
2023-06-02 12:24 Miroslav Šulc
2023-03-17  6:47 Miroslav Šulc
2023-02-19  9:29 Miroslav Šulc
2023-02-14  8:35 Miroslav Šulc
2023-02-05 18:50 Sam James
2022-12-27  7:37 Miroslav Šulc
2022-08-16  5:38 Miroslav Šulc
2022-08-15 22:30 Sam James
2022-07-17  3:34 Miroslav Šulc
2022-07-16  8:56 Agostino Sarubbo
2022-07-16  3:28 Miroslav Šulc
2022-06-15  3:33 Miroslav Šulc
2022-06-10  9:22 Miroslav Šulc
2022-05-09 17:30 Miroslav Šulc
2022-04-24 13:37 Miroslav Šulc
2022-04-24 13:27 Jakov Smolić
2022-03-22 15:34 Miroslav Šulc
2021-10-26  6:39 Miroslav Šulc
2021-10-26  3:12 Sam James
2021-09-24  7:17 Miroslav Šulc
2021-07-12  7:49 Miroslav Šulc
2021-07-12  6:35 Agostino Sarubbo
2021-06-08  8:01 Miroslav Šulc
2021-05-07 14:35 Miroslav Šulc
2021-05-07 13:28 Sam James
2021-04-07 12:52 Miroslav Šulc
2021-02-07  8:34 Miroslav Šulc
2021-02-06 15:39 Sam James
2021-01-08  9:43 Miroslav Šulc
2021-01-07  0:58 Sam James
2021-01-06  9:07 Miroslav Šulc
2020-09-07 11:18 Miroslav Šulc
2020-06-04  7:31 Miroslav Šulc
2020-06-03 15:10 Agostino Sarubbo
2020-05-01  4:59 Miroslav Šulc
2020-02-11 23:52 Miroslav Šulc
2020-02-11 11:09 Agostino Sarubbo
2019-07-04 12:56 Miroslav Šulc
2019-07-04 12:56 Miroslav Šulc
2019-07-04 12:56 Miroslav Šulc
2019-02-04 18:34 Miroslav Šulc
2019-01-11 14:51 Miroslav Šulc
2019-01-11 14:51 Miroslav Šulc
2019-01-07 17:00 Lars Wendler
2018-12-07  9:09 Miroslav Šulc
2018-10-23 17:19 Miroslav Šulc
2018-07-11 22:10 James Le Cuirot
2018-07-11 22:10 James Le Cuirot
2018-06-01  8:34 Miroslav Šulc
2017-12-04 13:08 Miroslav Šulc
2017-12-04 13:08 Miroslav Šulc
2017-12-04 13:08 Miroslav Šulc
2017-12-04 13:08 Miroslav Šulc
2017-09-06 10:41 Miroslav Šulc
2017-02-27  8:51 Miroslav Šulc
2016-10-06 11:03 Miroslav Šulc
2016-08-24  3:53 Patrice Clement
2016-07-05  6:43 Miroslav Šulc
2016-07-05  6:40 Miroslav Šulc
2016-05-10  7:21 Miroslav Šulc
2016-03-11 15:15 Miroslav Šulc
2016-02-19 21:00 James Le Cuirot
2016-02-19 15:20 Miroslav Šulc
2016-02-14 10:11 Agostino Sarubbo
2016-02-12 18:19 Miroslav Šulc
2016-01-18 17:08 Agostino Sarubbo
2016-01-18 17:06 Agostino Sarubbo
2016-01-12 16:08 Miroslav Šulc
2015-12-21 12:40 Agostino Sarubbo
2015-12-16 12:40 Miroslav Šulc
2015-11-12 19:12 Miroslav Šulc
2015-10-13 10:48 Patrice Clement
2015-10-13 10:48 Patrice Clement
2015-10-13 10:48 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=1721898338.5bfb363752b18098943595cb6053dd43a63004b8.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