summaryrefslogtreecommitdiff
path: root/dev-java
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/Manifest.gzbin56476 -> 56479 bytes
-rw-r--r--dev-java/tomcat-native/Manifest5
-rw-r--r--dev-java/tomcat-native/metadata.xml4
-rw-r--r--dev-java/tomcat-native/tomcat-native-2.0.2.ebuild65
4 files changed, 71 insertions, 3 deletions
diff --git a/dev-java/Manifest.gz b/dev-java/Manifest.gz
index 67f654d5b14f..3afdb4c69997 100644
--- a/dev-java/Manifest.gz
+++ b/dev-java/Manifest.gz
Binary files differ
diff --git a/dev-java/tomcat-native/Manifest b/dev-java/tomcat-native/Manifest
index fc7ffaafcb6b..837de7941d71 100644
--- a/dev-java/tomcat-native/Manifest
+++ b/dev-java/tomcat-native/Manifest
@@ -1,3 +1,6 @@
DIST tomcat-native-1.2.35-src.tar.gz 436593 BLAKE2B 808ed0396e421609092f9e59676a55501e67fef7b0ca466ad15e4fe11cc88abb8b07043364c63a53760052a6258585aa13a53378c3fb8823bc8349371ad12245 SHA512 a290eb0cd940e1f8de0caba72517d9999d4e9c96f1a19e0ef7ccdabf039ba86b48d1c6f554f59decd87e2ef03ec3e3bfcce694a92e1db130966987c1e37b5c8d
+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
-MISC metadata.xml 1104 BLAKE2B 5bce2696664ff1e64ce88f36ef119c11f9b9aa4ce3996c9da8161e5752734efe1e3e6164b0ca80a529b285add041ee361ac343644cc267b543303c2cada33f3d SHA512 aecd35036f1f9b6f48477031e743971c5e2a8018a42d2075666399e4c31c3c58e22886150f49468502dc3024dbeb6aaa8f64de7827dc54611f7b2603832fb667
+EBUILD tomcat-native-2.0.2.ebuild 1501 BLAKE2B b70b7b692b7e2455ce924ac7faf5db02326be88b1223f55bd6807da9a97a571732d0c050c97351a413b97b90c9788c9fb01151f1945b21629ca2035d26ad8a5c SHA512 8cf7f45c151fec212d927be25279e9916c51e00a59126ae4b892b2835d4cd326c018e5bb9cce8b1e1aa7a7eb7e58e6cd440791e4ae708ae2b6bb658829717976
+MISC metadata.xml 1096 BLAKE2B 5927d60847798f2e90ee40af5947bf0fec8a2a9a9b98730be22a4471155f9a627aea8f52d4f8cee6fb6b77457c7977d0aea025f2e5eedd938a64787ddeca9f29 SHA512 bbd9ec012b1b50b3c4a5967068fb2901dc184e18c5b9a8f545ff396fae4c198daeb2c5d09a377e0adeaa76580ca7c87d5b98f246db6ce83fd58d52502dc3f006
diff --git a/dev-java/tomcat-native/metadata.xml b/dev-java/tomcat-native/metadata.xml
index 4b8ef469c364..e07558c04674 100644
--- a/dev-java/tomcat-native/metadata.xml
+++ b/dev-java/tomcat-native/metadata.xml
@@ -18,7 +18,7 @@
<upstream>
<remote-id type="github">apache/tomcat-native</remote-id>
<bugs-to>https://tomcat.apache.org/bugreport.html</bugs-to>
- <doc>https://tomcat.apache.org/native-1.2-doc/</doc>
- <changelog>https://tomcat.apache.org/native-1.2-doc/miscellaneous/changelog.html</changelog>
+ <doc>https://tomcat.apache.org/native-doc/</doc>
+ <changelog>https://tomcat.apache.org/native-doc/miscellaneous/changelog.html</changelog>
</upstream>
</pkgmetadata>
diff --git a/dev-java/tomcat-native/tomcat-native-2.0.2.ebuild b/dev-java/tomcat-native/tomcat-native-2.0.2.ebuild
new file mode 100644
index 000000000000..8fe559c51cd1
--- /dev/null
+++ b/dev-java/tomcat-native/tomcat-native-2.0.2.ebuild
@@ -0,0 +1,65 @@
+# 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 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
+
+KEYWORDS="~amd64 ~x86"
+LICENSE="Apache-2.0"
+SLOT="2"
+IUSE="static-libs test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="dev-libs/apr:1=
+ dev-libs/openssl:0/3
+ >=virtual/jre-1.8:*"
+
+DEPEND=">=virtual/jdk-1.8:*
+ test? ( dev-java/ant-junit:0 )"
+
+BDEPEND="verify-sig? ( sec-keys/openpgp-keys-apache-tomcat-connectors )"
+VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}/usr/share/openpgp-keys/tomcat-connectors.apache.org.asc"
+
+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"
+}