summaryrefslogtreecommitdiff
path: root/dev-java/tomcat-native
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-02-14 13:57:43 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-02-14 13:57:43 +0000
commitf3b59a4d34d28f51cc97e3cd2eb23686d61c2002 (patch)
treecc91311e9274ea5846d59d65bcf4a6b0e7139a12 /dev-java/tomcat-native
parent2e4747a36a51fd58c21f3f00db959709e83fe08b (diff)
gentoo auto-resync : 14:02:2023 - 13:57:43
Diffstat (limited to 'dev-java/tomcat-native')
-rw-r--r--dev-java/tomcat-native/Manifest2
-rw-r--r--dev-java/tomcat-native/tomcat-native-1.2.36.ebuild62
2 files changed, 64 insertions, 0 deletions
diff --git a/dev-java/tomcat-native/Manifest b/dev-java/tomcat-native/Manifest
index c721f1e1875f..098ca0937d41 100644
--- a/dev-java/tomcat-native/Manifest
+++ b/dev-java/tomcat-native/Manifest
@@ -1,7 +1,9 @@
AUX tomcat-native-2.0.2-slibtool.patch 1099 BLAKE2B e5c294cd96747a576afcc4ad80d0a99d97cf9037d750febe681d3e4ee3cd1c3ef96b14e73829b90aa40ec85e6a33e69ce062eeed9a91a278a67ffca94f39224c SHA512 24f890d5b697a10c702f9149679df6a70ddcc663de3abbbffa863151ed655d17ef16b585ac9c6354e1d4c56ddcb920acc6ba9236095d50b96d06c17307734353
DIST tomcat-native-1.2.35-src.tar.gz 436593 BLAKE2B 808ed0396e421609092f9e59676a55501e67fef7b0ca466ad15e4fe11cc88abb8b07043364c63a53760052a6258585aa13a53378c3fb8823bc8349371ad12245 SHA512 a290eb0cd940e1f8de0caba72517d9999d4e9c96f1a19e0ef7ccdabf039ba86b48d1c6f554f59decd87e2ef03ec3e3bfcce694a92e1db130966987c1e37b5c8d
+DIST tomcat-native-1.2.36-src.tar.gz 437622 BLAKE2B c553fee65bc9ff9eec099afde7516b3108ed4175915e853a720d188f684f39b9a8a040b9b9c28e64deecd0c1b0c61cd24e03a552f465c7646b0b6e47d9f12372 SHA512 ae89a872b8331035e01387665539a0c08096ae1abdb5dc7a25a197650a641ba3637f01437f1bee27b442c1c59c4d2fe2e5679d1595e8c5d121b9b219da2fb094
DIST tomcat-native-2.0.2-src.tar.gz 315063 BLAKE2B c044a0b6ef226a038728d5c009a7415bc95cd4317bf8fcbcc0a0a9a9ee930c0c2e74cd6c028a92cc9e96c218f38d580c7af6599c3df35e9c677d1a382727582f SHA512 a0badfaa537dd8dc24901bbf2a11dbaab7cabe5c033eb9162daa5c748269c3dace08f99c0a477c0d0e051b7d226e2e2c6c3031ab7c45d007333cb53d72738c21
DIST tomcat-native-2.0.2-src.tar.gz.asc 833 BLAKE2B 8368c96d6bff84c1281ab08699401286ce89adcf21ffda5d896e19d05f8279746070256612038c8b670b13e0cef4d43e678dfa785175b54b15aa68e33268bb29 SHA512 9d2e2c64cde1c1812192ad451610e32480ad005832e2b781f0eb5f5559a23730715ccf7bfd04937091bb6635b098badc61f73a926fcfa5ea09175d7a9fe0e002
EBUILD tomcat-native-1.2.35.ebuild 1193 BLAKE2B ce3e060b2f3d2cdaa88161e14b486040e452add5f499aaf3015b02a5c79564c281889fd8c1248f36b0f4069d472215ca8e8e58525e038b65c56186b7e7323b82 SHA512 42fbee312e571add71350399e3768b3856ec4f3ebf7a60dc1a8769f417114414cc9001ce29c7731c332b60eed1ad408c917e99975ba761707c5325231ab57710
+EBUILD tomcat-native-1.2.36.ebuild 1194 BLAKE2B 85ceafd1111a3cba29edf38c638ec33d68d64a69da15c06ba8c0c060b2353c1cae1b4d60aacc6cd19af34f557dc66d98f90c157e4c31ca4602aea0b7fd27f27c SHA512 c532e8cce0fd7b628a6602d01af7123d2c9dc87357ceb418dd54ad7546924d409f7b83e2351a8ad1d0eb1b4d9d9221ef5d0e69d3f857fd361aa4439252c6eb3f
EBUILD tomcat-native-2.0.2.ebuild 1719 BLAKE2B 37404ca16bddb1af928d4d6defd7e69d31970ef12960e7a5fb5ed8071227a884d0dfd6fe8b2c4169a1bc270ab7bf50b23bc1103ed9ad3af13542aa0aa1a0c55f SHA512 d88ecaa32c6a845f8a9634d1cb590a4550d5404f55a474ac7b39a5a6a42ed426b47c279694e0afb35a9b788e7a77d12c2e8c866d94984a65522e0cc1d0db952e
MISC metadata.xml 1096 BLAKE2B 5927d60847798f2e90ee40af5947bf0fec8a2a9a9b98730be22a4471155f9a627aea8f52d4f8cee6fb6b77457c7977d0aea025f2e5eedd938a64787ddeca9f29 SHA512 bbd9ec012b1b50b3c4a5967068fb2901dc184e18c5b9a8f545ff396fae4c198daeb2c5d09a377e0adeaa76580ca7c87d5b98f246db6ce83fd58d52502dc3f006
diff --git a/dev-java/tomcat-native/tomcat-native-1.2.36.ebuild b/dev-java/tomcat-native/tomcat-native-1.2.36.ebuild
new file mode 100644
index 000000000000..5098a6d937b5
--- /dev/null
+++ b/dev-java/tomcat-native/tomcat-native-1.2.36.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2023 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/native-doc/"
+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"
+}