ports/121823: [UPDATE] update sysutils/linux-megacli to 1.01.40
Zhen REN
bg1tpt at gmail.com
Tue Mar 18 09:30:03 UTC 2008
>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 at 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 at 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:
More information about the freebsd-ports-bugs
mailing list