diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-01-06 18:54:07 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-01-06 18:54:07 +0000 |
commit | cf7a256641d0729742707e68efe5e5ee3895b6c9 (patch) | |
tree | 10acbc3170c4b685aea3df6a9e96bb418a586725 /sys-block/sas3ircu | |
parent | 56330f065f2b903d9e1b2dffc63719fef5897a45 (diff) |
gentoo auto-resync : 06:01:2024 - 18:54:07
Diffstat (limited to 'sys-block/sas3ircu')
-rw-r--r-- | sys-block/sas3ircu/Manifest | 2 | ||||
-rw-r--r-- | sys-block/sas3ircu/sas3ircu-16-r1.ebuild (renamed from sys-block/sas3ircu/sas3ircu-16.ebuild) | 73 |
2 files changed, 35 insertions, 40 deletions
diff --git a/sys-block/sas3ircu/Manifest b/sys-block/sas3ircu/Manifest index 01c525088322..f5a57292dfcf 100644 --- a/sys-block/sas3ircu/Manifest +++ b/sys-block/sas3ircu/Manifest @@ -1,4 +1,4 @@ DIST SAS3IRCU_P16.zip 6342932 BLAKE2B a5c4f9a83eb1f51a049e9f04c29c029580590500deb48ae03b0960c394946f1e89d40efc68a0d505004bda519e3174fc573111e95f028c09b1a0ae6bd18f98ed SHA512 cc44d64c500f2608895129414d95cc3d23fae5a3ae39bb28119f150b830ec20b6c934cd1d23dcd1253e9c38ca3b16a7020ae0b8386412638fd2dca6d93d92ac0 DIST SAS3_IR_UG.pdf 714573 BLAKE2B 09a3a47abf6118343f023f4cdf85ab2f5f583f806e305dafa6397d1099fc01ecc33b331afd10d63ac8bb75a365d09c931c19fc673fa707b5171feb23d64f97bf SHA512 4db16dedcadc3daf853e62531ac620af4a3e41d001b58fcd333692f9121d1ca3ec8b9de0113693506b31da714b9368ff55addb0398f2f843e4a6a1bf3d665433 -EBUILD sas3ircu-16.ebuild 2761 BLAKE2B 32574845fe70a63da52c593baf3d7b9b46a5ab7b4f8f36f1a2cdd92b4ced3530eec095c39dc5a56facf1e20117d1b09d1bdefab44873f735a60eed672c677fa9 SHA512 d8a99c468ee71741b356857af19a32d52b5462abe012196bd3801c5abb0d721ce05358f495154854d7e866ceaa14dd03bd658b9e35460de427ebac535e33ae6a +EBUILD sas3ircu-16-r1.ebuild 2519 BLAKE2B 1000235314e56dfc3c28339432cedd4ef07d350305a5792cfae499d465106864a5309f4fa0c6f76ebc90c209ae07537eb0cf488090aa033d88aaa33ca94dcacd SHA512 9dd69b38ecea331130f4f60b1398ffacaf8ee62ee00b14bb0f7e7306c1ef6f54e9d9fc9a89dd4b49bb4dc9568b5d6264cb2c3a4834e2d7fd9c865b67f29ec9fe MISC metadata.xml 313 BLAKE2B bc8103659b1d003c457aa77253ff241c0045ad4b41ddbe3a921af23a43600c6450653189c3ae9c792453bb19c4c9fab7b41adc9228013c6839dba8b1752f63ac SHA512 7dfc67ef64a07f2faf69ec8e5f2050e7b80e30e19da5a261955346a27d78fc12cefac6abd84e15a4b9cb6dbc7439c6114137bc542424c4a75ed83f0635bea090 diff --git a/sys-block/sas3ircu/sas3ircu-16.ebuild b/sys-block/sas3ircu/sas3ircu-16-r1.ebuild index bbd2cebcd65b..52e553f0eead 100644 --- a/sys-block/sas3ircu/sas3ircu-16.ebuild +++ b/sys-block/sas3ircu/sas3ircu-16-r1.ebuild @@ -1,34 +1,34 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 + +MY_P="${PN^^}_P${PV}" + +DISTFILE_BIN="${MY_P}.zip" +DISTFILE_DOC="SAS3_IR_UG.pdf" +SRC_URI_BASE="https://docs.broadcom.com/docs-and-downloads/host-bus-adapters" + inherit mount-boot secureboot DESCRIPTION="LSI MPT-SAS3 controller management tool" HOMEPAGE="https://www.broadcom.com/products/storage/host-bus-adapters/sas-9300-8e#downloads" +SRC_URI=" + ${SRC_URI_BASE}/host-bus-adapters-common-files/sas_sata_12g_p${PV}/${DISTFILE_BIN} + https://docs.broadcom.com/docs/${DISTFILE_BIN} + doc? ( "${SRC_URI_BASE}/${DISTFILE_DOC}" ) +" +S="${WORKDIR}/${MY_P}" LICENSE="LSI" SLOT="0" -KEYWORDS="~amd64 ~ppc64 ~x86 ~x64-solaris" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86 ~x64-solaris" IUSE="doc efi" - RESTRICT="strip fetch mirror" -BDEPEND="app-arch/unzip" -QA_PREBUILT="opt/lsi/sas3ircu boot/efi/sas3ircu.efi" - -MY_PN=SAS3IRCU -MY_P="${MY_PN}_P${PV}" - -DISTFILE_BIN=${MY_P}.zip -DISTFILE_DOC=SAS3_IR_UG.pdf -SRC_URI_BASE='https://docs.broadcom.com/docs-and-downloads/host-bus-adapters' -SRC_URI=" - ${SRC_URI_BASE}/host-bus-adapters-common-files/sas_sata_12g_p${PV}/${DISTFILE_BIN} - https://docs.broadcom.com/docs/${DISTFILE_BIN} - doc? ( "${SRC_URI_BASE}/${DISTFILE_DOC}" )" +BDEPEND="app-arch/unzip" -S="${WORKDIR}/${MY_P}" +QA_PREBUILT="opt/lsi/sas3ircu boot/efi/sas3ircu.efi" pkg_nofetch() { elog "Broadcom has a mandatory click-through license on thier binaries." @@ -61,33 +61,28 @@ supportedcards() { src_install() { # The second number is some sort of internal revision that is inconsistent between releases. local DOCS=( IRCU_MPT_GEN3_Phase"${PV}".0-*.pdf "README_SAS3IRCU_P${PV}.txt" ) - - if use doc; then - DOCS+=( "${DISTDIR}/${DISTFILE_DOC}" ) - fi + use doc && DOCS+=( "${DISTDIR}/${DISTFILE_DOC}" ) default + local ARCH + use amd64 && ARCH="x64" + use arm64 && ARCH="arm" + use ppc64 && ARCH="ppc64" + use x64-solaris && ARCH="solaris_x86" + use x86 && ARCH="x86" + exeinto /opt/lsi/ - if use amd64; then - doexe sas3ircu_rel/sas3ircu/sas3ircu_linux_x64_rel/sas3ircu - elif use x86; then - doexe sas3ircu_rel/sas3ircu/sas3ircu_linux_x86_rel/sas3ircu - elif use arm64; then - doexe sas3ircu_rel/sas3ircu/sas3ircu_linux_arm_rel/sas3ircu - elif use ppc64; then - doexe sas3ircu_rel/sas3ircu/sas3ircu_linux_ppc64_rel/sas3ircu - elif use x64-solaris; then - doexe sas3ircu_rel/sas3ircu/sas3ircu_solaris_x86_rel/sas3ircu - fi + doexe sas3ircu_rel/sas3ircu/sas3ircu_linux_"${ARCH}"_rel/sas3ircu if use efi; then - exeinto /boot/efi/ - if use amd64; then - doexe sas3ircu_rel/sas3ircu/sas3ircu_udk_uefi_x64_rel/sas3ircu.efi - elif use arm64; then - doexe sas3ircu_rel/sas3ircu/sas3ircu_udk_uefi_arm_rel/sas3ircu.efi + if use amd64 || use efi64; then + exeinto /boot/efi/ + doexe sas3ircu_rel/sas3ircu/sas3ircu_udk_uefi_"${ARCH}"_rel/sas3ircu.efi + secureboot_auto_sign --in-place fi - secureboot_auto_sign --in-place fi + + dodir /opt/bin + dosym ../lsi/sas3ircu /opt/bin/sas3ircu } |