diff options
Diffstat (limited to 'dev-vcs/p4')
-rw-r--r-- | dev-vcs/p4/Manifest | 11 | ||||
-rw-r--r-- | dev-vcs/p4/p4-2022.2.2637361.ebuild | 22 | ||||
-rw-r--r-- | dev-vcs/p4/p4-2024.1.2625008.ebuild | 27 | ||||
-rw-r--r-- | dev-vcs/p4/p4-2025.1.2761706.ebuild | 38 |
4 files changed, 62 insertions, 36 deletions
diff --git a/dev-vcs/p4/Manifest b/dev-vcs/p4/Manifest index 9a0025b..45715d9 100644 --- a/dev-vcs/p4/Manifest +++ b/dev-vcs/p4/Manifest @@ -1,3 +1,8 @@ -DIST p4-2022.2.2637361-amd64 10236040 BLAKE2B 6cd27bd6373b202f63f21328c6a1243127d1794da9dbc18fdfc14612634176bbf791f3ba80c87387709ada8218791f6fcc3014f455c721f6b2b46f82f5d696f1 SHA512 2ec97f230a6aafb8c6511c135d34a0e577abc6576b5524383293e1792798a5ee2cf8dee0ef5b5da8850579f54a67a77d6f0f4246669e3b1ecad6bc554e556a2b -DIST p4-2022.2.2637361-x86 10841396 BLAKE2B 20ba88f541495d35b3df0396b8afc470678da691dbf017b69e4c933c119b329f514ddd563605a710ce613960065c8486238842532c5b2c54c128c1f0fd987ee7 SHA512 5106a3192f9b80a47d2069a27638ec8f04dc66c4ed88d5474a69eb6274e7a076d1bac3611c529a6baa5e3145a896aebe7a2b9e4d998f60667ad829584b507750 -DIST p4-2024.1.2625008-amd64 10580168 BLAKE2B a28454a30af8263c748afefc6b6e64db5afa32c22e03f93c109a8d8676f17553ab8f75af67092fef5142984b100218125d2c8d56fd0a97d8957792a8f1a76453 SHA512 7db62ba905d98ad7dcfd36f02cdf90a3b6828bbf68b65e453dd55e939128e1c8f5b075ed87dec6d98ec1191c589d1c966db9948e3a85a821d6fb3a4e4bf405e4 +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 +DIST p4-2025.1.2761706-arm64.asc 895 BLAKE2B aedbd129007ee9120191cf9aa0d22d3befcfe57d5d737c1913c277fcf857c6959e18a83a0ddbf0fa7baea912999a84e83fc2f05ab6ded7158273827be3c3f72f SHA512 023b4f1de2d5f1b330d6250955e3d0074d2cf4400de4ffbf29c5bfaafd384136186a05dd3e914305d2e4e218c51076c2667636d8676f85efce7b28587be5dd00 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-2024.1.2625008.ebuild b/dev-vcs/p4/p4-2024.1.2625008.ebuild deleted file mode 100644 index 57773de..0000000 --- a/dev-vcs/p4/p4-2024.1.2625008.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -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 ) -" -S="${WORKDIR}" -LICENSE="Perforce" -SLOT="0" -KEYWORDS="-* ~amd64" -IUSE="" -RESTRICT="mirror strip bindist" - -src_unpack() { - cp "${DISTDIR}/${A}" p4 || die -} - -src_install() { - dobin p4 -} diff --git a/dev-vcs/p4/p4-2025.1.2761706.ebuild b/dev-vcs/p4/p4-2025.1.2761706.ebuild new file mode 100644 index 0000000..7ddfd51 --- /dev/null +++ b/dev-vcs/p4/p4-2025.1.2761706.ebuild @@ -0,0 +1,38 @@ +# 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 + 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" +SLOT="0" +KEYWORDS="-* ~amd64 ~arm64" +IUSE="" +RESTRICT="mirror strip bindist" + +VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}/usr/share/openpgp-keys/perforce.asc" + +src_install() { + local files=( ${A} ) + newbin "${files[0]/#/${DISTDIR}/}" p4 +} |