diff --git a/build_orig.sh b/build_orig.sh new file mode 100644 index 0000000..6457720 --- /dev/null +++ b/build_orig.sh @@ -0,0 +1,87 @@ +#!/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 realver +do + echo "Downloading $app Version: $version" + #use -O for output file. define $outputfile yourself + wget -c --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 realver +do + mkdir -p $WORK_DIR/${type}/${realver} + pushd $WORK_DIR/${type}/${realver} + unzip $DIR/../$outputfile + popd + mkdir -p $WORK_DIR/${app}-${version}/${type}/${realver} + pushd $WORK_DIR/${app}-${version}/${type}/${realver} + case "${type}" in + "amd64" ) + mv $WORK_DIR/${type}/${realver}/linux_x64/cmdline/arcconf . + chmod +x arcconf + dos2unix $WORK_DIR/${type}/${realver}/linux_x64/cmdline/*.{txt,TXT} + mv $WORK_DIR/${type}/${realver}/linux_x64/cmdline/*.{txt,TXT} . + ;; + "i386" ) + mv $WORK_DIR/${type}/${realver}/linux/cmdline/arcconf . + chmod +x arcconf + dos2unix $WORK_DIR/${type}/${realver}/linux/cmdline/*.{txt,TXT} + mv $WORK_DIR/${type}/${realver}/linux/cmdline/*.{txt,TXT} . + ;; + *) + echo "Wrong arch" + exit 1 + ;; + esac + 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" +#exit 1 + +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..a1c59b4 --- /dev/null +++ b/debian/README.source @@ -0,0 +1,14 @@ +arcconf-2.02 (1:2.02.22404-1) unstable; urgency=low + + Sources have been repacked from the following upstream archive: + + 373126b8d256aa76022906145a87d398 arcconf_v2_02_22404.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/debian/changelog b/debian/changelog new file mode 100644 index 0000000..3529725 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,12 @@ +arcconf (2.03.0-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * new integrated version + + -- Mario Fetka Tue, 25 Apr 2017 04:03:29 +0200 + +arcconf (2.02.22404-1) unstable; urgency=low + + * Initial release. + + -- Adam Cécile (Le_Vert) Thu, 20 Mar 2014 09:00:00 +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..a06fe97 --- /dev/null +++ b/debian/control @@ -0,0 +1,46 @@ +Source: arcconf +Section: admin +Priority: optional +Maintainer: Adam Cécile (Le_Vert) +Build-Depends: debhelper (>= 5) +Standards-Version: 3.9.3 + +Package: arcconf +Architecture: amd64 i386 +Depends: ${misc:Depends}, ${shlibs:Depends} +Provides: arcconf-1.05, arcconf-1.07, arcconf-1.08, arcconf-2.02 +Conflicts: arcconf-1.05, arcconf-1.07, arcconf-1.08, arcconf-2.02 +Replaces: arcconf-1.05, arcconf-1.07, arcconf-1.08, arcconf-2.02 +Description: Adaptec ARCCONF command line tool + Compatible Products: + . + 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 71605 + Adaptec RAID 71605E + Adaptec RAID 71605Q + Adaptec RAID 71685 + Adaptec RAID 72405 + Adaptec RAID 78165 + Adaptec RAID 8405 + Adaptec RAID 8405E + Adaptec RAID 8805 + Adaptec RAID 8805E + Adaptec RAID 8885 + Adaptec RAID 8885Q + Adaptec RAID 81605Z + Adaptec RAID 81605ZQ + PMC Adaptec HBA 1000-8e + PMC Adaptec HBA 1000-8i + PMC Adaptec HBA 1000-8i8e + PMC Adaptec HBA 1000-16e + PMC Adaptec HBA 1000-16i + Adaptec SAS Expander 82885T diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..c19bedf --- /dev/null +++ b/debian/copyright @@ -0,0 +1,215 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: arcconf +Source: http://storage.microsemi.com/en-us/speed/raid/storage_manager/arcconf_v2_02_22404_zip.php + +Files: debian/* +Copyright: Copyright (C) 2016 Adam Cecile (Le_Vert) +License: GPL-3.0+ + This program 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 3 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 3 can be found in "/usr/share/common-licenses/GPL-3". + +Files: * +Copyright: Copyright (C) 2003-2012 Adaptec by PMC +License: Proprietary + Microsemi Corporation + Microsemi Adaptec Downloadable Files: + . + This License is granted by Microsemi Corporation, referred to in this + License as "PMC-Sierra" or "ADAPTEC Inc" or "ADAPTEC" or "we" or "us." + Microsemi 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: + . + Microsemi Corporation + Legal Department + 1380 Bordeaux Drive + Sunnyvale, CA 94089 + Phone: (408) 239-8000 diff --git a/debian/dirs b/debian/dirs new file mode 100644 index 0000000..f1979ed --- /dev/null +++ b/debian/dirs @@ -0,0 +1,2 @@ +usr/sbin +usr/lib/arcconf diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..cd9fc33 --- /dev/null +++ b/debian/docs @@ -0,0 +1 @@ +linux_x64/cmdline/README.TXT diff --git a/debian/postinst b/debian/postinst new file mode 100644 index 0000000..364587e --- /dev/null +++ b/debian/postinst @@ -0,0 +1,35 @@ +#!/bin/sh + +set -e + +if [ -f "/usr/lib/arcconf/arcconf-2.03" ] + update-alternatives --install /usr/sbin/arcconf arcconf /usr/lib/arcconf/arcconf-2.03 203 +fi +if [ -f "/usr/lib/arcconf/arcconf-2.02" ] + update-alternatives --install /usr/sbin/arcconf arcconf /usr/lib/arcconf/arcconf-2.02 202 +fi +if [ -f "/usr/lib/arcconf/arcconf-2.01" ] + update-alternatives --install /usr/sbin/arcconf arcconf /usr/lib/arcconf/arcconf-2.01 201 +fi +if [ -f "/usr/lib/arcconf/arcconf-2.00" ] + update-alternatives --install /usr/sbin/arcconf arcconf /usr/lib/arcconf/arcconf-2.00 200 +fi +if [ -f "/usr/lib/arcconf/arcconf-1.08" ] + update-alternatives --install /usr/sbin/arcconf arcconf /usr/lib/arcconf/arcconf-1.08 108 +fi +if [ -f "/usr/lib/arcconf/arcconf-1.07" ] + update-alternatives --install /usr/sbin/arcconf arcconf /usr/lib/arcconf/arcconf-1.07 107 +fi +if [ -f "/usr/lib/arcconf/arcconf-1.06" ] + update-alternatives --install /usr/sbin/arcconf arcconf /usr/lib/arcconf/arcconf-1.06 106 +fi +if [ -f "/usr/lib/arcconf/arcconf-1.05" ] + update-alternatives --install /usr/sbin/arcconf arcconf /usr/lib/arcconf/arcconf-1.05 105 +fi +if [ -f "/usr/lib/arcconf/arcconf-1.04" ] + update-alternatives --install /usr/sbin/arcconf arcconf /usr/lib/arcconf/arcconf-1.04 104 +fi + +#DEBHELPER# + +exit 0 diff --git a/debian/prerm b/debian/prerm new file mode 100644 index 0000000..d21be02 --- /dev/null +++ b/debian/prerm @@ -0,0 +1,35 @@ +#! /bin/sh + +set -e + +if [ -f "/usr/lib/arcconf/arcconf-2.03" ] + update-alternatives --remove arcconf /usr/lib/arcconf/arcconf-2.03 +fi +if [ -f "/usr/lib/arcconf/arcconf-2.02" ] + update-alternatives --remove arcconf /usr/lib/arcconf/arcconf-2.02 +fi +if [ -f "/usr/lib/arcconf/arcconf-2.01" ] + update-alternatives --remove arcconf /usr/lib/arcconf/arcconf-2.01 +fi +if [ -f "/usr/lib/arcconf/arcconf-2.00" ] + update-alternatives --remove arcconf /usr/lib/arcconf/arcconf-2.00 +fi +if [ -f "/usr/lib/arcconf/arcconf-1.08" ] + update-alternatives --remove arcconf /usr/lib/arcconf/arcconf-1.08 +fi +if [ -f "/usr/lib/arcconf/arcconf-1.07" ] + update-alternatives --remove arcconf /usr/lib/arcconf/arcconf-1.07 +fi +if [ -f "/usr/lib/arcconf/arcconf-1.06" ] + update-alternatives --remove arcconf /usr/lib/arcconf/arcconf-1.06 +fi +if [ -f "/usr/lib/arcconf/arcconf-1.05" ] + update-alternatives --remove arcconf /usr/lib/arcconf/arcconf-1.05 +fi +if [ -f "/usr/lib/arcconf/arcconf-1.04" ] + update-alternatives --remove arcconf /usr/lib/arcconf/arcconf-1.04 +fi + +#DEBHELPER# + +exit 0 \ No newline at end of file diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..3015564 --- /dev/null +++ b/debian/rules @@ -0,0 +1,72 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +clean: + dh_testdir + dh_testroot + dh_clean + +install: + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs +ifeq ($(DEB_BUILD_ARCH),amd64) + install -D -m 0755 amd64/2.03/arcconf \ + debian/arcconf/usr/lib/arcconf/arcconf-2.03 + install -D -m 0755 amd64/2.02/arcconf \ + debian/arcconf/usr/lib/arcconf/arcconf-2.02 + install -D -m 0755 amd64/2.01/arcconf \ + debian/arcconf/usr/lib/arcconf/arcconf-2.01 + install -D -m 0755 amd64/2.00/arcconf \ + debian/arcconf/usr/lib/arcconf/arcconf-2.00 + install -D -m 0755 amd64/1.08/arcconf \ + debian/arcconf/usr/lib/arcconf/arcconf-1.08 + install -D -m 0755 amd64/1.07/arcconf \ + debian/arcconf/usr/lib/arcconf/arcconf-1.07 + install -D -m 0755 amd64/1.06/arcconf \ + debian/arcconf/usr/lib/arcconf/arcconf-1.06 + install -D -m 0755 amd64/1.05/arcconf \ + debian/arcconf/usr/lib/arcconf/arcconf-1.05 + install -D -m 0755 amd64/1.04/arcconf \ + debian/arcconf/usr/lib/arcconf/arcconf-1.04 +endif +ifeq ($(DEB_BUILD_ARCH),i386) + install -D -m 0755 i386/2.01/arcconf \ + debian/arcconf/usr/lib/arcconf/arcconf-2.01 + install -D -m 0755 i386/2.00/arcconf \ + debian/arcconf/usr/lib/arcconf/arcconf-2.00 + install -D -m 0755 i386/1.08/arcconf \ + debian/arcconf/usr/lib/arcconf/arcconf-1.08 + install -D -m 0755 i386/1.07/arcconf \ + debian/arcconf/usr/lib/arcconf/arcconf-1.07 + install -D -m 0755 i386/1.06/arcconf \ + debian/arcconf/usr/lib/arcconf/arcconf-1.06 + install -D -m 0755 i386/1.05/arcconf \ + debian/arcconf/usr/lib/arcconf/arcconf-1.05 + install -D -m 0755 i386/1.04/arcconf \ + debian/arcconf/usr/lib/arcconf/arcconf-1.04 +endif + dh_install + +binary-indep: build install +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + 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 diff --git a/files.diz b/files.diz new file mode 100644 index 0000000..0f2965f --- /dev/null +++ b/files.diz @@ -0,0 +1,16 @@ +amd64!arcconf!2.03.0!arcconf_v2_03_22476.zip!http://download.adaptec.com/raid/storage_manager/arcconf_v2_03_22476.zip!e98c9f2fb11d368adc0378ddd9daad40!2.03 +amd64!arcconf!2.03.0!arcconf_v2_02_22404.zip!http://download.adaptec.com/raid/storage_manager/arcconf_v2_02_22404.zip!373126b8d256aa76022906145a87d398!2.02 +amd64!arcconf!2.03.0!arcconf_v2_01_22270.zip!http://download.adaptec.com/raid/storage_manager/arcconf_v2_01_22270.zip!a51110590c3439245e5179a9e35bad86!2.01 +i386!arcconf!2.03.0!arcconf_v2_01_22270.zip!http://download.adaptec.com/raid/storage_manager/arcconf_v2_01_22270.zip!a51110590c3439245e5179a9e35bad86!2.01 +amd64!arcconf!2.03.0!arcconf_v2_00_21811.zip!http://download.adaptec.com/raid/storage_manager/arcconf_v2_00_21811.zip!946ed3423254d893120ceb89f7779685!2.00 +i386!arcconf!2.03.0!arcconf_v2_00_21811.zip!http://download.adaptec.com/raid/storage_manager/arcconf_v2_00_21811.zip!946ed3423254d893120ceb89f7779685!2.00 +amd64!arcconf!2.03.0!arcconf_v1_8_21375.zip!http://download.adaptec.com/raid/storage_manager/arcconf_v1_8_21375.zip!7a697a7c8b99b66312116d4249ab1922!1.08 +i386!arcconf!2.03.0!arcconf_v1_8_21375.zip!http://download.adaptec.com/raid/storage_manager/arcconf_v1_8_21375.zip!7a697a7c8b99b66312116d4249ab1922!1.08 +amd64!arcconf!2.03.0!arcconf_v1_7_21229.zip!http://download.adaptec.com/raid/storage_manager/arcconf_v1_7_21229.zip!8d8e1829172bb72f69081b2ac6d2e50b!1.07 +i386!arcconf!2.03.0!arcconf_v1_7_21229.zip!http://download.adaptec.com/raid/storage_manager/arcconf_v1_7_21229.zip!8d8e1829172bb72f69081b2ac6d2e50b!1.07 +amd64!arcconf!2.03.0!arcconf_v1_6_21062.zip!http://download.adaptec.com/raid/storage_manager/arcconf_v1_6_21062.zip!32aa39da4ecca41c4cb987791f5aa656!1.06 +i386!arcconf!2.03.0!arcconf_v1_6_21062.zip!http://download.adaptec.com/raid/storage_manager/arcconf_v1_6_21062.zip!32aa39da4ecca41c4cb987791f5aa656!1.06 +amd64!arcconf!2.03.0!arcconf_v1_5_20942.zip!http://download.adaptec.com/raid/storage_manager/arcconf_v1_5_20942.zip!de7e676bdd9c04db8125d04086d9efd6!1.05 +i386!arcconf!2.03.0!arcconf_v1_5_20942.zip!http://download.adaptec.com/raid/storage_manager/arcconf_v1_5_20942.zip!de7e676bdd9c04db8125d04086d9efd6!1.05 +amd64!arcconf!2.03.0!arcconf_v1_4_20859.zip!http://download.adaptec.com/raid/storage_manager/arcconf_v1_4_20859.zip!6c3d72fe83ff76e68a70fa59d92ae5f7!1.04 +i386!arcconf!2.03.0!arcconf_v1_4_20859.zip!http://download.adaptec.com/raid/storage_manager/arcconf_v1_4_20859.zip!6c3d72fe83ff76e68a70fa59d92ae5f7!1.04