Created attachment 268475 [details] storcli2-8.16.patch https://techdocs.broadcom.com/us/en/storage-and-ethernet-connectivity/enterprise-storage-solutions/megaraid8-tri-mode-software/1-0/StorCLI_MR8_Intro.html
https://docs.broadcom.com/docs/008.0016.0000.0011_MR%208.16_Storcli2.zip => 404 Correct link is: https://docs.broadcom.com/docs-and-downloads/008.0016.0000.0011_MR%208.16_Storcli2.zip This is 8.17: https://docs.broadcom.com/docs-and-downloads/08.017.000.0008_MR%208.17%20AV1_AV2_Storcli2.zip
Diff sysutils/storcli with sysutils/storcli2: diff --git a/sysutils/storcli/Makefile b/sysutils/storcli2/Makefile index fd4818dce310..f3f53f4652be 100644 --- a/sysutils/storcli/Makefile +++ b/sysutils/storcli2/Makefile @@ -1,12 +1,12 @@ -PORTNAME= storcli -DISTVERSION= 7.3603 +PORTNAME= storcli2 +DISTVERSION= 8.17 CATEGORIES= sysutils -MASTER_SITES= https://docs.broadcom.com/docs-and-downloads/host-bus-adapters/host-bus-adapters-common-files/sas_sata_nvme_12g_p37/ -DISTNAME= STORCLI_SAS3.5_P37 -DIST_SUBDIR= ${PORTNAME}${DISTVERSION} +MASTER_SITES= https://docs.broadcom.com/docs-and-downloads/ +DISTNAME= 08.017.000.0008_MR%208.17%20AV1_AV2_Storcli2 +DIST_SUBDIR= ${PORTNAME}-${DISTVERSION} MAINTAINER= takefu@airport.fm -COMMENT= SAS MegaRAID FreeBSD StorCLI +COMMENT= SAS4 MegaRAID FreeBSD StorCLI2 WWW= https://www.broadcom.com/support/ LICENSE= storcli @@ -22,10 +22,10 @@ USES= zip NO_BUILD= yes NO_WRKSUBDIR= yes PKGMESSAGE= ${WRKDIR}/pkg-message -PLIST_FILES= sbin/storcli -PORTDOCS= MR_SAS_Unified_StorCLI--00${DISTVERSION}.0000.0000.pdf readme.txt +PLIST_FILES= sbin/storcli2 +PORTDOCS= ThirdPartyLicenseNotice.pdf readme.txt OPTIONS_DEFINE= DOCS -BINSRC= ${WRKSRC}/${DISTNAME}/univ_viva_cli_rel/Unified_storcli_all_os +BINSRC= ${WRKSRC}/storcli_rel/Avenger_StorCLI .include <bsd.port.pre.mk> @@ -37,7 +37,7 @@ IGNORE= you must manually fetch the distribution file \ .endif post-extract: - @${TAR} xf ${BINSRC}/FreeBSD/storcli64.tar -C${WRKSRC} + @${TAR} xf ${BINSRC}/FreeBSD/storcli2.tar -C${WRKSRC} @${ECHO} "[" > ${WRKDIR}/pkg-message @${ECHO} "{" >> ${WRKDIR}/pkg-message @${ECHO} " message: <<EOM" >> ${WRKDIR}/pkg-message @@ -47,11 +47,11 @@ post-extract: @${ECHO} "]" >> ${WRKDIR}/pkg-message do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/storcli64 ${STAGEDIR}${PREFIX}/sbin/storcli + ${INSTALL_PROGRAM} ${WRKSRC}/storcli2 ${STAGEDIR}${PREFIX}/sbin/storcli2 do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${BINSRC}/../../MR_SAS_Unified_StorCLI--00${DISTVERSION}.0000.0000.pdf \ + ${INSTALL_DATA} ${BINSRC}/ThirdPartyLicenseNotice.pdf \ ${BINSRC}/readme.txt ${STAGEDIR}${DOCSDIR} .include <bsd.port.post.mk> diff --git a/sysutils/storcli/distinfo b/sysutils/storcli2/distinfo index 848e9255e62c..827f0d30121c 100644 --- a/sysutils/storcli/distinfo +++ b/sysutils/storcli2/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1772448254 -SHA256 (storcli7.3603/STORCLI_SAS3.5_P37.zip) = aa864c1055eb1488368593f72c0d064177fc53bd5857e4ac126a2b5a1784b754 -SIZE (storcli7.3603/STORCLI_SAS3.5_P37.zip) = 50381817 +TIMESTAMP = 1778760000 +SHA256 (storcli2-8.17/08.017.000.0008_MR%208.17%20AV1_AV2_Storcli2.zip) = a85737c902ecd34cf5a78f95287d863077a368fba1548f5c8f2f92544ecf747c +SIZE (storcli2-8.17/08.017.000.0008_MR%208.17%20AV1_AV2_Storcli2.zip) = 44197631
Better dist file name: DISTNAME= StorCLI_Avenger_8.17_08.017.000.0008 TIMESTAMP = 1778760000 SHA256 (storcli2-8.17/StorCLI_Avenger_8.17_08.017.000.0008.zip) = a85737c902ecd34cf5a78f95287d863077a368fba1548f5c8f2f92544ecf747c SIZE (storcli2-8.17/StorCLI_Avenger_8.17_08.017.000.0008.zip) = 44197631
Created attachment 270726 [details] storcli2-8.17.patch (In reply to Vladimir Druzenko from comment #3) Thank you for the latest patch. Approved.
BTW, I found links here: https://www.broadcom.com/site-search?page=1&per_page=100&q=StorCLI2
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=2997a247ad9c613cafd2bcce8b894ea8f68ec523 commit 2997a247ad9c613cafd2bcce8b894ea8f68ec523 Author: Takefu <takefu@airport.fm> AuthorDate: 2026-05-14 15:59:50 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2026-05-14 16:33:46 +0000 sysutils/storcli2: New port: SAS4 MegaRAID FreeBSD StorCLI2 Command Line Interface for the MegaRAID SAS4 family of RAID controllers, used to configure and manage connected storage devices. The StorCLI2 tool supports the following controllers: * MegaRAID 9600 Family eHBA Adapters * MegaRAID 9620 Family eHBA Adapters * MegaRAID 9660 Family RAID Adapters * MegaRAID 9670 Family RAID Adapters https://techdocs.broadcom.com/us/en/storage-and-ethernet-connectivity/enterprise-storage-solutions/megaraid8-tri-mode-software/1-0/StorCLI_MR8_Intro.html PR: 293540 Sponsored by: UNIS Labs Co-authored-by: Vladimir Druzenko <vvd@FreeBSD.org> sysutils/Makefile | 1 + 1 file changed, 1 insertion(+)
Thanks.