summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian/changelog5
-rw-r--r--debian/control34
-rw-r--r--debian/copyright127
-rw-r--r--debian/intel-isdct.docs2
-rw-r--r--debian/intel-isdct.install1
-rw-r--r--debian/intel-isdct.lintian-overrides1
-rwxr-xr-xdebian/local/update-intel-ssd-firmware51
-rwxr-xr-xdebian/rules39
-rw-r--r--debian/source/format1
9 files changed, 261 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..b8cc77a
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+intel-isdct (3.0.26-0progress5+u1) engywuck-backports-extras; urgency=low
+
+ * Uploading to engywuck-backports-extras.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Fri, 31 Jul 2020 18:39:30 +0200
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..cca8a6e
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,34 @@
+Source: intel-isdct
+Section: restricted/admin
+Priority: optional
+Maintainer: Progress Linux Maintainers <maintainers@lists.progress-linux.org>
+XSBC-Uploaders: Daniel Baumann <daniel.baumann@progress-linux.org>
+Bugs: mailto:bugs@lists.progress-linux.org
+Build-Depends:
+ debhelper-compat (= 13),
+ unzip,
+Rules-Requires-Root: no
+Standards-Version: 4.5.0
+Homepage: https://downloadcenter.intel.com/download/29185
+Vcs-Browser: https://git.progress-linux.org/packages/engywuck-backports-extras/intel-isdct
+Vcs-Git: https://git.progress-linux.org/packages/engywuck-backports-extras/intel-isdct
+
+Package: intel-isdct
+Section: restricted/admin
+Architecture: amd64 i386
+Depends:
+ ${misc:Depends},
+ ${shlibs:Depends},
+Conflicts:
+ isdct,
+Replaces:
+ isdct,
+Provides:
+ isdct,
+Description: Intel SSD Data Center Tool
+ The Intel SSD Data Center Tool is a drive management tool for SATA and PCIe in
+ the Intel SSD Data Center Family. Among other features, the tool is able to:
+ .
+ * Detect PCIe/NVMe- and SATA-based SSD devices attached to a host system.
+ * Parse SSD’s SMART (Self-Monitoring and Reporting Technology) information.
+ * Update Intel® SSD firmware.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..64988bf
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,127 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: Intel SSD Data Center Tool (Intel SSD DCT)
+Upstream-Contact: n/a
+Source: https://downloadcenter.intel.com/download/29185
+
+Files: *
+Copyright: 2019-2020 Intel
+License: other
+ INTEL SOFTWARE LICENSE AGREEMENT
+ IMPORTANT - READ BEFORE COPYING, INSTALLING OR USING.
+ Do not use or load this software and any associated materials (collectively,
+ the "Software") until you have carefully read the following terms and
+ conditions. By loading or using the Software, you agree to the terms of this
+ Agreement. If you do not wish to so agree, do not install or use the Software.
+ LICENSES: Please Note:
+ - If you are a network administrator, the "Site License" below shall
+ apply to you.
+ - If you are an end user, the "Single User License" shall apply to you.
+ - If you are an original equipment manufacturer (OEM), the "OEM License"
+ shall apply to you.
+ SITE LICENSE. You may copy the Software onto your organization's computers
+ for your organization's use, and you may make a reasonable number of
+ back-up copies of the Software, subject to these conditions:
+ 1. This Software is licensed for use only in conjunction with Intel
+ component products. Use of the Software in conjunction with non-Intel
+ component products is not licensed hereunder.
+ 2. You may not copy, modify, rent, sell, distribute or transfer any part
+ of the Software except as provided in this Agreement, and you agree to
+ prevent unauthorized copying of the Software.
+ 3. You may not reverse engineer, decompile, or disassemble the Software.
+ 4. You may not sublicense or permit simultaneous use of the Software by
+ more than one user.
+ 5. The Software may include portions offered on terms in addition to those
+ set out here, as set out in a license accompanying those portions.
+ SINGLE USER LICENSE. You may copy the Software onto a single computer for
+ your personal, noncommercial use, and you may make one back-up copy of the
+ Software, subject to these conditions:
+ 1. This Software is licensed for use only in conjunction with Intel
+ component products. Use of the Software in conjunction with non-Intel
+ component products is not licensed hereunder.
+ 2. You may not copy, modify, rent, sell, distribute or transfer any part
+ of the Software except as provided in this Agreement, and you agree to
+ prevent unauthorized copying of the Software.
+ 3. You may not reverse engineer, decompile, or disassemble the Software.
+ 4. You may not sublicense or permit simultaneous use of the Software by
+ more than one user.
+ 5. The Software may include portions offered on terms in addition to those
+ set out here, as set out in a license accompanying those portions.
+ OEM LICENSE: You may reproduce and distribute the Software only as an
+ integral part of or incorporated in Your product or as a standalone
+ Software maintenance update for existing end users of Your products,
+ excluding any other standalone products, subject to these conditions:
+ 1. This Software is licensed for use only in conjunction with Intel
+ component products. Use of the Software in conjunction with non-Intel
+ component products is not licensed hereunder.
+ 2. You may not copy, modify, rent, sell, distribute or transfer any part
+ of the Software except as provided in this Agreement, and you agree to
+ prevent unauthorized copying of the Software.
+ 3. You may not reverse engineer, decompile, or disassemble the Software.
+ 4. You may only distribute the Software to your customers pursuant to a
+ written license agreement. Such license agreement may be a "break-the-
+ seal" license agreement. At a minimum such license shall safeguard
+ Intel's ownership rights to the Software.
+ 5. The Software may include portions offered on terms in addition to those
+ set out here, as set out in a license accompanying those portions.
+ NO OTHER RIGHTS. No rights or licenses are granted by Intel to You, expressly
+ or by implication, with respect to any proprietary information or patent,
+ copyright, mask work, trademark, trade secret, or other intellectual property
+ right owned or controlled by Intel, except as expressly provided in this
+ Agreement.
+ OWNERSHIP OF SOFTWARE AND COPYRIGHTS. Title to all copies of the Software
+ remains with Intel or its suppliers. The Software is copyrighted and
+ protected by the laws of the United States and other countries, and
+ international treaty provisions. You may not remove any copyright notices
+ from the Software. Intel may make changes to the Software, or to items
+ referenced therein, at any time without notice, but is not obligated to
+ support or update the Software. Except as otherwise expressly provided, Intel
+ grants no express or implied right under Intel patents, copyrights,
+ trademarks, or other intellectual property rights. You may transfer the
+ Software only if the recipient agrees to be fully bound by these terms and if
+ you retain no copies of the Software.
+ LIMITED MEDIA WARRANTY. If the Software has been delivered by Intel on
+ physical media, Intel warrants the media to be free from material physical
+ defects for a period of ninety days after delivery by Intel. If such a defect
+ is found, return the media to Intel for replacement or alternate delivery of
+ the Software as Intel may select.
+ EXCLUSION OF OTHER WARRANTIES. EXCEPT AS PROVIDED ABOVE, THE SOFTWARE IS
+ PROVIDED "AS IS" WITHOUT ANY EXPRESS OR IMPLIED WARRANTY OF ANY KIND
+ INCLUDING WARRANTIES OF MERCHANTABILITY, NONINFRINGEMENT, OR FITNESS FOR A
+ PARTICULAR PURPOSE. Intel does not warrant or assume responsibility for the
+ accuracy or completeness of any information, text, graphics, links or other
+ items contained within the Software.
+ LIMITATION OF LIABILITY. IN NO EVENT SHALL INTEL OR ITS SUPPLIERS BE LIABLE
+ FOR ANY DAMAGES WHATSOEVER (INCLUDING, WITHOUT LIMITATION, LOST PROFITS,
+ BUSINESS INTERRUPTION, OR LOST INFORMATION) ARISING OUT OF THE USE OF OR
+ INABILITY TO USE THE SOFTWARE, EVEN IF INTEL HAS BEEN ADVISED OF THE
+ POSSIBILITY OF SUCH DAMAGES. SOME JURISDICTIONS PROHIBIT EXCLUSION OR
+ LIMITATION OF LIABILITY FOR IMPLIED WARRANTIES OR CONSEQUENTIAL OR INCIDENTAL
+ DAMAGES, SO THE ABOVE LIMITATION MAY NOT APPLY TO YOU. YOU MAY ALSO HAVE
+ OTHER LEGAL RIGHTS THAT VARY FROM JURISDICTION TO JURISDICTION.
+ TERMINATION OF THIS AGREEMENT. Intel may terminate this Agreement at any time
+ if you violate its terms. Upon termination, you will immediately destroy the
+ Software or return all copies of the Software to Intel.
+ APPLICABLE LAWS. Claims arising under this Agreement shall be governed by the
+ laws of California, excluding its principles of conflict of laws and the
+ United Nations Convention on Contracts for the Sale of Goods. You may not
+ export the Software in violation of applicable export laws and regulations.
+ Intel is not obligated under any other agreements unless they are in writing
+ and signed by an authorized representative of Intel.
+ GOVERNMENT RESTRICTED RIGHTS. The Software is provided with "RESTRICTED
+ RIGHTS." Use, duplication, or disclosure by the Government is subject to
+ restrictions as set forth in FAR52.227-14 and DFAR252.227-7013 et seq. or its
+ successor. Use of the Software by the Government constitutes acknowledgment
+ of Intel's proprietary rights therein. Contractor or Manufacturer is Intel
+ 2200 Mission College Blvd., Santa Clara, CA 95052.
+
+Files: debian/*
+Copyright: 2010-2020 Daniel Baumann <daniel.baumann@progress-linux.org>
+License: PD
+
+License: PD
+ This program is free software: you have unlimited permission
+ to copy, distribute and modify it.
+ .
+ This program 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.
diff --git a/debian/intel-isdct.docs b/debian/intel-isdct.docs
new file mode 100644
index 0000000..05d2eb1
--- /dev/null
+++ b/debian/intel-isdct.docs
@@ -0,0 +1,2 @@
+build/*Release_Notes*.pdf
+build/*User_Guide*.pdf
diff --git a/debian/intel-isdct.install b/debian/intel-isdct.install
new file mode 100644
index 0000000..654c0de
--- /dev/null
+++ b/debian/intel-isdct.install
@@ -0,0 +1 @@
+debian/local/* /usr/bin
diff --git a/debian/intel-isdct.lintian-overrides b/debian/intel-isdct.lintian-overrides
new file mode 100644
index 0000000..69aa51d
--- /dev/null
+++ b/debian/intel-isdct.lintian-overrides
@@ -0,0 +1 @@
+intel-isdct: hardening-no-relro
diff --git a/debian/local/update-intel-ssd-firmware b/debian/local/update-intel-ssd-firmware
new file mode 100755
index 0000000..65c7704
--- /dev/null
+++ b/debian/local/update-intel-ssd-firmware
@@ -0,0 +1,51 @@
+#!/bin/sh
+
+# 2010-2020 Daniel Baumann <daniel.baumann@progress-linux.org>
+#
+# This program is free software: you have unlimited permission
+# to copy, distribute and modify it.
+#
+# This program 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.
+
+set -e
+
+NUMBERS="$(sudo isdct show -d Index -intelssd 2>&1 | awk '/^Index / { print $3 }' | tail -n1)"
+
+if [ -z "${NUMBERS}" ]
+then
+ echo "No Intel SSDs found."
+ exit 1
+fi
+
+UPDATE_ALL="false"
+
+for NUMBER in $(seq 0 ${NUMBERS})
+do
+ sudo isdct show -d DeviceStatus,Firmware,FirmwareUpdateAvailable,Index -intelssd ${NUMBER}
+
+ case "${UPDATE_ALL}" in
+ false)
+ echo -n "Update firmware of SSD #${NUMBER}? (yes|NO|all) "
+ read UPDATE
+ ;;
+ esac
+
+ case "${UPDATE}" in
+ a*|A*)
+ UPDATE_ALL="true"
+ ;;
+
+ y*|Y*)
+ ;;
+
+ *)
+ echo
+ echo "Not updating firmware on SSD #${NUMBER}."
+ continue
+ ;;
+ esac
+
+ sudo isdct load -f -intelssd ${NUMBER} || true
+done
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..d642901
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,39 @@
+#!/usr/bin/make -f
+
+DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
+
+%:
+ dh ${@}
+
+override_dh_auto_clean:
+ dh_auto_clean
+
+ rm -rf build
+
+override_dh_auto_build:
+ mkdir -p build
+ unzip Intel_*.zip -d build
+
+ dpkg -x build/isdct_*_$(DEB_BUILD_ARCH).deb build/tmp
+
+override_dh_auto_install:
+ mkdir -p debian/intel-isdct
+ cp -a build/tmp/* debian/intel-isdct
+
+ rm -f debian/intel-isdct/usr/share/doc/isdct/changelog.gz
+ rmdir debian/intel-isdct/usr/share/doc/isdct
+
+override_dh_installdocs:
+ dh_installdocs
+
+ mv debian/intel-isdct/usr/share/doc/intel-isdct/*Release_Notes*.pdf debian/intel-isdct/usr/share/doc/intel-isdct/Release_Notes.pdf
+ mv debian/intel-isdct/usr/share/doc/intel-isdct/*User_Guide*.pdf debian/intel-isdct/usr/share/doc/intel-isdct/User_Guide.pdf
+
+override_dh_dwz:
+ # disabled
+
+override_dh_strip:
+ # disabled
+
+override_dh_strip_nondeterminism:
+ # disabled
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)