diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2014-01-04 21:27:06 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2014-01-04 21:27:06 +0000 |
commit | 276843703dcfb9a5912bf7dd62b49441f7ef64a1 (patch) | |
tree | f5a893451fab13c43c666b74c8d8f960668fef7a /sys-block | |
parent | Stable for x86, wrt bug #496770 (diff) | |
download | gentoo-2-276843703dcfb9a5912bf7dd62b49441f7ef64a1.tar.gz gentoo-2-276843703dcfb9a5912bf7dd62b49441f7ef64a1.tar.bz2 gentoo-2-276843703dcfb9a5912bf7dd62b49441f7ef64a1.zip |
Version bump per bug #456184, also solves bug #432140. Please note the new license per the LSI 3ware-buyout.
(Portage version: 2.2.7/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'sys-block')
-rw-r--r-- | sys-block/tw_cli/ChangeLog | 11 | ||||
-rw-r--r-- | sys-block/tw_cli/tw_cli-10.2.2.1.ebuild | 103 | ||||
-rw-r--r-- | sys-block/tw_cli/tw_cli-10.2.ebuild | 4 |
3 files changed, 114 insertions, 4 deletions
diff --git a/sys-block/tw_cli/ChangeLog b/sys-block/tw_cli/ChangeLog index 8133f9dac695..bc9082807a77 100644 --- a/sys-block/tw_cli/ChangeLog +++ b/sys-block/tw_cli/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sys-block/tw_cli -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-block/tw_cli/ChangeLog,v 1.39 2013/03/03 16:45:51 wschlich Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-block/tw_cli/ChangeLog,v 1.40 2014/01/04 21:27:06 robbat2 Exp $ + +*tw_cli-10.2.2.1 (04 Jan 2014) + + 04 Jan 2014; Robin H. Johnson <robbat2@gentoo.org> +tw_cli-10.2.2.1.ebuild, + tw_cli-10.2.ebuild: + Version bump per bug #456184, also solves bug #432140. Please note the new + license per the LSI 3ware-buyout. 03 Mar 2013; Wolfram Schlich <wschlich@gentoo.org> metadata.xml: removed myself from metadata.xml diff --git a/sys-block/tw_cli/tw_cli-10.2.2.1.ebuild b/sys-block/tw_cli/tw_cli-10.2.2.1.ebuild new file mode 100644 index 000000000000..1e1eef001f1b --- /dev/null +++ b/sys-block/tw_cli/tw_cli-10.2.2.1.ebuild @@ -0,0 +1,103 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-block/tw_cli/tw_cli-10.2.2.1.ebuild,v 1.1 2014/01/04 21:27:06 robbat2 Exp $ + +EAPI="5" + +DESCRIPTION="3ware SATA/PATA/SAS RAID controller Command Line Interface tool" +HOMEPAGE="http://www.lsi.com/products/raid-controllers/pages/3ware-sas-9750-8i.aspx" + +# This is apparently what the upstream stuff was based on when LSI took over? +ThreeDM2_PV="9.5.5.1" + +SRC_URI_BASE="http://www.lsi.com/downloads/Public/SATA/SATA%20Common%20Files/" +SRC_URI_A_linux="CLI_linux-from_the_${PV}_${ThreeDM2_PV}_codesets.zip" +SRC_URI_A_fbsd="CLI_freebsd-from_the_${PV}_${ThreeDM2_PV}_codesets.zip" +SRC_URI="kernel_linux? ( ${SRC_URI_BASE}/${SRC_URI_A_linux} ) + kernel_FreeBSD? ( ${SRC_URI_BASE}/${SRC_URI_A_fbsd} )" +# the minor ver on the end changes... +RELNOTES="${SRC_URI_BASE}/${PV}_Release_Notes.pdf" + +# Note: 3ware gave permission to redistribute the binaries before: +# Ref: http://bugs.gentoo.org/show_bug.cgi?id=60690#c106 +# +# Please note that the LSI-tw_cli license does allow redistribution, despite +# being a EULA: +# 2. Grant of Rights +# 2.1 LSI Binary Code. Subject to the terms of this Agreement, LSI grants +# to Licensee a non-exclusive, world-wide, revocable (for breach in +# accordance with Section 7), non-transferable limited license, without +# the right to sublicense except as expressly provided herein, solely to: +# (c) Distribute the LSI Binary Code as incorporated in Licensee's +# Products or for use with LSI Devices to its Subsequent Users; +# (d) Distribute the Explanatory Materials related to LSI Binary Code only +# for use with LSI Devices; +# +# 3. License Restrictions +# 3.1. LSI Binary Code. The Licenses granted in Section 2.1 for LSI Binary +# Code and related Explanatory Materials are subject to the following +# restrictions: +# (a) Licensee shall not use the LSI Binary Code and related Explanatory +# Materials for any purpose other than as expressly provided in Article 2; +# (b) Licensee shall reproduce all copyright notices and other proprietary +# markings or legends contained within or on the LSI Binary Code and +# related Explanatory Materials on any copies it makes; and +LICENSE="LSI-tw_cli" +SLOT="0" + + +# This package can never enter stable, it can't be mirrored and upstream +# can remove the distfiles from their mirror anytime. +KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd ~amd64-fbsd" +IUSE="" + +RESTRICT="strip primaryuri" +QA_PREBUILT="/opt/tw_cli/tw_cli" + +# binary packages +DEPEND="app-arch/unzip" +RDEPEND="" + +S=${WORKDIR} + +# If you want to fetch it yourself (not from the mirrors), there is an IP-based +# clickthrough to accept the EULA. +pkg_nofetch() { + einfo "Upstream has implement a mandatory clickthrough EULA for distfile download" + einfo "Please visit $SRC_URI in your browser. The clickthrough is IP-based," + einfo "so no wget is possible." + einfo "And place $A in ${DISTDIR}" +} + +src_install() { + case ${ARCH} in + amd64) CLI_BIN=x86_64/tw_cli;; + x86) CLI_BIN=x86/tw_cli;; + *) die "unsupported ARCH";; + esac + exeinto /opt/tw_cli + # The names have varied in the past, sometimes there is a suffix + newexe ${CLI_BIN} tw_cli + dosym /opt/tw_cli/tw_cli /usr/sbin/tw_cli + + newman ${PN}.8.nroff ${PN}.8 + dohtml *.html + dodoc *.txt + + # to comply with license requirement 3.1.b + insinto /opt/tw_cli + newins ${PORTDIR}/licenses/${LICENSE} LICENSE +} + +pkg_postinst() { + elog "This binary supports should support ALL cards, including, but not" + elog "limited to the following series:" + elog "" + elog "PATA: 6xxx, 72xx, 74xx, 78xx, 7000, 7500, 7506" + elog "SATA: 8006, 8500, 8506, 9500S, 9550SX, 9590SE," + elog " 9550SXU, 9650SE, 9650SE-{24M8,4LPME}," + elog " 9690SA, 9750" + elog "" + elog "Release notes for this version are available at:" + elog "${RELNOTES}" +} diff --git a/sys-block/tw_cli/tw_cli-10.2.ebuild b/sys-block/tw_cli/tw_cli-10.2.ebuild index 2794613be8b9..22a35f4a8d68 100644 --- a/sys-block/tw_cli/tw_cli-10.2.ebuild +++ b/sys-block/tw_cli/tw_cli-10.2.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-block/tw_cli/tw_cli-10.2.ebuild,v 1.5 2011/08/05 21:28:38 mattst88 Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-block/tw_cli/tw_cli-10.2.ebuild,v 1.6 2014/01/04 21:27:06 robbat2 Exp $ EAPI="2" DESCRIPTION="3ware SATA+PATA RAID controller Command Line Interface tool" |