Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Mar 2008 09:21:41 GMT
From:      Zhen REN <bg1tpt@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/121823: [UPDATE] update sysutils/linux-megacli to 1.01.40
Message-ID:  <200803180921.m2I9Lf9A022655@www.freebsd.org>
Resent-Message-ID: <200803180930.m2I9U14F055933@freefall.freebsd.org>

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

>Number:         121823
>Category:       ports
>Synopsis:       [UPDATE] update sysutils/linux-megacli to 1.01.40
>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:   Tue Mar 18 09:30:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Zhen REN
>Release:        7.0-STABLE
>Organization:
>Environment:
FreeBSD razor 7.0-STABLE FreeBSD 7.0-STABLE #0: Mon Mar 17 10:49:08 CST 2008     root@razor:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
The current port of linux-megacli(1.01.09) is broken, the file on lsi.com has been removed. So, update the port to 1.01.40 using the new URL.
>How-To-Repeat:
N/A
>Fix:
N/A

Patch attached with submission follows:

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/sysutils/linux-megacli/Makefile,v
retrieving revision 1.5
diff -u -r1.5 Makefile
--- Makefile	27 Dec 2007 00:15:48 -0000	1.5
+++ Makefile	18 Mar 2008 09:20:56 -0000
@@ -6,12 +6,11 @@
 #
 
 PORTNAME=	megacli
-PORTVERSION=	1.01.09
-PORTREVISION=	2
+PORTVERSION=	1.01.40
 CATEGORIES=	sysutils linux
-MASTER_SITES=	http://lsi.com/files/support/rsa/MR_SAS_1.0/
+MASTER_SITES=	http://www.lsi.com/support/downloads/megaraid/miscellaneous/linux/
 PKGNAMEPREFIX=	linux-
-DISTNAME=		Linux_MegaCli_${PORTVERSION}
+DISTNAME=	${PORTVERSION}_Linux_Cli
 
 MAINTAINER=	ruben@verweg.com
 COMMENT=	LSI MegaRAID SAS controller management utility
@@ -29,23 +28,22 @@
 EXTRACT_DEPENDS+=		${RPM2CPIO}:${PORTSDIR}/archivers/rpm
 
 post-extract:
-	@cd ${WRKSRC} && \
-		${UNZIP_CMD} MegaCliLin.zip && \
+	cd ${WRKSRC} && \
 		${RPM2CPIO} MegaCli-${PORTVERSION}-0.i386.rpm | ${CPIO} -id --quiet
 
 do-build:
-	@${BRANDELF} -t Linux ${WRKSRC}/usr/sbin/MegaCli
+	@${BRANDELF} -t Linux ${WRKSRC}/opt/MegaRAID/MegaCli/MegaCli
 
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/megacli.sh ${PREFIX}/sbin/megacli
 	${MKDIR} ${PREFIX}/etc/periodic/daily
 	${INSTALL_SCRIPT} ${WRKSRC}/407.status-mfi-raid ${PREFIX}/etc/periodic/daily
-	${INSTALL_PROGRAM} ${WRKSRC}/usr/sbin/MegaCli ${PREFIX}/libexec
+	${INSTALL_PROGRAM} ${WRKSRC}/opt/MegaRAID/MegaCli/MegaCli ${PREFIX}/libexec
 
 post-install:
 .if !defined(NOPORTDOCS)
 	${MKDIR} ${DOCSDIR}
-	${INSTALL_MAN} ${WRKSRC}/Read-me.txt ${DOCSDIR}/readme.txt
+	${INSTALL_MAN} ${WRKSRC}/${PORTVERSION}_Linux_Cli.txt ${DOCSDIR}/readme.txt
 	${INSTALL_MAN} ${FILESDIR}/README-status-mfi-raid.txt ${DOCSDIR}/README-status-mfi-raid.txt
 .endif
 	@${CAT} ${PKGMESSAGE}
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/sysutils/linux-megacli/distinfo,v
retrieving revision 1.1
diff -u -r1.1 distinfo
--- distinfo	1 Dec 2006 15:26:24 -0000	1.1
+++ distinfo	18 Mar 2008 09:13:43 -0000
@@ -1,3 +1,3 @@
-MD5 (Linux_MegaCli_1.01.09.zip) = 819808210ba2233432386b00fdfe138d
-SHA256 (Linux_MegaCli_1.01.09.zip) = b0a8a6f15338ecc36cb15f5da876722ff8d7e2fddc3b820fb2231afee2f95f48
-SIZE (Linux_MegaCli_1.01.09.zip) = 576961
+MD5 (1.01.40_Linux_Cli.zip) = 3907170d460f701222280f0829f4ab7c
+SHA256 (1.01.40_Linux_Cli.zip) = b3b4cdce85bdb14bebb88ad3ab3f072f22f27ca86a12a62308b40e5227157080
+SIZE (1.01.40_Linux_Cli.zip) = 1325516


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



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