From 85a8b89a636d56f5a569ceb845a5e44007f19408 Mon Sep 17 00:00:00 2001 From: Reto Kaiser Date: Thu, 20 Mar 2014 16:30:29 +0100 Subject: [PATCH 1/6] Initial arcconf structure --- .../debian/arcconf-linux-64bit/README.source | 7 + .../debian/arcconf-linux-64bit/changelog | 5 + packaging/debian/arcconf-linux-64bit/compat | 1 + packaging/debian/arcconf-linux-64bit/control | 35 +++ .../debian/arcconf-linux-64bit/copyright | 215 ++++++++++++++++++ packaging/debian/arcconf-linux-64bit/dirs | 1 + packaging/debian/arcconf-linux-64bit/install | 1 + packaging/debian/arcconf-linux-64bit/rules | 58 +++++ 8 files changed, 323 insertions(+) create mode 100644 packaging/debian/arcconf-linux-64bit/README.source create mode 100644 packaging/debian/arcconf-linux-64bit/changelog create mode 100644 packaging/debian/arcconf-linux-64bit/compat create mode 100644 packaging/debian/arcconf-linux-64bit/control create mode 100644 packaging/debian/arcconf-linux-64bit/copyright create mode 100644 packaging/debian/arcconf-linux-64bit/dirs create mode 100644 packaging/debian/arcconf-linux-64bit/install create mode 100755 packaging/debian/arcconf-linux-64bit/rules diff --git a/packaging/debian/arcconf-linux-64bit/README.source b/packaging/debian/arcconf-linux-64bit/README.source new file mode 100644 index 0000000..af462f0 --- /dev/null +++ b/packaging/debian/arcconf-linux-64bit/README.source @@ -0,0 +1,7 @@ +arcconf-linux-64bit (1.5.20942) unstable; urgency=low + + Sources have been repacked from the following upstream archive: + + de7e676bdd9c04db8125d04086d9efd6 arcconf_v1_5_20942.zip + + -- Reto Kaiser (njam) Thu Mar 20 14:32:12 UTC 2014 diff --git a/packaging/debian/arcconf-linux-64bit/changelog b/packaging/debian/arcconf-linux-64bit/changelog new file mode 100644 index 0000000..63180d2 --- /dev/null +++ b/packaging/debian/arcconf-linux-64bit/changelog @@ -0,0 +1,5 @@ +arcconf (1.5.20942) unstable; urgency=low + + * New upstream release. + + -- Reto Kaiser (njam) Thu, 20 Mar 2014 09:00:00 +0200 diff --git a/packaging/debian/arcconf-linux-64bit/compat b/packaging/debian/arcconf-linux-64bit/compat new file mode 100644 index 0000000..7ed6ff8 --- /dev/null +++ b/packaging/debian/arcconf-linux-64bit/compat @@ -0,0 +1 @@ +5 diff --git a/packaging/debian/arcconf-linux-64bit/control b/packaging/debian/arcconf-linux-64bit/control new file mode 100644 index 0000000..d810d5e --- /dev/null +++ b/packaging/debian/arcconf-linux-64bit/control @@ -0,0 +1,35 @@ +Source: arcconf +Section: admin +Priority: optional +Maintainer: Adam Cécile (Le_Vert) +Build-Depends: debhelper (>= 5), libwrap0, libstdc++5, quilt +Homepage: http://www.adaptec.com/en-US/support/raid/sas_raid/SAS-5805Z/ +Standards-Version: 3.9.3 + +Package: arcconf +Architecture: amd64 +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Adaptec ARCCONF command line tool + . + Compatible Products: + Adaptec RAID 6405 + Adaptec RAID 6405E + Adaptec RAID 6405T + Adaptec RAID 6445 + Adaptec RAID 6805 + Adaptec RAID 6805E + Adaptec RAID 6805Q + Adaptec RAID 6805T + Adaptec RAID 6805TQ + Adaptec RAID 7805 + Adaptec RAID 7805Q + Adaptec RAID 78165 + Adaptec RAID 71605E + Adaptec RAID 71605 + Adaptec RAID 71605Q + Adaptec RAID 71685 + Adaptec RAID 72405 + Adaptec RAID 8805 + Adaptec RAID 8885 + Adaptec RAID 8885Q + Adaptec RAID 81605ZQ diff --git a/packaging/debian/arcconf-linux-64bit/copyright b/packaging/debian/arcconf-linux-64bit/copyright new file mode 100644 index 0000000..757468b --- /dev/null +++ b/packaging/debian/arcconf-linux-64bit/copyright @@ -0,0 +1,215 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: arcconf +Source: http://www.adaptec.com/en-us/speed/raid/storage_manager/arcconf_v1_5_20942_zip.htm + +Files: * +Copyright: Copyright (C) 2003-2012 Adaptec by PMC +License: Proprietary + ADAPTEC, INC. + DOWNLOADABLE SOFTWARE LICENSE + . + This License is granted by Adaptec, Inc., referred to in this License as + "ADAPTEC" or "we" or "us." ADAPTEC reserves the right to record all + activities and to use any information obtained in accordance with the + privacy policy which you can access below. + . + Directions to Obtain Your File: + . + CAREFULLY READ THE FOLLOWING TERMS AND CONDITIONS AS WELL AS THE EXPORT + COMPLIANCE REQUIREMENTS SET OUT BELOW. YOU MUST ANSWER THE REQUIRED + QUESTION TRUTHFULLY TO LET US KNOW WHETHER YOU HAVE READ AND UNDERSTOOD THE + TERMS AND CONDITIONS AND EXPORT COMPLIANCE REQUIREMENTS AND WHETHER YOU + AGREE TO COMPLY. YOU MUST CLICK A FURTHER BUTTON TO CONFIRM YOUR ANSWER AND + IF YOU ANSWER IN THE AFFIRMATIVE, A BINDING LICENSE AGREEMENT ("LICENSE") + WILL BE CONCLUDED BETWEEN US. YOU MAY THEN PROCEED TO DOWNLOAD THE SOFTWARE. + . + IF YOU DO NOT AGREE TO THESE TERMS, CONDITIONS, AND EXPORT COMPLIANCE + REQUIREMENTS THEN DO NOT DOWNLOAD THE SOFTWARE. IF YOU WISH TO CANCEL THIS + LICENSE AT ANY TIME YOU MAY DO SO BY DESTROYING ALL COPIES AND PARTIAL + COPIES OF THE SOFTWARE WHICH YOU HAVE DOWNLOADED. + . + YOU ALSO AGREE THAT YOU HAVE ALL NECESSARY INFORMATION IN ORDER TO ENTER + INTO THIS LICENSE WHETHER UNDER AN APPLICABLE EUROPEAN E-COMMERCE DIRECTIVE + OR OTHERWISE. IF YOU DO NOT AGREE TO THESE TERMS, CONDITIONS, AND + REQUIREMENTS, DO NOT DOWNLOAD ANY FILES. + . + Please retain a copy of the License for your files or you may contact + ADAPTEC's Legal Department at the address listed below for a further copy. + This license may be concluded in English or the language in which it is + drafted by ADAPTEC and appears to you online, as applicable. If you are a + consumer residing in Europe (a "European Consumer") then this License shall + not affect your statutory rights under the local laws in Europe. + . + This License grants you a non-exclusive license to use the ADAPTEC Software + and related documentation ("Software") on the following terms, conditions, + and export compliance requirements: + . + If you are NOT an individual consumer residing in Europe then the following + terms, conditions and export compliance requirements apply and are a part + of your license: ALL SECTIONS EXCEPT AS SPECIFIED HEREIN. + . + If you are an individual consumer residing in Europe ("European Consumer") + then the following terms, conditions and export compliance requirements + apply and are made part of your License: 1, 2, 3, 4, applicable parts of 6, + 7, 9 and the first paragraph of export compliance. IF YOU ARE A EUROPEAN + CONSUMER THIS LICENSE SHALL NOT AFFECT YOUR RIGHTS UNDER THE STATUTORY LAWS + OF EUROPE. + . + Your right to use the Software.You may use the Software in machine readable + form (i.e. the form you download from us) within a single working location. + You may copy the Software in the same form solely for back-up purposes or + use within a single working location. You must reproduce ADAPTEC's + copyright notice and proprietary legends. These requirements apply to + European Consumers. + . + Restrictions. This Software contains trade secrets and in order to protect + them you may not: (1) distribute copies of the Software in any manner, + including, but not limited to, distribution through web site posting; (2) + decompile, reverse engineer, disassemble, or otherwise reduce the Software + to a human perceivable form; (3) MODIFY, ADAPT OR TRANSLATE THE SOFTWARE + INTO ANY OTHER FORM; (4) RENT, LEASE, LOAN, RESELL FOR PROFIT, OR CREATE + DERIVATIVE WORKS BASED UPON THE SOFTWARE OR ANY PART OF IT. These + requirements apply to European Consumers. + . + Ownership. The Software is copyrighted by, proprietary to and a trade + secret of ADAPTEC. ADAPTEC retains the title, ownership and intellectual + property rights in and to the Software and all subsequent copies regardless + of the form or media. The Software is protected by the copyright laws of + the United States, the European Union, and international copyright + treaties. This License is not a sale of the Software. These terms apply to + European consumers. + . + Termination. This License is effective until terminated. This License will + terminate automatically without notice if you fail to comply with any of + the provisions. Upon termination you shall destroy all copies of the + Software including any partial copies. This provision applies to European + Consumers. + . + Disclaimer of Warranty. IF YOU ARE A EUROPEAN CONSUMER THEN THIS SECTION 5 + DOES NOT APPLY TO YOU AND DOES NOT FORM PART OF YOUR LICENSE WITH US. + PROCEED TO SECTION 6. THE SOFTWARE IS LICENSED TO YOU "AS IS." YOU ACCEPT + ALL RISKS WHICH MAY ARISE FROM THE DOWNLOADING OF THE SOFTWARE, INCLUDING + BUT NOT LIMITED TO ERRORS IN TRANSMISSION OR CORRUPTION OF EXISTING DATA OR + SOFTWARE. ADAPTEC MAKES NO WARRANTIES, EXPRESS OR IMPLIED, AND SPECIFICALLY + DISCLAIMS ANY WARRANTY OF NON INFRINGEMENT OF THIRD PARTIES' RIGHTS, + WARRANTIES OF SATISFACTORY QUALITY AND OF FITNESS FOR A PARTICULAR PURPOSE. + Some states do not allow the exclusion of implied warranties or limitations + of how long an implied warranty may last, so the above exclusion may not + apply to you. You may also have other rights which vary from state to state. + . + Limitation of Liability. FOR EUROPEAN CONSUMERS: WE WILL NOT BE LIABLE TO + YOU WHERE YOU SUFFER LOSS WHICH WAS NOT FORESEEABLE TO YOU AND TO US WHEN + YOU DOWNLOADED THE SOFTWARE (EVEN IF IT RESULTS FROM OUR FAILURE TO COMPLY + WITH THIS LICENSE OR OUR NEGLIGENCE); WHERE YOU SUFFER ANY BUSINESS LOSS + INCLUDING LOSS OF REVENUE, PROFITS OR ANTICIPATED SAVINGS (WHETHER THOSE + LOSSES ARE THE DIRECT OR INDIRECT RESULT OF OUR DEFAULT); OR WHERE YOUR + LOSS DOES NOT RESULT FROM OUR FAILURE TO COMPLY WITH THIS LICENSE OR OUR + NEGLIGENCE. THE SOFTWARE HAS BEEN MADE AVAILABLE TO YOU FREE OF CHARGE. YOU + MAY AT ANY TIME DOWNLOAD A FURTHER COPY OF THE SOFTWARE FREE OF CHARGE TO + REPLACE YOUR ORIGINAL COPY OF THE SOFTWARE (CONSEQUENTLY, WE AND OUR + SUPPLIERS WILL ONLY BE LIABLE TO YOU UP TO A MAXIMUM TOTAL LIMIT OF TWO + THOUSAND DOLLARS U.S. OR ITS EURO EQUIVALENT AT THE TIME A CLAIM IS MADE). + OUR MAXIMUM FINANCIAL RESPONSIBILITY TO YOU AND THAT OF OUR SUPPLIERS WILL + NOT EXCEED THIS LIMIT EVEN IF THE ACTUAL LOSS YOU SUFFER IS MORE THAN THAT. + HOWEVER, NOTHING IN THIS LICENSE SHALL RESTRICT ANY PARTY'S LIABILITY FOR + FRAUD, DEATH OR PERSONAL INJURY ARISING FROM ITS NEGLIGENCE OR FOR FRAUD OR + ANY FRAUDULENT MISREPRESENTATION. + . + ALL OTHERS DOWNLOADING THE SOFTWARE: THE SOFTWARE IS PROVIDED FREE OF + CHARGE TO YOU, THEREFORE UNDER NO CIRCUMSTANCES EXCEPT AS DESCRIBED HEREIN + AND UNDER NO LEGAL THEORY, TORT (INCLUDING NEGLIGENCE), CONTRACT, OR + OTHERWISE, SHALL ADAPTEC OR ITS SUPPLIERS OR RESELLERS BE LIABLE TO YOU OR + ANY OTHER PERSON FOR ANY ECONOMIC LOSS (INCLUDING LOSS OF PROFIT) OR FOR + ANY LOSS OF DATA, LOSS OF BUSINESS, LOSS OF GOODWILL, LOSS OF ANTICIPATED + SAVINGS (IN EACH CASE WHETHER DIRECT OR INDIRECT) OR FOR ANY OTHER DIRECT + OR INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER + EVEN IF ADAPTEC SHALL HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + HOWEVER, NOTHING IN THIS LICENSE SHALL RESTRICT ANY PARTY'S LIABILITY FOR + FRAUD, DEATH OR PERSONAL INJURY ARISING FROM ITS NEGLIGENCE OR FOR FRAUD OR + ANY FRAUDULENT MISREPRESENTATION. + . + Export. By downloading, you acknowledge that the laws and regulations of + the United States and relevant countries within the European Union, + restrict the export and re-export of the Software. Further, you agree that + you will not export or re-export the Software or media in any form without + the appropriate United States and foreign government approval. If you are a + European Consumer you must not export Software outside the country in which + you download it without our prior written permission. (See below for + details on Export Compliance Requirements.) + . + U.S. Government Restricted Rights. IF YOU ARE A EUROPEAN CONSUMER THEN THIS + CLAUSE WILL NOT APPLY TO YOU AND DOES NOT FORM PART OF YOUR LICENSE + AGREEMENT WITH US. PLEASE PROCEED TO SECTION 9. If the Software is acquired + under the terms of a United States GSA contract, use, reproduction or + disclosure is subject to the restrictions set forth in the applicable ADP + Schedule contract. If the Software is acquired under the terms of a DoD or + civilian agency contract, use, duplication or disclosure by the Government + is subject to the restrictions of this License in accordance with 48 C.F.R. + 12.212 of the Federal Acquisition Regulations and its successors and 48 + C.F.R. 227.7202-1 of the DoD FAR Supplement and its successors. (See below + for details on Export Compliance Requirements.) + . + General. California residents entered into and to be performed within + California, except as governed by Federal law. Should any provision of this + License be declared unenforceable in any jurisdiction, then such provision + shall be deemed to be severable from this License and shall not affect the + remainder hereof. All rights in the Software not specifically granted in + this License are reserved by Adaptec. + . + EXPORT COMPLIANCE REQUIREMENTS + . + Export of any information from the Adaptec web site (including Confidential + Information obtained through Adaptec Access) outside of the United States + is subject to all U.S. export control laws. You will abide by such laws and + also to the provision of the U.S. Export-Re-export Requirements and + Enhanced Proliferation Control Initiative set forth here. You and your + organization will not sell, license, or otherwise provide or ship Adaptec + products or technical data (or the direct product thereof) for export or + re-export to the embargoed or restricted* countries listed below: + . + Afghanistan (Taliban controlled area), Cuba, Iran, Iraq, North Korea*, + Sudan, and Syria* + . + You agree not to transfer, export or re-export Adaptec products, technology + or software to your customers or any intermediate entity in the chain of + supply if our products will be used in the design, development, production, + stockpiling or use of missiles, chemical or biological weapons or for + nuclear end uses without obtaining prior authorization from the U.S. + Government. + . + You also agree that unless you receive prior authorization from the U.S. + Department of Commerce, you shall not transfer, export or re-export, + directly or indirectly, any Adaptec technology or software (or the direct + product of such technology or software or any part thereof, or any process + or service which is the direct product of such technology or software) to + any Sanctioned and/or Embargoed entity listed on: + . + http://www.bis.doc.gov/ComplianceAndEnforcement/ListsToCheck.htm + . + If you have any questions concerning this License, contact: + . + Adaptec, Inc. + Legal Department + 691 South Milpitas Boulevard + Milpitas, California 95035 + +Files: debian/* +Copyright: Copyright (C) 2008-2012 Adam Cécile (Le_Vert) +License: GPL-2.0+ + +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/packaging/debian/arcconf-linux-64bit/dirs b/packaging/debian/arcconf-linux-64bit/dirs new file mode 100644 index 0000000..236670a --- /dev/null +++ b/packaging/debian/arcconf-linux-64bit/dirs @@ -0,0 +1 @@ +usr/sbin diff --git a/packaging/debian/arcconf-linux-64bit/install b/packaging/debian/arcconf-linux-64bit/install new file mode 100644 index 0000000..06e5e8c --- /dev/null +++ b/packaging/debian/arcconf-linux-64bit/install @@ -0,0 +1 @@ +linux_x64/cmdline/arcconf usr/sbin diff --git a/packaging/debian/arcconf-linux-64bit/rules b/packaging/debian/arcconf-linux-64bit/rules new file mode 100755 index 0000000..91d464e --- /dev/null +++ b/packaging/debian/arcconf-linux-64bit/rules @@ -0,0 +1,58 @@ +#!/usr/bin/make -f + +# Quilt patch system +include /usr/share/quilt/quilt.make + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# Example: +# debian/rules repack FILE=../repack/arcconf_v1_5_20942.zip +repack: + BASE_NAME=linux_x64 &&\ + ABS_FILE=`readlink -f $(FILE)` &&\ + TMP_DIR=`mktemp -d` &&\ + cd $$TMP_DIR && unzip $$ABS_FILE + #mv $$TMP_DIR/$$BASE_NAME/cmdline/arcconf $(CURDIR)/ + +build: build-arch build-indep patch +build-arch: +build-indep: + +clean: unpatch + dh_testdir + dh_testroot + dh_clean + +install: + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + wget http://download.adaptec.com/raid/storage_manager/arcconf_v1_5_20942.zip + unzip arcconf_v1_5_20942.zip + install -D -m 755 linux_x64/cmdline/arcconf $(CURDIR)/cmdline/arcconf + dh_install + +binary-indep: build install +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installinit -Nadaptec-universal-storage-snmpd + # Priority 21, so it will start after snmpd + dh_installinit -padaptec-universal-storage-snmpd -- defaults 21 + dh_link + dh_compress + dh_fixperms + dh_makeshlibs + dh_strip + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-arch binary-indep +.PHONY: build clean binary-indep binary-arch binary install From 8b7baad5c9982d3efedab7e295812808e916bb74 Mon Sep 17 00:00:00 2001 From: Reto Kaiser Date: Thu, 20 Mar 2014 16:33:07 +0100 Subject: [PATCH 2/6] Remove repack rule --- packaging/debian/arcconf-linux-64bit/rules | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/packaging/debian/arcconf-linux-64bit/rules b/packaging/debian/arcconf-linux-64bit/rules index 91d464e..d91a10d 100755 --- a/packaging/debian/arcconf-linux-64bit/rules +++ b/packaging/debian/arcconf-linux-64bit/rules @@ -6,19 +6,6 @@ include /usr/share/quilt/quilt.make # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 -# Example: -# debian/rules repack FILE=../repack/arcconf_v1_5_20942.zip -repack: - BASE_NAME=linux_x64 &&\ - ABS_FILE=`readlink -f $(FILE)` &&\ - TMP_DIR=`mktemp -d` &&\ - cd $$TMP_DIR && unzip $$ABS_FILE - #mv $$TMP_DIR/$$BASE_NAME/cmdline/arcconf $(CURDIR)/ - -build: build-arch build-indep patch -build-arch: -build-indep: - clean: unpatch dh_testdir dh_testroot From 6191003931e7aa6cebe6064f3c79696c42228ef7 Mon Sep 17 00:00:00 2001 From: Reto Kaiser Date: Thu, 20 Mar 2014 17:29:34 +0100 Subject: [PATCH 3/6] Check for source zip before downloading, don't use shlib deps --- packaging/debian/arcconf-linux-64bit/control | 2 +- packaging/debian/arcconf-linux-64bit/rules | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/packaging/debian/arcconf-linux-64bit/control b/packaging/debian/arcconf-linux-64bit/control index d810d5e..d13e49d 100644 --- a/packaging/debian/arcconf-linux-64bit/control +++ b/packaging/debian/arcconf-linux-64bit/control @@ -8,7 +8,7 @@ Standards-Version: 3.9.3 Package: arcconf Architecture: amd64 -Depends: ${shlibs:Depends}, ${misc:Depends} +Depends: ${misc:Depends} Description: Adaptec ARCCONF command line tool . Compatible Products: diff --git a/packaging/debian/arcconf-linux-64bit/rules b/packaging/debian/arcconf-linux-64bit/rules index d91a10d..df78cd1 100755 --- a/packaging/debian/arcconf-linux-64bit/rules +++ b/packaging/debian/arcconf-linux-64bit/rules @@ -16,8 +16,8 @@ install: dh_testroot dh_clean -k dh_installdirs - wget http://download.adaptec.com/raid/storage_manager/arcconf_v1_5_20942.zip - unzip arcconf_v1_5_20942.zip + test -e arcconf_v1_5_20942.zip || wget http://download.adaptec.com/raid/storage_manager/arcconf_v1_5_20942.zip + unzip -o arcconf_v1_5_20942.zip install -D -m 755 linux_x64/cmdline/arcconf $(CURDIR)/cmdline/arcconf dh_install @@ -33,10 +33,8 @@ binary-arch: build install dh_link dh_compress dh_fixperms - dh_makeshlibs dh_strip dh_installdeb - dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb From fe1fd2756f07d3f663f0402fa1cfdc34d5b4cddc Mon Sep 17 00:00:00 2001 From: Reto Kaiser Date: Thu, 20 Mar 2014 17:33:40 +0100 Subject: [PATCH 4/6] Add note about upstream license --- packaging/debian/arcconf-linux-64bit/README.source | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/packaging/debian/arcconf-linux-64bit/README.source b/packaging/debian/arcconf-linux-64bit/README.source index af462f0..b731e3c 100644 --- a/packaging/debian/arcconf-linux-64bit/README.source +++ b/packaging/debian/arcconf-linux-64bit/README.source @@ -4,4 +4,11 @@ arcconf-linux-64bit (1.5.20942) unstable; urgency=low de7e676bdd9c04db8125d04086d9efd6 arcconf_v1_5_20942.zip + Upstream licence has been reformated using the following command: + + cat /tmp/1 | sed 's!$!\n!' | \ + sed "s|Bureau of Industry and Security's Lists to Check|http://www.bis.doc.gov/ComplianceAndEnforcement/ListsToCheck.htm|" | \ + awk 'NR==1 || NF || prvNF {print} {prvNF=NF}' | sed 's!^$!.!' | \ + vim - -c '%!fold -s -w76' -c '%s/^/ /' + -- Reto Kaiser (njam) Thu Mar 20 14:32:12 UTC 2014 From 0693854ab9a5921df5a4fb5085c74d6df92d8029 Mon Sep 17 00:00:00 2001 From: Reto Kaiser Date: Thu, 20 Mar 2014 18:19:59 +0100 Subject: [PATCH 5/6] Add 32bit version of arcconf --- .../debian/arcconf-linux-32bit/README.source | 14 ++ .../debian/arcconf-linux-32bit/changelog | 5 + packaging/debian/arcconf-linux-32bit/compat | 1 + packaging/debian/arcconf-linux-32bit/control | 35 +++ .../debian/arcconf-linux-32bit/copyright | 215 ++++++++++++++++++ packaging/debian/arcconf-linux-32bit/dirs | 1 + packaging/debian/arcconf-linux-32bit/install | 1 + packaging/debian/arcconf-linux-32bit/rules | 43 ++++ .../debian/arcconf-linux-64bit/changelog | 2 +- packaging/debian/arcconf-linux-64bit/control | 2 +- 10 files changed, 317 insertions(+), 2 deletions(-) create mode 100644 packaging/debian/arcconf-linux-32bit/README.source create mode 100644 packaging/debian/arcconf-linux-32bit/changelog create mode 100644 packaging/debian/arcconf-linux-32bit/compat create mode 100644 packaging/debian/arcconf-linux-32bit/control create mode 100644 packaging/debian/arcconf-linux-32bit/copyright create mode 100644 packaging/debian/arcconf-linux-32bit/dirs create mode 100644 packaging/debian/arcconf-linux-32bit/install create mode 100755 packaging/debian/arcconf-linux-32bit/rules diff --git a/packaging/debian/arcconf-linux-32bit/README.source b/packaging/debian/arcconf-linux-32bit/README.source new file mode 100644 index 0000000..68bdf13 --- /dev/null +++ b/packaging/debian/arcconf-linux-32bit/README.source @@ -0,0 +1,14 @@ +arcconf-linux-32bit (1.5.20942) unstable; urgency=low + + Sources have been repacked from the following upstream archive: + + de7e676bdd9c04db8125d04086d9efd6 arcconf_v1_5_20942.zip + + Upstream licence has been reformated using the following command: + + cat /tmp/1 | sed 's!$!\n!' | \ + sed "s|Bureau of Industry and Security's Lists to Check|http://www.bis.doc.gov/ComplianceAndEnforcement/ListsToCheck.htm|" | \ + awk 'NR==1 || NF || prvNF {print} {prvNF=NF}' | sed 's!^$!.!' | \ + vim - -c '%!fold -s -w76' -c '%s/^/ /' + + -- Reto Kaiser (njam) Thu Mar 20 14:32:12 UTC 2014 diff --git a/packaging/debian/arcconf-linux-32bit/changelog b/packaging/debian/arcconf-linux-32bit/changelog new file mode 100644 index 0000000..1915a87 --- /dev/null +++ b/packaging/debian/arcconf-linux-32bit/changelog @@ -0,0 +1,5 @@ +arcconf-32bit (1.5.20942) unstable; urgency=low + + * New upstream release. + + -- Reto Kaiser (njam) Thu, 20 Mar 2014 09:00:00 +0200 diff --git a/packaging/debian/arcconf-linux-32bit/compat b/packaging/debian/arcconf-linux-32bit/compat new file mode 100644 index 0000000..7ed6ff8 --- /dev/null +++ b/packaging/debian/arcconf-linux-32bit/compat @@ -0,0 +1 @@ +5 diff --git a/packaging/debian/arcconf-linux-32bit/control b/packaging/debian/arcconf-linux-32bit/control new file mode 100644 index 0000000..5c36345 --- /dev/null +++ b/packaging/debian/arcconf-linux-32bit/control @@ -0,0 +1,35 @@ +Source: arcconf-32bit +Section: admin +Priority: optional +Maintainer: Adam Cécile (Le_Vert) +Build-Depends: debhelper (>= 5), libwrap0, libstdc++5, quilt +Homepage: http://www.adaptec.com/en-US/support/raid/sas_raid/SAS-5805Z/ +Standards-Version: 3.9.3 + +Package: arcconf +Architecture: i386 +Depends: ${misc:Depends} +Description: Adaptec ARCCONF command line tool + . + Compatible Products: + Adaptec RAID 6405 + Adaptec RAID 6405E + Adaptec RAID 6405T + Adaptec RAID 6445 + Adaptec RAID 6805 + Adaptec RAID 6805E + Adaptec RAID 6805Q + Adaptec RAID 6805T + Adaptec RAID 6805TQ + Adaptec RAID 7805 + Adaptec RAID 7805Q + Adaptec RAID 78165 + Adaptec RAID 71605E + Adaptec RAID 71605 + Adaptec RAID 71605Q + Adaptec RAID 71685 + Adaptec RAID 72405 + Adaptec RAID 8805 + Adaptec RAID 8885 + Adaptec RAID 8885Q + Adaptec RAID 81605ZQ diff --git a/packaging/debian/arcconf-linux-32bit/copyright b/packaging/debian/arcconf-linux-32bit/copyright new file mode 100644 index 0000000..757468b --- /dev/null +++ b/packaging/debian/arcconf-linux-32bit/copyright @@ -0,0 +1,215 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: arcconf +Source: http://www.adaptec.com/en-us/speed/raid/storage_manager/arcconf_v1_5_20942_zip.htm + +Files: * +Copyright: Copyright (C) 2003-2012 Adaptec by PMC +License: Proprietary + ADAPTEC, INC. + DOWNLOADABLE SOFTWARE LICENSE + . + This License is granted by Adaptec, Inc., referred to in this License as + "ADAPTEC" or "we" or "us." ADAPTEC reserves the right to record all + activities and to use any information obtained in accordance with the + privacy policy which you can access below. + . + Directions to Obtain Your File: + . + CAREFULLY READ THE FOLLOWING TERMS AND CONDITIONS AS WELL AS THE EXPORT + COMPLIANCE REQUIREMENTS SET OUT BELOW. YOU MUST ANSWER THE REQUIRED + QUESTION TRUTHFULLY TO LET US KNOW WHETHER YOU HAVE READ AND UNDERSTOOD THE + TERMS AND CONDITIONS AND EXPORT COMPLIANCE REQUIREMENTS AND WHETHER YOU + AGREE TO COMPLY. YOU MUST CLICK A FURTHER BUTTON TO CONFIRM YOUR ANSWER AND + IF YOU ANSWER IN THE AFFIRMATIVE, A BINDING LICENSE AGREEMENT ("LICENSE") + WILL BE CONCLUDED BETWEEN US. YOU MAY THEN PROCEED TO DOWNLOAD THE SOFTWARE. + . + IF YOU DO NOT AGREE TO THESE TERMS, CONDITIONS, AND EXPORT COMPLIANCE + REQUIREMENTS THEN DO NOT DOWNLOAD THE SOFTWARE. IF YOU WISH TO CANCEL THIS + LICENSE AT ANY TIME YOU MAY DO SO BY DESTROYING ALL COPIES AND PARTIAL + COPIES OF THE SOFTWARE WHICH YOU HAVE DOWNLOADED. + . + YOU ALSO AGREE THAT YOU HAVE ALL NECESSARY INFORMATION IN ORDER TO ENTER + INTO THIS LICENSE WHETHER UNDER AN APPLICABLE EUROPEAN E-COMMERCE DIRECTIVE + OR OTHERWISE. IF YOU DO NOT AGREE TO THESE TERMS, CONDITIONS, AND + REQUIREMENTS, DO NOT DOWNLOAD ANY FILES. + . + Please retain a copy of the License for your files or you may contact + ADAPTEC's Legal Department at the address listed below for a further copy. + This license may be concluded in English or the language in which it is + drafted by ADAPTEC and appears to you online, as applicable. If you are a + consumer residing in Europe (a "European Consumer") then this License shall + not affect your statutory rights under the local laws in Europe. + . + This License grants you a non-exclusive license to use the ADAPTEC Software + and related documentation ("Software") on the following terms, conditions, + and export compliance requirements: + . + If you are NOT an individual consumer residing in Europe then the following + terms, conditions and export compliance requirements apply and are a part + of your license: ALL SECTIONS EXCEPT AS SPECIFIED HEREIN. + . + If you are an individual consumer residing in Europe ("European Consumer") + then the following terms, conditions and export compliance requirements + apply and are made part of your License: 1, 2, 3, 4, applicable parts of 6, + 7, 9 and the first paragraph of export compliance. IF YOU ARE A EUROPEAN + CONSUMER THIS LICENSE SHALL NOT AFFECT YOUR RIGHTS UNDER THE STATUTORY LAWS + OF EUROPE. + . + Your right to use the Software.You may use the Software in machine readable + form (i.e. the form you download from us) within a single working location. + You may copy the Software in the same form solely for back-up purposes or + use within a single working location. You must reproduce ADAPTEC's + copyright notice and proprietary legends. These requirements apply to + European Consumers. + . + Restrictions. This Software contains trade secrets and in order to protect + them you may not: (1) distribute copies of the Software in any manner, + including, but not limited to, distribution through web site posting; (2) + decompile, reverse engineer, disassemble, or otherwise reduce the Software + to a human perceivable form; (3) MODIFY, ADAPT OR TRANSLATE THE SOFTWARE + INTO ANY OTHER FORM; (4) RENT, LEASE, LOAN, RESELL FOR PROFIT, OR CREATE + DERIVATIVE WORKS BASED UPON THE SOFTWARE OR ANY PART OF IT. These + requirements apply to European Consumers. + . + Ownership. The Software is copyrighted by, proprietary to and a trade + secret of ADAPTEC. ADAPTEC retains the title, ownership and intellectual + property rights in and to the Software and all subsequent copies regardless + of the form or media. The Software is protected by the copyright laws of + the United States, the European Union, and international copyright + treaties. This License is not a sale of the Software. These terms apply to + European consumers. + . + Termination. This License is effective until terminated. This License will + terminate automatically without notice if you fail to comply with any of + the provisions. Upon termination you shall destroy all copies of the + Software including any partial copies. This provision applies to European + Consumers. + . + Disclaimer of Warranty. IF YOU ARE A EUROPEAN CONSUMER THEN THIS SECTION 5 + DOES NOT APPLY TO YOU AND DOES NOT FORM PART OF YOUR LICENSE WITH US. + PROCEED TO SECTION 6. THE SOFTWARE IS LICENSED TO YOU "AS IS." YOU ACCEPT + ALL RISKS WHICH MAY ARISE FROM THE DOWNLOADING OF THE SOFTWARE, INCLUDING + BUT NOT LIMITED TO ERRORS IN TRANSMISSION OR CORRUPTION OF EXISTING DATA OR + SOFTWARE. ADAPTEC MAKES NO WARRANTIES, EXPRESS OR IMPLIED, AND SPECIFICALLY + DISCLAIMS ANY WARRANTY OF NON INFRINGEMENT OF THIRD PARTIES' RIGHTS, + WARRANTIES OF SATISFACTORY QUALITY AND OF FITNESS FOR A PARTICULAR PURPOSE. + Some states do not allow the exclusion of implied warranties or limitations + of how long an implied warranty may last, so the above exclusion may not + apply to you. You may also have other rights which vary from state to state. + . + Limitation of Liability. FOR EUROPEAN CONSUMERS: WE WILL NOT BE LIABLE TO + YOU WHERE YOU SUFFER LOSS WHICH WAS NOT FORESEEABLE TO YOU AND TO US WHEN + YOU DOWNLOADED THE SOFTWARE (EVEN IF IT RESULTS FROM OUR FAILURE TO COMPLY + WITH THIS LICENSE OR OUR NEGLIGENCE); WHERE YOU SUFFER ANY BUSINESS LOSS + INCLUDING LOSS OF REVENUE, PROFITS OR ANTICIPATED SAVINGS (WHETHER THOSE + LOSSES ARE THE DIRECT OR INDIRECT RESULT OF OUR DEFAULT); OR WHERE YOUR + LOSS DOES NOT RESULT FROM OUR FAILURE TO COMPLY WITH THIS LICENSE OR OUR + NEGLIGENCE. THE SOFTWARE HAS BEEN MADE AVAILABLE TO YOU FREE OF CHARGE. YOU + MAY AT ANY TIME DOWNLOAD A FURTHER COPY OF THE SOFTWARE FREE OF CHARGE TO + REPLACE YOUR ORIGINAL COPY OF THE SOFTWARE (CONSEQUENTLY, WE AND OUR + SUPPLIERS WILL ONLY BE LIABLE TO YOU UP TO A MAXIMUM TOTAL LIMIT OF TWO + THOUSAND DOLLARS U.S. OR ITS EURO EQUIVALENT AT THE TIME A CLAIM IS MADE). + OUR MAXIMUM FINANCIAL RESPONSIBILITY TO YOU AND THAT OF OUR SUPPLIERS WILL + NOT EXCEED THIS LIMIT EVEN IF THE ACTUAL LOSS YOU SUFFER IS MORE THAN THAT. + HOWEVER, NOTHING IN THIS LICENSE SHALL RESTRICT ANY PARTY'S LIABILITY FOR + FRAUD, DEATH OR PERSONAL INJURY ARISING FROM ITS NEGLIGENCE OR FOR FRAUD OR + ANY FRAUDULENT MISREPRESENTATION. + . + ALL OTHERS DOWNLOADING THE SOFTWARE: THE SOFTWARE IS PROVIDED FREE OF + CHARGE TO YOU, THEREFORE UNDER NO CIRCUMSTANCES EXCEPT AS DESCRIBED HEREIN + AND UNDER NO LEGAL THEORY, TORT (INCLUDING NEGLIGENCE), CONTRACT, OR + OTHERWISE, SHALL ADAPTEC OR ITS SUPPLIERS OR RESELLERS BE LIABLE TO YOU OR + ANY OTHER PERSON FOR ANY ECONOMIC LOSS (INCLUDING LOSS OF PROFIT) OR FOR + ANY LOSS OF DATA, LOSS OF BUSINESS, LOSS OF GOODWILL, LOSS OF ANTICIPATED + SAVINGS (IN EACH CASE WHETHER DIRECT OR INDIRECT) OR FOR ANY OTHER DIRECT + OR INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER + EVEN IF ADAPTEC SHALL HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + HOWEVER, NOTHING IN THIS LICENSE SHALL RESTRICT ANY PARTY'S LIABILITY FOR + FRAUD, DEATH OR PERSONAL INJURY ARISING FROM ITS NEGLIGENCE OR FOR FRAUD OR + ANY FRAUDULENT MISREPRESENTATION. + . + Export. By downloading, you acknowledge that the laws and regulations of + the United States and relevant countries within the European Union, + restrict the export and re-export of the Software. Further, you agree that + you will not export or re-export the Software or media in any form without + the appropriate United States and foreign government approval. If you are a + European Consumer you must not export Software outside the country in which + you download it without our prior written permission. (See below for + details on Export Compliance Requirements.) + . + U.S. Government Restricted Rights. IF YOU ARE A EUROPEAN CONSUMER THEN THIS + CLAUSE WILL NOT APPLY TO YOU AND DOES NOT FORM PART OF YOUR LICENSE + AGREEMENT WITH US. PLEASE PROCEED TO SECTION 9. If the Software is acquired + under the terms of a United States GSA contract, use, reproduction or + disclosure is subject to the restrictions set forth in the applicable ADP + Schedule contract. If the Software is acquired under the terms of a DoD or + civilian agency contract, use, duplication or disclosure by the Government + is subject to the restrictions of this License in accordance with 48 C.F.R. + 12.212 of the Federal Acquisition Regulations and its successors and 48 + C.F.R. 227.7202-1 of the DoD FAR Supplement and its successors. (See below + for details on Export Compliance Requirements.) + . + General. California residents entered into and to be performed within + California, except as governed by Federal law. Should any provision of this + License be declared unenforceable in any jurisdiction, then such provision + shall be deemed to be severable from this License and shall not affect the + remainder hereof. All rights in the Software not specifically granted in + this License are reserved by Adaptec. + . + EXPORT COMPLIANCE REQUIREMENTS + . + Export of any information from the Adaptec web site (including Confidential + Information obtained through Adaptec Access) outside of the United States + is subject to all U.S. export control laws. You will abide by such laws and + also to the provision of the U.S. Export-Re-export Requirements and + Enhanced Proliferation Control Initiative set forth here. You and your + organization will not sell, license, or otherwise provide or ship Adaptec + products or technical data (or the direct product thereof) for export or + re-export to the embargoed or restricted* countries listed below: + . + Afghanistan (Taliban controlled area), Cuba, Iran, Iraq, North Korea*, + Sudan, and Syria* + . + You agree not to transfer, export or re-export Adaptec products, technology + or software to your customers or any intermediate entity in the chain of + supply if our products will be used in the design, development, production, + stockpiling or use of missiles, chemical or biological weapons or for + nuclear end uses without obtaining prior authorization from the U.S. + Government. + . + You also agree that unless you receive prior authorization from the U.S. + Department of Commerce, you shall not transfer, export or re-export, + directly or indirectly, any Adaptec technology or software (or the direct + product of such technology or software or any part thereof, or any process + or service which is the direct product of such technology or software) to + any Sanctioned and/or Embargoed entity listed on: + . + http://www.bis.doc.gov/ComplianceAndEnforcement/ListsToCheck.htm + . + If you have any questions concerning this License, contact: + . + Adaptec, Inc. + Legal Department + 691 South Milpitas Boulevard + Milpitas, California 95035 + +Files: debian/* +Copyright: Copyright (C) 2008-2012 Adam Cécile (Le_Vert) +License: GPL-2.0+ + +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/packaging/debian/arcconf-linux-32bit/dirs b/packaging/debian/arcconf-linux-32bit/dirs new file mode 100644 index 0000000..236670a --- /dev/null +++ b/packaging/debian/arcconf-linux-32bit/dirs @@ -0,0 +1 @@ +usr/sbin diff --git a/packaging/debian/arcconf-linux-32bit/install b/packaging/debian/arcconf-linux-32bit/install new file mode 100644 index 0000000..04970f1 --- /dev/null +++ b/packaging/debian/arcconf-linux-32bit/install @@ -0,0 +1 @@ +linux/cmdline/arcconf usr/sbin diff --git a/packaging/debian/arcconf-linux-32bit/rules b/packaging/debian/arcconf-linux-32bit/rules new file mode 100755 index 0000000..9e1bada --- /dev/null +++ b/packaging/debian/arcconf-linux-32bit/rules @@ -0,0 +1,43 @@ +#!/usr/bin/make -f + +# Quilt patch system +include /usr/share/quilt/quilt.make + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +clean: unpatch + dh_testdir + dh_testroot + dh_clean + +install: + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + test -e arcconf_v1_5_20942.zip || wget http://download.adaptec.com/raid/storage_manager/arcconf_v1_5_20942.zip + unzip -o arcconf_v1_5_20942.zip + install -D -m 755 linux/cmdline/arcconf $(CURDIR)/cmdline/arcconf + dh_install + +binary-indep: build install +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installinit -Nadaptec-universal-storage-snmpd + # Priority 21, so it will start after snmpd + dh_installinit -padaptec-universal-storage-snmpd -- defaults 21 + dh_link + dh_compress + dh_fixperms + dh_strip + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-arch binary-indep +.PHONY: build clean binary-indep binary-arch binary install diff --git a/packaging/debian/arcconf-linux-64bit/changelog b/packaging/debian/arcconf-linux-64bit/changelog index 63180d2..00d564a 100644 --- a/packaging/debian/arcconf-linux-64bit/changelog +++ b/packaging/debian/arcconf-linux-64bit/changelog @@ -1,4 +1,4 @@ -arcconf (1.5.20942) unstable; urgency=low +arcconf-64bit (1.5.20942) unstable; urgency=low * New upstream release. diff --git a/packaging/debian/arcconf-linux-64bit/control b/packaging/debian/arcconf-linux-64bit/control index d13e49d..be0db4a 100644 --- a/packaging/debian/arcconf-linux-64bit/control +++ b/packaging/debian/arcconf-linux-64bit/control @@ -1,4 +1,4 @@ -Source: arcconf +Source: arcconf-64bit Section: admin Priority: optional Maintainer: Adam Cécile (Le_Vert) From a5344fd3008e0800242873088deb64aa3246d842 Mon Sep 17 00:00:00 2001 From: Reto Kaiser Date: Tue, 24 Jun 2014 13:41:51 +0200 Subject: [PATCH 6/6] Bump arcconf epoch --- packaging/debian/arcconf-linux-32bit/changelog | 2 +- packaging/debian/arcconf-linux-64bit/changelog | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packaging/debian/arcconf-linux-32bit/changelog b/packaging/debian/arcconf-linux-32bit/changelog index 1915a87..afeaee1 100644 --- a/packaging/debian/arcconf-linux-32bit/changelog +++ b/packaging/debian/arcconf-linux-32bit/changelog @@ -1,4 +1,4 @@ -arcconf-32bit (1.5.20942) unstable; urgency=low +arcconf-32bit (1:1.5.20942) unstable; urgency=low * New upstream release. diff --git a/packaging/debian/arcconf-linux-64bit/changelog b/packaging/debian/arcconf-linux-64bit/changelog index 00d564a..aa8953b 100644 --- a/packaging/debian/arcconf-linux-64bit/changelog +++ b/packaging/debian/arcconf-linux-64bit/changelog @@ -1,4 +1,4 @@ -arcconf-64bit (1.5.20942) unstable; urgency=low +arcconf-64bit (1:1.5.20942) unstable; urgency=low * New upstream release.