Gentoo Archives: gentoo-commits

From: "Robin H. Johnson (robbat2)" <robbat2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-block/tw_cli: tw_cli-10.2.ebuild tw_cli-10.2.2.1.ebuild ChangeLog
Date: Sat, 04 Jan 2014 21:27:13
Message-Id: 20140104212706.9938E2004C@flycatcher.gentoo.org
1 robbat2 14/01/04 21:27:06
2
3 Modified: tw_cli-10.2.ebuild ChangeLog
4 Added: tw_cli-10.2.2.1.ebuild
5 Log:
6 Version bump per bug #456184, also solves bug #432140. Please note the new license per the LSI 3ware-buyout.
7
8 (Portage version: 2.2.7/cvs/Linux x86_64, unsigned Manifest commit)
9
10 Revision Changes Path
11 1.6 sys-block/tw_cli/tw_cli-10.2.ebuild
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-block/tw_cli/tw_cli-10.2.ebuild?rev=1.6&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-block/tw_cli/tw_cli-10.2.ebuild?rev=1.6&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-block/tw_cli/tw_cli-10.2.ebuild?r1=1.5&r2=1.6
16
17 Index: tw_cli-10.2.ebuild
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-block/tw_cli/tw_cli-10.2.ebuild,v
20 retrieving revision 1.5
21 retrieving revision 1.6
22 diff -p -w -b -B -u -u -r1.5 -r1.6
23 --- tw_cli-10.2.ebuild 5 Aug 2011 21:28:38 -0000 1.5
24 +++ tw_cli-10.2.ebuild 4 Jan 2014 21:27:06 -0000 1.6
25 @@ -1,6 +1,6 @@
26 -# Copyright 1999-2011 Gentoo Foundation
27 +# Copyright 1999-2014 Gentoo Foundation
28 # Distributed under the terms of the GNU General Public License v2
29 -# $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 $
30 +# $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 $
31
32 EAPI="2"
33 DESCRIPTION="3ware SATA+PATA RAID controller Command Line Interface tool"
34
35
36
37 1.40 sys-block/tw_cli/ChangeLog
38
39 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-block/tw_cli/ChangeLog?rev=1.40&view=markup
40 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-block/tw_cli/ChangeLog?rev=1.40&content-type=text/plain
41 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-block/tw_cli/ChangeLog?r1=1.39&r2=1.40
42
43 Index: ChangeLog
44 ===================================================================
45 RCS file: /var/cvsroot/gentoo-x86/sys-block/tw_cli/ChangeLog,v
46 retrieving revision 1.39
47 retrieving revision 1.40
48 diff -p -w -b -B -u -u -r1.39 -r1.40
49 --- ChangeLog 3 Mar 2013 16:45:51 -0000 1.39
50 +++ ChangeLog 4 Jan 2014 21:27:06 -0000 1.40
51 @@ -1,6 +1,13 @@
52 # ChangeLog for sys-block/tw_cli
53 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
54 -# $Header: /var/cvsroot/gentoo-x86/sys-block/tw_cli/ChangeLog,v 1.39 2013/03/03 16:45:51 wschlich Exp $
55 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
56 +# $Header: /var/cvsroot/gentoo-x86/sys-block/tw_cli/ChangeLog,v 1.40 2014/01/04 21:27:06 robbat2 Exp $
57 +
58 +*tw_cli-10.2.2.1 (04 Jan 2014)
59 +
60 + 04 Jan 2014; Robin H. Johnson <robbat2@g.o> +tw_cli-10.2.2.1.ebuild,
61 + tw_cli-10.2.ebuild:
62 + Version bump per bug #456184, also solves bug #432140. Please note the new
63 + license per the LSI 3ware-buyout.
64
65 03 Mar 2013; Wolfram Schlich <wschlich@g.o> metadata.xml:
66 removed myself from metadata.xml
67
68
69
70 1.1 sys-block/tw_cli/tw_cli-10.2.2.1.ebuild
71
72 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-block/tw_cli/tw_cli-10.2.2.1.ebuild?rev=1.1&view=markup
73 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-block/tw_cli/tw_cli-10.2.2.1.ebuild?rev=1.1&content-type=text/plain
74
75 Index: tw_cli-10.2.2.1.ebuild
76 ===================================================================
77 # Copyright 1999-2014 Gentoo Foundation
78 # Distributed under the terms of the GNU General Public License v2
79 # $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 $
80
81 EAPI="5"
82
83 DESCRIPTION="3ware SATA/PATA/SAS RAID controller Command Line Interface tool"
84 HOMEPAGE="http://www.lsi.com/products/raid-controllers/pages/3ware-sas-9750-8i.aspx"
85
86 # This is apparently what the upstream stuff was based on when LSI took over?
87 ThreeDM2_PV="9.5.5.1"
88
89 SRC_URI_BASE="http://www.lsi.com/downloads/Public/SATA/SATA%20Common%20Files/"
90 SRC_URI_A_linux="CLI_linux-from_the_${PV}_${ThreeDM2_PV}_codesets.zip"
91 SRC_URI_A_fbsd="CLI_freebsd-from_the_${PV}_${ThreeDM2_PV}_codesets.zip"
92 SRC_URI="kernel_linux? ( ${SRC_URI_BASE}/${SRC_URI_A_linux} )
93 kernel_FreeBSD? ( ${SRC_URI_BASE}/${SRC_URI_A_fbsd} )"
94 # the minor ver on the end changes...
95 RELNOTES="${SRC_URI_BASE}/${PV}_Release_Notes.pdf"
96
97 # Note: 3ware gave permission to redistribute the binaries before:
98 # Ref: http://bugs.gentoo.org/show_bug.cgi?id=60690#c106
99 #
100 # Please note that the LSI-tw_cli license does allow redistribution, despite
101 # being a EULA:
102 # 2. Grant of Rights
103 # 2.1 LSI Binary Code. Subject to the terms of this Agreement, LSI grants
104 # to Licensee a non-exclusive, world-wide, revocable (for breach in
105 # accordance with Section 7), non-transferable limited license, without
106 # the right to sublicense except as expressly provided herein, solely to:
107 # (c) Distribute the LSI Binary Code as incorporated in Licensee's
108 # Products or for use with LSI Devices to its Subsequent Users;
109 # (d) Distribute the Explanatory Materials related to LSI Binary Code only
110 # for use with LSI Devices;
111 #
112 # 3. License Restrictions
113 # 3.1. LSI Binary Code. The Licenses granted in Section 2.1 for LSI Binary
114 # Code and related Explanatory Materials are subject to the following
115 # restrictions:
116 # (a) Licensee shall not use the LSI Binary Code and related Explanatory
117 # Materials for any purpose other than as expressly provided in Article 2;
118 # (b) Licensee shall reproduce all copyright notices and other proprietary
119 # markings or legends contained within or on the LSI Binary Code and
120 # related Explanatory Materials on any copies it makes; and
121 LICENSE="LSI-tw_cli"
122 SLOT="0"
123
124
125 # This package can never enter stable, it can't be mirrored and upstream
126 # can remove the distfiles from their mirror anytime.
127 KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd ~amd64-fbsd"
128 IUSE=""
129
130 RESTRICT="strip primaryuri"
131 QA_PREBUILT="/opt/tw_cli/tw_cli"
132
133 # binary packages
134 DEPEND="app-arch/unzip"
135 RDEPEND=""
136
137 S=${WORKDIR}
138
139 # If you want to fetch it yourself (not from the mirrors), there is an IP-based
140 # clickthrough to accept the EULA.
141 pkg_nofetch() {
142 einfo "Upstream has implement a mandatory clickthrough EULA for distfile download"
143 einfo "Please visit $SRC_URI in your browser. The clickthrough is IP-based,"
144 einfo "so no wget is possible."
145 einfo "And place $A in ${DISTDIR}"
146 }
147
148 src_install() {
149 case ${ARCH} in
150 amd64) CLI_BIN=x86_64/tw_cli;;
151 x86) CLI_BIN=x86/tw_cli;;
152 *) die "unsupported ARCH";;
153 esac
154 exeinto /opt/tw_cli
155 # The names have varied in the past, sometimes there is a suffix
156 newexe ${CLI_BIN} tw_cli
157 dosym /opt/tw_cli/tw_cli /usr/sbin/tw_cli
158
159 newman ${PN}.8.nroff ${PN}.8
160 dohtml *.html
161 dodoc *.txt
162
163 # to comply with license requirement 3.1.b
164 insinto /opt/tw_cli
165 newins ${PORTDIR}/licenses/${LICENSE} LICENSE
166 }
167
168 pkg_postinst() {
169 elog "This binary supports should support ALL cards, including, but not"
170 elog "limited to the following series:"
171 elog ""
172 elog "PATA: 6xxx, 72xx, 74xx, 78xx, 7000, 7500, 7506"
173 elog "SATA: 8006, 8500, 8506, 9500S, 9550SX, 9590SE,"
174 elog " 9550SXU, 9650SE, 9650SE-{24M8,4LPME},"
175 elog " 9690SA, 9750"
176 elog ""
177 elog "Release notes for this version are available at:"
178 elog "${RELNOTES}"
179 }