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: ChangeLog tw_cli-9.5.3.ebuild
Date: Sat, 26 Dec 2009 00:56:06
Message-Id: E1NOKwt-0002Y0-10@stork.gentoo.org
1 robbat2 09/12/26 00:56:03
2
3 Modified: ChangeLog
4 Added: tw_cli-9.5.3.ebuild
5 Log:
6 Version bump per bug #298188.
7 (Portage version: 2.2_rc58/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.31 sys-block/tw_cli/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-block/tw_cli/ChangeLog?rev=1.31&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-block/tw_cli/ChangeLog?rev=1.31&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-block/tw_cli/ChangeLog?r1=1.30&r2=1.31
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-block/tw_cli/ChangeLog,v
19 retrieving revision 1.30
20 retrieving revision 1.31
21 diff -p -w -b -B -u -u -r1.30 -r1.31
22 --- ChangeLog 23 Sep 2009 20:33:29 -0000 1.30
23 +++ ChangeLog 26 Dec 2009 00:56:02 -0000 1.31
24 @@ -1,6 +1,11 @@
25 # ChangeLog for sys-block/tw_cli
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-block/tw_cli/ChangeLog,v 1.30 2009/09/23 20:33:29 patrick Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sys-block/tw_cli/ChangeLog,v 1.31 2009/12/26 00:56:02 robbat2 Exp $
29 +
30 +*tw_cli-9.5.3 (26 Dec 2009)
31 +
32 + 26 Dec 2009; Robin H. Johnson <robbat2@g.o> +tw_cli-9.5.3.ebuild:
33 + Version bump per bug #298188.
34
35 23 Sep 2009; Patrick Lauer <patrick@g.o> tw_cli-9.2.1.1.ebuild,
36 tw_cli-9.3.0.2.ebuild, tw_cli-9.3.0.3.ebuild, tw_cli-9.3.0.4.ebuild,
37
38
39
40 1.1 sys-block/tw_cli/tw_cli-9.5.3.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-block/tw_cli/tw_cli-9.5.3.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-block/tw_cli/tw_cli-9.5.3.ebuild?rev=1.1&content-type=text/plain
44
45 Index: tw_cli-9.5.3.ebuild
46 ===================================================================
47 # Copyright 1999-2009 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/sys-block/tw_cli/tw_cli-9.5.3.ebuild,v 1.1 2009/12/26 00:56:02 robbat2 Exp $
50
51 DESCRIPTION="3ware SATA+PATA RAID controller Command Line Interface tool"
52 HOMEPAGE="http://www.3ware.com/kb/article.aspx?id=14847"
53 LICENSE="3ware"
54 SLOT="0"
55 # binary packages
56 KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd"
57 IUSE=""
58 # stripping seems to break this sometimes
59 RESTRICT="strip"
60 # binary packages
61 DEPEND=""
62 RDEPEND=""
63
64 # Upstream has _FUN_ naming these
65 # We are mostly prepared for the FreeBSD binaries at this point
66 # They just aren't yet enabled here
67 PN_KERNEL="${ARCH/*fbsd-*/freebsd}"
68 [ "${PN_KERNEL}" != 'freebsd' ] && PN_KERNEL='linux'
69 PN_ARCH="${ARCH/*-}"
70 PN_ARCH="${PN_ARCH/amd64/x86_64}"
71
72 # The naming of <=9.5.0 for freebsd was weird,
73 # but 9.5.0.1 has it sanely.
74 MY_P="${PN}-${PN_KERNEL}-${PN_ARCH}-${PV}"
75
76 # Upstream actually only releases newer versions for new hardware
77 # and doesn't release new major versions for old hardware
78 # however their backwards compatibility is excellent.
79 # I personally test tw_cli on 4 cards:
80 # 7006-2 on x86.
81 # 9500S-8 on amd64.
82 # 9500S-4LP on amd64.
83 # 9650SE-8LPML on amd64.
84 # - Robin H. Johnson <robbat2@g.o> - 23 Nov 2006
85 #HW_VARIANT="Escalade7000Series" - for versions 9.3.0.*
86 #HW_VARIANT="Escalade9650SE-Series" # for versions 9.4.0*
87 HW_VARIANT="Escalade9690SA-Series" # for versions 9.5.0*
88 # package has different tarballs for x86 and amd64
89 SRC_URI_BASE="http://www.3ware.com/download/${HW_VARIANT}/${PV}"
90 SRC_URI_x86="${SRC_URI_BASE}/${PN}-linux-x86-${PV}.tgz"
91 SRC_URI_amd64="${SRC_URI_BASE}/${PN}-linux-x86_64-${PV}.tgz"
92 SRC_URI_x86_fbsd="${SRC_URI_BASE}/${PN}-freebsd-x86-${PV}.tgz"
93 #SRC_URI_amd64_fbsd="${SRC_URI_BASE}/${PN}-x86_64-freebsd-${PV}.tgz"
94 SRC_URI="x86? ( ${SRC_URI_x86} )
95 amd64? ( ${SRC_URI_amd64} )
96 x86-fbsd? ( ${SRC_URI_x86_fbsd} )"
97 #amd64-fbsd? ( ${SRC_URI_amd64_fbsd} )
98 LICENSE_URL="http://www.3ware.com/support/windows_agree.asp?path=/download/${HW_VARIANT}/${PV}/${MY_P}.tgz"
99
100 S="${WORKDIR}"
101
102 src_unpack() {
103 unpack ${MY_P}.tgz
104 }
105
106 supportedcards() {
107 elog "This binary supports should support ALL cards, including, but not"
108 elog "limited to the following series:"
109 elog ""
110 elog "PATA: 6xxx, 72xx, 74xx, 78xx, 7000, 7500, 7506"
111 elog "SATA: 8006, 8500, 8506, 9500S, 9550SX, 9590SE,"
112 elog " 9550SXU, 9650SE, 9650SE-{24M8,4LPME},"
113 elog " 9690SA"
114 elog ""
115 elog "Release notes for this version are available at:"
116 elog "${SRC_URI_BASE}/${PV}_Release_Notes_Web.pdf"
117 }
118
119 pkg_setup() {
120 supportedcards
121 }
122
123 pkg_nofetch() {
124 einfo "3ware would like you to agree to the license:"
125 einfo ""
126 einfo "\t${LICENSE_URL}"
127 einfo ""
128 einfo "And then use the following URL to download the"
129 einfo "correct tarballs manually into ${DISTDIR}"
130 einfo ""
131 einfo "x86 - ${SRC_URI_x86}"
132 einfo "amd64 - ${SRC_URI_amd64}"
133 einfo "x86-fbsd - ${SRC_URI_x86_fbsd}"
134 #einfo "amd64-fbsd - ${SRC_URI_amd64_fbsd}"
135 einfo ""
136 einfo "However, they have given permission to redistribute."
137 einfo "http://bugs.gentoo.org/show_bug.cgi?id=60690#c106"
138 einfo ""
139 supportedcards
140 }
141
142 src_install() {
143 into /
144 dosbin tw_cli
145 into /usr
146 newman tw_cli.8.nroff tw_cli.8
147 dohtml *.html
148 }