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