aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--LEGAL1
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/linux-megacli2/Makefile15
-rw-r--r--sysutils/linux-megacli2/distinfo6
-rw-r--r--sysutils/linux-megacli2/files/megacli.in (renamed from sysutils/linux-megacli2/files/megacli.sh.in)0
5 files changed, 13 insertions, 10 deletions
diff --git a/LEGAL b/LEGAL
index 64132694e39d..ccc5d59d11f6 100644
--- a/LEGAL
+++ b/LEGAL
@@ -395,6 +395,7 @@ libidea-* security/libidea Crypto; export-controlled
libots-*.alpha.rpm lang/compaq-cc Distribution not allowed
Linux-ACU-Driver-v* sysutils/linux-acu Redistribution not allowed
Linux_MegaCli_* sysutils/linux-megacli Redistribution not allowed
+2*Linux_CLI* sysutils/linux-megacli2 Redistribution not allowed
rpm/i386/fedora/4/gtk2-* x11-toolkits/linux-gtk2 LGPL binary, no source
linuxq3ademo-* games/linux-quake3-demo Restrictive license by Loki
Software
diff --git a/sysutils/Makefile b/sysutils/Makefile
index f9e9a6e3081c..041b0c7dbcf4 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -403,6 +403,7 @@
SUBDIR += linux-acu
SUBDIR += linux-afaapps
SUBDIR += linux-megacli
+ SUBDIR += linux-megacli2
SUBDIR += linux-megamgr
SUBDIR += linux-nero
SUBDIR += linux-procps
diff --git a/sysutils/linux-megacli2/Makefile b/sysutils/linux-megacli2/Makefile
index 82ea17c29f14..fc07646cf9d7 100644
--- a/sysutils/linux-megacli2/Makefile
+++ b/sysutils/linux-megacli2/Makefile
@@ -6,12 +6,11 @@
#
PORTNAME= megacli
-PORTVERSION= 1.01.40
-PORTREVISION= 2
+PORTVERSION= 2.00.12
CATEGORIES= sysutils linux
-MASTER_SITES= http://www.lsi.com/support/downloads/megaraid/miscellaneous/linux/
+MASTER_SITES= http://www.lsi.com/DistributionSystem/AssetDocument/support/downloads/megaraid/miscellaneous/linux/
PKGNAMEPREFIX= linux-
-DISTNAME= ${PORTVERSION}_Linux_Cli
+DISTNAME= ${PORTVERSION}_Linux_CLI
MAINTAINER= ruben@verweg.com
COMMENT= LSI MegaRAID SAS controller management utility
@@ -21,11 +20,12 @@ USE_ZIP= yes
RESTRICTED= Redistribution prohibited, see: http://lsi.com/cm/License.do
ONLY_FOR_ARCHS= i386 amd64
USE_LINUX= yes
-SUB_FILES= megacli.sh
+SUB_FILES= megacli
SUB_FILES+= 407.status-mfi-raid
SUB_FILES+= mfi_tty_log
-BROKEN= Unfetchable
+CONFLICTS= linux-megacli-1*
+LATEST_LINK= megacli2
# From bsd.linux.rpm.mk
RPM2CPIO?= ${LOCALBASE}/bin/rpm2cpio
@@ -33,7 +33,8 @@ EXTRACT_DEPENDS+= ${RPM2CPIO}:${PORTSDIR}/archivers/rpm
post-extract:
cd ${WRKSRC} && \
- ${RPM2CPIO} MegaCli-${PORTVERSION}-0.i386.rpm | ${CPIO} -id --quiet
+ ${UNZIP_CMD} -qo MegaCliLin.zip && \
+ ${RPM2CPIO} MegaCli-${PORTVERSION}-1.i386.rpm | ${CPIO} -id --quiet
do-build:
@${BRANDELF} -t Linux ${WRKSRC}/opt/MegaRAID/MegaCli/MegaCli
diff --git a/sysutils/linux-megacli2/distinfo b/sysutils/linux-megacli2/distinfo
index b4a3d4fbbfcf..5041fc6d5776 100644
--- a/sysutils/linux-megacli2/distinfo
+++ b/sysutils/linux-megacli2/distinfo
@@ -1,3 +1,3 @@
-MD5 (1.01.40_Linux_Cli.zip) = 3907170d460f701222280f0829f4ab7c
-SHA256 (1.01.40_Linux_Cli.zip) = b3b4cdce85bdb14bebb88ad3ab3f072f22f27ca86a12a62308b40e5227157080
-SIZE (1.01.40_Linux_Cli.zip) = 1325516
+MD5 (2.00.12_Linux_CLI.zip) = e37232a86ee81591949f06dbe1f9bf82
+SHA256 (2.00.12_Linux_CLI.zip) = be4fde18f0192df20ffa022ca55fe5c6a0b9ceff36299ff69beab6fabaaeff58
+SIZE (2.00.12_Linux_CLI.zip) = 1367859
diff --git a/sysutils/linux-megacli2/files/megacli.sh.in b/sysutils/linux-megacli2/files/megacli.in
index acd82899f556..acd82899f556 100644
--- a/sysutils/linux-megacli2/files/megacli.sh.in
+++ b/sysutils/linux-megacli2/files/megacli.in