1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00

Update to 8.05.06.

PR:		ports/173189
Submitted by:	Steven Hartland <steven.hartland multiplay.co.uk>
This commit is contained in:
Xin LI 2012-12-10 08:48:38 +00:00
parent f6aa47d734
commit 48f622a4cb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=308592
2 changed files with 13 additions and 6 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= megacli
PORTVERSION= 8.02.16
PORTVERSION= 8.05.06
CATEGORIES= sysutils
MASTER_SITES= http://www.lsi.com/downloads/Public/MegaRAID%20Common%20Files/ \
CRITICAL
@ -28,13 +28,20 @@ NO_WRKSUBDIR= yes
PLIST_FILES= sbin/MegaCli
pre-fetch:
@${FETCH_BINARY} -o /dev/null http://www.lsi.com/magic.axd?x=e&file=http%3A//www.lsi.com/downloads/Public/MegaRAID%2520Common%2520Files/8.02.16_MegaCLI.zip
@${FETCH_BINARY} -o /dev/null http://www.lsi.com/magic.axd?x=e&file=http%3A//www.lsi.com/downloads/Public/MegaRAID%2520Common%2520Files/${PORT_VERSION}_MegaCLI.zip
.include <bsd.port.pre.mk>
post-extract:
.if ${ARCH} == "i386"
@cd ${WRKSRC}/MegaCli_FreeBSD && ${UNZIP_CMD} ${EXTRACT_BEFORE_ARGS} MegaCli.zip
.elif ${ARCH} == "amd64"
@cd ${WRKSRC}/MegaCli_FreeBSD && ${UNZIP_CMD} ${EXTRACT_BEFORE_ARGS} MegaCli64.zip
.endif
do-install:
.if ${ARCH} == "i386"
${INSTALL_PROGRAM} ${WRKSRC}/FREEBSD/MegaCli ${PREFIX}/sbin/MegaCli
${INSTALL_PROGRAM} ${WRKSRC}/MegaCli_FreeBSD/MegaCli ${PREFIX}/sbin/MegaCli
.elif ${ARCH} == "amd64"
${INSTALL_PROGRAM} ${WRKSRC}/FREEBSD/MegaCli64 ${PREFIX}/sbin/MegaCli
${INSTALL_PROGRAM} ${WRKSRC}/MegaCli_FreeBSD/MegaCli64 ${PREFIX}/sbin/MegaCli
.endif
.include <bsd.port.post.mk>

View File

@ -1,2 +1,2 @@
SHA256 (8.02.16_MegaCLI.zip) = e22b615f6a10e4c305e65434153f8e15e779a2e245c08116ce5eca840c183d66
SIZE (8.02.16_MegaCLI.zip) = 12244704
SHA256 (8.05.06_MegaCLI.zip) = 7b310559b5e3a07cb02da6280e98ad4a95af258153ad0487db8c6187713e0f45
SIZE (8.05.06_MegaCLI.zip) = 18874438