From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5650A1581EE for ; Fri, 04 Apr 2025 12:07:02 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 3E676343167 for ; Fri, 04 Apr 2025 12:07:02 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 389851102CE; Fri, 04 Apr 2025 12:07:01 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 2E70B1102CE for ; Fri, 04 Apr 2025 12:07:01 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D3A2634310B for ; Fri, 04 Apr 2025 12:07:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5E3B72FE for ; Fri, 04 Apr 2025 12:06:59 +0000 (UTC) From: "Florian Schmaus" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Florian Schmaus" Message-ID: <1743768385.2efe9ada1058c471701439c560e6c23c250f71ab.flow@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/jdbc-mysql/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-java/jdbc-mysql/jdbc-mysql-9.2.0-r1.ebuild dev-java/jdbc-mysql/jdbc-mysql-9.2.0.ebuild X-VCS-Directories: dev-java/jdbc-mysql/ X-VCS-Committer: flow X-VCS-Committer-Name: Florian Schmaus X-VCS-Revision: 2efe9ada1058c471701439c560e6c23c250f71ab X-VCS-Branch: master Date: Fri, 04 Apr 2025 12:06:59 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 48197296-c962-4bd5-8bc6-7e0bf1fe361f X-Archives-Hash: 25b86effe0b94927d3168a9b941993ea commit: 2efe9ada1058c471701439c560e6c23c250f71ab Author: Volkmar W. Pogatzki pogatzki net> AuthorDate: Wed Apr 2 22:41:03 2025 +0000 Commit: Florian Schmaus gentoo org> CommitDate: Fri Apr 4 12:06:25 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2efe9ada dev-java/jdbc-mysql: add missing META-INF/services Closes: https://bugs.gentoo.org/953059 Signed-off-by: Volkmar W. Pogatzki pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/41441 Signed-off-by: Florian Schmaus gentoo.org> .../{jdbc-mysql-9.2.0.ebuild => jdbc-mysql-9.2.0-r1.ebuild} | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/dev-java/jdbc-mysql/jdbc-mysql-9.2.0.ebuild b/dev-java/jdbc-mysql/jdbc-mysql-9.2.0-r1.ebuild similarity index 88% rename from dev-java/jdbc-mysql/jdbc-mysql-9.2.0.ebuild rename to dev-java/jdbc-mysql/jdbc-mysql-9.2.0-r1.ebuild index bd1b2b48cde4..719d7cf8e728 100644 --- a/dev-java/jdbc-mysql/jdbc-mysql-9.2.0.ebuild +++ b/dev-java/jdbc-mysql/jdbc-mysql-9.2.0-r1.ebuild @@ -61,6 +61,14 @@ JAVA_SRC_DIR=( "src/main/user-impl/java" ) +src_prepare() { + java-pkg-2_src_prepare + mkdir -p src/main/resources/META-INF/services || die "META-INF" + # populate META-INF/services according to line 801 build.xml + echo com.mysql.cj.jdbc.Driver \ + > src/main/resources/META-INF/services/java.sql.Driver || die "META-INF" +} + src_install() { java-pkg-simple_src_install java-pkg_newjar "${DISTDIR}/oci-java-sdk-common-${OSC}.jar" oci-java-sdk-common.jar