#!/bin/sh
-# Filename: get_tw_cli
+# Filename: get_3ware
# Purpose: get 3ware RAID controller command line interface tool (tw_cli)
# Authors: grml-team (grml.org), (c) Michael Prokop <mika@grml.org>, Wolfram Schlich <wschlich@gentoo.org>
# Bug-Reports: see http://grml.org/bugs/
# License: This file is licensed under the GPL v2.
-# Latest change: Thu Feb 09 12:20:30 CET 2006 [mika]
+# Latest change: Sam Apr 14 10:59:02 CEST 2007 [mika]
################################################################################
# Notice: this file is based on:
# Copyright 1999-2006 Gentoo Foundation
fi
PN="tw_cli"
-PV="9.3.0.2"
-MY_P="${PN}-linux-x86-${PV}"
-SRC_URI_BASE="http://www.3ware.com/download/Escalade9000Series/${PV}"
-SRC_URI="${SRC_URI_BASE}/${PN}-linux-x86-${PV}.tgz"
-DOWNLOAD_URL="http://www.3ware.com/support/windows_agree.asp?path=/download/Escalade9000Series/${PV}/${MY_P}.tgz"
+PV="9.4.1"
+MV="9.4.0.1"
+
+case `uname -m` in
+ x86_64)
+ ARCH="x86_64"
+ ;;
+ i?86)
+ ARCH="x86"
+ ;;
+ *)
+ echo "Unsupported architecture, must be x86 or amd64 - sorry."
+ exit 1
+ ;;
+esac
+
+MY_P="${PN}-linux-${ARCH}-${PV}"
+URL_BASE="http://www.3ware.com/download/Escalade7000Series/${PV}"
+CMDLINETOOL="${URL_BASE}/${PN}-linux-${ARCH}-${PV}.tgz"
+MANAGEMENTTOOL="http://www.3ware.com/download/Escalade7000Series/${MV}/3DM2-Linux-${MV}.tgz"
+AGREE1="http://www.3ware.com/support/windows_agree.asp?path=/download/Escalade7000Series/${PV}/${MY_P}.tgz"
+AGREE2="http://www.3ware.com/support/windows_agree.asp?path=/download/Escalade7000SSeries/${MV}/3DM2-Linux-${MV}.tgz"
+RELEASENOTES1="http://www.3ware.com/download/Escalade9650SE-Series/${PV}/${PV}_Release_Notes_Web.pdf"
+RELEASENOTES2="http://www.3ware.com/download/Escalade9650SE-Series/${MV}/${MV}_Release_Notes_Web.pdf"
info() {
- einfo "get_tw_cli - get 3ware RAID controller command line interface tool (tw_cli)"
+ einfo "get_3ware - get 3ware RAID controller command line interface tool (tw_cli)"
einfo "==========================================================================="
einfo ""
}
pkg_nofetch() {
einfo "Please agree to the license at URL"
einfo ""
- einfo "\t${DOWNLOAD_URL}"
+ einfo "\t${AGREE1}"
+ einfo "\t${AGREE2}"
+ einfo ""
+ einfo "And then use the following URLs to download the tarballs:"
+ einfo ""
+ einfo "\t${CMDLINETOOL}"
+ einfo "\t${MANAGEMENTTOOL}"
einfo ""
- einfo "And then use the following URL to download the correct tarball:"
+ einfo "Release notes available at:"
einfo ""
- einfo "\t${SRC_URI}"
+ einfo "\t${RELEASENOTES1}"
+ einfo "\t${RELEASENOTES2}"
einfo ""
}