summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2007-04-01 19:38:36 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2007-04-01 19:38:36 +0000
commitbc39dc6c331223cb26f004c7ea766d537fba8a3f (patch)
tree67b2a98521dfc267f5215e158a9726517c6ef743 /sys-block/tw_cli
parentUse ebuild by Wolfram Schlich <wschlich at gentoo.org>, bug #149175 for 1.13.... (diff)
downloadgentoo-2-bc39dc6c331223cb26f004c7ea766d537fba8a3f.tar.gz
gentoo-2-bc39dc6c331223cb26f004c7ea766d537fba8a3f.tar.bz2
gentoo-2-bc39dc6c331223cb26f004c7ea766d537fba8a3f.zip
Bug #170492, bump to new upstream version, apparently fixes some bugs with the very modern 9650SE controllers. Also clean up display of pkg_nofetch URLs
(Portage version: 2.1.2.2)
Diffstat (limited to 'sys-block/tw_cli')
-rw-r--r--sys-block/tw_cli/ChangeLog9
-rw-r--r--sys-block/tw_cli/files/digest-tw_cli-9.4.0.16
-rw-r--r--sys-block/tw_cli/tw_cli-9.4.0.1.ebuild75
3 files changed, 89 insertions, 1 deletions
diff --git a/sys-block/tw_cli/ChangeLog b/sys-block/tw_cli/ChangeLog
index 50ff46d4e14c..960f3b8e6497 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-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-block/tw_cli/ChangeLog,v 1.14 2007/03/21 16:17:09 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-block/tw_cli/ChangeLog,v 1.15 2007/04/01 19:38:36 robbat2 Exp $
+
+*tw_cli-9.4.0.1 (01 Apr 2007)
+
+ 01 Apr 2007; Robin H. Johnson <robbat2@gentoo.org> +tw_cli-9.4.0.1.ebuild:
+ Bug #170492, bump to new upstream version, apparently fixes some bugs with
+ the very modern 9650SE controllers. Also clean up display of pkg_nofetch
+ URLs
21 Mar 2007; Chris Gianelloni <wolf31o2@gentoo.org> tw_cli-9.4.0.ebuild:
Stable on amd64 wrt bug #168069.
diff --git a/sys-block/tw_cli/files/digest-tw_cli-9.4.0.1 b/sys-block/tw_cli/files/digest-tw_cli-9.4.0.1
new file mode 100644
index 000000000000..ed396939fbea
--- /dev/null
+++ b/sys-block/tw_cli/files/digest-tw_cli-9.4.0.1
@@ -0,0 +1,6 @@
+MD5 cdb14060b743035ea648235c9b7f1581 tw_cli-linux-x86-9.4.0.1.tgz 788933
+RMD160 86202398c395e9d07ceaebd3916e4a0a7da2fb21 tw_cli-linux-x86-9.4.0.1.tgz 788933
+SHA256 24f5beec04ac0c22ecdfef334ccb6c44a6d4587f6277cd684c50f4fca28d4be6 tw_cli-linux-x86-9.4.0.1.tgz 788933
+MD5 3c4d49dec1bc9012a6b9031c51eaf2b3 tw_cli-linux-x86_64-9.4.0.1.tgz 820656
+RMD160 caaa0b4e23cda2774af8d49bd2d8b406935d1280 tw_cli-linux-x86_64-9.4.0.1.tgz 820656
+SHA256 c524ef56ad6357c13ee10b01f9d49b959c725da1b6553bfe9159c7f39fffe87b tw_cli-linux-x86_64-9.4.0.1.tgz 820656
diff --git a/sys-block/tw_cli/tw_cli-9.4.0.1.ebuild b/sys-block/tw_cli/tw_cli-9.4.0.1.ebuild
new file mode 100644
index 000000000000..537f0fda18d6
--- /dev/null
+++ b/sys-block/tw_cli/tw_cli-9.4.0.1.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-block/tw_cli/tw_cli-9.4.0.1.ebuild,v 1.1 2007/04/01 19:38:36 robbat2 Exp $
+
+DESCRIPTION="3ware SATA+PATA RAID controller Command Line Interface tool"
+HOMEPAGE="http://www.3ware.com/"
+LICENSE="3ware"
+SLOT="0"
+# binary packages
+KEYWORDS="-* ~amd64 ~x86"
+IUSE=""
+# stripping seems to break this sometimes
+RESTRICT="fetch nostrip nomirror"
+# binary packages
+DEPEND=""
+RDEPEND="virtual/libc"
+MY_P="${PN}-linux-${ARCH/amd64/x86_64}-${PV}"
+# Upstream actually only releases newer versions for new hardware
+# and doesn't release new major versions for old hardware
+# however their backwards compatibility is excellent.
+# I personally test tw_cli on two cards: 6200 (amd64) and 7006-2 (x86)
+# - Robin H. Johnson <robbat2@gentoo.org> - 23 Nov 2006
+#HW_VARIANT="Escalade7000Series" - for versions 9.3.0.*
+HW_VARIANT="Escalade9650SE-Series" # for versions 9.4.0*
+# package has different tarballs for x86 and amd64
+SRC_URI_BASE="http://www.3ware.com/download/${HW_VARIANT}/${PV}"
+SRC_URI_x86="${SRC_URI_BASE}/${PN}-linux-x86-${PV}.tgz"
+SRC_URI_amd64="${SRC_URI_BASE}/${PN}-linux-x86_64-${PV}.tgz"
+SRC_URI="x86? ( ${SRC_URI_x86} )
+ amd64? ( ${SRC_URI_amd64} )"
+LICENSE_URL="http://www.3ware.com/support/windows_agree.asp?path=/download/${HW_VARIANT}/${PV}/${MY_P}.tgz"
+S="${WORKDIR}"
+
+src_unpack() {
+ unpack ${MY_P}.tgz
+}
+
+supportedcards() {
+ einfo "This binary supports should support ALL cards, including, but not"
+ einfo "limited to the following series:"
+ einfo ""
+ einfo "PATA: 6xxx, 72xx, 74xx, 78xx, 7000, 7500, 7506"
+ einfo "SATA: 8006, 8500, 8506, 9500S, 9550SX, 9590SE"
+ einfo " 9550SXU, 9650SE"
+}
+
+pkg_setup() {
+ supportedcards
+}
+
+pkg_nofetch() {
+ einfo "Please agree to the license at URL"
+ einfo ""
+ einfo "\t${LICENSE_URL}"
+ einfo ""
+ einfo "And then use the following URL to download the"
+ einfo "correct tarball into ${DISTDIR}"
+ einfo ""
+ einfo "x86 - ${SRC_URI_x86}"
+ einfo "amd64 - ${SRC_URI_amd64}"
+ einfo ""
+ supportedcards
+}
+
+src_install() {
+ into /
+ dosbin tw_cli
+ dosbin tw_sched
+ insinto /etc
+ doins tw_sched.cfg
+ into /usr
+ newman tw_cli.8.nroff tw_cli.8
+ newman tw_sched.8.nroff tw_sched.8
+ dohtml *.html
+}