debian/0000775000000000000000000000000012702667527007206 5ustar debian/changelog0000664000000000000000000001024512702667517011061 0ustar mstflint4 (4.1.0+1.46.gb1cdaf7-1ubuntu1~14.04.1) trusty; urgency=medium * Rename to mstflint4 to provide an up-to-date version in Universe. This version is identical to the version found in 16.04 Xenial. (LP: #1470167) -- Louis Bouchard Mon, 14 Mar 2016 11:22:40 +0100 mstflint (4.1.0+1.46.gb1cdaf7-1ubuntu1) xenial; urgency=low * Merge from Debian unstable. (LP: #1528791) Remaining changes: - debian/control: + Enable building on all Linux architectures - debian/rules: + Update config.{sub,guess} correctly with dh_autotools-dev. * debian/patches/fix-ggc5-compile-errors.patch: - Drop, fixed upstream. -- Artur Rona Mon, 18 Jan 2016 01:28:25 +0100 mstflint (4.1.0+1.46.gb1cdaf7-1) unstable; urgency=medium * Team upload. * New upstream release 4.1.0-1.46.gb1cdaf7: - Previous patches were integrated upstream. * Add patch to remove date and time from version string to ensure a reproducible build. * Add patch to fix spelling errors in mstflint.1 and shipped binaries. * Add a debian/gbp.conf file to automatically filter out upstream's debian/ directory when running "gbp import-orig". -- Mehdi Dogguy Thu, 31 Dec 2015 01:46:42 +0100 mstflint (4.0.1+1.43.g97d7275-2) unstable; urgency=medium * Add fields Vcs-Browser/Vcs-Git. * Add patches to fix FTBFS: (Closes: #797248) - fix_Werror=maybe-uninitialized - fix_Werror=sizeof-array-argument -- Ana Beatriz Guerrero Lopez Tue, 01 Sep 2015 16:25:26 +0200 mstflint (4.0.1+1.43.g97d7275-1) unstable; urgency=medium * New upstream release 4.0.1-1.43.g97d7275: - Build with GCC 5. (Closes: #778016) * Update to Standards-Version 3.9.6, no changes required. -- Ana Beatriz Guerrero Lopez Thu, 23 Jul 2015 15:42:01 +0200 mstflint (3.7.0+1.18.gcdb9f80-3.1ubuntu2) wily; urgency=medium * According to common/compatibility.h, this package can only be built on a restricted set of architectures: i386 amd64 powerpc ppc64el arm64 * Fix some uninitialized variable compile errors as well as some sizeof compile errors. debian/patches/fix-gcc5-compile-errors.patch -- Tim Gardner Wed, 02 Sep 2015 13:37:10 -0600 mstflint (3.7.0+1.18.gcdb9f80-3.1ubuntu1) wily; urgency=medium * Enable building on all Linux architectures (LP: #1414818) * Update config.{sub,guess} correctly with dh_autotools-dev -- Adam Conrad Wed, 15 Jul 2015 08:28:32 -0600 mstflint (3.7.0+1.18.gcdb9f80-3.1) unstable; urgency=medium * Non-maintainer upload. * Fix build failure when build with -O3, and fix build failure when building with GCC 5 (Steve Langasek). Closes: #778016. -- Matthias Klose Wed, 08 Jul 2015 16:08:01 +0200 mstflint (3.7.0+1.18.gcdb9f80-3) unstable; urgency=medium * Add support for ppc64el. Thanks to Breno Leitao. (Closes:#760864) This time for real! -- Ana Beatriz Guerrero Lopez Thu, 11 Sep 2014 22:07:17 +0200 mstflint (3.7.0+1.18.gcdb9f80-2) unstable; urgency=medium * Add support for ppc64el. Thanks to Breno Leitao. (Closes:#760864) -- Ana Beatriz Guerrero Lopez Thu, 11 Sep 2014 21:45:18 +0200 mstflint (3.7.0+1.18.gcdb9f80-1) unstable; urgency=medium * New upstream release: 3.7.0-1.18.gcdb9f80 -- Ana Beatriz Guerrero Lopez Thu, 04 Sep 2014 11:06:11 +0200 mstflint (3.7.0-1) unstable; urgency=medium * New upstream release: 3.7.0-1.10.gdf7ec73 * Add build depends on libibmad-dev and autotools-dev. * Remove build depends on automake and libtool. * Switch to dh 9 and source format version 3.0 * Remove placeholder manpages. * Remove flag DM-Upload-Allowed. * Remove all current Uploaders, they're welcome back anytime. Add myself to Uploaders. * Bump Standards-Version to 3.9.5 (no changes required). * Update homepage. * Add a watch file. -- Ana Beatriz Guerrero Lopez Fri, 04 Jul 2014 15:39:23 +0200 mstflint (1.4-OFED-1.4.2-1) unstable; urgency=low * Initial release (Closes: #539827) -- Benoit Mortier mon, 30 mar 2010 00:19:00 +0100 debian/copyright0000664000000000000000000000346612641073013011131 0ustar This package was debianized by Guy Coates on Thu, 08 Jan 2009 11:28:26 +0000. It was downloaded from http://www.openfabrics.org/downloads/OFED/ofed-1.4/OFED-1.4.tgz Upstream Author: Oren Kladnitsky, orenk@mellanox.co.il Copyright: Copyright (c) 2005-2008 Mellanox Technologies Ltd. All rights reserved. Copyright (c) 2006-2007 Cisco Systems. All rights reserved. License: This software is available to you under a choice of one of two licenses. You may choose to be licensed under the terms of the GNU General Public License (GPL) Version 2, available from the file /usr/share/common-licenses/GPL-2 on your Debian system, or the OpenIB.org BSD license below: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. The Debian packaging is Copyright (C) 2009, Genome Research Ltd and is licensed under the GPL, see `/usr/share/common-licenses/GPL'. debian/source/0000775000000000000000000000000012660626261010477 5ustar debian/source/format0000664000000000000000000000001412641073013011673 0ustar 3.0 (quilt) debian/watch0000664000000000000000000000020312670034426010220 0ustar # watch control file for uscan version=3 https://www.openfabrics.org/downloads/mstflint/mstflint-(.*)\.(?:tar.gz|tar.bz2|tar.xz) debian/patches/0000775000000000000000000000000012660626256010632 5ustar debian/patches/0001-Remove-date-and-time-from-version-string-to-ensure-r.patch0000664000000000000000000000166312641075315024202 0ustar From: Mehdi Dogguy Date: Thu, 31 Dec 2015 01:30:47 +0100 Subject: Remove date and time from version string to ensure reproducible build --- common/tools_version.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/common/tools_version.h b/common/tools_version.h index e3a242f..6e19515 100644 --- a/common/tools_version.h +++ b/common/tools_version.h @@ -70,10 +70,8 @@ int get_version_string(char* buf, int buf_size, const char* exe_name, const char len = snprintf(buf, buf_size, "%s %s, ", exe_name, tool_version); } // cut out first and last "$" from the SVN version string: - len += snprintf(buf + len, buf_size - len, "%s, built on %s, %s. Git SHA Hash: %s", + len += snprintf(buf + len, buf_size - len, "%s. Git SHA Hash: %s", MFT_VERSION_STR, - __DATE__, - __TIME__, TOOLS_GIT_SHA); return len; } debian/patches/0003-Fix-spelling-errors-appearing-in-binaries.patch0000664000000000000000000001710212641075315022242 0ustar From: Mehdi Dogguy Date: Thu, 31 Dec 2015 01:42:06 +0100 Subject: Fix spelling errors appearing in binaries --- flint/cmd_line_parser.cpp | 4 ++-- flint/err_msgs.h | 4 ++-- flint/subcommands.cpp | 2 +- mlxconfig/mlxcfg_param_lib.cpp | 4 ++-- mlxconfig/mlxcfg_parser.cpp | 2 +- mlxfwops/lib/fs2_ops.cpp | 2 +- mlxfwops/lib/fw_ops.cpp | 2 +- mtcr_ul/mtcr_ul.c | 2 +- small_utils/mcra.c | 2 +- 9 files changed, 12 insertions(+), 12 deletions(-) diff --git a/flint/cmd_line_parser.cpp b/flint/cmd_line_parser.cpp index 028cd59..77e603d 100644 --- a/flint/cmd_line_parser.cpp +++ b/flint/cmd_line_parser.cpp @@ -472,7 +472,7 @@ void Flint::initCmdParser() { "", "4 GUIDs must be specified here.\n" "The specified GUIDs are assigned\n" - "to the following fields, repectively:\n" + "to the following fields, respectively:\n" "node, port1, port2 and system image GUID.\n\n" "Note: port2 guid must be specified even for a\n" "single port HCA - The HCA ignores this value.\n" @@ -494,7 +494,7 @@ void Flint::initCmdParser() { "", "2 MACs must be specified here.\n" "The specified MACs are assigned\n" - "to port1, port2, repectively.\n" + "to port1, port2, respectively.\n" "Commands affected: burn, sg\n\n" "Note: -mac/-macs flags are applicable only for Mellanox\n" "\tTechnologies ethernet products."); diff --git a/flint/err_msgs.h b/flint/err_msgs.h index 5cb5cd1..901cea6 100644 --- a/flint/err_msgs.h +++ b/flint/err_msgs.h @@ -59,8 +59,8 @@ typedef enum { #define FLINT_PARSE_MEM_ERROR "Failed to allocate memory for parsing.\n " #define FLINT_NO_OPTIONS_FOUND_ERROR "No options found. " #define FLINT_INVALID_COMMAD_ERROR "Invalid command: %s\n" -#define FLINT_TOO_MANY_ARGS_ERROR "Too many arguments. Expected: %d , Recieved: %d\n" -#define FLINT_TOO_FEW_ARGS_ERROR "Too few arguments. Expected: %d , Recieved: %d\n" +#define FLINT_TOO_MANY_ARGS_ERROR "Too many arguments. Expected: %d , Received: %d\n" +#define FLINT_TOO_FEW_ARGS_ERROR "Too few arguments. Expected: %d , Received: %d\n" #define FLINT_NO_COMMAND_ERROR "No command found." #define FLINT_OPEN_FWOPS_DEVICE_ERROR "Cannot open Device: %s. %s\n" #define FLINT_OPEN_FWOPS_IMAGE_ERROR "Cannot open Image: %s. %s\n" diff --git a/flint/subcommands.cpp b/flint/subcommands.cpp index 91400a5..449dd28 100644 --- a/flint/subcommands.cpp +++ b/flint/subcommands.cpp @@ -3810,7 +3810,7 @@ WbneSubCommand:: WbneSubCommand() { _param = " "; _paramExp = "addr - address of block\n" INDENTEX"size - size of data to write in bytes\n" - INDENTEX"data - data to write - space seperated dwords"; + INDENTEX"data - data to write - space separated dwords"; _example = FLINT_NAME" -d "MST_DEV_EXAMPLE1" wbne 0x10000 12 0x30000 0x76800 0x5a445a44"; _v = Wtv_Dev; _maxCmdParamNum = -1; diff --git a/mlxconfig/mlxcfg_param_lib.cpp b/mlxconfig/mlxcfg_param_lib.cpp index d5481ee..a6f10e7 100644 --- a/mlxconfig/mlxcfg_param_lib.cpp +++ b/mlxconfig/mlxcfg_param_lib.cpp @@ -79,7 +79,7 @@ enum { printf("-I- Data Sent:\n");\ tools_open_##struct_name##_print(data_struct, stdout, 1) # define DEBUG_PRINT_RECIEVE(data_struct, struct_name)\ - printf("-I- Data Recieved:\n");\ + printf("-I- Data Received:\n");\ tools_open_##struct_name##_print(data_struct, stdout, 1) #else # define DEBUG_PRINT_SEND(data_struct, struct_name) @@ -1123,7 +1123,7 @@ bool VpiParams5thGen::cfgSupported(mfile* mf, mlxCfgParam param) bool suppRead, suppWrite; rc = nvqcCom5thGen(mf, getTlvTypeBe(), suppRead, suppWrite); if (rc) { - errmsg("Failed to get VPI params capabilites. %s", m_err2str(rc)); + errmsg("Failed to get VPI params capabilities. %s", m_err2str(rc)); return false; } return suppRead && suppWrite; diff --git a/mlxconfig/mlxcfg_parser.cpp b/mlxconfig/mlxcfg_parser.cpp index 8ace497..7e9e79a 100644 --- a/mlxconfig/mlxcfg_parser.cpp +++ b/mlxconfig/mlxcfg_parser.cpp @@ -375,7 +375,7 @@ mlxCfgStatus MlxCfg::parseArgs(int argc, char* argv[]) return err(true, "missing configuration arguments. For more information please run "MLXCFG_NAME" -h|--help."); } if (i != argc && (_mlxParams.cmd == Mc_Reset || _mlxParams.cmd == Mc_Query)) { - return err(true, "%s command expects no argument but %d argument recieved", (_mlxParams.cmd == Mc_Reset) ? "reset" : "query", argc -i); + return err(true, "%s command expects no argument but %d argument received", (_mlxParams.cmd == Mc_Reset) ? "reset" : "query", argc -i); } if ((_mlxParams.cmd == Mc_Set || _mlxParams.cmd == Mc_Clr_Sem || _mlxParams.cmd == Mc_Set_Raw) && _mlxParams.device.length() == 0) { return err(true, "%s command expects device to be specified.", _mlxParams.cmd == Mc_Set ? "set" : _mlxParams.cmd == Mc_Set_Raw ? "set_raw" : "clear_semaphore"); diff --git a/mlxfwops/lib/fs2_ops.cpp b/mlxfwops/lib/fs2_ops.cpp index c3151ad..aee01c7 100644 --- a/mlxfwops/lib/fs2_ops.cpp +++ b/mlxfwops/lib/fs2_ops.cpp @@ -1791,7 +1791,7 @@ bool Fs2Operations::FwBurnRom(FImage* romImg, bool ignoreProdIdCheck, bool ignor u_int32_t cntx_image_num; CntxFindAllImageStart(romImg, cntx_image_start, &cntx_image_num); if (cntx_image_num != 0) { - return errmsg("Expecting an expansion ROM image, Recieved Mellanox FW image."); + return errmsg("Expecting an expansion ROM image, Received Mellanox FW image."); } if (!Fs2IntQuery()) { diff --git a/mlxfwops/lib/fw_ops.cpp b/mlxfwops/lib/fw_ops.cpp index 6ebcea3..33013d2 100644 --- a/mlxfwops/lib/fw_ops.cpp +++ b/mlxfwops/lib/fw_ops.cpp @@ -713,7 +713,7 @@ bool FwOperations::writeImage(ProgressCallBack progressFunc, u_int32_t addr, voi u_int32_t new_perc = ((cnt - towrite + alreadyWrittenSz) * 100) / totalSz; if (progressFunc((int)new_perc)) { - return errmsg("Aborting... recieved interrupt signal"); + return errmsg("Aborting... received interrupt signal"); } } } diff --git a/mtcr_ul/mtcr_ul.c b/mtcr_ul/mtcr_ul.c index b97d310..f1544bf 100644 --- a/mtcr_ul/mtcr_ul.c +++ b/mtcr_ul/mtcr_ul.c @@ -2133,7 +2133,7 @@ static int mreg_send_raw(mfile *mf, u_int16_t reg_id, maccess_reg_method_t metho memcpy(reg_data, buffer + OP_TLV_SIZE + REG_TLV_HEADER_LEN, reg_size); #ifdef _ENABLE_DEBUG_ - fprintf(stdout, "-I-Tlv's of Data Recieved:\n"); + fprintf(stdout, "-I-Tlv's of Data Received:\n"); fprintf(stdout, "\tOperation Tlv\n"); OperationTlv_dump(&tlv, stdout); fprintf(stdout, "\tReg Tlv\n"); diff --git a/small_utils/mcra.c b/small_utils/mcra.c index 2fc9a30..74dc62c 100644 --- a/small_utils/mcra.c +++ b/small_utils/mcra.c @@ -75,7 +75,7 @@ void usage(const char *n, int with_exit) printf(" -v : Display version info\n"); printf("\n"); printf("Environment Variables:\n"); - printf(" ADB_DUMP : Holds the path to adb dump, used for access by path (can be overriden by \"-a\").\n"); + printf(" ADB_DUMP : Holds the path to adb dump, used for access by path (can be overridden by \"-a\").\n"); if (with_exit) { exit(1); } debian/patches/series0000664000000000000000000000024212641075315012036 0ustar 0001-Remove-date-and-time-from-version-string-to-ensure-r.patch 0002-Fix-spelling-errors-in-mstflint.1.patch 0003-Fix-spelling-errors-appearing-in-binaries.patch debian/patches/0002-Fix-spelling-errors-in-mstflint.1.patch0000664000000000000000000000206512641075315020502 0ustar From: Mehdi Dogguy Date: Thu, 31 Dec 2015 01:37:44 +0100 Subject: Fix spelling errors in mstflint.1 --- man/mstflint.1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/man/mstflint.1 b/man/mstflint.1 index 6212dc4..d06a8c8 100644 --- a/man/mstflint.1 +++ b/man/mstflint.1 @@ -61,7 +61,7 @@ Commands affected: burn, sg \fB--guids\fP : 4 GUIDs must be specified here. The specified GUIDs are assigned -to the following fields, repectively: +to the following fields, respectively: node, port1, port2 and system image GUID. .RS .PP @@ -95,7 +95,7 @@ Commands affected: burn, sg \fB--macs\fP : 2 MACs must be specified here. The specified MACs are assigned -to port1, port2, repectively. +to port1, port2, respectively. Commands affected: burn, sg .RS .PP @@ -843,7 +843,7 @@ mstflint \fB-d\fP 04:00.0 wwne 0x10008 0x5a445a44 .IP size - size of data to write in bytes .IP -data - data to write - space seperated dwords +data - data to write - space separated dwords .IP Examples: .IP \(bu 4 debian/control0000664000000000000000000000165612670035064010606 0ustar Source: mstflint4 Section: net Priority: extra Maintainer: Ubuntu Developers XSBC-Original-Maintainer: OFED and Debian Developement and Discussion Uploaders: Ana Beatriz Guerrero Lopez Build-Depends: debhelper (>= 9), zlib1g-dev, autotools-dev, libibmad-dev Standards-Version: 3.9.6 Vcs-Git: git://anonscm.debian.org/pkg-ofed/mstflint.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ofed/mstflint.git Homepage: https://www.openfabrics.org/downloads/mstflint/ Package: mstflint4 Architecture: i386 amd64 powerpc ppc64el arm64 Depends: ${shlibs:Depends}, ${misc:Depends} Provides: mstflint Conflicts: mstflint Replaces: mstflint Description: Mellanox firmware burning application This package contains a burning tool and diagnostic tools for Mellanox manufactured HCA/NIC cards. It also provides access to the relevant source code. debian/rules0000775000000000000000000000006312641125631010250 0ustar #!/usr/bin/make -f %: dh $@ --with autotools_dev debian/docs0000664000000000000000000000005012641073013010033 0ustar small_utils/hca_self_test.readme README debian/gbp.conf0000664000000000000000000000013012641073013010576 0ustar [DEFAULT] pristine-tar = True filter-pristine-tar = True filter = [ "debian", ] debian/compat0000664000000000000000000000000212641073013010363 0ustar 9