ports/162029: Update port: sysutils/megacli update to 8.02.16

Vladimir Laskov samflanker at gmail.com
Wed Oct 26 11:40:09 UTC 2011


>Number:         162029
>Category:       ports
>Synopsis:       Update port: sysutils/megacli update to 8.02.16
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 26 11:40:08 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Vladimir Laskov
>Release:        7.1-RELEASE i386
>Organization:
weeclemans
>Environment:
FreeBSD damascus 7.1-RELEASE-p3 FreeBSD 7.1-RELEASE-p3 #4: Fri Feb 27 23:37:38 MSK 2009 root@:/usr/obj/usr/src/sys/DAMASCUS i386
>Description:
Command Line Interface for the MegaRAID SAS family of RAID controllers,
used to configure and manage connected storage devices.
>How-To-Repeat:
_
>Fix:
_

Patch attached with submission follows:

diff -ruN /usr/ports/sysutils/megacli.bak/Makefile /usr/ports/sysutils/megacli/Makefile
--- /usr/ports/sysutils/megacli.bak/Makefile	2011-03-18 08:14:46.000000000 +0100
+++ /usr/ports/sysutils/megacli/Makefile	2011-10-26 13:21:36.000000000 +0200
@@ -6,10 +6,11 @@
 #
 
 PORTNAME=	megacli
-PORTVERSION=	8.01.06
+PORTVERSION=	8.02.16
 CATEGORIES=	sysutils
-MASTER_SITES=	http://www.lsi.com/DistributionSystem/User/AssetMgr.aspx?asset=56628&/
-DISTNAME=	${PORTVERSION}_FreeBSD_MegaCLI
+MASTER_SITES=	http://www.lsi.com/downloads/Public/MegaRAID%20Common%20Files/ \
+		CRITICAL
+DISTNAME=	${PORTVERSION}_MegaCLI
 
 MAINTAINER=	samflanker at gmail.com
 COMMENT=	SAS MegaRAID FreeBSD MegaCLI
@@ -19,7 +20,6 @@
 FETCH_BEFORE_ARGS=	-o ${DISTDIR}/${DISTFILES}
 
 ONLY_FOR_ARCHS=	i386 amd64
-IA32_BINARY_PORT=	yes
 
 USE_ZIP=	yes
 NO_BUILD=	yes
@@ -27,7 +27,11 @@
 
 PLIST_FILES=	sbin/MegaCli
 
+.include <bsd.port.pre.mk>
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/MegaCli ${PREFIX}/sbin
-
-.include <bsd.port.mk>
+.if ${ARCH} == "i386"
+		${INSTALL_PROGRAM} ${WRKSRC}/FREEBSD/MegaCli ${PREFIX}/sbin/MegaCli
+.elif ${ARCH} == "amd64"
+		${INSTALL_PROGRAM} ${WRKSRC}/FREEBSD/MegaCli64 ${PREFIX}/sbin/MegaCli
+.endif
+.include <bsd.port.post.mk>
diff -ruN /usr/ports/sysutils/megacli.bak/distinfo /usr/ports/sysutils/megacli/distinfo
--- /usr/ports/sysutils/megacli.bak/distinfo	2011-03-18 08:14:46.000000000 +0100
+++ /usr/ports/sysutils/megacli/distinfo	2011-10-26 13:21:53.000000000 +0200
@@ -1,2 +1,2 @@
-SHA256 (8.01.06_FreeBSD_MegaCLI.zip) = 95d5d35f5643b369da8ea3604f476738837c252fb06b5064f7e77a3b5a488f30
-SIZE (8.01.06_FreeBSD_MegaCLI.zip) = 800132
+SHA256 (8.02.16_MegaCLI.zip) = e22b615f6a10e4c305e65434153f8e15e779a2e245c08116ce5eca840c183d66
+SIZE (8.02.16_MegaCLI.zip) = 12244704


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list