summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-block')
-rw-r--r--sys-block/arcconf/Manifest1
-rw-r--r--sys-block/arcconf/arcconf-4.16.00.26273.ebuild35
-rw-r--r--sys-block/arcconf/arcconf-4.17.00.26540.ebuild2
-rw-r--r--sys-block/blktrace/blktrace-1.3.0-r1.ebuild2
-rw-r--r--sys-block/blktrace/blktrace-1.3.0.ebuild61
-rw-r--r--sys-block/fio/fio-3.34.ebuild6
-rw-r--r--sys-block/fio/fio-3.36-r1.ebuild (renamed from sys-block/fio/fio-3.36.ebuild)10
-rw-r--r--sys-block/megamgr/Manifest1
-rw-r--r--sys-block/megamgr/megamgr-5.20-r2.ebuild36
-rw-r--r--sys-block/megamgr/metadata.xml5
-rw-r--r--sys-block/parted/files/parted-3.6-underlinked-util-linux.patch35
-rw-r--r--sys-block/parted/parted-3.6-r2.ebuild (renamed from sys-block/parted/parted-3.6-r1.ebuild)7
-rw-r--r--sys-block/partitionmanager/Manifest2
-rw-r--r--sys-block/partitionmanager/partitionmanager-24.05.1.ebuild (renamed from sys-block/partitionmanager/partitionmanager-24.02.2.ebuild)2
-rw-r--r--sys-block/sas2ircu/Manifest2
-rw-r--r--sys-block/sas2ircu/sas2ircu-20-r1.ebuild (renamed from sys-block/sas2ircu/sas2ircu-20.ebuild)59
-rw-r--r--sys-block/targetcli-fb/Manifest1
-rw-r--r--sys-block/targetcli-fb/targetcli-fb-2.1.54.ebuild4
-rw-r--r--sys-block/targetcli-fb/targetcli-fb-2.1.58.ebuild30
-rw-r--r--sys-block/tgt/Manifest1
-rw-r--r--sys-block/tgt/tgt-1.0.92.ebuild58
-rw-r--r--sys-block/thin-provisioning-tools/thin-provisioning-tools-1.0.10.ebuild2
-rw-r--r--sys-block/thin-provisioning-tools/thin-provisioning-tools-9999.ebuild2
-rw-r--r--sys-block/whdd/Manifest1
-rw-r--r--sys-block/whdd/whdd-3.1.ebuild36
25 files changed, 223 insertions, 178 deletions
diff --git a/sys-block/arcconf/Manifest b/sys-block/arcconf/Manifest
index ca92cbd80b76..9f48b0100e0a 100644
--- a/sys-block/arcconf/Manifest
+++ b/sys-block/arcconf/Manifest
@@ -1,4 +1,3 @@
-DIST arcconf_B26273.zip 36205958 BLAKE2B 8baf2e96419ddf7459f61f32e48f721d5b7f11ae20e4a2831d1290ccebafcf6a49078caa881a4ec49aa5be3ccfc54ca2dc542cc2630c5f773549b3a7a60bcd79 SHA512 453067e6b0bc49e8bd1bcd97b0059e2f1752d53b062aedeac32a7a27e18122408bffd403a8108c585d67397d4dc7e7cc6ddced9681e215274ed4bf34387ea915
DIST arcconf_B26540.zip 31325719 BLAKE2B fd09b46ba20b7e7cef745b1b140ef4d58db8b01dba9fdce87d9f3cc064984fb92f1a57b65c4fff2b7908e4131b58ccfb4fb1f24b4a1c3b017ee9a4233178b01f SHA512 58ab17983626cfdec5f3a3b79c16a500ac289a8c97387f8edaea77c203bffaf953e721feb2b6b899695be66b1404e9037ac812b62134e40509dd59c3261552e0
DIST arcconf_v2_01_22270.zip 47168976 BLAKE2B 95693a1408e5a4d0d638bbf265f2e1e64247dfec2b1078b56860c5fcd4b13ffa5967bfb9967abfd4b79c788aaeb20759b3a9070a84b083c1653e4868a96ac4cf SHA512 0f91a697c44ea0c0561bec9e432e7d4eba8eb8a2b0255a9867bdb183f81e745aee1dcc2b0017847803dbb27f55cad3e985f4bcd3a202c52f5b557fb724e94d9e
DIST arcconf_v3_07_23980.zip 95993025 BLAKE2B 7a681a05cea01b30fc6d6f152a7fd6b388a5b23c66306e14f3f4da1f257c78169a98590d071130f31df515d665e55fde5d260421dbd890a87eb39724c216a0b3 SHA512 f2b0b17390e62caee08c5835ffb18aaa3c30b4d5878e3f859d03acbd6e45757ff35686fde69103ea1010a8c76ae95571a916d526504f52984f586a6f3a7fc270
diff --git a/sys-block/arcconf/arcconf-4.16.00.26273.ebuild b/sys-block/arcconf/arcconf-4.16.00.26273.ebuild
deleted file mode 100644
index cd93ca1d2137..000000000000
--- a/sys-block/arcconf/arcconf-4.16.00.26273.ebuild
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-MY_PV="B$(ver_cut 4)"
-
-inherit linux-info
-
-DESCRIPTION="Microsemi Adaptec RAID Controller Command Line Utility"
-HOMEPAGE="https://www.microsemi.com/"
-SRC_URI="http://download.adaptec.com/raid/storage_manager/${PN}_${MY_PV}.zip"
-S="${WORKDIR}/linux"
-
-LICENSE="Microsemi"
-SLOT="0"
-KEYWORDS="-* amd64 arm64"
-
-BDEPEND="app-arch/unzip"
-
-RESTRICT="mirror bindist"
-
-QA_PREBUILT="usr/bin/arcconf"
-
-pkg_setup() {
- # CONFIG_HARDENED_USERCOPY_PAGESPAN makes ARCCONF segault
- if linux-info_get_any_version && linux_config_src_exists; then
- CONFIG_CHECK="!HARDENED_USERCOPY_PAGESPAN"
- check_extra_config
- fi
-}
-
-src_install() {
- dobin $(usex arm64 'linuxarm_x64/cmdline/' '')arcconf
-}
diff --git a/sys-block/arcconf/arcconf-4.17.00.26540.ebuild b/sys-block/arcconf/arcconf-4.17.00.26540.ebuild
index e1c01a3e4e5c..564785655837 100644
--- a/sys-block/arcconf/arcconf-4.17.00.26540.ebuild
+++ b/sys-block/arcconf/arcconf-4.17.00.26540.ebuild
@@ -14,7 +14,7 @@ S="${WORKDIR}"
LICENSE="Microsemi"
SLOT="0"
-KEYWORDS="-* ~amd64 ~arm64"
+KEYWORDS="-* amd64 arm64"
BDEPEND="app-arch/unzip"
diff --git a/sys-block/blktrace/blktrace-1.3.0-r1.ebuild b/sys-block/blktrace/blktrace-1.3.0-r1.ebuild
index cfd56e795983..66b8416124ab 100644
--- a/sys-block/blktrace/blktrace-1.3.0-r1.ebuild
+++ b/sys-block/blktrace/blktrace-1.3.0-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://brick.kernel.dk/snaps/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~ppc ~x86"
+KEYWORDS="amd64 ~arm ppc x86"
IUSE="doc"
RDEPEND="dev-libs/libaio"
diff --git a/sys-block/blktrace/blktrace-1.3.0.ebuild b/sys-block/blktrace/blktrace-1.3.0.ebuild
deleted file mode 100644
index 5767d176387e..000000000000
--- a/sys-block/blktrace/blktrace-1.3.0.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-
-inherit toolchain-funcs flag-o-matic linux-info
-
-MY_PN="blktrace"
-if [[ ${PV} =~ _p20 ]]; then
- #https://brick.kernel.dk/snaps/blktrace-git-20210419122502.tar.gz
- MY_P="${MY_PN}-git-${PV/*_p}"
- EXT='tar.gz'
- S="${WORKDIR}/${PN}"
-else
- MY_P="${MY_PN}-${PV}"
- EXT='tar.bz2'
- S="${WORKDIR}/${MY_P}"
-fi
-
-DESCRIPTION="show detailed info about what is happening on a block device io queue"
-HOMEPAGE="https://git.kernel.dk/cgit/blktrace/"
-SRC_URI="https://brick.kernel.dk/snaps/${MY_P}.${EXT}"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~arm ppc x86"
-IUSE="doc"
-
-RDEPEND="dev-libs/libaio"
-# This is a Linux specific app!
-DEPEND="${RDEPEND}
- sys-kernel/linux-headers
- doc? (
- virtual/latex-base
- >=app-text/texlive-core-2014
- )
-"
-
-CONFIG_CHECK="~BLK_DEV_IO_TRACE"
-WARNING_BLK_DEV_IO_TRACE="you need to enable BLK_DEV_IO_TRACE kernel option if you want to gather traces from this machine"
-
-PATCHES=(
- #"${FILESDIR}"/${P}-overlapping-io-stats.patch
- #"${FILESDIR}"/${PN}-1.2.0-ldflags.patch #335741
- #"${FILESDIR}"/${PN}-1.2.0-parallel-build.patch #335741
-)
-
-src_compile() {
- append-cppflags -DLVM_REMAP_WORKAROUND -W -I"${S}"
- emake CC="$(tc-getCC)" CFLAGS="${CFLAGS} ${CPPFLAGS}"
- if use doc; then
- export VARTEXFONTS="${T}/fonts"
- emake docs
- fi
-}
-
-src_install() {
- emake install CC="$(tc-getCC)" CFLAGS="${CFLAGS} ${CPPFLAGS}" DESTDIR="${ED}" prefix="/usr" mandir="/usr/share/man"
- einstalldocs
- use doc && dodoc doc/blktrace.pdf btt/doc/btt.pdf
-}
diff --git a/sys-block/fio/fio-3.34.ebuild b/sys-block/fio/fio-3.34.ebuild
index a6ad49a67e9c..734bccd2c3c0 100644
--- a/sys-block/fio/fio-3.34.ebuild
+++ b/sys-block/fio/fio-3.34.ebuild
@@ -63,6 +63,12 @@ PATCHES=(
"${FILESDIR}"/fio-2.2.13-libmtd.patch
)
+QA_CONFIG_IMPL_DECL_SKIP+=(
+ # Internally uses -Werror=implicit-function-declaration for all configure
+ # checks. bug #904276
+ '*'
+)
+
src_prepare() {
default
diff --git a/sys-block/fio/fio-3.36.ebuild b/sys-block/fio/fio-3.36-r1.ebuild
index 5c3e73c4de29..5077cca0a007 100644
--- a/sys-block/fio/fio-3.36.ebuild
+++ b/sys-block/fio/fio-3.36-r1.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
@@ -16,7 +16,7 @@ SRC_URI="https://brick.kernel.dk/snaps/${MY_P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~x86"
+KEYWORDS="amd64 arm ~arm64 ~ia64 ~loong ~ppc ppc64 ~riscv x86"
IUSE="aio curl glusterfs gnuplot gtk io-uring nfs numa pandas python rbd rdma static tcmalloc test valgrind zbc zlib"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )
gnuplot? ( python )
@@ -63,6 +63,12 @@ PATCHES=(
"${FILESDIR}"/fio-2.2.13-libmtd.patch
)
+QA_CONFIG_IMPL_DECL_SKIP+=(
+ # Internally uses -Werror=implicit-function-declaration for all configure
+ # checks. bug #904276
+ '*'
+)
+
src_prepare() {
default
diff --git a/sys-block/megamgr/Manifest b/sys-block/megamgr/Manifest
deleted file mode 100644
index 3391acfcacde..000000000000
--- a/sys-block/megamgr/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST ut_linux_mgr_5.20.zip 253549 BLAKE2B eb173d349e5399229f55ec073246993068caea01dcc707ec11d34a418cd42368eb80028e4363cad7e1bb707558e6eb8b629a2071387bff40471daa98d1d14c94 SHA512 3f942ab3d7a192bc1a945945d20545ffdbbbdd9c4af238701cf7357fe5b3f405c2e777da7c42908e1acb676499ee87aec261bcad729a4d787f8e098af132bda6
diff --git a/sys-block/megamgr/megamgr-5.20-r2.ebuild b/sys-block/megamgr/megamgr-5.20-r2.ebuild
deleted file mode 100644
index 7688cadd9b6c..000000000000
--- a/sys-block/megamgr/megamgr-5.20-r2.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-DESCRIPTION="LSI Logic MegaRAID Text User Interface management tool"
-HOMEPAGE="http://www.lsi.com"
-SRC_URI="http://www.lsi.com/downloads/Public/MegaRAID%20Common%20Files/ut_linux_${PN##mega}_${PV}.zip"
-
-LICENSE="LSI"
-SLOT="0"
-# This package can never enter stable, it can't be mirrored and upstream
-# can remove the distfiles from their mirror anytime.
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-RESTRICT="mirror fetch"
-
-DEPEND="app-arch/unzip"
-RDEPEND=""
-
-S="${WORKDIR}"
-
-QA_PRESTRIPPED="/opt/bin/megamgr"
-
-pkg_nofetch() {
- einfo "Upstream has implement a mandatory clickthrough EULA for distfile download"
- einfo "Please visit ${SRC_URI}"
- einfo "And place ${A} in your DISTDIR directory"
-}
-
-src_install() {
- exeinto /opt/bin
- newexe megamgr.bin megamgr
-
- newdoc ut_linux_${PN##mega}_${PV}.txt ${PN}-release-${PV}.txt
-}
diff --git a/sys-block/megamgr/metadata.xml b/sys-block/megamgr/metadata.xml
deleted file mode 100644
index 115e9d64a669..000000000000
--- a/sys-block/megamgr/metadata.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <!-- maintainer-needed -->
-</pkgmetadata>
diff --git a/sys-block/parted/files/parted-3.6-underlinked-util-linux.patch b/sys-block/parted/files/parted-3.6-underlinked-util-linux.patch
index 6e02f4aac8d8..1b23c27398fb 100644
--- a/sys-block/parted/files/parted-3.6-underlinked-util-linux.patch
+++ b/sys-block/parted/files/parted-3.6-underlinked-util-linux.patch
@@ -1,5 +1,6 @@
https://bugs.gentoo.org/910487
https://git.savannah.gnu.org/cgit/parted.git/commit/?id=d22c2d01f62139e0d386d90584cac0705857a571
+https://git.savannah.gnu.org/cgit/parted.git/commit/?id=60b3300ed6d3ba2e7af4ddce55bd873b232d12ff
From d22c2d01f62139e0d386d90584cac0705857a571 Mon Sep 17 00:00:00 2001
From: Yegor Yefremov <yegorslists@googlemail.com>
@@ -24,3 +25,37 @@ Signed-off-by: Brian C. Lane <bcl@redhat.com>
if test $ENABLE_DEVICE_MAPPER = yes; then
--
cgit v1.1
+
+From 60b3300ed6d3ba2e7af4ddce55bd873b232d12ff Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Mon, 12 Jun 2023 10:55:19 -0700
+Subject: bug#64034: [PATCH] libparted: link libparted-fs-resize.so to libuuid
+
+uuid_generate() is used in this library
+Hence, add UUID_LIBS to libparted_fs_resize_la_LIBADD to avoid
+
+"ld.lld: error: undefined reference due to --no-allow-shlib-undefined: uuid_generate"
+
+This is uncovered by lld linker linking fatresize package
+due to this linker defaulting to --no-allow-shlib-undefined.
+
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+Signed-off-by: Brian C. Lane <bcl@redhat.com>
+---
+ libparted/fs/Makefile.am | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/libparted/fs/Makefile.am b/libparted/fs/Makefile.am
+index 41a60d9..7fa8d14 100644
+--- a/libparted/fs/Makefile.am
++++ b/libparted/fs/Makefile.am
+@@ -75,6 +75,7 @@ libparted_fs_resize_la_LDFLAGS = \
+ EXTRA_DIST += fsresize.sym
+ libparted_fs_resize_la_DEPENDENCIES = $(sym_file)
+
++libparted_fs_resize_la_LIBADD = $(UUID_LIBS)
+ libparted_fs_resize_la_SOURCES = \
+ r/filesys.c \
+ r/fat/bootsector.c \
+--
+cgit v1.1
diff --git a/sys-block/parted/parted-3.6-r1.ebuild b/sys-block/parted/parted-3.6-r2.ebuild
index ea3667cc4060..9de1986f0bf4 100644
--- a/sys-block/parted/parted-3.6-r1.ebuild
+++ b/sys-block/parted/parted-3.6-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -64,6 +64,11 @@ src_prepare() {
}
src_configure() {
+ # -fanalyzer substantially slows down the build and isn't useful for
+ # us. It's useful for upstream as it's static analysis, but it's not
+ # useful when just getting something built.
+ export gl_cv_warn_c__fanalyzer=no
+
local myconf=(
$(use_enable debug)
$(use_enable device-mapper)
diff --git a/sys-block/partitionmanager/Manifest b/sys-block/partitionmanager/Manifest
index a881ed947b15..2b3bfcf847b6 100644
--- a/sys-block/partitionmanager/Manifest
+++ b/sys-block/partitionmanager/Manifest
@@ -1,2 +1,2 @@
DIST partitionmanager-23.08.5.tar.xz 2148168 BLAKE2B c755a3f828de0acd70f785896c0837a8730b4429b678033d206d67684e648dc43af3d4ae001125fe5a843cc51ef9544c69619e68452936b734afa7d75d37b62f SHA512 5eb6ee5f021a40c597d7f21bc4ae63d05a94564caa32ee72e4a44eb1d21ae7d4628e8bbf5b6645dcf5be2ac3162e5acc712f2982a14ce60ec5acc87409252f1a
-DIST partitionmanager-24.02.2.tar.xz 2159428 BLAKE2B 48cf13adcc55c94d49aa9fd1be98a2a79711c9c5086db67115813da5b60f282ebe242d690aaa93ae3b8d2811a762011fff7617d13efa25ffa264bc62c1d95ad3 SHA512 53694c88828fe83a5e29dd1af6e20d48f4670a4925457ff15f640b5e1d457b1c2fcf266dd358163e2e1b72bd69b570d72dcde9adb8ef9e610666f6bb74eb7094
+DIST partitionmanager-24.05.1.tar.xz 2314392 BLAKE2B 901986a7fb0811dcde47526e83d7f3959f189222c7c1871e56f1db6c0777db35e595bb6eec7a7cd7fe03e3053c59745e2aafe507c110a914bcc07013d5fac00e SHA512 f76a09201760b5dde407ad7309941c1d5cf26d6b2fb13f6d6b9e9543cb2f07cc5e46be6cecba3777f2fe2ad73587423a4c1c52753d1f508b4b58a145a521d27a
diff --git a/sys-block/partitionmanager/partitionmanager-24.02.2.ebuild b/sys-block/partitionmanager/partitionmanager-24.05.1.ebuild
index 587a8862b96c..29cf5146dd82 100644
--- a/sys-block/partitionmanager/partitionmanager-24.02.2.ebuild
+++ b/sys-block/partitionmanager/partitionmanager-24.05.1.ebuild
@@ -4,7 +4,7 @@
EAPI=8
ECM_HANDBOOK="optional"
-KFMIN=6.0.0
+KFMIN=6.3.0
PVCUT=$(ver_cut 1-3)
QTMIN=6.6.2
inherit ecm gear.kde.org
diff --git a/sys-block/sas2ircu/Manifest b/sys-block/sas2ircu/Manifest
index 1726a069fa4a..b91c1c8bdbfa 100644
--- a/sys-block/sas2ircu/Manifest
+++ b/sys-block/sas2ircu/Manifest
@@ -1,2 +1,2 @@
DIST SAS2IRCU_P20.zip 2777958 BLAKE2B ba8c3ef1cf353af90f32a53722b3a7039768c0f48e1d5b48766acdf1c1c05a039692e1edc2586140da5af0f1f2378f4bfaca219895317dc7974004f3aed25343 SHA512 a0a4fa7d07959aa6a81d3540e71e3cc248c23267875ca098da6a80850e008cbdf57b2d6456b5fe17ef890fd39ac550788c9769d169a0673578632f1a8c8a8311
-DIST SAS2_IR_User_Guide.pdf 999388 BLAKE2B 4f1a198ccaa04cf250430106e3254cfb37fd16a1e89861030ed92f52de1d8cff17337709bb641093d78acb44995c03fceff739a0c416f7e3b1692c3b8c6a85dc SHA512 7370b54021978eb543270c992569637092571eaad73896b4bfdf7c7bc45bfd0cb0c6f8f34468255372103f562eb1e3ce2ad30cc6f0d37e7f9bc23f61ee166355
+DIST SAS2IRCU_User_Guide.pdf 794046 BLAKE2B e976f57ada3c51b58bfee24cd2f5d059f59b48bf388d93b146238d54aa09b06f6d450e3ccf149903871dfcdb32807a35d6f379738e149b410b7c1279f811153f SHA512 515869794be428ffbefcbfadac992912fb0eebab0cda640b315b4a231b5f25f1205978605f108b9009380015f3058c47e0ce4352c693ef23ab31980ea8b821a0
diff --git a/sys-block/sas2ircu/sas2ircu-20.ebuild b/sys-block/sas2ircu/sas2ircu-20-r1.ebuild
index 6113f2cb5019..6fc257827999 100644
--- a/sys-block/sas2ircu/sas2ircu-20.ebuild
+++ b/sys-block/sas2ircu/sas2ircu-20-r1.ebuild
@@ -1,48 +1,48 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
-inherit mount-boot
+MY_PN=SAS2IRCU
+MY_P="${MY_PN}_P${PV}"
+
+DISTFILE_BIN=${MY_P}.zip
+DISTFILE_DOC="SAS2IRCU_User_Guide.pdf"
+DOC_PV=12
+SRC_URI_BIN="https://docs.broadcom.com/docs/${DISTFILE_BIN}"
+# This is "SAS-2 Integrated RAID Configuration Utility (SAS2IRCU) User Guide"
+# and replaces the older SAS2_IR_User_Guide.pdf.
+# It contains additional material compared to the older PDF.
+SRC_URI_DOC="https://docs.broadcom.com/doc/12353380"
+
+inherit mount-boot secureboot
DESCRIPTION="LSI MPT-SAS2 controller management tool"
HOMEPAGE="https://www.broadcom.com/products/storage/host-bus-adapters/sas-9207-8e#tab-archive-drivers4-abc"
+SRC_URI="
+${SRC_URI_BIN}
+doc? ( ${SRC_URI_DOC} -> ${DISTFILE_DOC} )
+"
+S="${WORKDIR}/${MY_P}"
LICENSE="LSI"
SLOT="0"
KEYWORDS="-* ~amd64 ~ppc64 ~x86 ~x64-solaris"
-IUSE="uefi doc"
+IUSE="doc uefi"
RESTRICT="strip fetch mirror"
-DEPEND="app-arch/unzip"
-RDEPEND=""
+BDEPEND="app-arch/unzip"
QA_PREBUILT="opt/lsi/sas2ircu boot/efi/sas2ircu.efi"
-MY_PN=SAS2IRCU
-MY_P="${MY_PN}_P${PV}"
-
-DISTFILE_BIN=${MY_P}.zip
-DISTFILE_DOC=SAS2_IR_User_Guide.pdf
-DOC_PV=12
-
-SRC_URI="
-https://docs.broadcom.com/docs/${DISTFILE_BIN}
-https://docs.broadcom.com/docs-and-downloads/host-bus-adapters/host-bus-adapters-common-files/sas_sata_6g_p20_point6/$DISTFILE_BIN
-doc? ( https://docs.broadcom.com/docs-and-downloads/host-bus-adapters/host-bus-adapters-common-files/SAS2_IR_User_Guide.pdf )
-"
-
LICENSE_URL="http://www.lsi.com/cm/License.do?url=&prodName=&subType=Miscellaneous&locale=EN"
-S="${WORKDIR}/${MY_P}"
-
pkg_nofetch() {
elog "LSI has a mandatory click-through license on thier binaries."
- elog "Please visit $HOMEPAGE and download ${DISTFILE_BIN} from the Management Software and Tools section."
- elog "If the file has been moved again, the license form might be available at https://docs.broadcom.com/docs/${DISTFILE_BIN}"
+ elog "Please visit ${SRC_URI_BIN} to agree to the license and download the binary."
elog "After downloading, move ${DISTFILE_BIN} into your DISTDIR directory"
if use doc; then
- elog "Please also download 'SAS-2 Integrated RAID Configuration Utility User Guide' (${DISTFILE_DOC}) "
- elog "and also place it into your DISTDIR directory"
+ elog "Please also download 'SAS-2 Integrated RAID Configuration Utility User Guide' at ${SRC_URI_DOC}"
+ elog "and also place it into your DISTDIR directory, named ${DISTFILE_DOC}"
fi
}
@@ -90,10 +90,15 @@ src_install() {
use ppc64 && doexe sas2ircu_linux_x86_rel/sas2ircu
use x64-solaris && doexe sas2ircu_solaris_x86_rel/sas2ircu
if use uefi; then
- exeinto /boot/efi/
- doexe sas2ircu_efi_ebc_rel/sas2ircu.efi
+ if use amd64; then
+ exeinto /boot/efi/
+ doexe sas2ircu_efi_ebc_rel/sas2ircu.efi
+ secureboot_auto_sign --in-place
+ fi
fi
dodoc Readme_Release_Notes_SAS2IRCU_Phase_${PV}.00.00.00.txt
dodoc SAS2IRCU_Phase${PV}.0-${PV}.00.00.00.pdf
- use doc && dodoc "${DISTDIR}"/$DISTFILE_DOC
+ use doc && dodoc "${DISTDIR}"/${DISTFILE_DOC}
+ dodir /opt/bin
+ dosym ../lsi/sas2ircu /opt/bin/sas2ircu
}
diff --git a/sys-block/targetcli-fb/Manifest b/sys-block/targetcli-fb/Manifest
index c5634ee261c3..f7f403fb8396 100644
--- a/sys-block/targetcli-fb/Manifest
+++ b/sys-block/targetcli-fb/Manifest
@@ -1 +1,2 @@
DIST targetcli-fb-2.1.54.tar.gz 39565 BLAKE2B 6eeb7da39fb047f9123fe12ea92a41d8e6fbd6728fdde8e1315e0c0224ad8abfa29df798680949d89cad6ff5afcac8112bbcc63b019f6245eff12089ea7b64d3 SHA512 dd008b8c47acc095078454c94b0c6f19ba88f86ddf1b5335eb050abf61d89ce1ffb7411ff3a174de60ed9759e6337206253aa9b2def6497b85c884a0a111308d
+DIST targetcli-fb-2.1.58.tar.gz 39546 BLAKE2B bfbe8435e49874803550225aa6d0b002382e5858c151503266a63a3368ffe19b3b076f41b4d091a4c7eaa3c6d70d0df2a0f07035b8f462fedeea20e00f915805 SHA512 1ef1dda1d8df8e98ba8a5882368477dfb5a0aa880c535dbe526e221dc5be32c49eaadda6c54f60b045288277d6d80dc6b47283fc656144f8ab5cde570d7e6343
diff --git a/sys-block/targetcli-fb/targetcli-fb-2.1.54.ebuild b/sys-block/targetcli-fb/targetcli-fb-2.1.54.ebuild
index 3f6d5ded9f8e..5d09776d5154 100644
--- a/sys-block/targetcli-fb/targetcli-fb-2.1.54.ebuild
+++ b/sys-block/targetcli-fb/targetcli-fb-2.1.54.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
inherit distutils-r1 systemd
DESCRIPTION="Command shell for managing Linux LIO kernel target"
diff --git a/sys-block/targetcli-fb/targetcli-fb-2.1.58.ebuild b/sys-block/targetcli-fb/targetcli-fb-2.1.58.ebuild
new file mode 100644
index 000000000000..4a1da00297f2
--- /dev/null
+++ b/sys-block/targetcli-fb/targetcli-fb-2.1.58.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+DISTUTILS_USE_PEP517=setuptools
+inherit distutils-r1 systemd
+
+DESCRIPTION="Command shell for managing Linux LIO kernel target"
+HOMEPAGE="https://github.com/open-iscsi/targetcli-fb"
+SRC_URI="https://github.com/open-iscsi/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+RDEPEND="dev-python/configshell-fb[${PYTHON_USEDEP}]
+ dev-python/pygobject:3[${PYTHON_USEDEP}]
+ >=dev-python/rtslib-fb-2.1.73[${PYTHON_USEDEP}]
+ dev-python/six[${PYTHON_USEDEP}]
+ sys-apps/dbus"
+
+src_install() {
+ distutils-r1_src_install
+
+ keepdir /etc/target /etc/target/backup
+ doman targetcli.8
+ systemd_dounit systemd/targetclid.{service,socket}
+}
diff --git a/sys-block/tgt/Manifest b/sys-block/tgt/Manifest
index aa413c25af67..1b8c248e227a 100644
--- a/sys-block/tgt/Manifest
+++ b/sys-block/tgt/Manifest
@@ -1 +1,2 @@
DIST tgt-1.0.91.tar.gz 305813 BLAKE2B 8ab714ff6ce29ead7800a2538241ed93e3c363881c0d37009bf7074063ff88daa25969cb5ebcac2ac55ec475cd02756656c82bfaa855da88569f0b577034a8c0 SHA512 ea3a2d82c2533267a58b52d8db7cd8576447f1713ce5431955d2871272976b0e1c155c27c28e0bbf29b75b3e3a9fcf608e1fc1ce9ebeb558ae0219b0be2b5ad5
+DIST tgt-1.0.92.tar.gz 305797 BLAKE2B 144773460e5ab4241e9cf7e35f4b84b347da8a48dfbb2dfba4b0c02f7d346746a80f1f3c65cdbb0fa1c1dc25a19b0cbd951e6b9c38a9022f2136ffc95b67d00d SHA512 a865a61bae3c4503ad4a67192fc7d0f16f0dbf767d067f2a65ddc24f674ec33413a130b4861b7ab33324243489e45259644f84b7f2d8162005d23f0eb2476bd2
diff --git a/sys-block/tgt/tgt-1.0.92.ebuild b/sys-block/tgt/tgt-1.0.92.ebuild
new file mode 100644
index 000000000000..5488b8178802
--- /dev/null
+++ b/sys-block/tgt/tgt-1.0.92.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit toolchain-funcs systemd
+
+DESCRIPTION="Linux SCSI target framework (tgt)"
+HOMEPAGE="https://github.com/fujita/tgt"
+SRC_URI="https://github.com/fujita/tgt/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="infiniband rbd selinux"
+
+DEPEND="
+ app-text/docbook-xsl-stylesheets
+ dev-libs/libxslt
+ dev-perl/Config-General
+ rbd? ( sys-cluster/ceph )
+ infiniband? ( sys-cluster/rdma-core )
+"
+RDEPEND="
+ ${DEPEND}
+ dev-libs/libaio
+ sys-apps/sg3_utils
+ selinux? ( sec-policy/selinux-tgtd )
+"
+
+pkg_setup() {
+ tc-export CC
+}
+
+src_prepare() {
+ default
+ sed -i -e 's:\($(CC)\) $^:\1 $(LDFLAGS) $^:' usr/Makefile || die
+ # make sure xml docs are generated before trying to install them
+ sed -i -e "s@install: @& all @g" doc/Makefile || die
+ sed -i -e 's|-Werror||g' usr/Makefile || die
+}
+
+src_compile() {
+ local myconf
+ use infiniband && myconf="${myconf} ISCSI_RDMA=1"
+ use rbd && myconf="${myconf} CEPH_RBD=1"
+
+ emake -C usr/ KERNELSRC="${KERNEL_DIR}" ISCSI=1 ${myconf}
+ emake -C doc
+}
+
+src_install() {
+ emake install-programs install-scripts install-doc DESTDIR="${D}" docdir=/usr/share/doc/${PF}
+ newinitd "${FILESDIR}"/tgtd.initd-new tgtd
+ newconfd "${FILESDIR}"/tgtd.confd-new tgtd
+ systemd_dounit "${S}"/scripts/tgtd.service
+ dodir /etc/tgt
+ keepdir /etc/tgt
+}
diff --git a/sys-block/thin-provisioning-tools/thin-provisioning-tools-1.0.10.ebuild b/sys-block/thin-provisioning-tools/thin-provisioning-tools-1.0.10.ebuild
index df14c873276f..6907ab3f3bb5 100644
--- a/sys-block/thin-provisioning-tools/thin-provisioning-tools-1.0.10.ebuild
+++ b/sys-block/thin-provisioning-tools/thin-provisioning-tools-1.0.10.ebuild
@@ -175,7 +175,7 @@ src_install() {
emake \
DESTDIR="${D}" \
DATADIR="${ED}/usr/share" \
- PDATA_TOOLS="target/$(usex debug debug release)/pdata_tools" \
+ PDATA_TOOLS="$(cargo_target_dir)/pdata_tools" \
install
einstalldocs
diff --git a/sys-block/thin-provisioning-tools/thin-provisioning-tools-9999.ebuild b/sys-block/thin-provisioning-tools/thin-provisioning-tools-9999.ebuild
index 021c5e9a4b08..d617bae93848 100644
--- a/sys-block/thin-provisioning-tools/thin-provisioning-tools-9999.ebuild
+++ b/sys-block/thin-provisioning-tools/thin-provisioning-tools-9999.ebuild
@@ -175,7 +175,7 @@ src_install() {
emake \
DESTDIR="${D}" \
DATADIR="${ED}/usr/share" \
- PDATA_TOOLS="target/$(usex debug debug release)/pdata_tools" \
+ PDATA_TOOLS="$(cargo_target_dir)/pdata_tools" \
install
einstalldocs
diff --git a/sys-block/whdd/Manifest b/sys-block/whdd/Manifest
index c2bc70e91df6..a749ef279c3a 100644
--- a/sys-block/whdd/Manifest
+++ b/sys-block/whdd/Manifest
@@ -1 +1,2 @@
DIST whdd-3.0.1-rel.tar.gz 45657 BLAKE2B 9730e61580359c95fc3e3d23540f3b10e75b476e634cce3be744b8849193f43f968f227bdbd25a0c643106c1343b27070c8b51f33278e902ab54991a05eee021 SHA512 6d5d8dad7537118a5915a29a549e18595da1b6ba031f0ca661805ad0033fd48f32804eb307f67e7b31d6002e708ae578a32aff366f3e610ab36b25f0a4e50803
+DIST whdd-3.1-rel.tar.gz 45806 BLAKE2B dce0230955fda721539891f0e993f25d3777e7d11331bbbd7b7e853dafd2edba043fc598c672634cc8bb65bad5c0ae9f3e26713f98c0d551dc72d08de20e1eb4 SHA512 8960b482d7c3a75b0b9e540092a0c074dbb66561f455fdf454e8cd89cc5dc4dc028e60b44ce74ecbf568af5e7e34a5b3b5deaee9480112f4161d98b773442bed
diff --git a/sys-block/whdd/whdd-3.1.ebuild b/sys-block/whdd/whdd-3.1.ebuild
new file mode 100644
index 000000000000..5009455fad36
--- /dev/null
+++ b/sys-block/whdd/whdd-3.1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Diagnostic and recovery tool for block devices"
+HOMEPAGE="https://whdd.github.io"
+
+inherit toolchain-funcs
+
+if [[ ${PV} == 9999 ]]
+then
+ EGIT_REPO_URI="https://github.com/${PN}/${PN}"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}-rel.tar.gz"
+ KEYWORDS="~amd64 ~riscv ~x86"
+fi
+
+LICENSE="GPL-3"
+SLOT="0"
+
+DEPEND="dev-util/dialog:=
+ sys-libs/ncurses:=[unicode(+)]"
+RDEPEND="${DEPEND}
+ sys-apps/smartmontools"
+
+src_compile() {
+ tc-export CC
+ default
+}
+
+src_install() {
+ emake DESTDIR="${ED}" install
+ einstalldocs
+}