Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Jun 2018 15:37:13 +0000 (UTC)
From:      =?UTF-8?Q?Fernando_Apestegu=c3=ada?= <fernape@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r473045 - head/sysutils/storcli
Message-ID:  <201806221537.w5MFbDqb023370@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: fernape
Date: Fri Jun 22 15:37:13 2018
New Revision: 473045
URL: https://svnweb.freebsd.org/changeset/ports/473045

Log:
  sysutils/storcli: Update to 7.5
  
  Distfile needs to be downloaded manually after accepting the license
  terms.
  
  PR:	228777
  Reported by:	takefu@airport.fm (maintainer)
  Approved by:	tcberner (mentor)
  Differential Revision:	https://reviews.freebsd.org/D15779

Modified:
  head/sysutils/storcli/Makefile
  head/sysutils/storcli/distinfo

Modified: head/sysutils/storcli/Makefile
==============================================================================
--- head/sysutils/storcli/Makefile	Fri Jun 22 14:59:33 2018	(r473044)
+++ head/sysutils/storcli/Makefile	Fri Jun 22 15:37:13 2018	(r473045)
@@ -1,10 +1,10 @@
 # $FreeBSD$
 
 PORTNAME=	storcli
-PORTVERSION=	1.23.02
+DISTVERSION=	7.504
 CATEGORIES=	sysutils
-MASTER_SITES=	https://docs.broadcom.com/docs-and-downloads/raid-controllers/raid-controllers-common-files/
-DISTNAME=	${PORTVERSION}_StorCLI
+MASTER_SITES=	https://docs.broadcom.com/docs-and-downloads/docs-and-downloads/raid-controllers/
+DISTNAME=	007.0504.0000.0000_Unified_StorCLI
 
 MAINTAINER=	takefu@airport.fm
 COMMENT=	SAS MegaRAID FreeBSD StorCLI
@@ -16,26 +16,36 @@ LICENSE_TEXT=	Source recipient must acknowledge licens
 		See https://www.broadcom.com/cs/Satellite?pagename=AVG2/Utilities/EulaMsg
 LICENSE_PERMS=	no-dist-mirror no-dist-sell no-pkg-mirror no-pkg-sell auto-accept
 
+ONLY_FOR_ARCHS=	amd64 i386
+
 USES=		zip
 
-ONLY_FOR_ARCHS=	i386 amd64
-
 NO_BUILD=	yes
 NO_WRKSUBDIR=	yes
 
 PLIST_FILES=	sbin/storcli
 PKGMESSAGE=	${WRKDIR}/pkg-message
-BINSRC=		${WRKSRC}/storcli_All_OS/FreeBSD
+BINSRC=		${WRKSRC}/Unified_storcli_all_os/FreeBSD
 
+.include <bsd.port.pre.mk>
+
+.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
+DOWNLOAD_URL=	https://docs.broadcom.com/docs/${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 ${WRKSRC}/storcli_All_OS.zip -C${WRKSRC}
+	@${TAR} xf ${WRKSRC}/Unified_storcli_all_os${EXTRACT_SUFX} -C${WRKSRC}
 	@${TAR} xf ${BINSRC}/storcli${ARCH:S/i386//:S/amd64/64/}.tar -C${WRKSRC}
 	@${REINPLACE_CMD} 's#\(StorCli\).*StorCli64#\1#'\
 		${BINSRC}/FreeBSD_readme.txt
-	@${FMT} 75 79 ${BINSRC}/FreeBSD_readme.txt > ${WRKSRC}/pkg-message
+	@${FMT} 75 79 ${BINSRC}/FreeBSD_readme.txt > ${WRKDIR}/pkg-message
 
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/storcli${ARCH:S/i386//:S/amd64/64/}\
 		${STAGEDIR}${PREFIX}/sbin/storcli
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>

Modified: head/sysutils/storcli/distinfo
==============================================================================
--- head/sysutils/storcli/distinfo	Fri Jun 22 14:59:33 2018	(r473044)
+++ head/sysutils/storcli/distinfo	Fri Jun 22 15:37:13 2018	(r473045)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1504079269
-SHA256 (1.23.02_StorCLI.zip) = d7cd07b7af93cbeb5735f5d4754fb5cb0fa92af3965017c6642e5273e10eb8ff
-SIZE (1.23.02_StorCLI.zip) = 48778476
+TIMESTAMP = 1528263675
+SHA256 (007.0504.0000.0000_Unified_StorCLI.zip) = 3915dcb69afa1925e2c5ee3e5aea9637e8a49adc5cb0d4d213486440ce4d7cfd
+SIZE (007.0504.0000.0000_Unified_StorCLI.zip) = 40558670



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806221537.w5MFbDqb023370>