Bug 293540 - [NEWPORT]: sysutils/storcli2 SAS4 MegaRAID FreeBSD StorCLI2
Summary: [NEWPORT]: sysutils/storcli2 SAS4 MegaRAID FreeBSD StorCLI2
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Vladimir Druzenko
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-03-02 11:24 UTC by takefu
Modified: 2026-05-14 16:37 UTC (History)
1 user (show)

See Also:


Attachments
storcli2-8.16.patch (2.94 KB, patch)
2026-03-02 11:24 UTC, takefu
no flags Details | Diff
storcli2-8.17.patch (2.76 KB, patch)
2026-05-14 15:39 UTC, takefu
takefu: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Comment 2 Vladimir Druzenko freebsd_committer freebsd_triage 2026-05-14 12:56:49 UTC
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
Comment 3 Vladimir Druzenko freebsd_committer freebsd_triage 2026-05-14 14:30:57 UTC
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
Comment 4 takefu 2026-05-14 15:39:26 UTC
Created attachment 270726 [details]
storcli2-8.17.patch

(In reply to Vladimir Druzenko from comment #3)

Thank you for the latest patch.
Approved.
Comment 5 Vladimir Druzenko freebsd_committer freebsd_triage 2026-05-14 15:46:57 UTC
BTW, I found links here:
https://www.broadcom.com/site-search?page=1&per_page=100&q=StorCLI2
Comment 6 commit-hook freebsd_committer freebsd_triage 2026-05-14 16:34:29 UTC
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(+)
Comment 7 Vladimir Druzenko freebsd_committer freebsd_triage 2026-05-14 16:37:22 UTC
Thanks.