Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Aug 2015 18:39:33 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r395718 - head/sysutils/storcli
Message-ID:  <201508311839.t7VIdXAw031922@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adrian (src committer)
Date: Mon Aug 31 18:39:32 2015
New Revision: 395718
URL: https://svnweb.freebsd.org/changeset/ports/395718

Log:
  Add storcli.
  
  This is the replacement tool to megaraid for the Avago megaraid SAS
  family.
  
  PR:		ports/201580
  Submitted by:	<takefu@airport.fm>
  Reviewed by:	bapt
  Sponsored by:	Norse Corp, Inc (my review, testing, commit)

Added:
  head/sysutils/storcli/
  head/sysutils/storcli/Makefile   (contents, props changed)
  head/sysutils/storcli/distinfo   (contents, props changed)
  head/sysutils/storcli/pkg-descr   (contents, props changed)

Added: head/sysutils/storcli/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/storcli/Makefile	Mon Aug 31 18:39:32 2015	(r395718)
@@ -0,0 +1,42 @@
+# $FreeBSD$
+
+PORTNAME=	storcli
+PORTVERSION=	1.16.06
+CATEGORIES=	sysutils
+MASTER_SITES=	http://www.avagotech.com/docs-and-downloads/raid-controllers/raid-controllers-common-files/
+DISTNAME=	MR_SAS_StorCLI_${PORTVERSION:S!.!-!g}
+
+MAINTAINER=	takefu@airport.fm
+COMMENT=	SAS MegaRAID FreeBSD StorCLI
+
+LICENSE=	storcli
+LICENSE_NAME=	LSI
+LICENSE_TEXT=	${RESTRICTED}
+LICENSE_PERMS=	no-dist-mirror no-dist-sell no-pkg-mirror no-pkg-sell auto-accept
+
+RESTRICTED=	Source recipient must acknowledge license. Reproduction or redistribution prohibited. See http://www.lsi.com/Pages/user/eula.aspx
+
+USES=		zip
+
+ONLY_FOR_ARCHS=	i386 amd64
+
+NO_BUILD=	yes
+NO_WRKSUBDIR=	yes
+
+PLIST_FILES=	sbin/storcli
+PKGMESSAGE=	${WRKDIR}/pkg-message
+BINSRC=		${WRKDIR}/storcli_all_os/FreeBSD
+FETCH_AFTER_ARGS=-v
+
+post-extract:
+	@${TAR} xf ${WRKDIR}/storcli_all_os.zip -C${WRKSRC}
+	@${TAR} xf ${BINSRC}/storcli${ARCH:S/i386//:S/amd64/64/}.tar -C${WRKSRC}
+	@${REINPLACE_CMD} 's#\(StorCli\).*StorCli64#\1#'\
+		${BINSRC}/FreeBSD_readme.txt
+	@${FMT} 75 79 ${BINSRC}/FreeBSD_readme.txt > ${WRKDIR}/pkg-message
+
+do-install:
+	${INSTALL_SCRIPT} ${WRKSRC}/storcli${ARCH:S/i386//:S/amd64/64/}\
+		${STAGEDIR}${PREFIX}/sbin/storcli
+
+.include <bsd.port.mk>

Added: head/sysutils/storcli/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/storcli/distinfo	Mon Aug 31 18:39:32 2015	(r395718)
@@ -0,0 +1,2 @@
+SHA256 (MR_SAS_StorCLI_1-16-06.zip) = 97b059facadaf7ab2bece4513a0048612a425846431620c2bc169f7044477019
+SIZE (MR_SAS_StorCLI_1-16-06.zip) = 36982064

Added: head/sysutils/storcli/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/storcli/pkg-descr	Mon Aug 31 18:39:32 2015	(r395718)
@@ -0,0 +1,2 @@
+Command Line Interface for the MegaRAID SAS family of RAID controllers,
+used to configure and manage connected storage devices.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201508311839.t7VIdXAw031922>