From 7e482455b0a80d209c9c153b22a5141a28682382 Mon Sep 17 00:00:00 2001 From: Xin LI Date: Wed, 19 Mar 2008 03:23:36 +0000 Subject: Update to 1.01.40. Submitted by: Zhen Ren PR: ports/121823 Approved by: maintainer --- sysutils/linux-megacli/Makefile | 16 +++++++--------- sysutils/linux-megacli/distinfo | 6 +++--- sysutils/linux-megacli2/Makefile | 16 +++++++--------- sysutils/linux-megacli2/distinfo | 6 +++--- 4 files changed, 20 insertions(+), 24 deletions(-) diff --git a/sysutils/linux-megacli/Makefile b/sysutils/linux-megacli/Makefile index ae72fce2462d..49a22507b228 100644 --- a/sysutils/linux-megacli/Makefile +++ b/sysutils/linux-megacli/Makefile @@ -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 @@ RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio 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} diff --git a/sysutils/linux-megacli/distinfo b/sysutils/linux-megacli/distinfo index 2eceac33ef6b..b4a3d4fbbfcf 100644 --- a/sysutils/linux-megacli/distinfo +++ b/sysutils/linux-megacli/distinfo @@ -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 diff --git a/sysutils/linux-megacli2/Makefile b/sysutils/linux-megacli2/Makefile index ae72fce2462d..49a22507b228 100644 --- a/sysutils/linux-megacli2/Makefile +++ b/sysutils/linux-megacli2/Makefile @@ -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 @@ RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio 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} diff --git a/sysutils/linux-megacli2/distinfo b/sysutils/linux-megacli2/distinfo index 2eceac33ef6b..b4a3d4fbbfcf 100644 --- a/sysutils/linux-megacli2/distinfo +++ b/sysutils/linux-megacli2/distinfo @@ -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 -- cgit v1.2.3