Import tw-cli

This commit is contained in:
Adam Cécile (Le_Vert) 2013-08-14 22:54:16 +02:00
parent 5e69b38912
commit ab65458f9f
6 changed files with 11766 additions and 0 deletions

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,30 @@
tw-cli (2:2.00.11.020+10.2.1-1) unstable; urgency=low
* New upstream release.
* Do not use separate tarball for each architecture anymore.
* Improve debian/copyright to explain how to generate sources tarball.
* Update licence and copyright information.
-- Adam Cécile (Le_Vert) <gandalf@le-vert.net> Mon, 30 Jan 2012 16:00:10 +0100
tw-cli-x86-64 (2:2.00.09.012+9.5.2-1) unstable; urgency=low
* New upstream release.
* Bump epoch... Once again, thanks to 3Ware insane versionning.
* PDF user guide updated to 9.5.2 release.
-- Adam Cécile (Le_Vert) <gandalf@le-vert.net> Tue, 07 Jul 2009 19:34:46 +0200
tw-cli-x86-64 (1:2.02.08.008+9.5.1.1-1) unstable; urgency=low
* New upstream release.
* Better versionning.
* PDF user guide updated to 9.5.1.1 release.
-- Adam Cécile (Le_Vert) <gandalf@le-vert.net> Sun, 21 Dec 2008 23:00:30 +0100
tw-cli-x86-64 (9.5.0.1-1) unstable; urgency=low
* Initial release.
-- Adam Cécile (Le_Vert) <gandalf@le-vert.net> Thu, 21 Aug 2008 14:18:31 +0200

View File

@ -0,0 +1 @@
5

View File

@ -0,0 +1,16 @@
Source: tw-cli
Section: admin
Priority: optional
Maintainer: Adam Cécile (Le_Vert) <gandalf@le-vert.net>
Build-Depends: debhelper (>= 5), sharutils
Standards-Version: 3.9.2
Homepage: http://www.lsi.com/channel/support/products/Pages/3wareSAS9750-8e.aspx
Package: tw-cli
Architecture: amd64 i386
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: 3Ware management tool (tw-cli)
This package contains tw-cli, the management tool for 3Ware Eskalad
RAID cards.
.
It should works fine for 9000, 8000 as well as 7000 series.

View File

@ -0,0 +1,169 @@
This package was debianized by Adam Cécile (Le_Vert) <gandalf@le-vert.net> on
Thu, 21 Aug 2008 14:18:31 +0200.
It was downloaded from:
http://www.lsi.com/channel/support/products/Pages/3wareSAS9750-8e.aspx
Upstream Author:
LSI Corporation
Copyright:
Copyright (C) 2011 LSI Corporation
Copyright (c) 2004, 2005 Applied Micro Circuits Corporation (AMCC)
Copyright (C) 2002, 2003, 2004 3ware, Inc.
License:
STOP!
BEFORE YOU INSTALL OR USE THIS SOFTWARE
Carefully read this Software License Agreement. Installing or using this
software (the "Software") and the related documentation, (the
"Documentation"), indicates that you agree to abide by this Software
License Agreement. If you do not agree with it, promptly
return the Software and we will refund the purchase price.
Software License Agreement
THE SOFTWARE AND DOCUMENTATION PROVIDED HEREIN IS PROPRIETARY TO LSI
CORPORATION AND ITS LICENSORS. LSI CORPORATION IS WILLING TO LICENSE THE
SOFTWARE AND DOCUMENTATION TO YOU ONLY UPON THE CONDITION THAT YOU ACCEPT
ALL OF THE TERMS CONTAINED IN THIS SOFTWARE LICENSE AGREEMENT. BY USING
THIS SOFTWARE, YOU, THE END-USER, AGREE TO THE LICENSE TERMS BELOW. IF YOU
DO NOT AGREE TO THESE TERMS, YOU MAY NOT USE THE SOFTWARE.
1. Grant of License
Conditioned upon compliance with the terms and conditions of this Software
License Agreement ("Agreement"), LSI Corporation ("LSI") grants you, the
original licensee, a nonexclusive and nontransferable limited license to
use (including installation on multiple computers) for your internal
business purposes the Software and the Documentation, ("Permitted Use").
2. License Conditions; Confidentiality
The Software and Documentation are confidential information of LSI and its
licensors. Except as expressly permitted herein, you may not disclose or
give copies of the Software or Documentation to others and you may not let
others gain access to the same. You may not post the Software or
Documentation, or otherwise make available, in any form, on the Internet or
in other public places or media. You may not modify, adapt, translate,
rent, lease, loan, distribute or resell for profit, or create derivative
works based upon, the Software or Documentation or any part of thereof, but
you may transfer the original media containing the Software and
Documentation on a one-time basis provided you retain no copies of the
Software and Documentation and the recipient assumes all of the terms of
this Agreement. You may not reverse engineer, decompile, disassemble or
otherwise attempt to derive source code from the Software except to the
extent allowed by law.
3. No Warranty
LSI grants a limited warranty only to the original licensee, that the
Software will perform substantially in accordance with the Documentation
prepared by LSI for a period of ninety (90) days from the date of receipt
by the original licensee. LSI's entire liability and the licensee's
exclusive remedy for breach of the limited warranty above shall be, at
LSI's sole option and discretion, either: (a) the repair or replacement of
the non-conforming Software which is returned to LSI and determined by LSI
to be non-conforming, or (b) the return of the price the original licensee
paid solely for the Software. This limited warranty is void if the
non-conformance of the Software results from accident, abuse, negligence,
misapplication, or failure to use the Software in accordance with the
Documentation. Any replacement Software will be warranted to the original
licensee for the remainder of the original warranty period, or thirty (30)
days, whichever is longer. EXCEPT AS SPECIFIED EXPRESSLY IN THIS LIMITED
WARRANTY, ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS, AND
WARRANTIES INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTY OR CONDITION
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT,
SATISFACTORY QUALITY, NON-INTERFERENCE, ACCURACY OF INFORMATIONAL CONTENT,
OR ARISING FROM A COURSE OF DEALING, LAW, USAGE, OR TRADE PRACTICE, ARE
HEREBY EXCLUDED TO THE EXTENT ALLOWED BY APPLICABLE LAW AND ARE EXPRESSLY
DISCLAIMED BY LSI, ITS SUPPLIERS AND LICENSORS. TO THE EXTENT AN IMPLIED
WARRANTY CANNOT BE EXCLUDED, SUCH WARRANTY IS LIMITED IN DURATION TO THE
EXPRESS WARRANTY PERIOD. BECAUSE SOME STATES OR JURISDICTIONS DO NOT ALLOW
LIMITATIONS ON HOW LONG AN IMPLIED WARRANTY LASTS, THE ABOVE LIMITATION MAY
NOT APPLY. THIS WARRANTY GIVES YOU SPECIFIC LEGAL RIGHTS, AND YOU MAY ALSO
HAVE OTHER RIGHTS WHICH VARY FROM JURISDICTION TO JURISDICTION. This
disclaimer and exclusion shall apply even if the express warranty set forth
above fails of its essential purpose.
4. LIMITATION OF LIABILITY AND REMEDIES
IN NO EVENT SHALL LSI OR ITS LICENSORS BE LIABLE TO YOU FOR ANY INDIRECT,
CONSEQUENTIAL, EXEMPLARY, INCIDENTAL OR SPECIAL DAMAGES ARISING FROM THIS
AGREEMENT OR THE USE OF THE SOFTWARE OR DOCUMENTATION (INCLUDING, WITHOUT
LIMITATION, DAMAGE FOR LOSS OF BUSINESS PROFITS, BUSINESS INTERRUPTION,
LOSS OF BUSINESS INFORMATION, LOSS OF GOODWILL, OR OTHER PECUNIARY LOSS),
WHETHER RESULTING FROM LSI'S NEGLIGENCE OR OTHERWISE, EVEN IF LSI WAS
ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. LSI'S MAXIMUM LIABILITY FOR ANY
DAMAGES ARISING UNDER THIS AGREEMENT AND THE USE OF THE SOFTWARE AND
DOCUMENTATION WILL NOT EXCEED AN AMOUNT EQUAL TO THE LICENSE FEES YOU PAID
TO LSI FOR THE SOFTWARE AND DOCUMENTATION. THE LAWS OF SOME JURISDICTIONS
DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY, AND THE ABOVE
EXCLUSION MAY NOT APPLY TO YOU.
5. U.S. Government End User Purchasers
The Software and Documentation qualify as "commercial items," as that term
is defined at Federal Acquisition Regulation ("FAR") (48 C.F.R.) 2.101,
consisting of "commercial computer software" and "commercial computer
software documentation" as such terms are used in FAR 12.212. Consistent
with FAR 12.212 and DoD FAR Supp. 227.7202-1 through 227.7202-4, and
notwithstanding any other FAR or other contractual clause to the contrary,
you may provide to Government end user or, if this Agreement is direct,
Government end user will acquire, the Software and Documentation with only
those rights set forth in this Agreement. Use of either the Software or
Documentation or both constitutes agreement by the Government that the
Software and Documentation are "commercial computer software" and
"commercial computer software documentation," and constitutes acceptance of
the rights and restrictions herein.
6. Term And Termination
You may terminate this Agreement at any time, and it will automatically
terminate if you fail to comply with it. If terminated, you must
immediately destroy the Documentation and the Software and all copies you
have made.
7. Audit Rights
LSI shall have the right on reasonable notice, at its own cost and no more
than once per year, directly or through its independent auditors, to
inspect, examine, take extracts, and make copies from, your records to the
extent reasonably necessary to verify your compliance with the terms and
conditions of this Agreement. This right shall apply during the term of
this Agreement and for one (1) year thereafter.
8. Export
You may not export this Software or Documentation, unless you have complied
with applicable United States and foreign government laws.
9. General
You assume full responsibility for the legal and responsible use of the
Software and Documentation. You agree that this Agreement is the complete
agreement between you and LSI (and that any verbal or written statements
that are not reflected in this Agreement and any prior agreements, are
superseded by this Agreement). To be effective, any amendment of this
Agreement must be in writing and signed by both you and LSI. Should any
provisions of this Agreement be held to be unenforceable, then such
provision shall be separable from this Agreement and shall not affect the
remainder of the Agreement. This Agreement shall be governed by California
law, not including its choice of law provisions. The United Nations
Convention on the International Sale of Goods shall not be applied to this
Agreement. All rights in the Software and Documentation not specifically
granted in this Agreement are reserved by LSI or its licensors. The English
language version of this Agreement shall be the official version. The terms
and conditions of this Software License Agreement shall be binding upon you
and your respective heirs, successors and assigns.
10. Survival
The provisions of Sections 2, 3, 4, 7, 8 and 9 shall survive any
termination of this Agreement.
The Debian packaging is Copyright (C) 2008-2012 Adam Cécile (Le_Vert)
<gandalf@le-vert.net> and is licensed under GNU General Public License
version 2 (or later) see `/usr/share/common-licenses/GPL-2'.
This source package has been repacked to include binary and documentation
files extracted from the ISO cd.
Here is MD5 of the package used to create this source package:
b7d718ede4ebbc7d31e7cf5c95d5a33d 10.2.1-Codeset-Complete.iso

60
packaging/debian/tw-cli/rules Executable file
View File

@ -0,0 +1,60 @@
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
DESTDIR=$(CURDIR)/debian/tw-cli/usr
DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
build: build-arch build-indep
build-arch:
build-indep:
clean:
dh_testdir
dh_testroot
rm -f debian/CLIGuide.pdf
dh_clean
install:
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
ifeq ($(DEB_BUILD_ARCH),amd64)
install -D -m 0755 $(CURDIR)/tw_cli.x86_64 \
$(DESTDIR)/sbin/tw-cli
endif
ifeq ($(DEB_BUILD_ARCH),i386)
install -D -m 0755 $(CURDIR)/tw_cli.x86 \
$(DESTDIR)/sbin/tw-cli
endif
install -D -m 0755 $(CURDIR)/tw_cli.8.nroff \
$(DESTDIR)/share/man/man8/tw-cli.8
install -D -m 0755 $(CURDIR)/tw_cli.8.html \
$(DESTDIR)/share/doc/tw-cli/tw_cli.html
# To create the uu file:
# uuencode debian/CLIGuide.pdf debian/CLIGuide.pdf > debian/CLIGuide.pdf.uu
uudecode debian/CLIGuide.pdf.uu
install -D -m 0644 $(CURDIR)/debian/CLIGuide.pdf \
$(DESTDIR)/share/doc/tw-cli/user_guide.pdf
binary-indep: build install
binary-arch: build install
dh_testdir
dh_testroot
dh_installchangelogs
dh_installdocs
dh_installman
dh_link
dh_strip
dh_compress
dh_fixperms
dh_installdeb
dh_shlibdeps
dh_gencontrol
dh_md5sums
dh_builddeb
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install