aboutsummaryrefslogtreecommitdiffstats
path: root/dev-vcs
diff options
context:
space:
mode:
Diffstat (limited to 'dev-vcs')
-rw-r--r--dev-vcs/p4/Manifest2
-rw-r--r--dev-vcs/p4/p4-2022.2.2637361.ebuild22
-rw-r--r--dev-vcs/p4/p4-2025.1.2761706.ebuild24
3 files changed, 35 insertions, 13 deletions
diff --git a/dev-vcs/p4/Manifest b/dev-vcs/p4/Manifest
index 2358af1..45715d9 100644
--- a/dev-vcs/p4/Manifest
+++ b/dev-vcs/p4/Manifest
@@ -1,5 +1,7 @@
DIST p4-2022.2.2637361-amd64 10301800 BLAKE2B 0f7d5e0ee7ff70e45f5abf064a0c10fb53691628fad9aaf5ae7396c4580e59ef1a5ff8bb03f189126ce34387075a3c6066bc6c1a877f7219b94fd62accb19f74 SHA512 e1f2ec6123e8c6658c7642c7fe8e2fc70c8ca4bf12b83c2aef1f6934db13dc549511057822b8a6b0db91b47b78e058c1dbb2db7e5da3f64d075638c9c41281d7
+DIST p4-2022.2.2637361-amd64.asc 894 BLAKE2B 591ecdfafcb64c99b7d3bae6144f30d10e3599ff98fb9bfeaddf22650b0c5386bc43d7f3cad9b9ca62321bab33cb00e24c54d748aa04ea51d4a1bf3d50822db7 SHA512 e3ad3238d77b9c0268566c709d23fa21f1de1d251ec2319cb415314ab14e338df368189e06bc23adbc94738797c4fd3bbb23727635805dca91411052adfe7ad9
DIST p4-2022.2.2637361-x86 10919348 BLAKE2B 37c5140221d58554cbb622267c85e269db70630dda3e02927b9a4094e661f692bb48a97ef857ec93c1bf457e89543231ca9cbb001643e0421b65f5573fa625b1 SHA512 13c6c59509d37939ced9c46317e85c548fcb962568783ec7600355ccacd58324686a6ffbc63669df00de99934f07f8e131850fad592ab11dddaf82b828d0316e
+DIST p4-2022.2.2637361-x86.asc 891 BLAKE2B e8575cb84c06b61494f2403964bc4acec27fa6fc0a07f53d05633d500a4c21c236a1488663b6475dd2077f896c773c619ac2ed8ec68effd7b84c6eb3b4806943 SHA512 9c308b61ac3b4c385c1c87ecb7a02f501ba51c047ee854d30da6ef1a44043ba397dfe2ff64c5d22cbeaa7b5ad8353746ffa2bf2405c18fbd233d741d39e1c8de
DIST p4-2025.1.2761706-amd64 10755208 BLAKE2B bdfe9df0c7029936e280d5784149bdd37d41b3a2ba87b99b9c03a352fff2e22e1bf6e2212168d262b2c0ba3837306bf1c3ac256a75ce4d23cd0869c1ac0ecac0 SHA512 fc532771bd359f7702dfae1415711c894c31b7d6b119f2fbc64c3ce58110210268db813ebcd599d0c55d29719c75b06ccc07891e176333f23ad48c4a673c8a59
DIST p4-2025.1.2761706-amd64.asc 894 BLAKE2B b8847c3d67a5ff701b8235ed88c59153ed473e89b2c58c5060e64ec103ea593dc7371330a1a6eeb3ec6129d26ae75478f385a1063f7291f5bc765ca12ef9011e SHA512 6bbee846bc6039ac8873795fc7d1301f8284893b91ed489344693b6ed971b22562fea821537b4017b65e3fbafc1adedb9acb880f8a5204263b63e1eebe72df96
DIST p4-2025.1.2761706-arm64 10380696 BLAKE2B 5b71ce74ac815ffa9d06f1b7d4f298c65d5fea3699e889a44a615d6d89474291c42cb526d1b908e1ebd171bab3ef8915615ff02d8991fd46d27bc41ebb37886f SHA512 d23ec31e21122fa0e8846a15db9d2d6be6ae94d702209d8e944d2683db7185aac637c09165f5896012c1b74a9610211d53ea0f930b65cc0bb10711a532e62bbe
diff --git a/dev-vcs/p4/p4-2022.2.2637361.ebuild b/dev-vcs/p4/p4-2022.2.2637361.ebuild
index 036f986..016fbc1 100644
--- a/dev-vcs/p4/p4-2022.2.2637361.ebuild
+++ b/dev-vcs/p4/p4-2022.2.2637361.ebuild
@@ -3,14 +3,25 @@
EAPI=8
+inherit verify-sig
+
REL="$(ver_cut 1-2)"
SHORTREL="${REL:2}"
DESCRIPTION="Command-line client for the Perforce VCS"
HOMEPAGE="https://www.perforce.com/"
SRC_URI="
- x86? ( https://ftp.perforce.com/pub/perforce/r${SHORTREL}/bin.linux26x86/p4 -> ${P}-x86 )
- amd64? ( https://ftp.perforce.com/pub/perforce/r${SHORTREL}/bin.linux26x86_64/p4 -> ${P}-amd64 )
+ x86? (
+ https://ftp.perforce.com/pub/perforce/r${SHORTREL}/bin.linux26x86/p4 -> ${P}-x86
+ verify-sig? ( https://ftp.perforce.com/pub/perforce/r${SHORTREL}/bin.linux26x86/p4.asc -> ${P}-x86.asc )
+ )
+ amd64? (
+ https://ftp.perforce.com/pub/perforce/r${SHORTREL}/bin.linux26x86_64/p4 -> ${P}-amd64
+ verify-sig? ( https://ftp.perforce.com/pub/perforce/r${SHORTREL}/bin.linux26x86_64/p4.asc -> ${P}-amd64.asc )
+ )
+"
+BDEPEND="
+ verify-sig? ( >=sec-keys/openpgp-keys-perforce-20250619 )
"
S="${WORKDIR}"
LICENSE="Perforce"
@@ -19,10 +30,9 @@ KEYWORDS="-* ~amd64 ~x86"
IUSE=""
RESTRICT="mirror strip bindist"
-src_unpack() {
- cp "${DISTDIR}/${A}" p4 || die
-}
+VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}/usr/share/openpgp-keys/perforce.asc"
src_install() {
- dobin p4
+ local files=( ${A} )
+ newbin "${files[0]/#/${DISTDIR}/}" p4
}
diff --git a/dev-vcs/p4/p4-2025.1.2761706.ebuild b/dev-vcs/p4/p4-2025.1.2761706.ebuild
index f9b959b..7ddfd51 100644
--- a/dev-vcs/p4/p4-2025.1.2761706.ebuild
+++ b/dev-vcs/p4/p4-2025.1.2761706.ebuild
@@ -1,16 +1,27 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
+inherit verify-sig
+
REL="$(ver_cut 1-2)"
SHORTREL="${REL:2}"
DESCRIPTION="Command-line client for the Perforce VCS"
HOMEPAGE="https://www.perforce.com/"
SRC_URI="
- amd64? ( https://ftp.perforce.com/pub/perforce/r${SHORTREL}/bin.linux26x86_64/p4 -> ${P}-amd64 )
- arm64? ( https://ftp.perforce.com/pub/perforce/r${SHORTREL}/bin.linux26aarch64/p4 -> ${P}-arm64 )
+ amd64? (
+ https://ftp.perforce.com/pub/perforce/r${SHORTREL}/bin.linux26x86_64/p4 -> ${P}-amd64
+ verify-sig? ( https://ftp.perforce.com/pub/perforce/r${SHORTREL}/bin.linux26x86_64/p4.asc -> ${P}-amd64.asc )
+ )
+ arm64? (
+ https://ftp.perforce.com/pub/perforce/r${SHORTREL}/bin.linux26aarch64/p4 -> ${P}-arm64
+ verify-sig? ( https://ftp.perforce.com/pub/perforce/r${SHORTREL}/bin.linux26aarch64/p4.asc -> ${P}-arm64.asc )
+ )
+"
+BDEPEND="
+ verify-sig? ( >=sec-keys/openpgp-keys-perforce-20250619 )
"
S="${WORKDIR}"
LICENSE="Perforce"
@@ -19,10 +30,9 @@ KEYWORDS="-* ~amd64 ~arm64"
IUSE=""
RESTRICT="mirror strip bindist"
-src_unpack() {
- cp "${DISTDIR}/${A}" p4 || die
-}
+VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}/usr/share/openpgp-keys/perforce.asc"
src_install() {
- dobin p4
+ local files=( ${A} )
+ newbin "${files[0]/#/${DISTDIR}/}" p4
}