diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2022-05-09 19:30:11 +0200 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2022-05-09 19:30:11 +0200 |
commit | 1c17377bfd80e09bd77f94dbf0147a1efa1fd058 (patch) | |
tree | 24bbe01ab02e18da8772fcf12f4fe250363234a9 /dev-java/tomcat-native | |
parent | dev-java/fontbox: drop 1.7.1-r1, 1.7.1-r2 (diff) | |
download | gentoo-1c17377bfd80e09bd77f94dbf0147a1efa1fd058.tar.gz gentoo-1c17377bfd80e09bd77f94dbf0147a1efa1fd058.tar.bz2 gentoo-1c17377bfd80e09bd77f94dbf0147a1efa1fd058.zip |
dev-java/tomcat-native: bump to 1.2.33
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java/tomcat-native')
-rw-r--r-- | dev-java/tomcat-native/Manifest | 1 | ||||
-rw-r--r-- | dev-java/tomcat-native/tomcat-native-1.2.33.ebuild | 62 |
2 files changed, 63 insertions, 0 deletions
diff --git a/dev-java/tomcat-native/Manifest b/dev-java/tomcat-native/Manifest index f0ae34d1ef9e..8e8e960e5e21 100644 --- a/dev-java/tomcat-native/Manifest +++ b/dev-java/tomcat-native/Manifest @@ -1 +1,2 @@ DIST tomcat-native-1.2.32-src.tar.gz 429747 BLAKE2B 48fd1d93866cd4c4e610d54a65b429a31be27a90507bf28c547c2127218896646b385eb9741af3eba46d2dd3534b998352c7ab655dbb02dd8a646127e5bfaad3 SHA512 97587fdec8f12550003db44ae41cb864a16c08fc9362ca4c709b8090ead178d4f9d841436699b29496004b412a097ed5f56655f4fddfc5f4b6e333cbf890423e +DIST tomcat-native-1.2.33-src.tar.gz 430359 BLAKE2B 2253907b5e3e0121ad520e1a5938cd8ceea55bd1403d320d382b959a0885c7e9374afb2b1828714d2f028dc0bfe6b6010d493e1e1b6d45942b4d27321d79614b SHA512 b9ffe0ecfd14482ed8c752caf2c28d880ab5fca1f5ea1d5b2a8330d26a14266406bdecda714644603ba2d4ca78c22ec5fc2341afd09172d073f21cf5a1099a0f diff --git a/dev-java/tomcat-native/tomcat-native-1.2.33.ebuild b/dev-java/tomcat-native/tomcat-native-1.2.33.ebuild new file mode 100644 index 000000000000..1d527ab32b16 --- /dev/null +++ b/dev-java/tomcat-native/tomcat-native-1.2.33.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" +} |