Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Nov 2013 10:14:49 +0900
From:      Takefu <takefu@airport.fm>
To:        freebsd-gnats-submit@freebsd.org
Cc:        samflanker@gmail.com
Subject:   ports/184365: [UPDATE] sysutils/megacli: update to 8.07.07
Message-ID:  <5297EA89.9040704@airport.fm>
Resent-Message-ID: <201311290120.rAT1K00K090545@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         184365
>Category:       ports
>Synopsis:       [UPDATE] sysutils/megacli: update to 8.07.07
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 29 01:20:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Takefu
>Release:        FreeBSD 8.4-RELEASE-p4 i386
>Organization:
FOX Amateur Radio Club
>Environment:
System: FreeBSD RELENG84-ix86.localIPv4.airport.fm 8.4-RELEASE-p4 FreeBSD 8.4-RELEASE-p4 #0: Wed Sep 25 14:55:36 JST 2013
>Description:
- Update to 8.07.07
fix StageDir

Port maintainer (samflanker@gmail.com) is cc'd.

Generated with FreeBSD Port Tools 0.99_11 (mode: update, diff: ports)
>How-To-Repeat:
>Fix:

--- megacli-8.07.07.patch begins here ---
diff -ruN /usr/ports/sysutils/megacli/Makefile ./Makefile
--- /usr/ports/sysutils/megacli/Makefile	2013-09-21 08:05:58.000000000 +0900
+++ ./Makefile	2013-11-29 09:51:21.000000000 +0900
@@ -2,7 +2,7 @@
 # $FreeBSD: sysutils/megacli/Makefile 327772 2013-09-20 23:05:58Z bapt $

 PORTNAME=	megacli
-PORTVERSION=	8.05.06
+PORTVERSION=	8.07.07
 CATEGORIES=	sysutils
 MASTER_SITES=	http://www.lsi.com/downloads/Public/MegaRAID%20Common%20Files/ \
 		CRITICAL
@@ -11,34 +11,28 @@
 MAINTAINER=	samflanker@gmail.com
 COMMENT=	SAS MegaRAID FreeBSD MegaCLI

+EXTRACT_SUFX:=	.zip
+
 RESTRICTED=	Source recipient must acknowledge license. Reproduction or redistribution prohibited. See http://www.lsi.com/lookup/License.aspx

 FETCH_BEFORE_ARGS=	-o ${DISTDIR}/${DISTFILES}

 ONLY_FOR_ARCHS=	i386 amd64

-USE_ZIP=	yes
 NO_BUILD=	yes
 NO_WRKSUBDIR=	yes

 PLIST_FILES=	sbin/MegaCli

-NO_STAGE=	yes
 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/${PORT_VERSION}_MegaCLI.zip
+.if !exists(${DISTDIR}/${DISTFILES})
+	@${FETCH_BINARY} -o /dev/null 'http://www.lsi.com/magic.axd?x=e&file=http%3A//www.lsi.com/downloads/Public/MegaRAID%20Common%20Files/${DISTNAME}${EXTRACT_SUFX}'
+.endif

 .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
+	@${TAR} ${EXTRACT_BEFORE_ARGS} ${WRKSRC}/freebsd/Mega${ARCH:S,i386,CLI,:S,amd64,Cli64,}.zip -C${WRKSRC}/freebsd

 do-install:
-.if ${ARCH} == "i386"
-		${INSTALL_PROGRAM} ${WRKSRC}/MegaCli_FreeBSD/MegaCli ${PREFIX}/sbin/MegaCli
-.elif ${ARCH} == "amd64"
-		${INSTALL_PROGRAM} ${WRKSRC}/MegaCli_FreeBSD/MegaCli64 ${PREFIX}/sbin/MegaCli
-.endif
+	${INSTALL_SCRIPT} ${WRKSRC}/freebsd/MegaCli${ARCH:S,i386,,:S,amd64,64,} ${STAGEDIR}${PREFIX}/sbin/MegaCli
 .include <bsd.port.post.mk>
diff -ruN /usr/ports/sysutils/megacli/distinfo ./distinfo
--- /usr/ports/sysutils/megacli/distinfo	2012-12-10 17:48:38.000000000 +0900
+++ ./distinfo	2013-11-29 09:13:08.000000000 +0900
@@ -1,2 +1,2 @@
-SHA256 (8.05.06_MegaCLI.zip) = 7b310559b5e3a07cb02da6280e98ad4a95af258153ad0487db8c6187713e0f45
-SIZE (8.05.06_MegaCLI.zip) = 18874438
+SHA256 (8.07.07_MegaCLI.zip) = 52ba4e60eb6ff0c76dd14b1ffc32a9f198dd0b88ef8cf61575cfd35a04dc5f86
+SIZE (8.07.07_MegaCLI.zip) = 12391645
--- megacli-8.07.07.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



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