1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

sysutils/storcli: Update to 7.2309

i386 has been discontinued.

PR:		268159
Reported by:	takefu@airport.fm
This commit is contained in:
takefu 2022-12-16 07:59:56 +01:00 committed by Fernando Apesteguía
parent 35aba36d53
commit 16b0d602a9
2 changed files with 13 additions and 20 deletions

View File

@ -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>

View File

@ -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