commit: d78f1fed5646b2a35d93ec85c11ef09f7ad5940f Author: Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net> AuthorDate: Mon Oct 16 16:30:21 2023 +0000 Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> CommitDate: Tue Oct 17 07:37:00 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d78f1fed
dev-java/felix-resolver: verify-sig Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net> Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org> dev-java/felix-resolver/Manifest | 3 ++- ...2.0.4.ebuild => felix-resolver-2.0.4-r1.ebuild} | 24 +++++++--------------- 2 files changed, 9 insertions(+), 18 deletions(-) diff --git a/dev-java/felix-resolver/Manifest b/dev-java/felix-resolver/Manifest index e66c365ab77e..81acaa68bcae 100644 --- a/dev-java/felix-resolver/Manifest +++ b/dev-java/felix-resolver/Manifest @@ -1 +1,2 @@ -DIST felix-resolver-2.0.4.tar.gz 164538 BLAKE2B 38d979557e484692bc6e47ce069bac5ca3c19f4b01b2d6222760708da571ca79166f4821c0b79c181a40c4228095dbe28f051e7d84d696cfddeef63f5a006ddd SHA512 bf4da4550b208dbe9e74cb4f66e9456fb0a3da66f6e60c08ebea88b68cc6f71200dcf324d22d85e6f5558e7f67335f8899e932de3b813a7fc7e9325eb8a31b61 +DIST org.apache.felix.resolver-2.0.4-source-release.tar.gz 164538 BLAKE2B 38d979557e484692bc6e47ce069bac5ca3c19f4b01b2d6222760708da571ca79166f4821c0b79c181a40c4228095dbe28f051e7d84d696cfddeef63f5a006ddd SHA512 bf4da4550b208dbe9e74cb4f66e9456fb0a3da66f6e60c08ebea88b68cc6f71200dcf324d22d85e6f5558e7f67335f8899e932de3b813a7fc7e9325eb8a31b61 +DIST org.apache.felix.resolver-2.0.4-source-release.tar.gz.asc 195 BLAKE2B feb81e5acb4a7dcc4f0b8d5e85e12739ab341f085925e3f6496a550571662b871e07c294d01f468a8cbb9e2314a2a6ec9ea1c313426dee606e70fa5bc7155be4 SHA512 dad0f1969176cbf3490a11221d37899f20e2f92e661ffa374fc4793f5064ffc8f8f9a6317b49911aafaeb96d582afe4c2660c29b3d907c092b89299b4e0720a8 diff --git a/dev-java/felix-resolver/felix-resolver-2.0.4.ebuild b/dev-java/felix-resolver/felix-resolver-2.0.4-r1.ebuild similarity index 63% rename from dev-java/felix-resolver/felix-resolver-2.0.4.ebuild rename to dev-java/felix-resolver/felix-resolver-2.0.4-r1.ebuild index e70076614ec8..70b57c0f8a7e 100644 --- a/dev-java/felix-resolver/felix-resolver-2.0.4.ebuild +++ b/dev-java/felix-resolver/felix-resolver-2.0.4-r1.ebuild @@ -1,41 +1,28 @@ -# Copyright 1999-2022 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 mirror://apache/felix/org.apache.felix.resolver-2.0.4-source-release.tar.gz --slot 0 --keywords "~amd64" --ebuild felix-resolver-2.0.4.ebuild - EAPI=8 JAVA_PKG_IUSE="doc source test" MAVEN_ID="org.apache.felix:org.apache.felix.resolver:2.0.4" JAVA_TESTING_FRAMEWORKS="junit-4" -inherit java-pkg-2 java-pkg-simple +inherit java-pkg-2 java-pkg-simple verify-sig DESCRIPTION="Provide OSGi resolver service." HOMEPAGE="https://felix.apache.org/documentation/index.html" -SRC_URI="mirror://apache/felix/org.apache.${PN//-/.}-${PV}-source-release.tar.gz -> ${P}.tar.gz" +SRC_URI="mirror://apache/felix/org.apache.${PN//-/.}-${PV}-source-release.tar.gz + verify-sig? ( https://downloads.apache.org/felix/org.apache.${PN//-/.}-${PV}-source-release.tar.gz.asc )" LICENSE="Apache-2.0" SLOT="0" KEYWORDS="amd64 ~arm arm64 ppc64 x86" -# Common dependencies -# POM: pom.xml -# org.osgi:org.osgi.core:5.0.0 -> >=dev-java/osgi-core-api-5.0.0:0 -# org.osgi:osgi.annotation:6.0.1 -> >=dev-java/osgi-annotation-8.1.0:0 - CP_DEPEND=" dev-java/osgi-annotation:0 dev-java/osgi-core:0 " -# Compile dependencies -# POM: pom.xml -# test? junit:junit:4.11 -> >=dev-java/junit-4.13.2:4 -# test? org.apache.felix:org.apache.felix.utils:1.8.0 -> >=dev-java/felix-utils-1.11.8:0 -# test? org.mockito:mockito-all:1.10.19 -> !!!artifactId-not-found!!! - DEPEND=" >=virtual/jdk-1.8:* ${CP_DEPEND} @@ -49,6 +36,9 @@ RDEPEND=" >=virtual/jre-1.8:* ${CP_DEPEND}" +BDEPEND="verify-sig? ( sec-keys/openpgp-keys-apache-felix )" +VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}/usr/share/openpgp-keys/felix.apache.org.asc" + DOCS=( DEPENDENCIES NOTICE doc/changelog.txt ) S="${WORKDIR}/org.apache.felix.resolver-${PV}"