diff options
author | Zac Medico <zmedico@gentoo.org> | 2023-11-16 11:40:45 -0800 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2023-11-16 12:39:06 -0800 |
commit | 8a6ed16efd9d425cd664a1448771ac2753e8dc67 (patch) | |
tree | 98c244ec499245cd2d1fea6f905ae658950ae772 /sys-block/perccli | |
parent | games-simulation/openrct2: fix compilation with gcc14 (diff) | |
download | gentoo-8a6ed16efd9d425cd664a1448771ac2753e8dc67.tar.gz gentoo-8a6ed16efd9d425cd664a1448771ac2753e8dc67.tar.bz2 gentoo-8a6ed16efd9d425cd664a1448771ac2753e8dc67.zip |
sys-block/perccli: Bump to 7.2313.0
Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'sys-block/perccli')
-rw-r--r-- | sys-block/perccli/Manifest | 2 | ||||
-rw-r--r-- | sys-block/perccli/perccli-7.2313.0.ebuild | 55 |
2 files changed, 57 insertions, 0 deletions
diff --git a/sys-block/perccli/Manifest b/sys-block/perccli/Manifest index 9d2ad7a901ab..37a20f01855e 100644 --- a/sys-block/perccli/Manifest +++ b/sys-block/perccli/Manifest @@ -1,2 +1,4 @@ +DIST PERCCLI_7.2313.0_A14_Linux.tar.gz 4690834 BLAKE2B 9c197a4cdb3305b7c7228506dc96ea943308c442a770be8aae08c9ff6c92396a73b7ffac227967bd6330f2fa1b7c12c886984bd01405f9326e17e067adbef1b9 SHA512 640a31c774f67250a4001e427ed6934d8d9b87be97aa20ab9ecb2e19211e4adb1c09a0266af6f2894fcbe03c2b68b965e9d288c10cab7606c3f4ac766386f0c5 DIST dell-sas-hba-12gbps_reference-guide_en-us.pdf 450398 BLAKE2B b97ef640b53fb631ac4d9478f621709d7dad1d19786b8fcd96adcaef3ae8a13ca449f0b5d63b29e36c0a10a30b187164cc2a538836f95c6c0c669f31c9443b2f SHA512 17be31c01d350ca28434ded58599f1de8ca93770fcc52da107d8639d93145397ba5b43931c86020093de9eaec092f8bb6a4c401a2d98bdc7ec465e947b462a3d +DIST perccli-7.2313.0.efi 14427392 BLAKE2B 1407fd682982604ee2c602fd70ea577fefec729751c561534d7141204c36fddad2113e78913e840d75cde2d62905caa6761b68cb98d2d3247e0da103f7b93233 SHA512 6f1f3f5e027202720336784de4482b092b537ba0d0c34a364886fd39c7ab3393ddaf2ba5b966d73e8c3735e89abfa747d53189182547794c73b2eef3a5d15c7c DIST perccli_linux_NF8G9_A07_7.529.00.tar.gz 6624840 BLAKE2B 29b67d8807bc12b2c4d3df880176209ba9c44f48d74367172d1d673070ece435537158c5998fc79eb68c33ec3eb2009e55e333f88419c23f911af091e6ccf371 SHA512 71e44772d291fa2d9529ab10917a3841395fe16daa66a2d64d1e120d5c3d43ce34479a5217fc1fbe7f4772b92fccc673fe387cb2e9a7683c9b5a3e26a348713c diff --git a/sys-block/perccli/perccli-7.2313.0.ebuild b/sys-block/perccli/perccli-7.2313.0.ebuild new file mode 100644 index 000000000000..515e612547de --- /dev/null +++ b/sys-block/perccli/perccli-7.2313.0.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit mount-boot rpm secureboot + +DESCRIPTION="LINUX PERCCLI Utility For All Dell HBA/PERC Controllers" +HOMEPAGE="https://www.dell.com/support/home/en-us/drivers/driversdetails?driverid=tdghn" +LICENSE="Dell-EULA" +SLOT="0" +KEYWORDS="-* ~amd64" +IUSE="efi" +RESTRICT="bindist fetch strip" +DEPEND="" +RDEPEND="" +QA_PREBUILT="opt/MegaRAID/perccli/perccli* boot/efi/perccli.efi" + +# Files not fetchable with the default user-agent, and EULA +# requires consent for redistribution. +SRC_URI="https://dl.dell.com/FOLDER09770976M/1/PERCCLI_7.2313.0_A14_Linux.tar.gz + efi? ( https://dl.dell.com/FOLDER09770794M/1/perccli.efi -> perccli-7.2313.0.efi )" + +S=${WORKDIR} + +pkg_nofetch() { + einfo "Please download PERCCLI_7.2313.0_A14_Linux.tar.gz from" + einfo "${HOMEPAGE}" + einfo "and place the file in your DISTDIR directory." + if use efi; then + einfo "Please download perccli.efi from" + einfo "${HOMEPAGE}" + einfo "and rename the file to perccli-7.2313.0.efi and place it in your DISTDIR directory." + fi +} + +pkg_setup() { + use efi && secureboot_pkg_setup +} + +src_unpack() { + default + rpm_unpack ./PERCCLI*Linux/*.rpm +} + +src_install() { + exeinto /opt/MegaRAID/perccli + doexe opt/MegaRAID/perccli/perccli64 && \ + dosym perccli64 /opt/MegaRAID/perccli/perccli + dosym ../MegaRAID/perccli/perccli /opt/bin/perccli + if use efi; then + exeinto /boot/efi + newexe "${DISTDIR}/perccli-7.2313.0.efi" perccli.efi + fi + use efi && secureboot_auto_sign --in-place +} |