summaryrefslogtreecommitdiff
path: root/dev-java
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/Manifest.gzbin60157 -> 60155 bytes
-rw-r--r--dev-java/javax-mail/Manifest5
-rw-r--r--dev-java/javax-mail/javax-mail-1.6.7-r2.ebuild (renamed from dev-java/javax-mail/javax-mail-1.6.7-r1.ebuild)36
3 files changed, 19 insertions, 22 deletions
diff --git a/dev-java/Manifest.gz b/dev-java/Manifest.gz
index 04904190fb1a..4eb143844273 100644
--- a/dev-java/Manifest.gz
+++ b/dev-java/Manifest.gz
Binary files differ
diff --git a/dev-java/javax-mail/Manifest b/dev-java/javax-mail/Manifest
index a92f995097f4..3ae2d95d7a43 100644
--- a/dev-java/javax-mail/Manifest
+++ b/dev-java/javax-mail/Manifest
@@ -1,3 +1,4 @@
-DIST javax-mail-1.6.7.tar.gz 1854297 BLAKE2B 70dac40cdf67c413db3370f9cdf5b9786fcebce4ba12725758bf6120a2b6874e079a5beef08ee1190e30bfe2f14ad21e73ef1710c982e3f658a2f2f11e524f2e SHA512 9e8754839efb43d14ade6189428c4b86f5fc180e2e18b4e121a9463aaa52c34a431dbf05a6264ef8221faf0b09cc08f914ff758cbb3931df97cea1a897c54c08
-EBUILD javax-mail-1.6.7-r1.ebuild 1571 BLAKE2B 416b7ce3d3f0fc9ab40f96e67d07af38f5f9491c761ee4724cf2fc684c3b0b1275112823971427db1a827c57e04af90e2fa563d62013eee13e01c0c1f6014e92 SHA512 94ee70a94a3913e154684fbd4b48133060698d2a37538655456f79e78d4fbc1efadc8399a68ecb313d271f6a5dd140e92f9ba9f2db1e80760adc920ce248226f
+DIST javax-mail-1.6.7-java21.patch 108038 BLAKE2B 41dd770dc9de5b17d9a4b4a427f31fd3158d45420a3bf1b7949075f1c65103c4093d945e224d70fec66045c314d41aca721b8a7667b6c839fd3f1c3d448c00a4 SHA512 f6f777f7a158114707196321f4480c98bd04ab9a807cbc65a6166bbb55dd9e33853ec4074a5fd23540a1d70629368f1e187e9e839c2bd775ad6d309b4d59fca7
+DIST javax-mail-1.6.7.tar.gz 1854403 BLAKE2B b6681995202c5fd9ed978314d79a6e3c6ee0edeecbbcdb147b94e1f789f7706e090342df8e6491dc23a67d9b3b2b12150cdd0c8ab17a120d1bc0dd4e153be846 SHA512 eb9d1bf863ef2404bdcfde4d9c23089e8d6f76c3f8fd2fc817dd365811636d23d57a60e6991e0349842b1f29b5a1b36b3af78533077858fd2d4550560d2e2d8c
+EBUILD javax-mail-1.6.7-r2.ebuild 1710 BLAKE2B 7b6d0a22ffbe7bc21bc17c4b137509b1b958d9e23bc48b2200dc5e29022bd7a42fc38da62e1bc2a2ce4a77a29c0ced8881c985287f5e0ca4aa7630ab46ee78b8 SHA512 9183af339e50fc62e7a9f697a2259e68019fd03a8974432324bae0a33d49ab256cf3c3292dadfaa18d20fd02095e4a957263f6a426fa0f5a4dc08dc0110d58f5
MISC metadata.xml 300 BLAKE2B 59a5cc3d098097693ee38e1552293270505f8d82025e096a6d1c331045451d5782ccc8819a2034a88a89f4490318becb96f10186766db32afad98c1546c956dc SHA512 2d1560717ededf180302c9348d112971e6d24c8745aae17f1ec59c3676ae41bb7fe396bbb57f5c88ef52bd0f7e161aefc22b9d2d5fd006ffc9873dbf42cb2df5
diff --git a/dev-java/javax-mail/javax-mail-1.6.7-r1.ebuild b/dev-java/javax-mail/javax-mail-1.6.7-r2.ebuild
index cb0feeaf01ef..f19bd8c2717b 100644
--- a/dev-java/javax-mail/javax-mail-1.6.7-r1.ebuild
+++ b/dev-java/javax-mail/javax-mail-1.6.7-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -11,45 +11,42 @@ inherit java-pkg-2 java-pkg-simple
DESCRIPTION="Jakarta Mail API"
HOMEPAGE="https://jakartaee.github.io/mail-api/"
-SRC_URI="https://github.com/jakartaee/mail-api/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}/mail-${PV}/mail"
+SRC_URI="https://github.com/jakartaee/mail-api/archive/${PV}.tar.gz -> ${P}.tar.gz
+ https://github.com/jakartaee/mail-api/commit/86ee859eb1.patch -> ${P}-java21.patch"
+S="${WORKDIR}/mail-api-${PV}"
LICENSE="EPL-1.0 EPL-2.0 GPL-2-with-classpath-exception"
SLOT="0"
KEYWORDS="amd64 ~arm arm64 ppc64 x86"
-CDEPEND="
- dev-java/jakarta-activation:1
-"
-
DEPEND="
+ dev-java/jakarta-activation:1
>=virtual/jdk-11:*
- ${CDEPEND}
"
-RDEPEND="
- >=virtual/jre-1.8:*
- ${CDEPEND}"
+RDEPEND=">=virtual/jre-1.8:*"
-DOCS=( ../{NOTICE,README}.md )
+DOCS=( {NOTICE,README}.md )
+PATCHES=( "${DISTDIR}/javax-mail-1.6.7-java21.patch" ) #917068
src_prepare() {
+ default #780585
java-pkg-2_src_prepare
- mv src/main/{resources,java}/javax/mail/Version.java || die
+ mv mail/src/main/{resources,java}/javax/mail/Version.java || die
}
+JAVA_CLASSPATH_EXTRA="jakarta-activation-1"
JAVA_ENCODING="iso-8859-1"
-JAVA_GENTOO_CLASSPATH="jakarta-activation-1"
-JAVA_RESOURCE_DIRS="src/main/resources"
-JAVA_SRC_DIR="src/main/java"
+JAVA_RESOURCE_DIRS="mail/src/main/resources"
+JAVA_SRC_DIR="mail/src/main/java"
JAVA_TEST_EXTRA_ARGS=( -ea )
JAVA_TEST_GENTOO_CLASSPATH="junit-4"
-JAVA_TEST_RESOURCE_DIRS="src/test/resources"
-JAVA_TEST_SRC_DIR="src/test/java"
+JAVA_TEST_RESOURCE_DIRS="mail/src/test/resources"
+JAVA_TEST_SRC_DIR="mail/src/test/java"
src_test() {
- pushd src/test/java || die
+ pushd mail/src/test/java || die
# Selection according to 137,138 pom.xml
# 1) com.sun.mail.util.logging.MailHandlerTest
# java.io.IOException: Permission denied
@@ -60,6 +57,5 @@ src_test() {
JAVA_TEST_RUN_ONLY="${JAVA_TEST_RUN_ONLY//.java}"
JAVA_TEST_RUN_ONLY="${JAVA_TEST_RUN_ONLY//\//.}"
popd
-
java-pkg-simple_src_test
}