Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37568540
en ru br
Репозитории ALT
S:4.24.0-alt1
4.1: 1.4-alt0.M41.1
www.altlinux.org/Changes

Группа :: Система/Основа
Пакет: mstflint

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: mstflint-4.21.0.patch
Скачать


 .gear/rules            |   2 +
 .gear/tags/list        |   1 +
 .gear/upstream/remotes |   3 ++
 mstflint.spec          | 127 +++++++++++++++++++++++++++++++++++++++++++++++++
 mtcr_ul/Makefile.am    |   2 +-
 5 files changed, 134 insertions(+), 1 deletion(-)
diff --git a/.gear/rules b/.gear/rules
new file mode 100644
index 0000000..f2808d0
--- /dev/null
+++ b/.gear/rules
@@ -0,0 +1,2 @@
+tar: upstream:.
+diff: upstream:. . name=@name@-@version@.patch
\ No newline at end of file
diff --git a/.gear/tags/list b/.gear/tags/list
new file mode 100644
index 0000000..36268f4
--- /dev/null
+++ b/.gear/tags/list
@@ -0,0 +1 @@
+d3544651665b241782ae9a2d4ebc620ea6b1db5e upstream
diff --git a/.gear/upstream/remotes b/.gear/upstream/remotes
new file mode 100644
index 0000000..5a63b4e
--- /dev/null
+++ b/.gear/upstream/remotes
@@ -0,0 +1,3 @@
+[remote "upstream"]
+	url = https://github.com/Mellanox/mstflint.git
+	fetch = +refs/heads/*:refs/remotes/upstream/*
diff --git a/mstflint.spec b/mstflint.spec
new file mode 100644
index 0000000..87a8165
--- /dev/null
+++ b/mstflint.spec
@@ -0,0 +1,127 @@
+%{?optflags_lto:%global optflags_lto %optflags_lto -ffat-lto-objects}
+%def_enable dc
+%def_disable fw_mgr
+%def_enable xml2
+%def_enable cs
+%def_enable inband
+%def_enable openssl
+
+Name: mstflint
+Version: 4.21.0
+Release: alt1
+
+Summary: Mellanox firmware burning application
+License: GPLv2 or BSD
+Group: System/Base
+
+Url: http://openib.org/
+# VCS-git: https://github.com/Mellanox/mstflint.git
+Source: %name-%version.tar
+Patch: %name-%version.patch
+BuildRequires(pre): rpm-build-python3
+BuildRequires: autoconf-archive
+BuildRequires: gcc-c++
+%{?_enable_dc:BuildRequires: zlib-devel}
+%{?_enable_fw_mgr:BuildRequires: libcurl-devel liblzma-devel zlib-devel boost-devel}
+%{?_enable_xml2:BuildRequires: libxml2-devel}
+%{?_enable_inband:BuildRequires: rdma-core-devel}
+%{?_enable_cs:BuildRequires: libssl-devel}
+%{?_enable_openssl:BuildRequires: libssl-devel openssl}
+BuildRequires: libiniparser-devel jsoncpp-devel libmuparser-devel libsqlite3-devel
+AutoReq: yes, nopython
+
+%add_python_compile_exclude %_libdir/%name/python_tools
+%add_python3_compile_exclude %_libdir/%name/python_tools
+%add_python3_path %_libdir/%name/python_tools
+
+
+%description
+This package contains a tool for burning updated firmware on to
+Mellanox manufactured InfiniBand adapters.
+
+%prep
+%setup
+%patch -p1
+
+%ifarch %e2k
+sed -i "s/__x86_64__/__e2k__/" common/compatibility.h \
+	mtcr_ul/packets_common.h tools_layouts/adb_to_c_utils.h
+%endif
+
+%build
+mkdir config
+echo "#define TOOLS_GIT_SHA \"%release\"" > common/gitversion.h
+
+%autoreconf
+%configure \
+    %{subst_enable dc} \
+    %{?_enable_fw_mgr:--enable-fw-mgr} \
+    %{subst_enable xml2} \
+    %{subst_enable inband} \
+    %{subst_enable cs} \
+    %{subst_enable openssl} \
+    MSTFLINT_VERSION_STR="%name %version-%release"
+
+%make_build
+sed -i "s|^#!/usr/bin/env python.*|#!/usr/bin/python3|" tracers/fwtrace/mstfwtrace.py
+sed -i "s|^#!/usr/bin/python$|#!/usr/bin/python3|" common/autocomplete/mft_help_to_completion.py
+
+%install
+%makeinstall_std
+rm -rf %buildroot%_includedir
+rm -f  %buildroot%_libdir/*.a
+
+%files
+%_bindir/*
+%_datadir/%name
+%dir %_libdir/%name
+%_libdir/%name/python_tools
+%_man1dir/*
+
+%changelog
+* Mon Aug 08 2022 Andrew A. Vasilyev <andy@altlinux.org> 4.21.0-alt1
+- v4.21.0-1
+
+* Fri Jun 17 2022 Andrew A. Vasilyev <andy@altlinux.org> 4.20.1-alt1
+- v4.20.1-1
+
+* Fri Dec 31 2021 Andrew A. Vasilyev <andy@altlinux.org> 4.18.0-alt1
+- v4.18.0-1
+
+* Fri Dec 31 2021 Michael Shigorin <mike@altlinux.org> 4.17.0-alt2
+- e2k ftbfs fix (ilyakurdyukov@)
+- minor spec cleanup
+
+* Mon Nov 15 2021 Andrew A. Vasilyev <andy@altlinux.org> 4.17.0-alt1
+- v4.17.0-1
+
+* Wed Oct 27 2021 Andrew A. Vasilyev <andy@altlinux.org> 4.16.0-alt3
+- FTBFS: fix build with LTO
+
+* Wed Jun 09 2021 Alexey Shabalin <shaba@altlinux.org> 4.16.0-alt2
+- v4.16.0-2
+
+* Sun Mar 14 2021 Alexey Shabalin <shaba@altlinux.org> 4.16.0-alt1
+- v4.16.0-1
+
+* Sun Apr 12 2020 Alexey Shabalin <shaba@altlinux.org> 4.14.0-alt1
+- v4.14.0-1
+
+* Fri Oct 18 2019 Alexey Shabalin <shaba@altlinux.org> 4.13.1-alt1
+- v4.13.1-1
+
+* Mon Feb 11 2019 Alexey Shabalin <shaba@altlinux.org> 4.11.0-alt1
+- v4.11.0-2
+
+* Wed Oct 31 2018 Alexey Shabalin <shaba@altlinux.org> 4.10.0-alt1
+- v4.10.0-3
+
+* Wed Apr 17 2013 Dmitry V. Levin (QA) <qa_ldv@altlinux.org> 1.4-alt2.qa1
+- NMU: rebuilt for debuginfo.
+
+* Tue Aug 17 2010 Andriy Stepanov <stanv@altlinux.ru> 1.4-alt2
+- New version (OFED 1.5.1)
+
+* Tue Dec 08 2009 Stanislav Ievlev <inger@altlinux.org> 1.4-alt1
+- Initial build
+
diff --git a/mtcr_ul/Makefile.am b/mtcr_ul/Makefile.am
index 17626ed..e9c794c 100644
--- a/mtcr_ul/Makefile.am
+++ b/mtcr_ul/Makefile.am
@@ -33,7 +33,7 @@
 # Makefile.am -- Process this file with automake to produce Makefile.in
 AM_CPPFLAGS = -I$(top_srcdir)/include/mtcr_ul -I$(top_srcdir)/common -I$(top_srcdir)/dev_mgt
 
-pkglib_LIBRARIES = libmtcr_ul.a
+noinst_LIBRARIES = libmtcr_ul.a
 
 libmtcr_ul_a_SOURCES = mtcr_ul.c mtcr_ib.h  mtcr_int_defs.h\
 			mtcr_ib_res_mgt.h mtcr_ib_res_mgt.c\
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin