summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolkmar W. Pogatzki <gentoo@pogatzki.net>2023-11-17 01:20:57 +0100
committerMiroslav Šulc <fordfrog@gentoo.org>2023-12-07 13:51:13 +0100
commitecd84150e37701d39343c9659f1207312ef4fcec (patch)
treed9eba352d08a8fe563e76696793c8ec65af1bf83 /dev-java
parentdev-java/commons-imaging: patch failing javadoc (diff)
downloadgentoo-ecd84150e37701d39343c9659f1207312ef4fcec.tar.gz
gentoo-ecd84150e37701d39343c9659f1207312ef4fcec.tar.bz2
gentoo-ecd84150e37701d39343c9659f1207312ef4fcec.zip
dev-java/commons-imaging: add 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/commons-imaging/Manifest1
-rw-r--r--dev-java/commons-imaging/commons-imaging-1.0_alpha3-r1.ebuild (renamed from dev-java/commons-imaging/commons-imaging-1.0_alpha3.ebuild)7
2 files changed, 6 insertions, 2 deletions
diff --git a/dev-java/commons-imaging/Manifest b/dev-java/commons-imaging/Manifest
index 5472b1ce60c6..aa7a4a72d0f8 100644
--- a/dev-java/commons-imaging/Manifest
+++ b/dev-java/commons-imaging/Manifest
@@ -1 +1,2 @@
DIST commons-imaging-1.0-alpha3-src.tar.gz 39966281 BLAKE2B f0fbb6d7ae0c12be19fe13d3ff4e1cced5acfe7ea72326528c67b57fade73c0acee3eb8eaa62b3d40c473c0c2faf7f60ec190bc0954c5159405358bfac4efd42 SHA512 16300adb5873fef464bedfdce7e1368f52add8d33087f059667840880b8666024feeecdb278a53d5c3d8e76d01ab921ea146d41ca688757f0cf0c2f2b32b0d53
+DIST commons-imaging-1.0-alpha3-src.tar.gz.asc 833 BLAKE2B b28631badf344fa476a99db78e26a9453d033d21dba8484b2621a4cb0295ea262f58d2df4f8afd6d8090ecd0ea98ec2dca0168e2b401d662c335ad1ef9518b98 SHA512 b7e6691d5eac6f81657dc42aa69184da7fd1bf364da391ac4e1a27991d9a8bbba23296d58b874b4c69a20d39c3c1e821ca19c312f3e71b3acd8903156a2a0a1d
diff --git a/dev-java/commons-imaging/commons-imaging-1.0_alpha3.ebuild b/dev-java/commons-imaging/commons-imaging-1.0_alpha3-r1.ebuild
index b1acc8ef4f3c..934b121a1c38 100644
--- a/dev-java/commons-imaging/commons-imaging-1.0_alpha3.ebuild
+++ b/dev-java/commons-imaging/commons-imaging-1.0_alpha3-r1.ebuild
@@ -9,11 +9,12 @@ EAPI=8
JAVA_PKG_IUSE="doc source"
MAVEN_ID="org.apache.commons:commons-imaging:1.0-alpha2"
-inherit java-pkg-2 java-pkg-simple
+inherit java-pkg-2 java-pkg-simple verify-sig
DESCRIPTION="Apache Commons Imaging (previously Sanselan) is a pure-Java image library."
HOMEPAGE="https://commons.apache.org/proper/commons-imaging/"
-SRC_URI="mirror://apache/commons/imaging/source/commons-imaging-${PV/_/-}-src.tar.gz"
+SRC_URI="mirror://apache/commons/imaging/source/${P/_/-}-src.tar.gz
+ verify-sig? ( https://downloads.apache.org/commons/imaging/source/${P/_/-}-src.tar.gz.asc )"
S="${WORKDIR}/${P/_/-}-src"
LICENSE="Apache-2.0"
@@ -26,6 +27,8 @@ KEYWORDS="~amd64 ~x86"
# test? org.hamcrest:hamcrest:2.2 -> !!!artifactId-not-found!!!
# test? org.junit.jupiter:junit-jupiter:5.6.2 -> !!!groupId-not-found!!!
+VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/commons.apache.org.asc"
+BDEPEND="verify-sig? ( sec-keys/openpgp-keys-apache-commons )"
DEPEND=">=virtual/jdk-1.8:*"
RDEPEND=">=virtual/jre-1.8:*"