summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolkmar W. Pogatzki <gentoo@pogatzki.net>2023-10-16 18:59:34 +0200
committerMiroslav Šulc <fordfrog@gentoo.org>2023-10-17 09:37:01 +0200
commitb93173e1e0385a03fa42a6bf0a2f23134b92b529 (patch)
treeb0ff540244b3af314b6c008ef4a964c1a2d0c0d8 /dev-java/felix-utils
parentdev-java/felix-resolver: verify-sig (diff)
downloadgentoo-b93173e1e0385a03fa42a6bf0a2f23134b92b529.tar.gz
gentoo-b93173e1e0385a03fa42a6bf0a2f23134b92b529.tar.bz2
gentoo-b93173e1e0385a03fa42a6bf0a2f23134b92b529.zip
dev-java/felix-utils: verify-sig
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java/felix-utils')
-rw-r--r--dev-java/felix-utils/Manifest3
-rw-r--r--dev-java/felix-utils/felix-utils-1.11.8-r1.ebuild (renamed from dev-java/felix-utils/felix-utils-1.11.8.ebuild)24
2 files changed, 10 insertions, 17 deletions
diff --git a/dev-java/felix-utils/Manifest b/dev-java/felix-utils/Manifest
index 5cdf8cb77b6b..7f59424e9061 100644
--- a/dev-java/felix-utils/Manifest
+++ b/dev-java/felix-utils/Manifest
@@ -1 +1,2 @@
-DIST felix-utils-1.11.8.tar.gz 90519 BLAKE2B 2fe6ce8101e8e4d9533a2decacc581d35babd3a26747598a196ade7cea787d6e379968208619dc9c4d89c8f670ccb98124223828c852347f859c4ae3a7f284c8 SHA512 cef0f05754857a5863869145b3c465a1fea0d41767637df904b0b041579af18e5b5e3c8e09dc89f0e2e3d252585e0765b6b6e34bf932df1ebdc62a7127ac8cfd
+DIST org.apache.felix.utils-1.11.8-source-release.tar.gz 90519 BLAKE2B 2fe6ce8101e8e4d9533a2decacc581d35babd3a26747598a196ade7cea787d6e379968208619dc9c4d89c8f670ccb98124223828c852347f859c4ae3a7f284c8 SHA512 cef0f05754857a5863869145b3c465a1fea0d41767637df904b0b041579af18e5b5e3c8e09dc89f0e2e3d252585e0765b6b6e34bf932df1ebdc62a7127ac8cfd
+DIST org.apache.felix.utils-1.11.8-source-release.tar.gz.asc 833 BLAKE2B 231acada5011f33a62460d027e76630fecbe15acd5dedc76673a80b6cd4de1ec7ae13a890cd02231a6e94a5555a33154c9144e514058733827841e98ab509d18 SHA512 06755950ed4d2d943c08d76c0abcfc8846f478e8a18543f551913ec7d74d1a946dc7c9f34444b4191186e41e7bd70594db8462c1bc7c895011696c03ada06921
diff --git a/dev-java/felix-utils/felix-utils-1.11.8.ebuild b/dev-java/felix-utils/felix-utils-1.11.8-r1.ebuild
index 9c7ef0ca3fcd..470e9b8355a5 100644
--- a/dev-java/felix-utils/felix-utils-1.11.8.ebuild
+++ b/dev-java/felix-utils/felix-utils-1.11.8-r1.ebuild
@@ -1,33 +1,24 @@
-# 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.utils-1.11.8-source-release.tar.gz --slot 0 --keywords "~amd64" --ebuild felix-utils-1.11.8.ebuild
-
EAPI=8
JAVA_PKG_IUSE="doc source test"
MAVEN_ID="org.apache.felix:org.apache.felix.utils:1.11.8"
JAVA_TESTING_FRAMEWORKS="junit-4"
-inherit java-pkg-2 java-pkg-simple
+inherit java-pkg-2 java-pkg-simple verify-sig
DESCRIPTION="Utility classes for OSGi"
HOMEPAGE="https://felix.apache.org/documentation/index.html"
-SRC_URI="mirror://apache/felix/org.apache.felix.utils-${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.utils-${PV}"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm arm64 ppc64 x86"
-# Compile dependencies
-# POM: pom.xml
-# org.osgi:osgi.cmpn:5.0.0 -> >=dev-java/osgi-cmpn-8.0.0:8
-# org.osgi:osgi.core:5.0.0 -> >=dev-java/osgi-core-8.0.0:0
-# POM: pom.xml
-# test? junit:junit:4.12 -> >=dev-java/junit-4.13.2:4
-# test? org.mockito:mockito-core:2.18.3 -> >=dev-java/mockito-4.7.0:4
-
DEPEND="
>=virtual/jdk-1.8:*
dev-java/osgi-cmpn:8
@@ -39,14 +30,15 @@ DEPEND="
RDEPEND=">=virtual/jre-1.8:*"
+BDEPEND="verify-sig? ( sec-keys/openpgp-keys-apache-felix )"
+VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}/usr/share/openpgp-keys/felix.apache.org.asc"
+
PATCHES=(
"${FILESDIR}/felix-utils-1.11.8-Port-to-osgi-cmpn.patch"
)
DOCS=( DEPENDENCIES NOTICE doc/changelog.txt )
-S="${WORKDIR}/org.apache.felix.utils-${PV}"
-
JAVA_CLASSPATH_EXTRA="osgi-cmpn-8,osgi-core"
JAVA_SRC_DIR="src/main/java"