aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2008-03-19 03:23:36 +0000
committerXin LI <delphij@FreeBSD.org>2008-03-19 03:23:36 +0000
commit7e482455b0a80d209c9c153b22a5141a28682382 (patch)
tree5e17c723c7638ea2a6dfffb8e4e9112941c78029
parent13d57fdefcd0663947ab1dc9caedb1e7dad0d171 (diff)
downloadports-7e482455b0a80d209c9c153b22a5141a28682382.tar.gz
ports-7e482455b0a80d209c9c153b22a5141a28682382.zip
Update to 1.01.40.
Submitted by: Zhen Ren <bg1tpt at gmail dot com> PR: ports/121823 Approved by: maintainer
Notes
Notes: svn path=/head/; revision=209343
-rw-r--r--sysutils/linux-megacli/Makefile16
-rw-r--r--sysutils/linux-megacli/distinfo6
-rw-r--r--sysutils/linux-megacli2/Makefile16
-rw-r--r--sysutils/linux-megacli2/distinfo6
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