From 21435953e16cda318a82334ddbadb3b5c36d9ea7 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 15 Jan 2020 15:51:32 +0000 Subject: gentoo resync : 15.01.2020 --- sys-block/sas3flash/Manifest | 6 ++ sys-block/sas3flash/sas3flash-15-r1.ebuild | 92 ++++++++++++++++++++++++ sys-block/sas3flash/sas3flash-16.ebuild | 108 +++++++++++++++++++++++++++++ 3 files changed, 206 insertions(+) create mode 100644 sys-block/sas3flash/sas3flash-15-r1.ebuild create mode 100644 sys-block/sas3flash/sas3flash-16.ebuild (limited to 'sys-block/sas3flash') diff --git a/sys-block/sas3flash/Manifest b/sys-block/sas3flash/Manifest index 1be553e39541..5a5ae4cc0cdb 100644 --- a/sys-block/sas3flash/Manifest +++ b/sys-block/sas3flash/Manifest @@ -1,4 +1,10 @@ +DIST Installer_P16_for_FreeBSD.zip 640411 BLAKE2B 5f23b3e9de53469d6f824ce6e571e0ccf8c49ded5c243b07a31d149aaa6ab50a483fa3e78d07417061e0d772c77a9c62867c5390942ae31936c568422b02c0a9 SHA512 951271f312e4c80db0afa5cc2b64bfa7cf262d601411499ca997a27e3df193d1c36ca100470525e606ac9fca7f150384e389c20838c94fc6fbe61f3be10de0f2 +DIST Installer_P16_for_Linux.zip 931509 BLAKE2B 059ce415dde9c872bd5e235bd3168a01bd966fc7433b297875849d563bf57d9207b5d4ce253bd9ac40072353a77ab403ecf110c21758edc5a1a832d7a8af6066 SHA512 fde7967e45f13c81b40b53f9d8893de8bf8b16b8c008b197ddfdcdc0338675c9926b53fc48f38087ca35738de3b8da662d22bdd620648eafb0c8889b48e94431 +DIST Installer_P16_for_Solaris.zip 450562 BLAKE2B 6aa3ce50128a719fb36d8c9a28f87dc43a4c90f261b373dbe0455f1803dea4212b85efc2c5961a7da9254c21938ff189b893eec44a8e959589df59073517296a SHA512 6a73b142ba50d8c3b6427d96153367e96498787a48bef2ea784fba8567ab9a32554fc8560c3ea798b7f7c04af7a8115d778532087aeca6d7b64fbf4a6be5d649 +DIST Installer_P16_for_UEFI.zip 360466 BLAKE2B 8c98387033bc3979a62c1e29e78678563d32ac9e6a90359160fe64694b765cc083ec1c4e3d816ee9fbcc9390fc195078e4b18976d24c3ed79d93baf69c5bff5d SHA512 f670690df3d024dc968325354650c4279ff9823c6e9846cf37b7a7e3ba0ed77e1a94c8e358c691a41dfd1d438215448cb4fb1df246e5a1e6fa72bbfa3e5ee710 DIST SAS3FLASH_P15.zip 5284358 BLAKE2B 8602db381d7ce7fbca7b55c0f7a9ec4868153264624a5c64d7602a5b094e16c274df22d4e4e8c2f3dca08ff5b550b5aa8dc72d25fef74a65b8eb24f4dd213934 SHA512 19fe0b313a210c02017234e0784dffde83eb9a9bcca1c98221bc5fd56e0cc196e53f857c5c0d0db37176f59d70cb85aaef3983b1f900a9f2031b9fcd2cfaf9eb DIST sas3Flash_quickRefGuide_rev1-0.pdf 301289 BLAKE2B c52a00b7dd6abd14d2a476ed2fca9d56d59555c7f92b802cd37f9876c17d83a9919df6e9c64697eefd2195bec01a1eed14884c3f7daa82195f276032d37a146b SHA512 88129695ac971a28d472f3cea3af8a99fcff508b29b2c7c74994b6854515710239a6bbff766fc4fd31af8726784a3799b2a63a9dd8241e97b34d4e05638e088b +EBUILD sas3flash-15-r1.ebuild 2891 BLAKE2B 5c687bd8ca7c03bf8f63881c1cd7a57f672f593e13d32742774dce6afe5cd91725dccb77cd02a30b2a0414632a1963c1f21d4ea514af990fb7710fa73a9dc09b SHA512 6c7203c972deb3a8cb8f888ee0b12560b77912e9cbde7bcb222d42efdc6dfbd38b52a030170d37c01bac8ff51c780d3afdb34b75ffc632b256a30217b5d02c0d EBUILD sas3flash-15.ebuild 2203 BLAKE2B 6fc020bfdeeb4bbd6c77b863ad47cb3c9f39d25c83b9b6b8f2386304564d78f319d7d77a00221058507fe2e3235818b516ad7ea571f32883fae6c0a67e51f070 SHA512 61738738efc9be7cdb247a9f1f5056783b7114bf1505b10e1d450c3f2fb13ff80282c27445ca2f825b2be2b9f5707175dcd1003710315b5ae0a0e88d95797656 +EBUILD sas3flash-16.ebuild 4092 BLAKE2B 078531dc1032bf28e64554bacb052c631193dee7b741d27a3b42494a9c8dad35881a1039a29bd8be2ec19eb4df77b556039738c3d144b238710029ac01acf152 SHA512 35308c7b62f13507f04c2379b1d6e25546b0799b2723c75a89829c83c4f0e507d68fe464bea3ce9b201ca2e3cc3c60ec56ab663340f7219256cf56c24c6ea8e8 MISC metadata.xml 306 BLAKE2B db3bc70d010eab74af1f8c3e7a4813d1cf0613eaf68ec37b4c32773b7a0b58dcf4ae81c3b42d8a296f571aaa380401329e3cf3c5ec161de08c582080e609c438 SHA512 eaf88a3817a6749ed5239605d4de8cdfb1a219355be17e60b9fd3eae741b83ceef0269f79ac89896e78ddcea0d9dd8da186fd619965ee1fb7f0350c779f561ce diff --git a/sys-block/sas3flash/sas3flash-15-r1.ebuild b/sys-block/sas3flash/sas3flash-15-r1.ebuild new file mode 100644 index 000000000000..86f572300ce1 --- /dev/null +++ b/sys-block/sas3flash/sas3flash-15-r1.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit mount-boot + +DESCRIPTION="Flash utility for LSI MPT-SAS3 controller" +HOMEPAGE="https://www.broadcom.com/products/storage/host-bus-adapters/sas-9300-8e#downloads" + +LICENSE="LSI" +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~x86 ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="doc efi" + +RESTRICT="strip fetch mirror" +BDEPEND="app-arch/unzip" +QA_PREBUILT="opt/lsi/sas3flash boot/efi/sas3flash.efi" + +MY_PN=SAS3FLASH +MY_P="${MY_PN}_P${PV}" + +DISTFILE_BIN=${MY_P}.zip +DISTFILE_DOC=sas3Flash_quickRefGuide_rev1-0.pdf + +SRC_URI_BASE='https://docs.broadcom.com/docs-and-downloads' +SRC_URI=" + ${SRC_URI_BASE}/host-bus-adapters/host-bus-adapters-common-files/sas_sata_12g_p${PV}/${DISTFILE_BIN} + doc? ( "${SRC_URI_BASE}/oracle/files/${DISTFILE_DOC}" )" + +S="${WORKDIR}/${MY_P}" + +pkg_nofetch() { + elog "Broadcom has a mandatory click-through license on their binaries." + elog "Please visit ${HOMEPAGE} and download ${DISTFILE_BIN} from the Mangement Software section." + elog "After downloading, move ${DISTFILE_BIN} into your DISTDIR directory." + if use doc; then + elog "Please also download 'SAS3Flash Utility Quick Reference Guide' (${DISTFILE_DOC}) " + elog "and also place it into your DISTDIR directory." + fi + einfo "${SRC_URI}" +} + +supportedcards() { + elog "This binary supports should support ALL cards, including, but not" + elog "limited to the following series:" + elog "" + elog "LSI SAS 3004" + elog "LSI SAS 3008" + elog "LSI SAS 3108" + elog "LSI SAS 3116" + elog "LSI SAS 3208" + elog "LSI SAS 3308" +} + +src_install() { + # The second number is some sort of internal revision that is inconsistent between releases. + local DOCS=( FLASH_MPT_GEN3_Phase"${PV}".0-*.pdf "README_SAS3FLASH_P${PV}.txt" ) + + if use doc; then + DOCS+=( "${DISTDIR}/${DISTFILE_DOC}" ) + fi + + default + + exeinto /opt/lsi/ + if use amd64; then + doexe sas3flash_rel/sas3flash/sas3flash_linux_x64_rel/sas3flash + elif use x86; then + doexe sas3flash_rel/sas3flash/sas3flash_linux_x86_rel/sas3flash + elif use arm64; then + doexe sas3flash_rel/sas3flash/sas3flash_linux_arm_rel/sas3flash + elif use ppc64; then + doexe sas3flash_rel/sas3flash/sas3flash_linux_ppc64_rel/sas3flash + elif use amd64-fbsd; then + doexe sas3flash_rel/sas3flash/sas3flash_freebsd_amd64_rel/sas3flash + elif use x86-fbsd; then + doexe sas3flash_rel/sas3flash/sas3flash_freebsd_i386_rel/sas3flash + elif use x64-solaris || use x86-solaris; then + doexe sas3flash_rel/sas3flash/sas3flash_solaris_x86_rel/sas3flash + elif use sparc-solaris; then + doexe sas3flash_rel/sas3flash/sas3flash_solaris_sparc_rel/sas3flash + fi + + if use efi; then + exeinto /boot/efi/ + if use amd64; then + doexe sas3flash_rel/sas3flash/sas3flash_udk_uefi_x64_rel/sas3flash.efi + elif use arm64; then + doexe sas3flash_rel/sas3flash/sas3flash_udk_uefi_arm_rel/sas3flash.efi + fi + fi +} diff --git a/sys-block/sas3flash/sas3flash-16.ebuild b/sys-block/sas3flash/sas3flash-16.ebuild new file mode 100644 index 000000000000..9542c3b99a47 --- /dev/null +++ b/sys-block/sas3flash/sas3flash-16.ebuild @@ -0,0 +1,108 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit mount-boot + +DESCRIPTION="Flash utility for LSI MPT-SAS3 controller" +HOMEPAGE="https://www.broadcom.com/products/storage/host-bus-adapters/sas-9300-8e#downloads" + +LICENSE="LSI" +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~x86 ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="doc efi" + +RESTRICT="strip fetch mirror" +BDEPEND="app-arch/unzip" +QA_PREBUILT="opt/lsi/sas3flash boot/efi/sas3flash.efi" + +SRC_URI_BASE="https://docs.broadcom.com/docs-and-downloads/host-bus-adapters/host-bus-adapters-common-files/sas_sata_12g_p${PV}_point_release" +SRC_URI_PREFIX="${SRC_URI_BASE}/host-bus-adapters/host-bus-adapters-common-files/sas_sata_12g_p${PV}_point_release" + +SRC_URI_LINUX="${SRC_URI_PREFIX}/Installer_P${PV}_for_Linux.zip" +SRC_URI_FREEBSD="${SRC_URI_PREFIX}/Installer_P${PV}_for_FreeBSD.zip" +SRC_URI_SOLARIS="${SRC_URI_PREFIX}/Installer_P${PV}_for_Solaris.zip" +SRC_URI_UEFI="${SRC_URI_PREFIX}/Installer_P${PV}_for_UEFI.zip" + +DISTFILE_BINS=( "${SRC_URI_LINUX%%*/}" "${SRC_URI_FREEBSD%%*/}" "${SRC_URI_SOLARIS%%*/}" "${SRC_URI_UEFI%%*/}" ) +DISTFILE_DOC=sas3Flash_quickRefGuide_rev1-0.pdf + +SRC_URI=" + amd64? ( ${SRC_URI_LINUX} ) + x86? ( ${SRC_URI_LINUX} ) + ppc64? ( ${SRC_URI_LINUX} ) + amd64-fbsd? ( ${SRC_URI_FREEBSD} ) + x86-fbsd? ( ${SRC_URI_FREEBSD} ) + x64-solaris? ( ${SRC_URI_SOLARIS} ) + x86-solaris? ( ${SRC_URI_SOLARIS} ) + sparc-solaris? ( ${SRC_URI_SOLARIS} ) + efi? ( ${SRC_URI_UEFI} ) + doc? ( "${SRC_URI_BASE}/oracle/files/${DISTFILE_DOC}" )" + +S="${WORKDIR}" + +pkg_nofetch() { + elog "Broadcom has a mandatory click-through license on their binaries." + elog "Please visit ${HOMEPAGE} and download ${DISTFILE_BINS[@]} from the Mangement Software section." + elog "After downloading, move ${DISTFILE_BINS[@]} into your DISTDIR directory." + if use doc; then + elog "Please also download 'SAS3Flash Utility Quick Reference Guide' (${DISTFILE_DOC}) " + elog "and also place it into your DISTDIR directory." + fi + einfo "${SRC_URI}" +} + +supportedcards() { + elog "This binary supports should support ALL cards, including, but not" + elog "limited to the following series:" + elog "" + elog "LSI SAS 3004" + elog "LSI SAS 3008" + elog "LSI SAS 3108" + elog "LSI SAS 3116" + elog "LSI SAS 3208" + elog "LSI SAS 3308" +} + +src_install() { + # The second number is some sort of internal revision that is inconsistent between releases. + local DOCS=( Installer_P"${PV}"_for_Linux/{FLASH_MPT_GEN3_Phase"${PV}".0-*.pdf,sas3Flash_quickRefGuide_rev1-0.pdf} ) + + if use doc; then + DOCS+=( "${DISTDIR}/${DISTFILE_DOC}" ) + fi + + exeinto /opt/lsi/ + if use amd64; then + doexe Installer_P16_for_Linux/sas3flash_linux_x64_rel/sas3flash + DOCS+=( Installer_P"${PV}"_for_Linux/README_Installer_P"${PV}"_Linux.txt ) + elif use x86; then + doexe Installer_P16_for_Linux/sas3flash_linux_i386_rel/sas3flash + DOCS+=( Installer_P"${PV}"_for_Linux/README_Installer_P"${PV}"_Linux.txt ) + elif use ppc64; then + doexe Installer_P16_for_Linux/sas3flash_linux_ppc64_rel/sas3flash + DOCS+=( Installer_P"${PV}"_for_Linux/README_Installer_P"${PV}"_Linux.txt ) + elif use amd64-fbsd; then + doexe Installer_P16_for_FreeBSD/sas3flash_freebsd_amd64_rel/sas3flash + DOCS+=( Installer_P"${PV}"_for_FreeBSD/README_Installer_P"${PV}"_FreeBSD.txt ) + elif use x86-fbsd; then + doexe Installer_P16_for_FreeBSD/sas3flash_freebsd_i386_rel/sas3flash + DOCS+=( Installer_P"${PV}"_for_FreeBSD/README_Installer_P"${PV}"_FreeBSD.txt ) + elif use x64-solaris || use x86-solaris; then + doexe Installer_P16_for_Solaris/sas3flash_solaris_x86_rel/sas3flash + DOCS+=( Installer_P"${PV}"_for_Solaris/README_Installer_P"${PV}"_Solaris.txt ) + elif use sparc-solaris; then + doexe Installer_P16_for_Solaris/sas3flash_solaris_sparc_rel/sas3flash + DOCS+=( Installer_P"${PV}"_for_Solaris/README_Installer_P"${PV}"_Solaris.txt ) + fi + + if use efi; then + exeinto /boot/efi/ + DOCS+=( Installer_P"${PV}"_for_UEFI/README_Installer_P"${PV}"_UEFI.txt ) + if use amd64; then + doexe Installer_P"${PV}"_for_UEFI/sas3flash_udk_uefi_x64_rel/sas3flash.efi + fi + fi + + default +} -- cgit v1.2.3