mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sys-fabric/mstflint: drop 4.23.0_p1, 4.29.0_p1
Signed-off-by: Zac Medico <zmedico@gentoo.org>
This commit is contained in:
@@ -1,3 +1 @@
|
||||
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
|
||||
|
||||
@@ -1,54 +0,0 @@
|
||||
# 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="acfaf553f2f571b1f9256b6cd558eafa767d9172"
|
||||
|
||||
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"
|
||||
|
||||
RDEPEND="
|
||||
dev-db/sqlite:3=
|
||||
virtual/zlib:=
|
||||
inband? ( sys-cluster/rdma-core )
|
||||
adb-generic-tools? (
|
||||
dev-libs/boost:=
|
||||
dev-libs/expat:=
|
||||
)
|
||||
ssl? ( dev-libs/openssl:= )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/mstflint-4.23.0_p1-C99-compat.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
|
||||
echo '#define TOOLS_GIT_SHA "'${EGIT_COMMIT}'"' > ./common/gitversion.h || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
eautoreconf
|
||||
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
|
||||
}
|
||||
@@ -1,73 +0,0 @@
|
||||
# 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="f5b9f306d90e108ba58bc7355b34926761a9eab0"
|
||||
|
||||
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=
|
||||
virtual/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
|
||||
}
|
||||
Reference in New Issue
Block a user