From owner-svn-ports-head@freebsd.org Mon Aug 31 18:39:34 2015 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EEE439C66E3; Mon, 31 Aug 2015 18:39:33 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D320CFB0; Mon, 31 Aug 2015 18:39:33 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t7VIdXHF031925; Mon, 31 Aug 2015 18:39:33 GMT (envelope-from adrian@FreeBSD.org) Received: (from adrian@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t7VIdXAw031922; Mon, 31 Aug 2015 18:39:33 GMT (envelope-from adrian@FreeBSD.org) Message-Id: <201508311839.t7VIdXAw031922@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: adrian set sender to adrian@FreeBSD.org using -f From: Adrian Chadd Date: Mon, 31 Aug 2015 18:39:33 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r395718 - head/sysutils/storcli X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2015 18:39:34 -0000 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: 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 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.