ports/155150: Update port: sysutils/megacli update to 8.00.40
Vladimir Laskov
samflanker at gmail.com
Tue Mar 1 11:50:11 UTC 2011
>Number: 155150
>Category: ports
>Synopsis: Update port: sysutils/megacli update to 8.00.40
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Tue Mar 01 11:50:11 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Vladimir Laskov
>Release: 7.1-RELEASE i386
>Organization:
_
>Environment:
FreeBSD damascus 7.1-RELEASE-p3 FreeBSD 7.1-RELEASE-p3 #4: Fri Feb 27 23:37:38 MSK 2009 root@:/usr/obj/usr/src/sys/DAMASCUS i386
>Description:
Command Line Interface for the MegaRAID SAS family of RAID controllers,
used to configure and manage connected storage devices.
>How-To-Repeat:
-
>Fix:
Patch attached with submission follows:
diff -ruN megacli.old/Makefile megacli/Makefile
--- megacli.old/Makefile 2011-01-23 22:10:04.000000000 +0100
+++ megacli/Makefile 2011-03-01 12:35:09.000000000 +0100
@@ -1,11 +1,11 @@
# New Ports collection makefile for: megacli
# Date created: 12 April 2009
-# Whom: Vladimir Ermakov <samflanker at gmail.com>
+# Whom: Vladimir Laskov <samflanker at gmail.com>
#
# $FreeBSD: ports/sysutils/megacli/Makefile,v 1.7 2011/01/23 21:10:04 pav Exp $
PORTNAME= megacli
-PORTVERSION= 8.00.29
+PORTVERSION= 8.00.40
CATEGORIES= sysutils
MASTER_SITES= http://www.lsi.com/DistributionSystem/AssetDocument/
DISTNAME= ${PORTVERSION}_FreeBSD_MegaCLI
@@ -13,16 +13,15 @@
MAINTAINER= samflanker at gmail.com
COMMENT= SAS MegaRAID FreeBSD MegaCLI
+DOWNLOAD_URL= http://www.lsi.com/lookup/License.aspx?url=/DistributionSystem/User/AssetMgr.aspx?asset=56269
+RESTRICTED= The distfile should be downloaded by hand
+
ONLY_FOR_ARCHS= i386 amd64
IA32_BINARY_PORT= yes
-BROKEN= unfetchable
-
-RESTRICTED= May not be redistributed in binary form
+EXTRACT_SUFX= .zip
NO_CDROM= yes
-
USE_ZIP= yes
-
NO_BUILD= yes
NO_WRKSUBDIR= yes
@@ -31,4 +30,22 @@
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/MegaCli ${PREFIX}/sbin
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if (!exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}))
+ECHO_MSG=/usr/bin/printf
+IGNORE= :\n\
+Please access\n\
+\n\
+ ${DOWNLOAD_URL}\n\
+\n\
+with a web browser, fill the web form. Please place the downloaded\n\
+${DISTNAME}${EXTRACT_SUFX} in ${DISTDIR}\n\n
+.endif
+
+.if ${OSVERSION} < 700000
+IGNORE= needs 7.0-RELEASE or higher
+.endif
+
+.include <bsd.port.post.mk>
+
diff -ruN megacli.old/distinfo megacli/distinfo
--- megacli.old/distinfo 2010-10-19 13:14:41.000000000 +0200
+++ megacli/distinfo 2011-03-01 12:19:29.000000000 +0100
@@ -1,3 +1,2 @@
-MD5 (8.00.29_FreeBSD_MegaCLI.zip) = 719f3282981211d6ccd4e22abd25dbf2
-SHA256 (8.00.29_FreeBSD_MegaCLI.zip) = 487ddc9684a140eba3064180e3b4c133c74b08c30b5f1f68ba73bbffa7a77b84
-SIZE (8.00.29_FreeBSD_MegaCLI.zip) = 723689
+SHA256 (8.00.40_FreeBSD_MegaCLI.zip) = 93597e6e1a094ed02bda39594d2fd0e041de3f2552dd67b5db29b94aa693adee
+SIZE (8.00.40_FreeBSD_MegaCLI.zip) = 777737
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list