diff --git a/build_orig.sh b/build_orig.sh new file mode 100644 index 0000000..81117ba --- /dev/null +++ b/build_orig.sh @@ -0,0 +1,64 @@ +#!/bin/bash +# the directory of the script +DIR=`cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd` +echo "Working directory $DIR" + +# the temp directory used, within $DIR +WORK_DIR=`mktemp -d -p "$DIR"` +echo "Creating temp working directory $WORK_DIR" + +# deletes the temp directory +function cleanup { + rm -rf "$WORK_DIR" + echo "Deleted temp working directory $WORK_DIR" +} + +# register the cleanup function to be called on the EXIT signal +trap cleanup EXIT + +# Download Files specified in files.diz +while IFS=! read type app version outputfile url md5 +do + echo "Downloading $app Version: $version" + #use -O for output file. define $outputfile yourself + wget --no-check-certificate --tries=1 -O $DIR/../$outputfile --timeout=5 "$url" + # use $(..) instead of backticks. + calculated_md5=$(md5sum "$DIR/../$outputfile" | cut -f 1 -d " ") + # compare md5 + case "$calculated_md5" in + "$md5" ) + echo "$DIR/../$outputfile md5 ok" + ;; + *) + echo "$DIR/../$outputfile md5 NOT ok" + exit 1 + ;; + esac +done < "$DIR/files.diz" + +# Extract to specified dir and set some variables +while IFS=! read type app version outputfile url md5 +do + mkdir -p $WORK_DIR/${app}-${version}/${type} + pushd $WORK_DIR/${app}-${version}/${type} + rpm2cpio $DIR/../$outputfile | cpio -idmv + echo "${app}_${version}.orig.tar.gz" > $WORK_DIR/filename.txt + echo "${app}-${version}" > $WORK_DIR/dirname.txt + echo "${version}" > $WORK_DIR/version.txt + popd +done < "$DIR/files.diz" + +FILENAME=`cat $WORK_DIR/filename.txt` +DIRNAME=`cat $WORK_DIR/dirname.txt` +echo "Creating $DIR/../$FILENAME " + +pushd $WORK_DIR +tar -czf $DIR/../$FILENAME $DIRNAME +popd + +VER=`cat $WORK_DIR/version.txt` +echo "Importing $DIR/../$FILENAME as $VER into git" +cleanup +gbp import-orig --pristine-tar -u $VER $DIR/../$FILENAME + +exit 0 diff --git a/debian/README.source b/debian/README.source new file mode 100644 index 0000000..bd33ded --- /dev/null +++ b/debian/README.source @@ -0,0 +1,11 @@ +hpssacli (9.20.9.0-1) unstable; urgency=low + + Sources have been repacked from the following upstream packages: + + a569ddb584d2133bf44f06992d746f51 hpssacli-9.20-9.0.i386.rpm + c0d6f57fe3cf1fa6342fb0097e3ae100 hpssacli-9.20-9.0.x86_64.rpm + + Both have been turned into tarballs using alien and then uncompressed to + i386 and amd64 sub-directories. + + -- Adam Cécile (Le_Vert) Mon, 20 Aug 2012 19:58:55 +0200 diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..ec16f04 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,54 @@ +ssaducli (2.60.18.0) UNRELEASED; urgency=medium + + * package renamed and update + + -- Mario Fetka Fri, 10 Nov 2017 15:40:47 +0100 + +hpssaducli (2.40.13.0-2) UNRELEASED; urgency=medium + + * cleanup typos + + -- Mario Fetka Thu, 26 May 2016 21:09:53 +0200 + +hpssaducli (2.20.11.0-1) unstable; urgency=low + + * Non-maintainer upload. + * Bump to new release + * Imported Upstream version 2.0.23.0 + + -- Mario Fetka Sat, 21 May 2016 07:46:39 +0200 + +hpssaducli (9.20.9.0-1) unstable; urgency=low + + [ Adam Cécile (Le_Vert) ] + * New upstream release (Closes: #225). + * Now ship amd64 binaries along i386 ones. + * Rewrite debian/copyright to use machine readable format. + + [ Mario Fetka ] + + -- Adam Cécile (Le_Vert) Mon, 20 Aug 2012 19:58:55 +0200 + +hpssaducli (8.25.5-1) unstable; urgency=low + + * New upstream release. + * Do not depend on libstdc++2.10 anymore because it has been removed + from current distros. Ship our own lib (extracted from etch package) + in a private directory. + * Add upstream changelog. + * Fix download url (debian/copyright). + + -- Adam Cécile (Le_Vert) Mon, 27 Apr 2009 15:41:54 +0200 + +hpssaducli (8.10-1) unstable; urgency=low + + * New upstream release. + * debian/watch added (url stolen to gentoo). + + -- Adam Cécile (Le_Vert) Tue, 23 Dec 2008 14:39:26 +0100 + +hpssaducli (7.80-1) unstable; urgency=low + + * Initial release. + + -- Adam Cécile (Le_Vert) Wed, 20 Aug 2008 13:41:40 +0200 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7ed6ff8 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +5 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..7466c74 --- /dev/null +++ b/debian/control @@ -0,0 +1,16 @@ +Source: ssaducli +Section: non-free/admin +Priority: optional +Maintainer: Mario Fetka (geos_one) +Build-Depends: debhelper (>= 5), sharutils +Standards-Version: 3.9.3 + +Package: ssaducli +Architecture: i386 amd64 +Depends: ${shlibs:Depends}, ${misc:Depends} +Conflicts: hpssaducli +Breaks: hpssaducli +Replaces: hpssaducli +Description: HPE Smart Storage Administrator Diagnostics and SmartSSD Wear Gauge Utility CLI + This is the proprietary command line utility from HP to manage HP/Compaq + SmartArray hardware RAID HBAs mostly found in Proliant servers. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..1b7a630 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,363 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: hpacucli +Source: opt/smartstorageadmin/ssacli/bin/ssacli.license + +Files: * + PROLIANT ESSENTIALS SOFTWARE + + END USER LICENSE AGREEMENT + +PLEASE READ THIS END USER LICENSE AGREEMENT ("AGREEMENT") CAREFULLY. THIS +AGREEMENT IS A LEGAL AGREEMENT BETWEEN YOU (EITHER AN INDIVIDUAL OR SINGLE +ENTITY) ("YOU") AND HEWLETT-PACKARD COMPANY ("HP"). BY CLICKING THE "AGREE" +BUTTON BELOW, COPYING, INSTALLING, OR OTHERWISE USING THE SOFTWARE, +(i) YOU DO SO WITH THE INTENT TO ELECTRONICALLY "EXECUTE" THIS AGREEMENT, AND +(ii) YOU AGREE TO BE BOUND BY AND COMPLY WITH THE FOLLOWING TERMS AND +CONDITIONS, INCLUDING THE WARRANTY STATEMENT, AS WELL AS ANY TERMS AND +CONDITIONS CONTAINED IN THE "ANCILLARY SOFTWARE" LIST. + +IF YOU DO NOT AGREE TO THE TERMS AND CONDITIONS OF THIS AGREEMENT, +(A) IF THIS AGREEMENT IS DISPLAYED ELECTRONICALLY, YOU MAY INDICATE REJECTION + OF THIS AGREEMENT BY CLICKING THE "DISAGREE" BUTTON; +(B) YOU SHALL NOT INSTALL THE SOFTWARE; AND +(C) HP DOES NOT GRANT YOU ANY RIGHTS TO USE THE SOFTWARE. +NOTWITHSTANDING THE FOREGOING, INSTALLING OR OTHERWISE USING THE SOFTWARE +INDICATES YOUR ACCEPTANCE OF THE TERMS AND CONDITIONS OF THIS AGREEMENT. +IF YOU PURCHASED THE SOFTWARE, YOU MAY RETURN THE SOFTWARE TO THE PLACE OF +PURCHASE FOR A FULL REFUND. + +THE SOFTWARE PROVIDED HEREIN, IS PROVIDED BY HP AND BY THIRD PARTIES, INCLUDING +THE OPEN SOURCE COMMUNITY ("ANCILLARY SOFTWARE"). USE OF THE HP SOFTWARE, THE +ANCILLARY SOFTWARE, ACCOMPANYING PRINTED MATERIALS, AND THE "ONLINE" OR +ELECTRONIC DOCUMENTATION (COLLECTIVELY THE "PRODUCT") IS CONDITIONED UPON AND +LIMITED BY THE FOLLOWING TERMS AND CONDITIONS, INCLUDING THE "AS IS WARRANTY +STATEMENT" AND THE TERMS AND CONDITIONS OF THE ANCILLARY SOFTWARE LICENSE +AGREEMENTS ("ANCILLARY SOFTWARE LICENSES"). + +USE OF ANCILLARY SOFTWARE SHALL BE GOVERNED BY THE ANCILLARY SOFTWARE LICENSE, +EXCEPT THAT THE DISCLAIMER OF WARRANTIES AND LIMITATION OF LIABILITIES +PROVISIONS CONTAINED IN THE "AS-IS WARRANTY STATEMENT" OF THIS AGREEMENT SHALL +ALSO APPLY TO SUCH ANCILLARY SOFTWARE. HP HAS IDENTIFIED ANCILLARY SOFTWARE +BY EITHER NOTING THE ANCILLARY SOFTWARE PROVIDER"S OWNERSHIP WITHIN EACH +ANCILLARY SOFTWARE PROGRAM FILE AND/OR BY PROVIDING LICENSING INFORMATION IN +THE "ANCILLARY SOFTWARE" LIST. BY ACCEPTING THE TERMS AND CONDITIONS OF THIS +AGREEMENT, YOU ARE ALSO ACCEPTING THE TERMS AND CONDITIONS OF EACH ANCILLARY +SOFTWARE LICENSE IN THE ANCILLARY SOFTWARE LIST. + +IF AND ONLY IF THE PRODUCT INCLUDES SOFTWARE LICENSED UNDER THE GNU GENERAL +PUBLIC LICENSE ("GPL SOFTWARE"), YOU MAY OBTAIN A COMPLETE MACHINE-READABLE +COPY OF THE GPL SOFTWARE SOURCE CODE ("GPL SOURCE CODE") BY DOWNLOAD FROM A +SITE SPECIFIED IN THE FOLLOWING HP WEBSITE: +HTTP://H18004.WWW1.HP.COM/PRODUCTS/SERVERS/PROLIANTESSENTIALS/VALUEPACK/LICENSING.HTML. +UPON YOUR WRITTEN REQUEST, HP WILL PROVIDE, FOR A FEE COVERING THE COST OF +DISTRIBUTION, A COMPLETE MACHINE-READABLE COPY OF THE GPL SOURCE CODE, BY MAIL, +TO YOU. INFORMATION ABOUT HOW TO MAKE A WRITTEN REQUEST FOR GPL SOURCE CODE +MAY BE FOUND AT THE FOLLOWING WEBSITE: +HTTP://H18004.WWW1.HP.COM/PRODUCTS/SERVERS/PROLIANTESSENTIALS/VALUEPACK/LICENSING.HTML . + + +LICENSE TERMS + +SUBJECT TO THE TERMS AND CONDITIONS OF THIS AGREEMENT AND ANY RIGHTS, +LIMITATIONS AND OBLIGATIONS SET FORTH IN THE ANCILLARY SOFTWARE LICENSES: + +1. LICENSE GRANT + +a. IF SOFTWARE DOES NOT REQUIRE AN ACTIVATION KEY. If the Software does +not require an Activation Key and provided that You comply with all the terms +and conditions of this Agreement, HP grants You a non-exclusive, +non-transferable (except as provided in Section 16), worldwide (except for the +countries referenced in Section 12) license under HP's copyrights, to install, +copy on as many computers as you need for your business, use, execute, make +archival or backup copies, and display ("Use") the object code version of the +Product on the computer(s) on which this Product is installed and in the +operating environment as identified by HP in the accompanying materials. + +b. IF SOFTWARE REQUIRES AN ACTIVATION KEY. If the Software requires an +Activation Key, and provided that You comply with all terms and conditions of +this Agreement, then depending upon the specific hardware configuration You +employ, HP grants You the following license ("License Type") and rights: + + Authorized Copies. You are licensed to install, make Authorized Copies +of (as defined in this section), execute, and display ("Use") the object code +version of the Product on an equivalent number of Computers, Host/Client Pairs, +Computer Nodes, or Clustered Computers (as defined in the table below) as you +have Authorized Copies. Authorized Copies is defined as the number of copies +that you have paid for as stated in the invoice or comparable document +evidencing an authorized quantity. + +LICENSE TYPE SOFTWARE INSTALLS TO: LICENSED RIGHTS + (hardware configuration) +------------------------------------------------------------------------------ +Computer A computer You have a right to install + and Use the Product on a single + computer. The installed copy + may not be transferred to or + used on any other computer. + +------------------------------------------------------------------------------ +Node/Client A set of computers with a You have a right to install and + minimum of one host and one Use the Product on a Host/Client + client connected to each Pair or a Single Node. Copies + other ("Host/Client Pair"), of the Product installed on a + or in certain instances, a Host/Client Pair or Single Node + single computer may not be transferred to any + ("Single Node") other host or client computers + or other single nodes. You can + continue to Use the Product on + licensed clients when a new + server is introduced to the + licensed clients. + +------------------------------------------------------------------------------ +Cluster More than two computers You have a right to install and + physically connected together Use the Product on each + in a cluster configuration Clustered Computer. The + (each of which is referred to installed copy may not be + as "Clustered Computer") transferred to or used on any + other computer. + + + Storage. You may copy the Product into the local memory or storage +device of the hardware configuration loaded with the Authorized Copies. You may +copy the Product onto a reasonable number of network servers or a secure +intranet for the sole purpose of distributing the Product to the Computers, +Host/Client Pairs, Computer Nodes, or Clustered Computers. You may make +archival or back-up copies of the Product. You shall keep the activation key +with the hardware configuration to which the activation key is licensed. You +should keep copies of the activation key information for future retrieval +purposes. + +2. NEW RELEASES. "New Release" means a release of the Product that may +contain fixes, corrections, or minor improvements to the Product. New Releases +are distributed from time to time solely at the option of HP. If HP offers a +New Release, it may come with its own terms and conditions, however if it does +not, You may use the New Release only under the terms and conditions of this +Agreement. +3. NEW VERSIONS. "New Version" means a version of the Product that may +contain significant changes, enhancements, and/or functional improvements to +the Product. New Versions are distributed solely at the option of HP. If HP +offers a New Version, it may come with its own terms and conditions, however +if it does not, You may use the New Version only under the terms and conditions +of this Agreement. +4. OWNERSHIP. The Product is owned and copyrighted by Hewlett-Packard +Development Company, L.P., HP's intellectual property management company, and +by third party suppliers, except for the Ancillary Software, which is owned and +copyrighted by the Ancillary Software providers indicated in the ANCILLARY +SOFTWARE list. Your right to Use the Product confers no title or ownership and +is not a sale of the Product or any part thereof. Third party suppliers and +Ancillary Software providers are intended beneficiaries under this Agreement +and may protect their rights in their respective portions of the Product +directly against You. +5. TRANSFER. Without the prior written consent of HP, or unless +specifically permitted in the Ancillary Software License, You have no right +(a) to rent, lease, lend, or otherwise transfer the rights to the Product to +anyone else; (b) to Use the Product for commercial timesharing or bureau use; +or (c) to copy the Product onto any public or distributed network. +6. COPYRIGHT. United States copyright laws, other countries' copyright +laws, and international treaty provisions protect the Product. You shall not +remove any product identification, copyright notices, or proprietary notices +from the Product. +7. SUPPORT. Support terms and conditions and contact information are +detailed in the Worldwide Limited Warranty and Technical Support for Industry +Standard Server Products statement ("Support Statement"), a copy of which is +available on the HP web site at www.hp.com. Subject to the terms of the +Support Statement, for HP software products installed on HP computers, +technical support for questions regarding media and Product installation may +be available for a ninety (90) day period from the date of purchase of the HP +computer on which this Product is installed ("Support Term"). To access this +support in North America, call the HP Technical Support Phone Center at +1-800-652-6672. This service is available during normal business hours, +Monday through Friday, during the Support Term. Outside North America, call +the nearest HP Technical Support Center. No other support, including +without limitation any on-site support, is provided under this Agreement. +8. LIMITATION ON REVERSE ENGINEERING. Reverse engineering of Ancillary +Software shall be governed by its respective Ancillary Software License. As +for the remainder of the Product, You shall not modify, disassemble, reverse +engineer, decompile, decrypt, or otherwise attempt to access or determine the +source code of the Product without HP's prior written consent. Where You have +other statutory rights with regard to software, You shall provide HP with +reasonably detailed information regarding any intended disassembly or +decompilation of the Product prior to performing such disassembly or +decompilation. You shall not decrypt the Product unless necessary for the +licensed Use of the Product. +9. RESERVATION OF RIGHTS. HP, its third party suppliers, and Ancillary +Software providers reserve all rights not expressly granted to You in this +Agreement. +10. TERM AND TERMINATION. You may exercise the rights of this Agreement +and of the Ancillary Software Licenses for a period of time starting at Your +acceptance of the terms and conditions of this Agreement and for so long as +You meet such terms and conditions ("Term"). Notwithstanding the foregoing, +HP may terminate Your right to Use the Product, upon notice, for Your failure +to comply with any such term or condition. Immediately upon termination, You +shall remove, destroy, or return to HP all copies of the Product, including +those copies of the Product that are merged into Your adaptations, except for +individual pieces of data in Your database. With HP's prior written consent, +one copy of the Product may be retained, for archival purposes only, subsequent +to termination. You may terminate this Agreement at any time by returning or +destroying the Product together with merged portions in any form. +11. CONFIDENTIAL COMPUTER SOFTWARE. Valid license from HP required for +possession, use, or copying. Consistent with FAR 12.211 and 12.212, Commercial +Computer Software, Computer Software Documentation, and Technical Data for +Commercial Items are licensed to the U.S. Government under vendor's standard +commercial license. +12. COMPLIANCE WITH LAW. The Product and any associated hardware, +software, technology or services may not be exported, reexported, transferred +or downloaded to persons or entities listed on the U.S. Department of Commerce +Denied Persons List, Entity List of proliferation concern, or on any U.S. +Treasury Department Designated Nationals exclusion list, any country under +U.S. economic embargo, or to parties directly or indirectly involved in the +development or production of nuclear, chemical, biological weapons or in +missile technology programs as specified in the U.S. Export Administration +Regulations (15 CFR 744). By accepting this Agreement You confirm that You +are not (i) located in (or a national resident of) any country under U.S. +economic embargo, (ii) identified on any U.S. Department of Commerce Denied +Persons List, Entity List or Treasury Department Designated Nationals exclusion +list, and (iii) directly or indirectly involved in the development or +production of nuclear, chemical, biological weapons or in missile technology +programs as specified in the U.S. Export Administration Regulations. +13. APPLICABLE LAW. This Agreement shall be construed in accordance with +the laws of the State of Texas, without regard to conflict of laws principles. +The United Nations Convention on Contracts for the International Sale of Goods +is specifically disclaimed. If the Product was acquired outside the United +States, then local law may apply. +14. SEVERABILITY. If any term or provision of this Agreement is determined +to be illegal or unenforceable, the validity or enforceability of the remainder +of the terms or provisions herein will remain valid and in full force and +effect. Failure or delay in enforcing any right or provision of this Agreement +shall not be deemed a waiver of such right or provision with respect to any +subsequent breach. Provisions herein, which by their nature extend beyond the +termination of the license in the Product, will remain in effect until +fulfilled. +15. CONSENT TO USE OF DATA. You agree that HP may collect and use technical +information that You provide in connection with Your Use and request for +technical support of the Product from HP, however, HP will not use this +information in a form that personally identifies You. +16. ASSIGNMENT. You may not assign, sublicense or transfer this Agreement, +the Product, or any rights or obligations hereunder without the prior written +consent of HP. Any such attempted assignment, sublicense, or transfer will be +null and void, and in such event, HP may terminate this Agreement immediately. +Notwithstanding the foregoing, You may assign this Agreement and the rights +granted hereunder with the transfer of all or substantially all of Your +business. The right to assign or transfer Ancillary Software is governed by +the terms and conditions of the Ancillary Software Licenses. +17. ENTIRE AGREEMENT. This Agreement, including all Ancillary Software +Licenses in the ANCILLARY SOFTWARE list, is the final, complete and exclusive +agreement between You and HP relating to the Product, and supersedes any +previous communications, representations, or agreements between the parties, +whether oral or written, regarding the subject matter hereof. Any additional +or different terms and conditions not expressly set forth herein will not +apply. This Agreement may not be changed except by an amendment signed by an +authorized representative of both You and HP. To the extent the terms of any +HP policies or programs for support services conflict with the terms of this +Agreement, the terms of this Agreement shall control. +18. WARRANTY + + a. NO ACTIVATION KEY REQUIRED SOFTWARE - AS-IS WARRANTY STATEMENT: + + DISCLAIMER. TO THE EXTENT ALLOWED BY APPLICABLE LAW, THIS PRODUCT AND +SUPPORT SERVICES, IF ANY, ARE PROVIDED TO YOU "AS IS" WITHOUT WARRANTIES OF +ANY KIND, WHETHER ORAL OR WRITTEN, EXPRESS OR IMPLIED. HP SPECIFICALLY +DISCLAIMS ANY IMPLIED WARRANTIES OF ANY KIND, INCLUDING WITHOUT LIMITATION, +WARRANTY OF MERCHANTABILITY, SATISFACTORY QUALITY, NON-INFRINGEMENT, TITLE, +ACCURACY OF INFORMATIONAL CONTENT, FITNESS FOR A PARTICULAR PURPOSE, ACCURACY +OR COMPLETENESS OF RESPONSES, RESULTS, OR WORKMANLIKE EFFORT, LACK OF VIRUSES, +AND LACK OF NEGLIGENCE, ALL WITH REGARD TO THE PRODUCT, AND THE PROVISION OF +OR FAILURE TO PROVIDE SUPPORT SERVICES. IN ADDITION, WITHOUT LIMITATION, +THERE IS NO WARRANTY OF QUIET ENJOYMENT, QUIET POSSESSION AND CORRESPONDENCE +TO DESCRIPTION WITH REGARD TO THE PRODUCT. YOU ASSUME THE ENTIRE RISK AS TO +THE RESULTS AND PERFORMANCE OF THE PRODUCT. NO ORAL OR WRITTEN INFORMATION OR +ADVICE GIVEN BY HP, HP"S AUTHORIZED REPRESENTATIVES, OR ANY OTHER PARTY SHALL +CREATE A WARRANTY OR AMEND THIS "AS IS" WARRANTY. Some jurisdictions do not +allow exclusions of implied warranties or conditions, so the above exclusion +may not apply to You to the extent prohibited by such local laws. You may have +other rights that vary from country to country, state to state, or province to +province. + + b. ACTIVATION KEY REQUIRED SOFTWARE - LIMITED WARRANTY. + +HP warrants that the Product will perform substantially in accordance with the +accompanying materials for a period of ninety (90) days from the date of +purchase. If an implied warranty or condition is created by Your +state/jurisdiction and federal or state/provincial law prohibits disclaimer of +it, You also have an implied warranty or condition, BUT ONLY AS TO DEFECTS FOR +WHICH CLAIMS ARE MADE WITHIN NINETY (90) DAYS FROM THE DATE OF PURCHASE. AS TO +ANY DEFECTS DISCOVERED FOR WHICH A CLAIM IS NOT MADE WITHIN THE NINETY-DAY +PERIOD, THERE IS NO WARRANTY OR CONDITION OF ANY KIND. +Some states/jurisdictions do not allow limitations on how long an implied +warranty or condition lasts, so the above limitation may not apply to You. + + DISCLAIMER. The Limited Warranty that appears above is the only +express warranty made to You and is provided in lieu of any other express +warranties or implied warrantees (if any) created by any documentation, +packaging or otherwise. EXCEPT FOR THE LIMITED WARRANTY, AND TO THE MAXIMUM +EXTENT PERMITTED BY APPLICABLE LAW, HP AND ITS SUPPLIERS PROVIDE THE PRODUCT +AND SUPPORT SERVICES (IF ANY) "AS IS" AND WITH ALL FAULTS, AND HEREBY DISCLAIM +ALL OTHER WARRANTIES AND CONDITIONS, EITHER EXPRESS, IMPLIED OR STATUTORY, +INCLUDING, BUT NOT LIMITED TO, ANY (IF ANY) IMPLIED WARRANTIES, DUTIES OR +CONDITIONS OF MERCHANTABILITY, OF FITNESS FOR A PARTICULAR PURPOSE, +SATISFACTORY QUALITY, NON-INFRINGEMENT OF TITLE, OF ACCURACY OR COMPLETENESS +OF RESPONSES, OF RESULTS, OF WORKMANLIKE EFFORT, OF LACK OF VIRUSES, AND OF +LACK OF NEGLIGENCE, ALL WITH REGARD TO THE PRODUCT, AND THE PROVISIONS OF OR +FAILURE TO PROVIDE SUPPORT SERVICES. ALSO, THERE IS NO WARRANTY OR CONDITION +OF TITLE, QUIET ENJOYMENT, QUIET POSSESSION, CORRESPONDENCE TO DESCRIPTION, +OR NON-INFRINGEMENT WITH REGARD TO THE PRODUCT. + +19. LIMITATION OF LIABILITY. + + a. FOR ALL SOFTWARE WHETHER OR NOT AN ACTIVATION KEY IS REQUIRED + +EXCEPT TO THE EXTENT PROHIBITED BY LOCAL LAW, IN NO EVENT WILL HP OR ITS +SUBSIDIARIES, AFFILIATES, DIRECTORS, OFFICERS, EMPLOYEES, AGENTS OR SUPPLIERS +BE LIABLE FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE, +OR OTHER DAMAGES (INCLUDING LOST PROFIT, LOST DATA, OR DOWNTIME COSTS) ARISING +OUT OF THE USE, THE INABILITY TO USE, OR THE RESULTS OF USE OF THE PRODUCT, +WHETHER BASED IN WARRANTY, CONTRACT, TORT OR OTHER LEGAL THEORY, AND WHETHER +OR NOT HP WAS ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. THE PRODUCT IS NOT +DESIGNED, MANUFACTURED OR INTENDED FOR USE IN THE PLANNING, CONSTRUCTION, +MAINTENANCE, OR OPERATION OF A NUCLEAR FACILITY, AIRCRAFT NAVIGATION OR +AIRCRAFT COMMUNICATION SYSTEMS, AIR TRAFFIC CONTROL, LIFE SUPPORT MACHINES, +OR WEAPONS SYSTEMS (COLLECTIVELY "HIGH RISK APPLICATIONS"). YOU ARE SOLELY +LIABLE IF THE PRODUCT IS USED FOR HIGH RISK APPLICATIONS, AND YOU SHALL +INDEMNIFY, DEFEND AND HOLD HP HARMLESS FROM ALL LOSS, DAMAGE, EXPENSE OR +LIABILITY IN CONNECTION WITH SUCH USE. YOU ASSUME THE ENTIRE RISK AS TO YOUR +USE OF THE PRODUCT. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR +LIMITATION OF LIABILITY FOR INCIDENTIAL OR CONSEQUENTIAL DAMAGES, SO THE ABOVE +LIMITATION MAY NOT APPLY TO YOU TO THE EXTENT PROHIBITED BY SUCH LOCAL LAWS. + + b. FOR SOFTWARE REQUIRING AN ACTIVATION KEY + +Notwithstanding any damages that You might incur for any reason whatsoever +(including, without limitation, all damages referenced above and all direct +or general damages), the entire liability of HP and any of its suppliers under +any provision of this EULA and Your exclusive remedy for all of the foregoing +(except for any remedy of repair or replacement if elected by HP with respect +to any breach of the Limited Warranty) shall be limited to the greater of the +amount actually paid by You for the Product or U.S. $5.00. The foregoing +limitations, exclusions and disclaimers (including Warranty above) shall apply +to the maximum extent permitted by applicable law, even if any remedy fails of +its essential purpose. + +REV08/51/03 End User License Agreement + +Files: debian/* +Copyright: Copyright (C) 2008-2012 Adam Cécile (Le_Vert) +Copyright: Copyright (C) 2016-2018 Mario Fetka (geos_one) +License: GPL-2.0+ + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + . + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see + . + On Debian systems, the complete text of the GNU General + Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". + + diff --git a/debian/dirs b/debian/dirs new file mode 100644 index 0000000..c810cec --- /dev/null +++ b/debian/dirs @@ -0,0 +1,2 @@ +usr/sbin +usr/lib/ssaducli diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..cb996f7 --- /dev/null +++ b/debian/docs @@ -0,0 +1 @@ +i386/opt/smartstorageadmin/ssaducli/*.TXT diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..bb8927e --- /dev/null +++ b/debian/rules @@ -0,0 +1,53 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +DESTDIR = $(CURDIR)/debian/ssaducli +DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH) + +build: build-arch build-indep +build-arch: +build-indep: + +clean: + dh_testdir + dh_testroot + dh_clean + +install: + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs +ifeq ($(DEB_BUILD_ARCH),i386) + install -D -m 755 $(CURDIR)/i386/opt/smartstorageadmin/ssaducli/bin/ssaducli \ + $(DESTDIR)/usr/lib/ssaducli/ssaducli.real +endif +ifeq ($(DEB_BUILD_ARCH),amd64) + install -D -m 755 $(CURDIR)/amd64/opt/smartstorageadmin/ssaducli/bin/ssaducli \ + $(DESTDIR)/usr/lib/ssaducli/ssaducli.real +endif + install -D -m 755 $(CURDIR)/debian/ssaducli.wrapper \ + $(DESTDIR)/usr/sbin/ssaducli + ln -sf ssaducli $(DESTDIR)/usr/sbin/hpssaducli + +binary-indep: build install +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs debian/upstream_changelog + dh_installdocs + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps -l$(DESTDIR)/usr/lib/ssaducli/ + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..d3827e7 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +1.0 diff --git a/debian/ssaducli.wrapper b/debian/ssaducli.wrapper new file mode 100644 index 0000000..009e806 --- /dev/null +++ b/debian/ssaducli.wrapper @@ -0,0 +1,6 @@ +#!/bin/sh +# +# This file is public domain. + +export LD_LIBRARY_PATH=/usr/lib/ssaducli:$LD_LIBRARY_PATH +/usr/lib/ssaducli/ssaducli.real $@ diff --git a/debian/upstream_changelog b/debian/upstream_changelog new file mode 100644 index 0000000..c93c578 --- /dev/null +++ b/debian/upstream_changelog @@ -0,0 +1,336 @@ +Version: 9.10.22.0 (4 Jun 2012) + Enhancements + - Added support for the following controllers: + * HP Dynamic Smart Array B120i + * HP Dynamic Smart Array B320i + * HP Smart Array P822 + - Now officially supporting and providing native X64 versions in addition + to existing 32 bit versions + - Added new features requiring a valid SAAP 2.0 (Smart Array Advanced Pack) license key: + * Replace Array: + Allows the transfer of contents of an array to an existing empty + array or a new array. All logical drives from the source array will + be transferred. The original array will be deleted and its data + drives will be freed as unassigned drives. The drive types at source + and destination arrays can be different. This allows moving data from + SATA to SAS, or SAS to SATA. However, the drive types comprising the + array must still be of the same type. + * Heal Array: + Allows the replacement of failed or degraded physical drives in an + array with healthy physical drives. The original array and logical + drive numbering will be unaffected after the replacement. The + replacement physical drives must be of the same interface type (such + as SAS, SATA and etc.) as the original drives. The operation will be + available only if enough unassigned physical drives of the correct + size are available. + +Version: 9.0.24.0 (27 Mar 2012) + Enhancements + - Added support for the following controllers: + * HP Smart Array P222 + * HP Smart Array P420 + * HP Smart Array P421 + * HP Smart Array P220i + * HP Smart Array P420i + - Added support for the following features/devices: + * Smart Array Advanced Pack 2.0 (SAAP 2.0): + SAAP 2.0 provides full SAAP 1.0 feature functionality with the + following additions: + - RAID 1/10 Advanced Data Mirroring (ADM) + - Moving and Deleting of Individual Logical Volumes + - Move operation now supports SATA to SAS, SAS to SATA + - Predictive Spare Activation + - > 128 physical drives + - SmartSSD Wear Gauge + - Updated Cache Ratio settings + - Additional Strip Sizes - 512, 1024 on supported controllers and + configurations + - Device Temperatures - Controllers, Capacitors, Cache Modules, and + Hard Drives + - Overall Performance improvements + - 3 TB physical drives + +Version: 8.75-12.0 (22 Jun 2011) + Enhancements + - *** New *** + Starting with versions 8.75.12.0, an Offline version of ACU is + available from http://www.hp.com/ that allows users to boot directly + into the configuration and maintenance utilities prior to any Host OS + loading or being installed. + . + This new deliverable of ACU is available for download through normal + software methods (such as searching by Server model, OS, or device) or + by searching for 'HP ProLiant Offline Array Configuration Utility' + - SmartSSD Wear Gauge + This feature is accessible through the ssdinfo command in ACUCLI + Example code: + show ssdinfo [detail|summary] + Provides a summary for solid state drives for the specified controller(s) + The target can be any valid controller/device + controller slot=1 show sddinfo + controller all show ssdinfo + controller all show ssdinfo detail + controller all show ssdinfo summary + - Greater than 2.2 TB Hard Drives + +Version: 8.70-8.0 (11 Mar 2011) + Enhancements + - Improved speed of Diagnostic report generation + - Supported serial logs included in the zip file of the Diagnositc + reports, when applicable + - New options available during creation of logical drive size + - Now showing current and max temperatures for physical drives + - Support for failed array controllers. The "ctrl all show" command will + list any locked up controllers along with valid controllers. For failed + controllers, a message will display explaining its state along with a + lockup code, if applicable + - Support for "-h" and "-help" commandline option + - HPACUSCRIPTING updates: + * Will not display array accelerator info in capture files for + controllers which do not have cache or the cache is not configurable. + Attempting to set the array accelerator on these controllers will + result in a warning message (not an error) + * Support for logical drive command "Size=MAXMBR". This option creates + the largest possible volume in an array with the maximum size + constrained by the limits of the 32bit MBR + * New keyword, SIZEBLOCKS. Input scripts can now specify size as before + using SIZE (size in MB) or SIZEBLOCKS (size in 512 byte blocks) but + not both + * Now displays the disk interface type in the comment section for physical + disks. + +Version: 8.61-1.0 (8 Feb 2011) + Fixes + - In version 8.60-8.0 of HPACUCLI, using the "show or detail commands" on + any target that includes physical drives can cause the application to + exit if one or more of the included physical drives are in a failed + state. + This release, 8.61-1.0, corrects this problem and allows the command to + complete successfully. + +Version: 8.60-8.0 (10 Sep 2010) + Enhancements + - Overall Performance improvements + * HPACUCLI as well as in HPACUSCRIPTING + - Surface Scan Analysis enhancements + * Disable + * High + * Idle + +Version: 8.50-6.0 (28 May 2010) + Enhancements + - Overall Performance improvements + - Physical drives in a SMART state are allowed to be used at user's + discretion + - Diagnostic Report additions: + * Parity group information for RAID 50 and RAID 60 logical drives + * Information for SEP devices and Expanders + * Updated Storage Enclosure names + - Applicable only with the appropriate SAAP License Key installed: + * The Move Array operation now allows the user to move an array to + physical drives that are smaller than the original physical drives, + provided that all the data in the existing logical drives will fit + into the new array + * The new drive set must have the same number of physical drives as + the existing drive set + - Added SEP devices and Expanders to "ctrl slot=X show config" and "ctrl + slot=X show config detail" commands + - Added an "OS Status" for logical drives to indicate if it is "locked" + by the OS + - Added display of Hardware Revision info for SAS Expander boards + * " enclosure all show detail" should be used in order to see + the field displayed + - Added support for being able to run ACUCLI in non-interactive mode for + read-only commands (show) even if ACU is running. For example: + # hpacucli ctrl all show + # hpacucli ctrl slot=1 pd all show status + - Added "exitonerror" feature which allows the application to exit upon + encountering any error during execution of a command. This feature is + useful for scripts invoking ACUCLI and the feature will allow scripts + to know that an error has occurred. + * The setting can also be invoked from the console as an application switch + Example: "hpacucli -exitonerror < myscript.txt" + * set [exitonerror=enable|disable] + Allows a script to decide whether an error encountered during execution + * show exitonerror + Displays the current exitonerror setting + - Added enclosure show support + * enclosure [ all | port:box | serialnumber=xxxx ] show [ detail | + status] + Outputs the storage enclosure information The target can be any + valid storage enclosure + Examples: + * controller slot=5 enclosure all show + * controller slot=5 enclosure 4E:1 show detail + * controller slot=5 enclosure serialnumber=UAB123456 show status + - Added support for the 'show' command to display devices in a logical or + physical format similar to the support in ACU (GUI) + * set [view=logical|physical] + - Allows the user to select whether certain show commands display the + output using a logical or physical view + - Logical view displays devices using their association with arrays + - Physical view displays the devices such as physical drives + according to their relationship with their storage enclosures + - The default value is logical view + * show view + - Displays the current view setting. + * Examples: + set view=physical + show view + - Added the capability to run multiple commands in command line mode + (non-interactive) + * The semicolon (";") is used as a delimiter between commands + * For example: + On LINUX, the semicolon must be escaped or in quotes + hpacucli "ctrl slot=1 show; ctrl slot=1 modify + drivewritecache=enable; ctrl slot=1 show" + - HPACUSCRIPTING Additions: + * Now shows an expanded usage message when invalid command line + arguments are provided + * Added feature to allow RAID=RAID1 for >2 disk mirrors. This + allows backwards compatibility with "old" cpqacuxe scripting. Capture + will still output correct RAID level + * Added AUTO as a valid option for QUEUEDEPTH + * Overall Performance improvements + * Added Controller=FIRST support. Controllers are now sorted in capture + files in slot ascending order + * Added additional controller information to errors and warnings to + better identify where problems occur in an input file + +Version: 8.40-4.0 (25 Feb 2010) + Enhancements + - Support for Smart Array P812 + +Version: 8.35-7.0 (28 Sep 2009) + Enhancements + - Changes for HPACUCLI 8.35.X.X: + * Now supports command line history and tab completion + +Version: 8.30-5.0 (14 Sep 2009) + Enhancements + - Changes for HPACUCLI 8.30.X.X: + * Enclosure View + +Version: 8.28-13.0 (6 May 2009) + Enhancements + - Changes for HPACUCLI 8.28.X.X: + * Command Line Diagnostics (ADUCLI) is now integrated with HPACUCLI + * Scripting for captures and inputs is now intergrated with HPACUCLI + This support was previously delivered with ACU + The scripting command has changed from cpqacuxe to hpacuscripting + +Version: 8.25.5 (19 Feb 2009) + Enhancements + - Added Support for the following Controllers: + * Smart Array P212 + * Smart Array P212 ZMR + * Smart Array P410 + * Smart Array P410 ZMR + * Smart Array P410i + * Smart Array P410i ZMR + * Smart Array P411 + * Smart Array P411 ZMR + * Smart Array B110i SATA RAID + - Additionally, added support for Advanced Pack + +Version: 8.20.18 (23 Jan 2009) + Enhancements + - Added Support for the following Controllers: + * Smart Array P212 + * Smart Array P212 ZMR + * Smart Array P410 + * Smart Array P410 ZMR + * Smart Array P411 + * Smart Array P411 ZMR + - Additionally, added support for Smart Array Advanced Pack + +Version: 8.10.2 (6 Jun 2008) + Fixes + - Fixed an issue related to an incorrect Background Parity Initialization + status being displayed for RAID 5 and RAID 6 Logical Drives + +Version: 8.0.14 (26 Feb 2008) + Enhancements + - Added Dual Domain Support for the HP Smart Array P800 Controller + - Added 512K Stripe Size for RAID 5 (only on the following controllers + with minimum FW 5.00): + * Smart Array E500 + * Smart Array P400/400i + * Smart Array P800 + +Version: 7.85.18 (24 Jul 2007) + Enhancements + - Enabled drive write cache for all SAS controllers + +Version: 7.80.6 (27 Apr 2007) + Enhancements + - Support SATA NCQ status. + +Version: 7.73.1 (26 Mar 2007) + Fixes + - The ACU CLI utility was modified to display a message informing + customers that a firmware update is required if firmware version 2.04 + is detected on a Smart Array P400, P400i, or P800 controller. + Enhancements + - Added support for the Smart Array E500 controller. + +Version: 7.70.12 (14 Dec 2006) + Enhancements + - Changed default RAID5 stripe size to 64K for MSA1000/1500 + - Added new stripe-sizes (128KB and 256KB) for the P400, P600 and P800 + controllers to allow migration of volumes from MSA20 to SAS + controllers. + +Version: 7.60.18 (25 Sep 2006) + Enhancements + - CLI now has two new show command parameters -> show [config] [detail]. + See help for usage. + +Version: 7.50.18 (13 Apr 2006) + Enhancements + - Added support for the following: + * Smart Array P400 Controller + * Smart Array P400i Controller + * Smart Array E200 Controller + * Smart Array E200i Controller + - Added support for over 2 TB on controllers that support it. + - Array accelerator options are disabled on controllers with zero memory. + - When using create, add drives, add spares, and remove spares, the user + can now specify drive ranges. Instead of "1:1,1:2,1:3,1:4" the user can + type "1:1-1:4". + - CLI now supports targeting a controller via the chassis serial number. + See help for additional usage information. + +Version: 7.40.7 (9 Sep 2005) + Enhancements + - Updated so RAID ADG is now referred to as RAID 6 (ADG). + +Version: 7.31.1 (24 Jun 2005) + Fixes + - Fixes a problem where specifying an array using the “drives” parameter + on the create logical drive operation could incorrectly result in + deletion of that array if the create operation fails. + +Version: 7.30.9 (4 May 2005) + Enhancements + - Added support for the following: + * Smart Array P600 controller. + - Active-Active on redundant controllers that support it. + +Version: 7.21.17 (28 Feb 2005) + Enhancements + - Added support for Red Hat Enterprise Linux 4. + +Version: 7.20.16 (14 Feb 2005) + Fixes + - Resolved issue where data in cache was found during reboot. + Enhancements + - Added support for the standbycontroller=disable command. + +Version: 7.17.1 (11 Dec 2004) + Fixes + - Corrected ACU CLI caches status messages to better correspond with ACU. + +Version: 7.15.19 (2 Sep 2004) + Enhancements + - Initial release. diff --git a/files.diz b/files.diz new file mode 100644 index 0000000..0aeef1b --- /dev/null +++ b/files.diz @@ -0,0 +1,2 @@ +amd64!ssaducli!2.60.18.0!ssaducli-2.60-18.0.x86_64.rpm!https://downloads.linux.hpe.com/SDR/repo/mcp/CentOS/6/x86_64/current/ssaducli-2.60-18.0.x86_64.rpm!9993d9febc38ba5a99ea5ea61b87e6fe +i386!ssaducli!2.60.18.0!ssaducli-2.60-18.0.i386.rpm!https://downloads.linux.hpe.com/SDR/repo/mcp/CentOS/6/i686/current/ssaducli-2.60-18.0.i386.rpm!6aab9ee65a0f033242217027fa05ae33