ports/82512: New port: sysutils/megaraid
Gerrit Beine
tux at pinguru.net
Wed Jun 22 04:10:24 UTC 2005
>Number: 82512
>Category: ports
>Synopsis: New port: sysutils/megaraid
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Jun 22 04:10:23 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Gerrit Beine
>Release: FreeBSD 5.4-RELEASE-p1
>Organization:
pitcom GmbH
>Environment:
FreeBSD asus 5.4-RELEASE-p1 FreeBSD 5.4-RELEASE-p1 #0: Sun May 15 16:37:58 CEST 2005 root at asus:/usr/src/sys/i386/compile/ASUS i386
>Description:
This is a binary distributed tool from LSI Logic for using the most of the MegaRAID controller BIOS functions directly from a FreeBSD console.
It supports LSI Logic's MegaRAID and PERC controller (which are used in most of DELL's PowerEdge systems).
>How-To-Repeat:
>Fix:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# megaraid
# megaraid/Makefile
# megaraid/distinfo
# megaraid/pkg-descr
# megaraid/pkg-plist
#
echo c - megaraid
mkdir -p megaraid > /dev/null 2>&1
echo x - megaraid/Makefile
sed 's/^X//' >megaraid/Makefile << 'END-of-megaraid/Makefile'
X# Ports collection makefile for: MegaRaid
X# Date created: 22 June 2005
X# Whom: Gerrit Beine (<tux at pinguru.net>)
X#
X# $FreeBSD$
X#
X
XPORTNAME= MegaRaid
XPORTVERSION= 1.51
XCATEGORIES= sysutils
XMASTER_SITES=
XDISTNAME= dr_freebsd_${PORTVERSION}
X
XMAINTAINER= tux at pinguru.net
XCOMMENT= LSI Logic's MegaRAID controlling software
X
XUSE_ZIP= yes
XNO_BUILD= yes
XWRKSRC= ${WRKDIR}
X
XRESTRICTED= "Restrictive license"
X
XDOWNLOAD_URL= http://www.lsilogic.com/products/megaraid/
X
X.include <bsd.port.pre.mk>
X
X.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
XIGNORE= You must manually fetch the distribution files from ${DOWNLOAD_URL} (Support -> Downloads -> freebsd151), place it in ${DISTDIR} and run make again
X.endif
X
Xpost-extract:
X cd ${WRKSRC} && ${UNZIP_CMD} 'MegaRC 1.04.zip'
X
Xdo-install:
X ${INSTALL} -m 0700 ${WRKSRC}/megarc ${PREFIX}/sbin
X.if !defined(NOPORTDOCS)
X ${MKDIR} ${DOCSDIR}
X ${INSTALL_DATA} ${WRKSRC}/Release\ History.txt ${DOCSDIR}
X.endif
X
X.include <bsd.port.post.mk>
END-of-megaraid/Makefile
echo x - megaraid/distinfo
sed 's/^X//' >megaraid/distinfo << 'END-of-megaraid/distinfo'
XMD5 (dr_freebsd_1.51.zip) = 2ffadcdd7da8c491f954ee69a7e84851
XSIZE (dr_freebsd_1.51.zip) = 189120
END-of-megaraid/distinfo
echo x - megaraid/pkg-descr
sed 's/^X//' >megaraid/pkg-descr << 'END-of-megaraid/pkg-descr'
XLSI Logic's MegaRAID controlling software for FreeBSD
X
XThis utility can handle the most of the controller's BIOS functions directly
Xfrom a FreeBSD console.
X
XWWW: http://www.lsilogic.com/products/megaraid/
END-of-megaraid/pkg-descr
echo x - megaraid/pkg-plist
sed 's/^X//' >megaraid/pkg-plist << 'END-of-megaraid/pkg-plist'
Xsbin/megarc
X%%PORTDOCS%%%%DOCSDIR%%/Release History.txt
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
END-of-megaraid/pkg-plist
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list