diff options
-rw-r--r-- | sys-block/tw_cli/ChangeLog | 11 | ||||
-rw-r--r-- | sys-block/tw_cli/tw_cli-9.4.2.ebuild | 77 | ||||
-rw-r--r-- | sys-block/tw_cli/tw_cli-9.5.0.ebuild | 79 |
3 files changed, 165 insertions, 2 deletions
diff --git a/sys-block/tw_cli/ChangeLog b/sys-block/tw_cli/ChangeLog index d839e382f73e..129f682a2c64 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.21 2007/07/30 19:47:23 opfer Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-block/tw_cli/ChangeLog,v 1.22 2008/02/26 20:03:40 robbat2 Exp $ + +*tw_cli-9.5.0 (26 Feb 2008) +*tw_cli-9.4.2 (26 Feb 2008) + + 26 Feb 2008; Robin H. Johnson <robbat2@gentoo.org> +tw_cli-9.4.2.ebuild, + +tw_cli-9.5.0.ebuild: + Version bump. 30 Jul 2007; Christian Faulhammer <opfer@gentoo.org> tw_cli-9.4.1.2.ebuild: diff --git a/sys-block/tw_cli/tw_cli-9.4.2.ebuild b/sys-block/tw_cli/tw_cli-9.4.2.ebuild new file mode 100644 index 000000000000..f66b5d88832e --- /dev/null +++ b/sys-block/tw_cli/tw_cli-9.4.2.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2008 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.2.ebuild,v 1.1 2008/02/26 20:03:40 robbat2 Exp $ + +DESCRIPTION="3ware SATA+PATA RAID controller Command Line Interface tool" +HOMEPAGE="http://www.3ware.com/kb/article.aspx?id=14847" +LICENSE="3ware" +SLOT="0" +# binary packages +KEYWORDS="-* ~amd64 ~x86" +IUSE="" +# stripping seems to break this sometimes +RESTRICT="fetch strip mirror" +# 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() { + 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 "" + elog "Release notes for this version are available at http://3ware.com/support/release${PV}_highlights.asp" +} + +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 +} diff --git a/sys-block/tw_cli/tw_cli-9.5.0.ebuild b/sys-block/tw_cli/tw_cli-9.5.0.ebuild new file mode 100644 index 000000000000..c76fe1ed8122 --- /dev/null +++ b/sys-block/tw_cli/tw_cli-9.5.0.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2008 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.5.0.ebuild,v 1.1 2008/02/26 20:03:40 robbat2 Exp $ + +DESCRIPTION="3ware SATA+PATA RAID controller Command Line Interface tool" +HOMEPAGE="http://www.3ware.com/kb/article.aspx?id=14847" +LICENSE="3ware" +SLOT="0" +# binary packages +KEYWORDS="-* ~amd64 ~x86" +IUSE="" +# stripping seems to break this sometimes +RESTRICT="fetch strip mirror" +# 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* +HW_VARIANT="Escalade9690SA-Series" # for versions 9.5.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() { + 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" + elog "" + elog "Release notes for this version are available at http://3ware.com/support/release${PV}_highlights.asp" +} + +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 +} |