summaryrefslogtreecommitdiff
path: root/sys-fabric
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-11-07 03:03:27 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-11-07 03:03:27 +0000
commitabe17cf152eeb7571da8db4b25a30465644a41ba (patch)
tree33e648f624199affa607b84e65868f73d25281e6 /sys-fabric
parent2ceda67569b0a59d190a0f6afe73c18336b54268 (diff)
gentoo auto-resync : 07:11:2024 - 03:03:27
Diffstat (limited to 'sys-fabric')
-rw-r--r--sys-fabric/Manifest.gzbin880 -> 887 bytes
-rw-r--r--sys-fabric/mstflint/Manifest2
-rw-r--r--sys-fabric/mstflint/mstflint-4.30.0_p1.ebuild73
3 files changed, 75 insertions, 0 deletions
diff --git a/sys-fabric/Manifest.gz b/sys-fabric/Manifest.gz
index b34e9fdb45c3..6f8b97cf984d 100644
--- a/sys-fabric/Manifest.gz
+++ b/sys-fabric/Manifest.gz
Binary files differ
diff --git a/sys-fabric/mstflint/Manifest b/sys-fabric/mstflint/Manifest
index a90636e5b8f3..27e51f820182 100644
--- a/sys-fabric/mstflint/Manifest
+++ b/sys-fabric/mstflint/Manifest
@@ -3,6 +3,8 @@ AUX mstflint-4.29.0-build-system.patch 5198 BLAKE2B bf15ed94b298160b72330500cfeb
AUX mstflint-4.29.0-gcc15.patch 483 BLAKE2B 90633eb9482573c75cd1d8e31cd2b788412e2273348198c4e469714339159352b7b63b464a9d7d9e6eb167c9a4c619043cfc0295af108a15c67503a535ed5125 SHA512 f22c6b9d6f31dc3af0b56fec37a826b8159e87e4a725fc265633467190e7d043c3e2c2df36c5cb7bd103807c62115328d409d6246aa0f57d71e811b01697fd9a
DIST mstflint-4.23.0_p1.tar.gz 6269497 BLAKE2B 95c8fda6a1532baa50de7bcfffc128d24f30c41e670ee9fb19193025dee75fecf3b3e5bebec30bfd7ce9cc138c8eb61ba66a24d14ccec304cc75cae95d62995f SHA512 e0f98587272334d30910b7e8ea4c61ee0404924c85bfedd298ef0ae9321b177d56c8469588a2f59bc1584da79cd2908a222f3608b240d3b5498fb0cd87c06146
DIST mstflint-4.29.0_p1.tar.gz 6427725 BLAKE2B c3e725f91b9571e1d604b1474052768abb6efa4f171aed2c12ae0c35640f66d0ced4dd23c9b144dc04cdbfb7cf112f4fb099fad698da15e41071f475bf7fdc0a SHA512 3f80c03b536edf6801140f5f6faef7efe07d254038308cdbc5321018668c3e7c0d4789f1e47a95f525aa9f4d93b368234c7a6aaf0f5e1a0e5e4d2a580ead391a
+DIST mstflint-4.30.0_p1.tar.gz 6465632 BLAKE2B 22e96df270a252b5439c2e1c7c54c45b5be72b12dbb9f657c5d0cce10020c431f1dd9a40d2f3f8fce86a13eac394c3e50364edeb0053aabf45b81044c4d81faf SHA512 f43e18d995e2346cb5859fb78381cf57dd557e52708ce5a9d2fd39761a43dc2d7f435fff56f243d646226b989c517ef07fa0dcaa1857aeb78e8edd212e151d7e
EBUILD mstflint-4.23.0_p1.ebuild 1371 BLAKE2B 054e007ea31c7c98119c7955dba0f0bec6b130241fe00a3deed8ec17b5367821b14c821914cbbb9ec38367a9565e188e023636ca263859a8b660f071c745211f SHA512 7bc5bf8644b2f506ef6a9a2c3c4f90e13828be3cbf5f9029d60ffcf7986f9ad4d46dec78b72b628682c8e34dfe2eb6f5ada781914a4e4a5095c8bb52f8b27cc7
EBUILD mstflint-4.29.0_p1.ebuild 1690 BLAKE2B b770befc2b49dcf9fd353eabbaea84cc07ae58f44d1857c2d2a622768f3d992f0de00ddb99b54c6d736a54595c6c55baa8740569f5c31bbff87fda871b134664 SHA512 cad97d797bf85ca89d64f6930dbe4363111e7a27de475626745998a0045444070200d274da8f6833777d24aeb21e41274c5eee99abe15deacf676df77cfa1679
+EBUILD mstflint-4.30.0_p1.ebuild 1690 BLAKE2B 0d34eb1a17ac3952d9ebdf9f6d3dd91101ede61d8c82d6dc7e14c77e977300e0689a9f42710165585de13b567d2e9baba94a7e2035b42d1bc1b42e0a77b63f4c SHA512 60ff5f4f88fcf04e90791139eb1c0f2b7d439674a9742f26cd8533b761ffd4187a5c45c33106865c7cdf229aa3ba1427cfdc9a59b8b459c64aa0ff4095e7dc77
MISC metadata.xml 535 BLAKE2B 1e72f523ffe6502539cb60113b7c5c65528552aff7b5aab7e944afa982b0551a8c561cd58b516ba6daa76380598d8f24ec47eb63b7890c092f2aa40ba5f1af41 SHA512 5b95d56f53b0e89ace5a1032a063a3f606c44f5a913e87e9d7c2b61e7dac1a9c44c44819648996668c53c106bb085e9f50c10050fca6e457f39b40d48fea79c8
diff --git a/sys-fabric/mstflint/mstflint-4.30.0_p1.ebuild b/sys-fabric/mstflint/mstflint-4.30.0_p1.ebuild
new file mode 100644
index 000000000000..4b24fe0fefb2
--- /dev/null
+++ b/sys-fabric/mstflint/mstflint-4.30.0_p1.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+MY_PV="${PV/_p/-}"
+EGIT_COMMIT="37e382f8960a0cdf639dc9c55314a9b8d0733ead"
+
+DESCRIPTION="Mstflint - an open source version of MFT (Mellanox Firmware Tools)"
+HOMEPAGE="https://github.com/Mellanox/mstflint"
+SRC_URI="https://github.com/Mellanox/mstflint/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+LICENSE="|| ( GPL-2 BSD-2 )"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="adb-generic-tools inband ssl"
+
+DEPEND="
+ dev-db/sqlite:3=
+ sys-libs/zlib:=
+ inband? ( sys-cluster/rdma-core )
+ adb-generic-tools? (
+ dev-libs/boost:=
+ dev-libs/expat:=
+ )
+ ssl? ( dev-libs/openssl:= )
+"
+RDEPEND="
+ ${DEPEND}
+ sys-apps/pciutils
+"
+
+PATCHES=(
+ "${FILESDIR}/mstflint-4.29.0-build-system.patch"
+ "${FILESDIR}/mstflint-4.29.0-gcc15.patch"
+)
+
+src_prepare() {
+ default
+
+ sed -e 's: \*.o: .libs/*.o:' \
+ -e 's: tools_dev_types.o: .libs/tools_dev_types.o:' \
+ -i cmdif/Makefile.am dev_mgt/Makefile.am reg_access/Makefile.am || die
+
+ sed -e 's:_LDFLAGS = :_LDFLAGS = $(LDFLAGS) :' \
+ -i */Makefile.am mstdump/crd_main/Makefile.am || die
+
+ # https://bugs.gentoo.org/939944
+ sed -r -e 's:-Werror(=[a-zA-Z0-9-]+|) ::' \
+ -i configure.ac ext_libs/json/Makefile.am || die
+
+ printf -- '#define TOOLS_GIT_SHA "%s"' "${EGIT_COMMIT}" > ./common/gitversion.h || die
+
+ eautoreconf
+}
+
+src_configure() {
+ econf $(use_enable inband) \
+ $(use_enable ssl openssl) \
+ $(use adb-generic-tools && printf -- '--enable-adb-generic-tools')
+}
+
+src_compile() {
+ if use adb-generic-tools; then
+ pushd ext_libs/json >/dev/null || die
+ emake
+ popd >/dev/null || die
+ fi
+ default
+}