aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/linux-megacli
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2008-03-19 11:23:36 +0800
committerdelphij <delphij@FreeBSD.org>2008-03-19 11:23:36 +0800
commit247d3457abb6c90cb685fe32fc9fdfcb23704c1d (patch)
treed924f5b32efd54a3fd4bee7861c02adc981227ff /sysutils/linux-megacli
parent99463a1c9364f333ed24c19d40ad4c0722fd6c90 (diff)
downloadfreebsd-ports-gnome-247d3457abb6c90cb685fe32fc9fdfcb23704c1d.tar.gz
freebsd-ports-gnome-247d3457abb6c90cb685fe32fc9fdfcb23704c1d.tar.zst
freebsd-ports-gnome-247d3457abb6c90cb685fe32fc9fdfcb23704c1d.zip
Update to 1.01.40.
Submitted by: Zhen Ren <bg1tpt at gmail dot com> PR: ports/121823 Approved by: maintainer
Diffstat (limited to 'sysutils/linux-megacli')
-rw-r--r--sysutils/linux-megacli/Makefile16
-rw-r--r--sysutils/linux-megacli/distinfo6
2 files changed, 10 insertions, 12 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