From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2BC9015808B for ; Tue, 22 Mar 2022 15:34:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 43348E0814; Tue, 22 Mar 2022 15:34:21 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 11AB6E0814 for ; Tue, 22 Mar 2022 15:34:21 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0CC02343180 for ; Tue, 22 Mar 2022 15:34:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 795B731A for ; Tue, 22 Mar 2022 15:34:18 +0000 (UTC) From: "Miroslav Šulc" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Miroslav Šulc" Message-ID: <1647963249.a9152143a92131f4b6648dcc39d7594da83d1cd7.fordfrog@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/tomcat-native/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-java/tomcat-native/Manifest dev-java/tomcat-native/tomcat-native-1.2.32.ebuild X-VCS-Directories: dev-java/tomcat-native/ X-VCS-Committer: fordfrog X-VCS-Committer-Name: Miroslav Šulc X-VCS-Revision: a9152143a92131f4b6648dcc39d7594da83d1cd7 X-VCS-Branch: master Date: Tue, 22 Mar 2022 15:34:18 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b4fa5bc6-bc36-468d-bda3-7423f288ccd2 X-Archives-Hash: 5a7906ad57c69f3510d3bbf7310e99bc commit: a9152143a92131f4b6648dcc39d7594da83d1cd7 Author: Miroslav Šulc gentoo org> AuthorDate: Tue Mar 22 15:34:09 2022 +0000 Commit: Miroslav Šulc gentoo org> CommitDate: Tue Mar 22 15:34:09 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9152143 dev-java/tomcat-native: bump to 1.2.32 Signed-off-by: Miroslav Šulc gentoo.org> dev-java/tomcat-native/Manifest | 1 + dev-java/tomcat-native/tomcat-native-1.2.32.ebuild | 62 ++++++++++++++++++++++ 2 files changed, 63 insertions(+) diff --git a/dev-java/tomcat-native/Manifest b/dev-java/tomcat-native/Manifest index 235a02120861..bd444c50c38a 100644 --- a/dev-java/tomcat-native/Manifest +++ b/dev-java/tomcat-native/Manifest @@ -1 +1,2 @@ DIST tomcat-native-1.2.31-src.tar.gz 428057 BLAKE2B 9e76c2c4c6e3721c36331f21026c00dda40e811ed34b6deb024f3511159c96ec624131aa3d9e0cc26fb97286bd9f0133d03d742fa5616d05ed18ecacb05d3d51 SHA512 2aaa93f0acf3eb780d39faeda3ece3cf053d3b6e2918462f7183070e8ab32232e035e9062f7c07ceb621006d727d3596d9b4b948f4432b4f625327b72fdb0e49 +DIST tomcat-native-1.2.32-src.tar.gz 429747 BLAKE2B 48fd1d93866cd4c4e610d54a65b429a31be27a90507bf28c547c2127218896646b385eb9741af3eba46d2dd3534b998352c7ab655dbb02dd8a646127e5bfaad3 SHA512 97587fdec8f12550003db44ae41cb864a16c08fc9362ca4c709b8090ead178d4f9d841436699b29496004b412a097ed5f56655f4fddfc5f4b6e333cbf890423e diff --git a/dev-java/tomcat-native/tomcat-native-1.2.32.ebuild b/dev-java/tomcat-native/tomcat-native-1.2.32.ebuild new file mode 100644 index 000000000000..1d527ab32b16 --- /dev/null +++ b/dev-java/tomcat-native/tomcat-native-1.2.32.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="Allows Tomcat to use certain native resources for better performance" +HOMEPAGE="https://tomcat.apache.org/" +SRC_URI="mirror://apache/tomcat/tomcat-connectors/native/${PV}/source/${P}-src.tar.gz" + +KEYWORDS="~amd64 ~x86" +LICENSE="Apache-2.0" +SLOT="0" +IUSE="static-libs test" +RESTRICT="!test? ( test )" + +RDEPEND="dev-libs/apr:1= + dev-libs/openssl:0= + >=virtual/jre-1.8:*" + +DEPEND=">=virtual/jdk-1.8:* + test? ( dev-java/ant-junit:0 )" + +S=${WORKDIR}/${P}-src + +JAVA_ANT_REWRITE_CLASSPATH="yes" + +src_configure() { + local myeconfargs=( + --with-apr="${EPREFIX}"/usr/bin/apr-1-config + --with-ssl="${EPREFIX}"/usr + ) + + cd native || die + econf "${myeconfargs[@]}" +} + +src_compile() { + eant jar + + cd native || die + default +} + +src_install() { + java-pkg_newjar "dist/${P}.jar" "${PN}.jar" + + cd native || die + default + + ! use static-libs && find "${D}" -name '*.la' -delete || die +} + +src_test() { + java-pkg-2_src_test +} + +pkg_postinst() { + elog "For more information, please visit" + elog "https://tomcat.apache.org/tomcat-9.0-doc/apr.html" +}