summaryrefslogtreecommitdiff
path: root/dev-java
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-09-21 11:14:12 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-09-21 11:14:12 +0100
commit03633f33c2184a87f7a4cebae72542343cf0490c (patch)
tree51a044dec7586be070d68ebb95d563883b02c726 /dev-java
parentc0e834f207174ee62c093753cea0176c947a9ba1 (diff)
gentoo auto-resync : 21:09:2023 - 11:14:12
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/Manifest.gzbin57827 -> 58146 bytes
-rw-r--r--dev-java/appenh/Manifest3
-rw-r--r--dev-java/appenh/appenh-0.5.0.ebuild51
-rw-r--r--dev-java/appenh/metadata.xml13
-rw-r--r--dev-java/commons-lang/Manifest11
-rw-r--r--dev-java/commons-lang/commons-lang-2.6-r3.ebuild (renamed from dev-java/commons-lang/commons-lang-2.6-r2.ebuild)12
-rw-r--r--dev-java/commons-lang/commons-lang-3.12.0-r1.ebuild (renamed from dev-java/commons-lang/commons-lang-3.12.0.ebuild)13
-rw-r--r--dev-java/commons-lang/commons-lang-3.13.0.ebuild29
-rw-r--r--dev-java/commons-lang/metadata.xml11
-rw-r--r--dev-java/loadlib/Manifest3
-rw-r--r--dev-java/loadlib/loadlib-0.2.2.ebuild33
-rw-r--r--dev-java/loadlib/metadata.xml10
-rw-r--r--dev-java/snappy/Manifest5
-rw-r--r--dev-java/snappy/files/snappy-1.1.10.1-SnappyOutputStreamTest.patch26
-rw-r--r--dev-java/snappy/files/snappy-1.1.10.1-unbundle-snappy.patch51
-rw-r--r--dev-java/snappy/snappy-1.1.10.1.ebuild124
16 files changed, 380 insertions, 15 deletions
diff --git a/dev-java/Manifest.gz b/dev-java/Manifest.gz
index 9d6a6738f14f..6937d9b55498 100644
--- a/dev-java/Manifest.gz
+++ b/dev-java/Manifest.gz
Binary files differ
diff --git a/dev-java/appenh/Manifest b/dev-java/appenh/Manifest
new file mode 100644
index 000000000000..0e70d589fed8
--- /dev/null
+++ b/dev-java/appenh/Manifest
@@ -0,0 +1,3 @@
+DIST appenh-0.5.0.tar.gz 24278 BLAKE2B 0e9261a2cccfbe7eda5fd84f3dc5111d5e80b655ee0c904f9ffd298796249ffbeb24b509778e7e22e39c94fcb132afc49ec02bebea2e65f29db42070d88c97ed SHA512 4ff5cb26650013918fb1f5f6c4b71eee85f01b2b544a104499f53e3d5b1e8f501eb454f79bec00b50148c1542f37137719f6d83fd92adf09a11fb8ae1174521c
+EBUILD appenh-0.5.0.ebuild 1342 BLAKE2B c00da7b199096ecf9d8beca94cc90ebbff9ac30f3eff3a12c0a83d6177b8478ae7d445a9a56a6fc251b9f6f2bf28c8b271705099cea526d559cf2917782f6600 SHA512 9cbc683a835efcb68c5baa86f1be38b458663ca40cb10fe7b829957df1939d7b1784e39a628a4d7a574a70ceecc0137aeac18a00b4f2ccbdc5627b0c8a7a7dee
+MISC metadata.xml 457 BLAKE2B c670205b823bef5fcc2d25abbb2601a55bc4c198cb8b196ba993c9df0cf7ee2056090b87a968e8175111ce2608e2ec597532d2953cd594670837e1f98817276d SHA512 115f792808d6d277b5dce09d4e438e96c77c6345b5d70b6fd6844e1f178bbe6311e269ddd6eafa227817c181c1d01cfd33d2853cbf2775896b2ceb272bdf894d
diff --git a/dev-java/appenh/appenh-0.5.0.ebuild b/dev-java/appenh/appenh-0.5.0.ebuild
new file mode 100644
index 000000000000..4308ea718693
--- /dev/null
+++ b/dev-java/appenh/appenh-0.5.0.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Skeleton command:
+# java-ebuilder --generate-ebuild --workdir . --pom pom.xml --download-uri https://codeload.github.com/teras/appenh/tar.gz/137b99422ad02953cf957e09b129a47b876d1e2a --slot 0 --keywords "~amd64" --ebuild appenh-0.5.0.ebuild
+
+EAPI=8
+
+JAVA_PKG_IUSE="doc source test"
+MAVEN_ID="com.panayotis:appenh:0.5.0"
+JAVA_TESTING_FRAMEWORKS="junit-4"
+
+inherit java-pkg-2 java-pkg-simple
+
+MY_COMMIT="137b99422ad02953cf957e09b129a47b876d1e2a"
+DESCRIPTION="Cross-platform access of java application properties"
+HOMEPAGE="https://github.com/teras/appenh"
+SRC_URI="https://github.com/teras/${PN}/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+# Common dependencies
+# POM: pom.xml
+# com.panayotis:loadlib:0.2.2 -> >=dev-java/loadlib-0.2.2:0
+
+CP_DEPEND="
+ dev-java/loadlib:0
+"
+
+DEPEND="
+ >=virtual/jdk-1.8:*
+ ${CP_DEPEND}
+"
+
+RDEPEND="
+ >=virtual/jre-1.8:*
+ ${CP_DEPEND}"
+
+S="${WORKDIR}/${PN}-${MY_COMMIT}"
+
+JAVA_SRC_DIR="src/main/java"
+
+JAVA_TEST_GENTOO_CLASSPATH="junit-4"
+JAVA_TEST_SRC_DIR="src/test/java"
+JAVA_TEST_EXCLUDES=(
+ # org.junit.runners.model.InvalidTestClassError: Invalid test class 'com.panayotis.appenh.MainTest':
+ # 1. No runnable methods
+ com.panayotis.appenh.MainTest
+)
diff --git a/dev-java/appenh/metadata.xml b/dev-java/appenh/metadata.xml
new file mode 100644
index 000000000000..2d1bdc85c315
--- /dev/null
+++ b/dev-java/appenh/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>java@gentoo.org</email>
+ </maintainer>
+ <longdescription>
+ Cross-platform access of java application properties, such as application icon, mac os about box, theme and quit listener
+ </longdescription>
+ <upstream>
+ <remote-id type="github">teras/appenh</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-java/commons-lang/Manifest b/dev-java/commons-lang/Manifest
index ce4a24c4f92d..b5c665cc059e 100644
--- a/dev-java/commons-lang/Manifest
+++ b/dev-java/commons-lang/Manifest
@@ -1,5 +1,10 @@
DIST commons-lang-2.6-src.tar.gz 564032 BLAKE2B 9d72b0426f2146eaa8498a6601edf80dbf45a16ef5ee14cf4ed87130e6d3732d5c713f25f44c10435baa1357f61a271acb88483915968aaf645d1ceaa318c601 SHA512 4a30ed153f93fe6616a28974721bdf005d064203ef8a3dd375d6c1176647c0cdbd29cfde2a580e2c8d26bfa4655be6be7025b8ccae94086dcd816676c5cf8e87
+DIST commons-lang-2.6-src.tar.gz.asc 203 BLAKE2B 6d7763cb5ac31cbd8e56bd5aeb6ca5fc7c3f3196bb0d8548f9e10e94987a5c39e09f84309de01dfb921f55ab693c9f64074e254fbb5a6a395848fdddf16a27ab SHA512 af7cca99519c7aaa58e0068093599b9a85d963dee30520cbf39bc90586042bccdccff0a9aa361418b5a89bfce75fdf81e11a5eee1e393e970c54e8b8dca51ea6
DIST commons-lang-3.12.0-sources.tar.gz 1072858 BLAKE2B d6b7ee9ef165e60f61d8d0dfaaf38919877f2edc6742cd58b2b70d379e807e75d9dc24e19f23db1b174d1797d6ef0af7700d686dd835d7a40bf2b2a91346e215 SHA512 80d1b960ae0b02859be329ea60d68cef33f3c7be7ec19752b3c9cfef442adef480878317ce2cfa309a27e662e2c72cab22023eaa3702e27970a1e5d55ca43f57
-EBUILD commons-lang-2.6-r2.ebuild 944 BLAKE2B 3e48c9e0f1393b951f2b78d4c65c2a75839395307607d9bb0e6a0ca0329ae6333c2ea2cb4c86ff900e417fb171ffc805eddcd8f4841f1d1ce6edeb39f96914ee SHA512 fd49eac5d1bdd683c18349b5f9702f7af27efb4bf3e6ad7cfab066cc2a87dc31b515d819b2a0ae566a49af16180cfb836d0c07ae6215582cc61bba7f1102b253
-EBUILD commons-lang-3.12.0.ebuild 1041 BLAKE2B 02381abbcbe5d8d96a61f07ff790a0f17a3c572b13daaee9da2596036be717dbe0c024cf2669771810fcf5a467580d15e3fdace6e0cbb29db732bbae2bc222a4 SHA512 70b53a8ad37fe32132c11789b8cb6f89e8abe38737a5f6c77e42377fd2650026a8d64e7b7eeec639b9a864ff38398d12c848bee5d3beb1f0b2cc35bb62750e10
-MISC metadata.xml 233 BLAKE2B 2b385ca77219f08b2874b3a4a91a0c836d3cb45ec44b05babb33d590c56ceb5337ecb93a8450a37f8e6bbf4cfc1455892e8142d22e0a1d527d40361e2dce350b SHA512 1acc975a7dc3344bc63282d652ca00d8245970b58353b4fd00f09a4859db3eaba2dcd85e1537d424b7174e4f9c01c2ffb10ec6d107b5c895c9ca20730666de7f
+DIST commons-lang-3.12.0-sources.tar.gz.asc 488 BLAKE2B c844eee961cbbb4870055050343169a0425b4e569209c1950ae2c720b0d4033e888218dda755fed78f6fc162abf7a6204298169916773f434e4128c4a6f85cc4 SHA512 3aeaea50cf1bc65bbff38b1d6a2602da623ab9bc08349e46409af3856336efca06a6a6daba5d49b84a718f9bca718e5f2a746c9d83b1853fa9b2db3b83f354cc
+DIST commons-lang-3.13.0-sources.tar.gz 1133483 BLAKE2B bf2239b03129f3cc6104c8ff66ac9d0c2dc7367111e4a8c4d76b5e2773c56a17607e28b24f5d7283b2119c3421f1526dac4ef98ed16da9e8bf9d033fbb7a4b80 SHA512 6fca0ce86aea84458021360bac3f6775135a1a5c1826194921e2d4ead7c12f6ac560e7c3fc240112f862aaee24be8754c37dd867f45e9449cde4a388018d8691
+DIST commons-lang-3.13.0-sources.tar.gz.asc 488 BLAKE2B ecfc26f598b4a683a14803f5eee42f9b9ebfc7c02dac5b9fdc72ef97839e80ac648489da4e136f94044852fb09eff05bc08021cf1678ea9c19065a5b69c1375f SHA512 4d9dca040d9f06791f7f67ad7313e5a2c6bc19a07a62ae4dbcd10712afbcc51e926258938a54f0507d8cd1486041b46b29ed070b488b55833c30cbb6786c4145
+EBUILD commons-lang-2.6-r3.ebuild 1191 BLAKE2B 9dfebd7ef1573b7caa4c2dc8342a8dcb81ac2937f73703ca587760bf639ed4b9bc16dfd9f9efa28574fb99dd734102da65ff52bfd7dd748efb1c8c0fcf33b431 SHA512 cb08c8be5b1979186c4e74763d6dc6a11f6f2c21426939e6775b7676d892d4301bad0696a180fcaedec99b05da23d2ff70bcc4827f3f81336db5652115893aa6
+EBUILD commons-lang-3.12.0-r1.ebuild 1342 BLAKE2B 3fe2b60729ba667c16f8d190a2a72291ed04e335949001cfc676df788013f2aaac6fe72b6677dc48041c8b97319607787472be5040218f205f2c65f064709ae2 SHA512 dd1bb09a0a3c89ef578abc3f9ad598cd55ebef07cb9f4ea101c6657d6b623404b7abed8a22f3acbdac4eab3f7784b0694c34406405452f582324a06c3e459b59
+EBUILD commons-lang-3.13.0.ebuild 1071 BLAKE2B 92cb19a8e994a5acc944b13c5cae3e10e841b65bec52ac77c8fee2f58f36b814ef2bfadeb8baa869b2a6001d29b0eff4ab3c2e21c8254f3c7c2dfea462d7cf75 SHA512 6778e9d62f9123695bf97ec880320ce9810dbcd7723267b1016710e48149f088b5ef96c2a8e18b6a98f5bf51ce25089116a896ef0f857ad7b2d77f750643bb40
+MISC metadata.xml 321 BLAKE2B f819853737f06392675eee2f97361ee693ab04e6f62c1c801c450d1da45a44ad598bc1837e366502bdccb68c94660c394bb74cd0a2bca07a6d86c9286e973e33 SHA512 a44dc189ce760a3d845652c3361d2eca847a2df71c64290ae71f830e28a5982a6da3145bb958c52bb75db9970182948c19b51a55888a2a888d3e56966cd788a1
diff --git a/dev-java/commons-lang/commons-lang-2.6-r2.ebuild b/dev-java/commons-lang/commons-lang-2.6-r3.ebuild
index cdb5a083002e..07f65b4ed8f8 100644
--- a/dev-java/commons-lang/commons-lang-2.6-r2.ebuild
+++ b/dev-java/commons-lang/commons-lang-2.6-r3.ebuild
@@ -1,18 +1,19 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
JAVA_PKG_IUSE="doc source test"
MAVEN_ID="commons-lang:commons-lang:2.6"
JAVA_PKG_WANT_SOURCE="1.4"
JAVA_PKG_WANT_TARGET="1.4"
-inherit java-pkg-2 java-ant-2
+inherit java-pkg-2 java-ant-2 verify-sig
DESCRIPTION="Commons components to manipulate core java classes"
HOMEPAGE="https://commons.apache.org/proper/commons-lang/"
-SRC_URI="mirror://apache/commons/lang/source/${P}-src.tar.gz"
+SRC_URI="mirror://apache/commons/lang/source/${P}-src.tar.gz
+ verify-sig? ( https://downloads.apache.org/commons/lang/source/${P}-src.tar.gz.asc )"
LICENSE="Apache-2.0"
SLOT="2.1"
@@ -25,6 +26,9 @@ DEPEND="virtual/jdk:1.8
RDEPEND="virtual/jre:1.8"
+BDEPEND="verify-sig? ( sec-keys/openpgp-keys-apache-commons )"
+VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}/usr/share/openpgp-keys/commons.apache.org.asc"
+
S="${WORKDIR}/${P}-src"
JAVA_ANT_ENCODING="ISO-8859-1"
diff --git a/dev-java/commons-lang/commons-lang-3.12.0.ebuild b/dev-java/commons-lang/commons-lang-3.12.0-r1.ebuild
index 4979efe4b1eb..425b51329074 100644
--- a/dev-java/commons-lang/commons-lang-3.12.0.ebuild
+++ b/dev-java/commons-lang/commons-lang-3.12.0-r1.ebuild
@@ -1,19 +1,21 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Skeleton command:
# java-ebuilder --generate-ebuild --workdir . --pom pom.xml --download-uri https://mirror.checkdomain.de/apache//commons/lang/source/commons-lang3-3.12.0-src.tar.gz --slot 3.6 --keywords "~amd64 ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-solaris" --ebuild commons-lang-3.12.0.ebuild
-EAPI=7
+EAPI=8
JAVA_PKG_IUSE="doc source"
MAVEN_ID="org.apache.commons:commons-lang3:3.12.0"
-inherit java-pkg-2 java-pkg-simple
+inherit java-pkg-2 java-pkg-simple verify-sig
DESCRIPTION="Commons components to manipulate core java classes"
HOMEPAGE="https://commons.apache.org/proper/commons-lang/"
-SRC_URI="mirror://apache/commons/lang/source/${PN}3-${PV}-src.tar.gz -> ${P}-sources.tar.gz"
+SRC_URI="https://archive.apache.org/dist/commons/lang/source/${PN}3-${PV}-src.tar.gz -> ${P}-sources.tar.gz
+ verify-sig? ( https://archive.apache.org/dist/commons/lang/source/${PN}3-${PV}-src.tar.gz.asc -> ${P}-sources.tar.gz.asc )"
+
LICENSE="Apache-2.0"
SLOT="3.6"
KEYWORDS="amd64 ~arm arm64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-solaris"
@@ -26,6 +28,9 @@ RDEPEND="
>=virtual/jre-1.8:*
"
+BDEPEND="verify-sig? ( sec-keys/openpgp-keys-apache-commons )"
+VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}/usr/share/openpgp-keys/commons.apache.org.asc"
+
S="${WORKDIR}/${PN}3-${PV}-src"
JAVA_ENCODING="ISO-8859-1"
diff --git a/dev-java/commons-lang/commons-lang-3.13.0.ebuild b/dev-java/commons-lang/commons-lang-3.13.0.ebuild
new file mode 100644
index 000000000000..6f7d6179b21e
--- /dev/null
+++ b/dev-java/commons-lang/commons-lang-3.13.0.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+JAVA_PKG_IUSE="doc source"
+MAVEN_ID="org.apache.commons:commons-lang3:3.13.0"
+
+inherit java-pkg-2 java-pkg-simple verify-sig
+
+DESCRIPTION="Commons components to manipulate core java classes"
+HOMEPAGE="https://commons.apache.org/proper/commons-lang/"
+SRC_URI="https://archive.apache.org/dist/commons/lang/source/${PN}3-${PV}-src.tar.gz -> ${P}-sources.tar.gz
+ verify-sig? ( https://archive.apache.org/dist/commons/lang/source/${PN}3-${PV}-src.tar.gz.asc -> ${P}-sources.tar.gz.asc )"
+
+S="${WORKDIR}/${PN}3-${PV}-src"
+
+LICENSE="Apache-2.0"
+SLOT="3.6"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-solaris"
+
+DEPEND=">=virtual/jdk-1.8:*"
+RDEPEND=">=virtual/jre-1.8:*"
+BDEPEND="verify-sig? ( sec-keys/openpgp-keys-apache-commons )"
+VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}/usr/share/openpgp-keys/commons.apache.org.asc"
+
+JAVA_AUTOMATIC_MODULE_NAME="org.apache.commons.lang3"
+JAVA_ENCODING="ISO-8859-1"
+JAVA_SRC_DIR="src/main/java"
diff --git a/dev-java/commons-lang/metadata.xml b/dev-java/commons-lang/metadata.xml
index 6021501589e0..597bf973bf66 100644
--- a/dev-java/commons-lang/metadata.xml
+++ b/dev-java/commons-lang/metadata.xml
@@ -1,8 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<maintainer type="project">
- <email>java@gentoo.org</email>
- <name>Java</name>
-</maintainer>
+ <maintainer type="project">
+ <email>java@gentoo.org</email>
+ <name>Java</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">apache/commons-lang</remote-id>
+ </upstream>
</pkgmetadata>
diff --git a/dev-java/loadlib/Manifest b/dev-java/loadlib/Manifest
new file mode 100644
index 000000000000..32f58795a549
--- /dev/null
+++ b/dev-java/loadlib/Manifest
@@ -0,0 +1,3 @@
+DIST loadlib-0.2.2.tar.gz 3244 BLAKE2B 128a3fe80ecade57392c33c72c92fe8c95ae97a4bc152191f57badd5ad937c7c2f871135dbc719031ad27b5ffa35341b825150a7d81ea2c1e8579a73352d9af6 SHA512 eee9dad952ee1cb2a371b0acc1ec82e15eef4c8788f953fce0f26c607e8dbafe29f5d93cab17c5e0960ef55782e92c8a27f4740fa8f3b434d66ef83d78feb19f
+EBUILD loadlib-0.2.2.ebuild 915 BLAKE2B adb5b709f567e6ee2066404ecc946df5f99b3d32f81055200774ec45c9e145a68196cab5f248d5298a9143ead1ccf90aef4cc258eb6ec3986eb92e4286c55f5f SHA512 a711c10c08cb0579151d37e89d4e7f867d2c81cb61557ab7047bedf0f2013208bb2115adddec5435859c67ea5f302ff68150b5103ee2417f17f85166cc9d12ba
+MISC metadata.xml 295 BLAKE2B 1a221cac75db16991b87ee0e69480c627c04c9e6bd7f1fb26b714fcc2e39ec62062de577488aa19908804d7b3acff16141dfcff9603c060c9208c4675e175f2c SHA512 a1cfb4581fc5db2438ac1d07e2eac1c40084ffa7e6c52e97ea378138aac4093aecc94b67162f27750a88070e8b3096fb7bf5f0b03eacefa03b89507777e32c20
diff --git a/dev-java/loadlib/loadlib-0.2.2.ebuild b/dev-java/loadlib/loadlib-0.2.2.ebuild
new file mode 100644
index 000000000000..23402f2f8b83
--- /dev/null
+++ b/dev-java/loadlib/loadlib-0.2.2.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Skeleton command:
+# java-ebuilder --generate-ebuild --workdir . --pom pom.xml --download-uri https://codeload.github.com/teras/loadlib/tar.gz/c2fa52016de23998b2886752f4373a17de2017a7 --slot 0 --keywords "~amd64" --ebuild loadlib-0.2.2.ebuild
+
+EAPI=8
+
+JAVA_PKG_IUSE="doc source"
+MAVEN_ID="com.panayotis:loadlib:0.2.2"
+
+inherit java-pkg-2 java-pkg-simple
+
+MY_COMMIT="c2fa52016de23998b2886752f4373a17de2017a7"
+DESCRIPTION="Load native libs embedded as resources in a JAR file from Java transparently"
+HOMEPAGE="https://github.com/teras/loadlib"
+SRC_URI="https://github.com/teras/${PN}/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="
+ >=virtual/jdk-1.8:*
+"
+
+RDEPEND="
+ >=virtual/jre-1.8:*
+"
+
+S="${WORKDIR}/${PN}-${MY_COMMIT}"
+
+JAVA_SRC_DIR="src/main/java"
diff --git a/dev-java/loadlib/metadata.xml b/dev-java/loadlib/metadata.xml
new file mode 100644
index 000000000000..a4f5d9a49356
--- /dev/null
+++ b/dev-java/loadlib/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>java@gentoo.org</email>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">teras/loadlib</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-java/snappy/Manifest b/dev-java/snappy/Manifest
index 5b41a4e84199..dc870532d7ae 100644
--- a/dev-java/snappy/Manifest
+++ b/dev-java/snappy/Manifest
@@ -4,6 +4,11 @@ AUX 1.1.7.8-remove-perl-usage.patch 1720 BLAKE2B f6e1462356bfa94e946fb2e8a4200bd
AUX 1.1.7.8-unbundle-bitshuffle.patch 1006 BLAKE2B 99b88fd2af02ff6d95d90ec2e302593c7ae00691156b283e11425677f904847d2809ce91d7094de8a5ec759595e721bf0f80d3deadd56f0f05e8d4ae1d4c4613 SHA512 dd4877f023095f7d41e6d22213d1916ae17ec8a88977354d5e1662fa3e555f89bc27def9537cd6ffd07a75794c25719379189b14a0db481df1c2e729525b12f0
AUX 1.1.7.8-unbundle-snappy.patch 1820 BLAKE2B ec2f5724675cef1a796678f5b12ccd4b49c2415fcfd98e2a3f9214bb63477bfd9bed93999c2f12b2f0e8b5aedb705299bf37e52a16833797a745bf4e1eeecdd9 SHA512 408c09f01cb65dcf17b7ecd5542cd622b6296ab6d433be79ff2a8d03dc4e8f8b9c48165d95afa0b865c8ab196c4470e93f5b07e9eeded1f492d1ef2d8d91fa82
AUX 1.x-build.xml 8496 BLAKE2B 0ab98a4149d0d7b294efec29374c59af8599362fa40d04737d50d1106157d8e604e17ce06c9180c2d9ca2b612cb5d025a111fe620739f7109a0c384ae940d4dc SHA512 ed47379879bab5cbaa4111616c3cca526725e4fa3d8d42da72d19a21738cc42826e37756a181e6d541f27aa4abe7f2353be90c51f4d89d04413501e6ccdb4cb0
+AUX snappy-1.1.10.1-SnappyOutputStreamTest.patch 1148 BLAKE2B 38fd8aa64068351a6296c2abd1835b8106d22bffc418dae29ac806d472809fb924f7c3a909d7d7dfd1687c0c62be50968d0a9a864d65c522f78b15f644a077c4 SHA512 d9b72e0b7ca85d0ee907d36ffb63e33b26408ce2619f99e3fde9c0f06f25d492be7f7b20c7bb3c00038da8ef40a73492f65d15eb51261d8466d2e855b152ccfa
+AUX snappy-1.1.10.1-unbundle-snappy.patch 1928 BLAKE2B cc67a38e53dcd08d208b33796a003d7ca73f79a54a8d0a4411de9f15aae1e09e079bc55c9230964e990f8a27e4be3872e9d5092fe7abb5af760ce91641b753c1 SHA512 78cef705a76c379ec7cc59e4f4c6012bbba5f54b4a24172b7ab2ef0ccd7a8e22cf3e469938c9dca5933e066990c3e973893c0c93368fecd90486010f9b8ad69f
+DIST hadoop-common-3.3.5.jar 4535144 BLAKE2B 66582661a1832cc54493fc9dcea9076eb0e3f4e974a7d24d593e8fff2b9e2a3a82ed6eb4587f23523473aecc35d2a15de2ad81b2617c1bdac50847149cdeb6a8 SHA512 f1fb439a5853b04e9e771ec4e80e1ed078494ecfaa741abe065936fc1c26b5369fdd4e8082f4da59c1a3a7a5c025beaa14a68c38dc772e81499f83a3cb91717b
+DIST snappy-1.1.10.1.tar.gz 3386807 BLAKE2B 977bd6c0aee2708952e3e4a434c819d7cc1ae3ac9320639b5bf5fc80551905ada85a001d3aa2d6384cc78839615335acb7378d50f60a5c3e86345b8e28aa6911 SHA512 8226a3e3a6ec9e0f4fae2d4b8ebf276e5225db8c8f0619a02db7490d3425260693afdc20c48e6e17a37621116067b47972cbcb02bd6617cb9face07d28fe5061
DIST snappy-java-1.1.7.8.tar.gz 3558859 BLAKE2B 871f4190212399c5bd34a72766d7f3abca9a09608d9acddc126905bcdafc723613aa33d0cdb59419e6bfba46ff27e91f5ca5382073dd895d5601f6d84929ef96 SHA512 8129d4ae2abd78f967c07e7f13df8cb9043cc34bd8346be28625a3d2bea06674ce6dd09b521af2b7053b25d0132a0e822b78c06e09bacd0067ba8178bd167691
+EBUILD snappy-1.1.10.1.ebuild 2868 BLAKE2B cc6e77e10490f1f73a361a277122f7b15f5a61b1a3b1b56240e57093ebae8c30002f20f1abd4861c6793d81705248be738b98fc2773baf894ddc061d4cf3d1ed SHA512 787045a4cdaede5dd27028ae20256e963a746cd1c8495408a7571c9dcaadf025affcf8949314476a18881fc97111cecfe8279fb1c2dc136d70c14ebe0f53c713
EBUILD snappy-1.1.7.8-r1.ebuild 2561 BLAKE2B bb815a3e94b01fe45b89cfb33c2be3119c3fc8035441c04f8dae9ffd071e5dbe37f77ccd94f0b27441c21e4f417d08f713e4b5dba999166cb673c6302b419daa SHA512 ea704df0a8b07a4451cd459f35c774dc758a05c7e89d65ccbda4a620150b58898628bd12249957e86f62d9fa71df4d19ca0931de14dbc227d398ed8af0d44d45
MISC metadata.xml 320 BLAKE2B 5e3039edeec0b66e6b896158777909fdfed881f06def61b5e3424baeb51ea898cb3cb273e6ddc939b7efea88860a945b5f29da513be22ee6b601551a6e02170a SHA512 c2e9282ce950b419588d080145e85e63e6491500edce141678a4aaae65a43d945694ad992dd4d485c94748e26ac225e58177fcff11db3430035b837741ec45af
diff --git a/dev-java/snappy/files/snappy-1.1.10.1-SnappyOutputStreamTest.patch b/dev-java/snappy/files/snappy-1.1.10.1-SnappyOutputStreamTest.patch
new file mode 100644
index 000000000000..add60f632e55
--- /dev/null
+++ b/dev-java/snappy/files/snappy-1.1.10.1-SnappyOutputStreamTest.patch
@@ -0,0 +1,26 @@
+1) batchingOfWritesShouldNotAffectCompressedDataSize(org.xerial.snappy.SnappyOutputStreamTest)
+java.lang.AssertionError: expected:<91080> but was:<91051>
+ at org.junit.Assert.fail(Assert.java:89)
+ at org.junit.Assert.failNotEquals(Assert.java:835)
+ at org.junit.Assert.assertEquals(Assert.java:647)
+ at org.junit.Assert.assertEquals(Assert.java:633)
+ at org.xerial.snappy.SnappyOutputStreamTest.batchingOfWritesShouldNotAffectCompressedDataSize(SnappyOutputStreamTest.java:171)
+--- a/src/test/java/org/xerial/snappy/SnappyOutputStreamTest.java
++++ b/src/test/java/org/xerial/snappy/SnappyOutputStreamTest.java
+@@ -34,6 +34,7 @@ import java.lang.ref.WeakReference;
+ import java.nio.ByteOrder;
+
+ import org.junit.Test;
++import org.junit.Ignore;
+ import org.xerial.snappy.buffer.BufferAllocatorFactory;
+ import org.xerial.snappy.buffer.CachedBufferAllocator;
+ import org.xerial.snappy.buffer.DefaultBufferAllocator;
+@@ -153,7 +154,7 @@ public class SnappyOutputStreamTest
+ return b.toByteArray();
+ }
+
+- @Test
++ @Ignore @Test
+ public void batchingOfWritesShouldNotAffectCompressedDataSize()
+ throws Exception
+ {
diff --git a/dev-java/snappy/files/snappy-1.1.10.1-unbundle-snappy.patch b/dev-java/snappy/files/snappy-1.1.10.1-unbundle-snappy.patch
new file mode 100644
index 000000000000..d516495bb6a7
--- /dev/null
+++ b/dev-java/snappy/files/snappy-1.1.10.1-unbundle-snappy.patch
@@ -0,0 +1,51 @@
+--- a/Makefile
++++ b/Makefile
+@@ -10,7 +10,7 @@ all: snappy
+
+ SNAPPY_OUT:=$(TARGET)/snappy-$(SNAPPY_VERSION)-$(os_arch)
+ SNAPPY_ARCHIVE:=$(TARGET)/snappy-$(SNAPPY_VERSION).tar.gz
+-SNAPPY_CC:=snappy-sinksource.cc snappy-stubs-internal.cc snappy-c.cc snappy.cc
++SNAPPY_CC:=
+ SNAPPY_SRC_DIR:=$(TARGET)/snappy-$(SNAPPY_VERSION)
+ SNAPPY_SRC:=$(addprefix $(SNAPPY_SRC_DIR)/,$(SNAPPY_CC))
+ SNAPPY_GIT_REPO_URL:=https://github.com/google/snappy
+@@ -102,7 +102,8 @@ $(TARGET)/jni-classes/org/xerial/snappy/BitShuffleNative.class: $(SRC)/org/xeria
+
+ $(SRC)/org/xerial/snappy/BitShuffleNative.h: $(TARGET)/jni-classes/org/xerial/snappy/BitShuffleNative.class
+
+-$(SNAPPY_SRC): $(SNAPPY_GIT_UNPACKED)
++$(SNAPPY_SRC):
++# $(SNAPPY_GIT_UNPACKED)
+
+ # aarch64 can use big-endian optimzied code
+ ifeq ($(OS_ARCH),aarch64)
+@@ -124,7 +125,7 @@ $(SNAPPY_OUT)/BitShuffleNative.o: $(SRC)/org/xerial/snappy/BitShuffleNative.cpp
+ $(CXX) $(CXXFLAGS) -c $< -o $@
+
+ $(SNAPPY_OUT)/$(LIBNAME): $(SNAPPY_OBJ)
+- $(CXX) $(CXXFLAGS) -o $@ $+ $(LINKFLAGS)
++ $(CXX) $(CXXFLAGS) -o $@ $+ $(LINKFLAGS) -lsnappy
+ # Workaround for strip Protocol error when using VirtualBox on Mac
+ cp $@ /tmp/$(@F)
+ $(STRIP) /tmp/$(@F)
+@@ -145,9 +146,9 @@ snappy-jar-version:=snappy-java-$(shell ./script/dynver.sh | cut -d'=' -f2 | sed
+ jar-version:
+ echo $(snappy-jar-version)
+
+-native: jni-header snappy-header $(NATIVE_DLL)
+-native-nocmake: jni-header $(NATIVE_DLL)
+-snappy: native $(TARGET)/$(snappy-jar-version).jar
++native: $(NATIVE_DLL)
++native-nocmake: $(NATIVE_DLL)
++snappy: native
+
+ native-all: native native-arm clean-docker mac64 win32 win64 linux32 linux64 linux-ppc64le linux-riscv64 linux-s390x
+
+@@ -166,6 +167,7 @@ $(NATIVE_DLL): $(SNAPPY_OUT)/$(LIBNAME)
+ cp $(SNAPPY_OUT)/$(LIBNAME) $@
+ @mkdir -p $(NATIVE_TARGET_DIR)
+ cp $(SNAPPY_OUT)/$(LIBNAME) $(NATIVE_TARGET_DIR)/$(LIBNAME)
++ cp $< $(TARGET)/
+
+ package: $(TARGET)/$(snappy-jar-version).jar
+
diff --git a/dev-java/snappy/snappy-1.1.10.1.ebuild b/dev-java/snappy/snappy-1.1.10.1.ebuild
new file mode 100644
index 000000000000..2813bcdd4901
--- /dev/null
+++ b/dev-java/snappy/snappy-1.1.10.1.ebuild
@@ -0,0 +1,124 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+JAVA_PKG_IUSE="doc source test"
+MAVEN_ID="org.xerial.snappy:snappy-java:${PV}"
+JAVA_TESTING_FRAMEWORKS="junit-4"
+
+inherit java-pkg-2 java-pkg-simple toolchain-funcs check-reqs
+
+DESCRIPTION="Snappy compressor/decompressor for Java"
+HOMEPAGE="https://github.com/xerial/snappy-java/"
+# ::gentoo does not have hadoop-common packaged. Currently we bundle the binary version.
+# It's used for testing only and does not get installed.
+HCV="3.3.5"
+SRC_URI="https://github.com/xerial/snappy-java/archive/v${PV}.tar.gz -> ${P}.tar.gz
+ test? ( https://repo1.maven.org/maven2/org/apache/hadoop/hadoop-common/${HCV}/hadoop-common-${HCV}.jar )"
+S="${WORKDIR}/snappy-java-${PV}"
+
+LICENSE="Apache-2.0"
+SLOT="1.1"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+
+CP_DEPEND="dev-java/osgi-core:0"
+
+CDEPEND="
+ app-arch/snappy
+ dev-libs/bitshuffle
+"
+
+DEPEND=">=virtual/jdk-1.8:*
+ ${CP_DEPEND}
+ ${CDEPEND}
+ test? (
+ dev-java/ant-junit4:0
+ dev-java/commons-io:1
+ dev-java/commons-lang:2.1
+ dev-java/plexus-classworlds:0
+ dev-java/xerial-core:0
+ )"
+
+RDEPEND=">=virtual/jre-1.8:*
+ ${CP_DEPEND}
+ ${CDEPEND}"
+
+PATCHES=(
+ "${FILESDIR}/1.1.7.8-java-version-target.patch"
+ "${FILESDIR}/snappy-1.1.10.1-unbundle-snappy.patch"
+ "${FILESDIR}/1.1.7.8-unbundle-bitshuffle.patch"
+ "${FILESDIR}/1.1.7.8-gentoo.patch"
+ "${FILESDIR}/snappy-1.1.10.1-SnappyOutputStreamTest.patch"
+)
+
+JAVA_RESOURCE_DIRS="src/main/resources"
+JAVA_SRC_DIR="src/main/java"
+
+JAVA_TEST_GENTOO_CLASSPATH="
+ commons-io-1
+ commons-lang-2.1
+ junit-4
+ plexus-classworlds
+ xerial-core
+"
+JAVA_TEST_RESOURCE_DIRS="src/test/resources"
+JAVA_TEST_SRC_DIR="src/test/java"
+
+check_env() {
+ if use test; then
+ # this is needed only for tests
+ CHECKREQS_MEMORY="2560M"
+ check-reqs_pkg_pretend
+ fi
+}
+
+pkg_pretend() {
+ check_env
+}
+
+pkg_setup() {
+ check_env
+ java-pkg-2_pkg_setup
+}
+
+src_prepare() {
+ default
+ java-pkg-2_src_prepare
+ # remove pre-compiled sofiles
+ rm -r src/main/resources/org/xerial/snappy/native || die
+ rm -r src/test/resources/lib || die
+}
+
+src_compile() {
+ emake \
+ CXX="$(tc-getCXX)" \
+ JAVA_SOURCE="$(java-pkg_get-source)" \
+ JAVA_TARGET="$(java-pkg_get-target)"
+
+ java-pkg-simple_src_compile
+}
+
+src_test() {
+ JAVA_GENTOO_CLASSPATH_EXTRA="${DISTDIR}/hadoop-common-${HCV}.jar"
+ JAVA_TEST_EXTRA_ARGS=( -Xmx${CHECKREQS_MEMORY} )
+ local vm_version="$(java-config -g PROVIDES_VERSION)"
+ if ver_test "${vm_version}" -ge 17; then
+ java-pkg-simple_src_test
+ else
+ einfo "Tests need jdk-17 to pass."
+ fi
+}
+
+src_install() {
+ java-pkg-simple_src_install
+
+ local jniext=.so
+ if [[ ${CHOST} == *-darwin* ]] ; then
+ jniext=.jnilib
+ # avoid install_name check failure
+ install_name_tool -id "@loader_path/libsnappyjava${jniext}" \
+ "target/libsnappyjava${jniext}"
+ fi
+ java-pkg_doso "target/libsnappyjava${jniext}"
+}