git: 16b0d602a99e - main - sysutils/storcli: Update to 7.2309

From: Fernando Apesteguía <fernape_at_FreeBSD.org>
Date: Fri, 16 Dec 2022 16:08:57 UTC
The branch main has been updated by fernape:

URL: https://cgit.FreeBSD.org/ports/commit/?id=16b0d602a99eccdf9d2028df3467f6dfd692ff8d

commit 16b0d602a99eccdf9d2028df3467f6dfd692ff8d
Author:     takefu <takefu@airport.fm>
AuthorDate: 2022-12-16 06:59:56 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2022-12-16 16:04:55 +0000

    sysutils/storcli: Update to 7.2309
    
    i386 has been discontinued.
    
    PR:             268159
    Reported by:    takefu@airport.fm
---
 sysutils/storcli/Makefile | 27 ++++++++++-----------------
 sysutils/storcli/distinfo |  6 +++---
 2 files changed, 13 insertions(+), 20 deletions(-)

diff --git a/sysutils/storcli/Makefile b/sysutils/storcli/Makefile
index 1a79af4e70ae..7b38affd1c7e 100644
--- a/sysutils/storcli/Makefile
+++ b/sysutils/storcli/Makefile
@@ -1,55 +1,48 @@
 PORTNAME=	storcli
-DISTVERSION=	7.1211
+DISTVERSION=	7.2309
 CATEGORIES=	sysutils
 MASTER_SITES=	https://docs.broadcom.com/docs-and-downloads/raid-controllers/raid-controllers-common-files/
-DISTNAME=	007.1211.0000.0000_Unified_StorCLI
+DISTNAME=	Unified_storcli_all_os_7.2309.0000.0000
 
 MAINTAINER=	takefu@airport.fm
 COMMENT=	SAS MegaRAID FreeBSD StorCLI
-WWW=		https://broadcom.com/support/storage/
+WWW=		https://www.broadcom.com/support/
 
 LICENSE=	storcli
 LICENSE_NAME=	BROADCOM
 LICENSE_TEXT=	Source recipient must acknowledge license.\
 		Reproduction or redistribution prohibited.\
-		See https://www.broadcom.com/cs/Satellite?pagename=AVG2/Utilities/EulaMsg
+		See https://www.broadcom.com/company/legal/licensing
 LICENSE_PERMS=	no-dist-mirror no-dist-sell no-pkg-mirror no-pkg-sell auto-accept
 
-ONLY_FOR_ARCHS=	amd64 i386
-
+ONLY_FOR_ARCHS=	amd64
 USES=		zip
-
 NO_BUILD=	yes
 NO_WRKSUBDIR=	yes
-
-PLIST_FILES=	sbin/storcli
 PKGMESSAGE=	${WRKDIR}/pkg-message
-BINSRC=		${WRKSRC}/Unified_storcli_all_os/FreeBSD
+PLIST_FILES=	sbin/storcli
+BINSRC=		${WRKSRC}/Unified_storcli_all_os
 
 .include <bsd.port.pre.mk>
 
 .if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
 DOWNLOAD_URL=	https://docs.broadcom.com/docs-and-downloads/raid-controllers/raid-controllers-common-files/${DISTNAME}${EXTRACT_SUFX}
-
 IGNORE?=	You must manually fetch the distribution file\
 	(${DISTNAME}${EXTRACT_SUFX}) from ${DOWNLOAD_URL},\
 	place it in ${DISTDIR} and then run make again
 .endif
 
 post-extract:
-	@${TAR} xf ${BINSRC}/storcli${ARCH:S/i386//:S/amd64/64/}.tar -C${WRKSRC}
-	@${REINPLACE_CMD} 's#\(StorCli\).*StorCli64#\1#'\
-		${BINSRC}/FreeBSD_readme.txt
+	@${TAR} xf ${BINSRC}/FreeBSD/storcli64.tar -C${WRKSRC}
 	@${ECHO} "[" > ${WRKDIR}/pkg-message
 	@${ECHO} "{" >> ${WRKDIR}/pkg-message
 	@${ECHO} "  message: <<EOM" >> ${WRKDIR}/pkg-message
-	@${FMT} 75 79 ${BINSRC}/FreeBSD_readme.txt >> ${WRKDIR}/pkg-message
+	@${FMT} 75 79 ${BINSRC}/readme.txt >> ${WRKDIR}/pkg-message
 	@${ECHO} "EOM">>  ${WRKDIR}/pkg-message
 	@${ECHO} "}" >> ${WRKDIR}/pkg-message
 	@${ECHO} "]" >> ${WRKDIR}/pkg-message
 
 do-install:
-	${INSTALL_SCRIPT} ${WRKSRC}/storcli${ARCH:S/i386//:S/amd64/64/}\
-		${STAGEDIR}${PREFIX}/sbin/storcli
+	${INSTALL_SCRIPT} ${WRKSRC}/storcli64 ${STAGEDIR}${PREFIX}/sbin/storcli
 
 .include <bsd.port.post.mk>
diff --git a/sysutils/storcli/distinfo b/sysutils/storcli/distinfo
index 6de6e04d6ab8..9e22a3e985c3 100644
--- a/sysutils/storcli/distinfo
+++ b/sysutils/storcli/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1580273112
-SHA256 (007.1211.0000.0000_Unified_StorCLI.zip) = c8fefab8aaa04ad03427bcea83c8e801c45a5d06047b72c959f5416ac5e883e2
-SIZE (007.1211.0000.0000_Unified_StorCLI.zip) = 36988201
+TIMESTAMP = 1670195640
+SHA256 (Unified_storcli_all_os_7.2309.0000.0000.zip) = 6fdf3e76b23cddd75730ea68e879d30dfef98ebf372552290301068cb7ac995a
+SIZE (Unified_storcli_all_os_7.2309.0000.0000.zip) = 32064815