summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolkmar W. Pogatzki <gentoo@pogatzki.net>2023-10-16 19:18:58 +0200
committerMiroslav Šulc <fordfrog@gentoo.org>2023-10-17 09:37:01 +0200
commit62c47ed53f3a0a63352a3a735b2a3fe5ecb5e50e (patch)
tree9d81a00f266783df4ba336dc0b722308e0c36beb /dev-java
parentdev-java/felix-utils: verify-sig (diff)
downloadgentoo-62c47ed53f3a0a63352a3a735b2a3fe5ecb5e50e.tar.gz
gentoo-62c47ed53f3a0a63352a3a735b2a3fe5ecb5e50e.tar.bz2
gentoo-62c47ed53f3a0a63352a3a735b2a3fe5ecb5e50e.zip
dev-java/felix-framework: verify-sig
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/felix-framework/Manifest3
-rw-r--r--dev-java/felix-framework/felix-framework-7.0.5-r2.ebuild (renamed from dev-java/felix-framework/felix-framework-7.0.5-r1.ebuild)8
2 files changed, 8 insertions, 3 deletions
diff --git a/dev-java/felix-framework/Manifest b/dev-java/felix-framework/Manifest
index 7c129e4b6fc7..61ae21b93439 100644
--- a/dev-java/felix-framework/Manifest
+++ b/dev-java/felix-framework/Manifest
@@ -1 +1,2 @@
-DIST felix-framework-7.0.5.tar.gz 505118 BLAKE2B 3652d46dfb4c9c5b43b159450b81ad896483fb2df40165d7e7b8bbd718c8e3297163065474bd10f3858ff7fc2646134ed470e34ede8eeb5efc05cec75f1a7aec SHA512 58fa96500fed827c348a47ac8672aeb4e5b94bfd681c4cde610b3a453fd2abfe2d631742281a192c76718ee83fc4c30980a5179926ff3bc7b8ea649ef07f34a3
+DIST org.apache.felix.framework-7.0.5-source-release.tar.gz 505118 BLAKE2B 3652d46dfb4c9c5b43b159450b81ad896483fb2df40165d7e7b8bbd718c8e3297163065474bd10f3858ff7fc2646134ed470e34ede8eeb5efc05cec75f1a7aec SHA512 58fa96500fed827c348a47ac8672aeb4e5b94bfd681c4cde610b3a453fd2abfe2d631742281a192c76718ee83fc4c30980a5179926ff3bc7b8ea649ef07f34a3
+DIST org.apache.felix.framework-7.0.5-source-release.tar.gz.asc 195 BLAKE2B 94d0afbb7f20119a3f75927e75dc10420caab1c6ce2c3cc5b2b8600a2fd6af4c9217df565cd922bd0017ec6ac54113cc2a894b60249978c87c61c7961d258dda SHA512 2b22f242b5d3ff6c38457908e801dc95abeca6c6427fe8eab4badae171692f9b8de6edf091dca78cc43c3a467a56aa85895cabdfa7eaa92faf6cb090e9fae8fa
diff --git a/dev-java/felix-framework/felix-framework-7.0.5-r1.ebuild b/dev-java/felix-framework/felix-framework-7.0.5-r2.ebuild
index 8a8d9e25d1ed..ddb1eee0510a 100644
--- a/dev-java/felix-framework/felix-framework-7.0.5-r1.ebuild
+++ b/dev-java/felix-framework/felix-framework-7.0.5-r2.ebuild
@@ -7,11 +7,12 @@ JAVA_PKG_IUSE="doc source test"
MAVEN_ID="org.apache.felix:org.apache.felix.framework:7.0.5"
JAVA_TESTING_FRAMEWORKS="junit-4"
-inherit java-pkg-2 java-pkg-simple
+inherit java-pkg-2 java-pkg-simple verify-sig
DESCRIPTION="Implementation of the OSGi R8 core framework specification"
HOMEPAGE="https://felix.apache.org/documentation/subprojects/apache-felix-framework.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 )"
S="${WORKDIR}/org.apache.felix.framework-${PV}"
LICENSE="Apache-2.0"
@@ -50,6 +51,9 @@ RDEPEND="
>=virtual/jre-1.8:*
${CP_DEPEND}"
+DEPEND="verify-sig? ( sec-keys/openpgp-keys-apache-felix )"
+VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}/usr/share/openpgp-keys/felix.apache.org.asc"
+
JAVA_CLASSPATH_EXTRA="felix-resolver,osgi-annotation"
JAVA_SRC_DIR="src/main/java"
JAVA_RESOURCE_DIRS="src/main/resources"