summaryrefslogtreecommitdiff
path: root/sys-block
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-08-13 11:06:03 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-08-13 11:06:03 +0100
commitbe8708090362c01c6111c4b76f1e395c14d86e00 (patch)
treebb61ca73e867522450783849eb63c9e1f0ba1730 /sys-block
parente93a38d535f2c29b55a5756d2de99425986b0bf3 (diff)
gentoo auto-resync : 13:08:2024 - 11:06:03
Diffstat (limited to 'sys-block')
-rw-r--r--sys-block/Manifest.gzbin10880 -> 10876 bytes
-rw-r--r--sys-block/fio/Manifest2
-rw-r--r--sys-block/fio/fio-3.37.ebuild178
-rw-r--r--sys-block/io-scheduler-udev-rules/Manifest2
-rw-r--r--sys-block/io-scheduler-udev-rules/io-scheduler-udev-rules-2.ebuild5
-rw-r--r--sys-block/wait-for-dri-devices-rules/Manifest2
-rw-r--r--sys-block/wait-for-dri-devices-rules/wait-for-dri-devices-rules-1.ebuild3
7 files changed, 183 insertions, 9 deletions
diff --git a/sys-block/Manifest.gz b/sys-block/Manifest.gz
index 2daf7dd02a1b..3e52d2b21db1 100644
--- a/sys-block/Manifest.gz
+++ b/sys-block/Manifest.gz
Binary files differ
diff --git a/sys-block/fio/Manifest b/sys-block/fio/Manifest
index 0f69755483a9..56ad2ea834a8 100644
--- a/sys-block/fio/Manifest
+++ b/sys-block/fio/Manifest
@@ -4,8 +4,10 @@ DIST fio-3.27.tar.bz2 960330 BLAKE2B 7e7e01a5c1d6af13a6f87139e7738646cbc8f45ebc3
DIST fio-3.30.tar.bz2 6001772 BLAKE2B a4941cd415e6444bb9871274580efdf82281a1e52dc3caaa235f63176e3564fb1dc08e1e4586c555f9c25975d7e6220fe53209ed7218da713b9cb9135de0fc05 SHA512 1fb2ae9c28028147edabceff734fc41bf07ce504af98afdb0951920b724b15d647f2b0852262c177279ad6b4dbbf24be458db7f939d1c80069e0f8e7bc8aa10d
DIST fio-3.34.tar.bz2 7049859 BLAKE2B 297fef62098bc3bc5476ebc7794566172c182059ce35d57a84bf87f6cedf08f234371d363fd08570e675eef9fbc7eae8d79755826d4312d543a16a144b4afc3f SHA512 912da2d7c7c4e0ad6c64a2e8c5254d23e5b6286c54d3ebf23d6bd2e0b5a9e4d2a53a75da3c807467b0fbe637b4ff23d64f1166fc45d6cce1d13d239f233548d0
DIST fio-3.36.tar.bz2 7229204 BLAKE2B a9265ae8817486ddda1b63c35c79814b7854ec29106a188110b22ba82fc41a015b076626daa577a43189804a768f5465395b8daa74ceb31c949e03eca091a23b SHA512 925cab44619991052085216253c9c5637f7319f52d92f4cc946df60ab1a964dbfa0bbb0ecd171d6dc21ae1402375a6cf1e7b8ac94df0c03889f849aeb2da8890
+DIST fio-3.37.tar.bz2 7730124 BLAKE2B 87bccb4645a8ce174729b2cd69f250c8cd611e2b7bfca182083ae6e2d216cbc674ad1eab83b1cba0236255b7ee2baa759ac831883378a8694b3cc8c2b752fa91 SHA512 22876c4cad0eb3e5ea6a5e02e59726cb9a047e9e95b8fa81f117e7ee2d5f8c046c850ea0dd7fa35f281e9d925f7aaea409c1b3b503221686fab37386b80bb5ef
EBUILD fio-3.27-r4.ebuild 4214 BLAKE2B 538cd69c2b272539b13ad8092162719acee3b75adc8add267e51dbed4ddd72073b92641a274e2eb1f2029253b0821e154da01bcef06ebb9ce42e910f53e55ca3 SHA512 89134c77d4ca071bce113e19e9ec06f3ea51e0241f4a265a73c6f61da6db505288fb12fcbf06b38aaa2b72bfa60e029a3ca6f0aa55ec869df55962338720280d
EBUILD fio-3.30-r1.ebuild 4309 BLAKE2B 0d6550feed9d63640193478f0a44500ef75f929132d10b811db060b028b2e0d608091a4816f57d6d47c325f835cffb4ec5baf1aff315f0a5c81c2fc77d6b5096 SHA512 ac56400040fa5f8cbb83e4c6e15a108fbfd5f24ddcef38207ce594275362fef9e81736a285f57aa14bc03c285b788876f8da338a495b13951e1def8418fc122b
EBUILD fio-3.34.ebuild 4895 BLAKE2B df16f66d00da31a248c158ec51e30d49751c7326bef36d167807ad68f2ff26b976c34f1d679f9b43b9def0d75b4e884476761a4332b932bbc47fea07a62f959a SHA512 e849940cb1e174d243ffe4889c623e0728e0dc8e8ca5d60e889499317c54b00b61a38b4a3ef32b369bdd62f41eae26637cfc5f0a5a0abedca59611e1085844f6
EBUILD fio-3.36-r1.ebuild 4973 BLAKE2B 7f9a6990f3194106590a0922b4a2c3fe8ce5d792ab11b107d65c5725ba25b747df8f8200e449d51d9216dee5b61710cf738141c9e7e2227741d11d9e7369bcb6 SHA512 1b250723ff9bb9e2db01b77a429d7e0c6e0210ca011a0dea66234ee90958379f094dc60f490f2f8a6077d4f3ecf70137482ca4c3216946308a3211bf21bbc150
+EBUILD fio-3.37.ebuild 4980 BLAKE2B 3175dfa6ec7cd985f6d6548933f5c5b5113d3b43bca309d87e776bace08837b92a39859cae1464b6345b75e75982e84e18151465ac85e73cc22304e37fecf84f SHA512 30372f4c542a4f87c8587b564b6531607e42f46ac82e11a7dde76e419778a6168bbee2b5324615cdf72a912fb602fc8233578b228e81fa3ec30bbc2bba55dac8
MISC metadata.xml 1370 BLAKE2B 519e169fc6c57463c8e0eac0661658d035219d77e4872cf8de2e3ab93c7977e76d7e4464464f04699e22490e943263f6691da18cfb6c2b5e44dd4f6a09dd4bc5 SHA512 ac62823b7bfffc55f7b8cbebe847a00e1564f54d6037fcb407f60ee0945aec4678ec8223966c0133b2991b73f1a24e7261c0342e0df297b695369d01daa5ec38
diff --git a/sys-block/fio/fio-3.37.ebuild b/sys-block/fio/fio-3.37.ebuild
new file mode 100644
index 000000000000..21e721eb197b
--- /dev/null
+++ b/sys-block/fio/fio-3.37.ebuild
@@ -0,0 +1,178 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit python-r1 toolchain-funcs
+
+MY_PV="${PV/_rc/-rc}"
+MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="Jens Axboe's Flexible IO tester"
+HOMEPAGE="https://brick.kernel.dk/snaps/"
+SRC_URI="https://brick.kernel.dk/snaps/${MY_P}.tar.bz2"
+
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="GPL-2"
+SLOT="0"
+
+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 )
+ io-uring? ( aio )"
+
+RESTRICT="!test? ( test )"
+
+BDEPEND="virtual/pkgconfig"
+
+# GTK+:2 does not offer static libaries.
+# xnvme
+# libblkio
+# pmem2
+LIB_DEPEND="aio? ( dev-libs/libaio[static-libs(+)] )
+ curl? (
+ net-misc/curl:=[static-libs(+)]
+ dev-libs/openssl:0=[static-libs(+)]
+ )
+ nfs? ( net-fs/libnfs:=[static-libs(+)] )
+ glusterfs? ( sys-cluster/glusterfs[static-libs(+)] )
+ gtk? ( dev-libs/glib:2[static-libs(+)] )
+ io-uring? ( sys-libs/liburing:=[static-libs(+)] )
+ numa? ( sys-process/numactl[static-libs(+)] )
+ rbd? ( sys-cluster/ceph[static-libs(+)] )
+ rdma? ( sys-cluster/rdma-core[static-libs(+)] )
+ tcmalloc? ( dev-util/google-perftools:=[static-libs(+)] )
+ zbc? ( >=sys-block/libzbc-5 )
+ zlib? ( sys-libs/zlib[static-libs(+)] )"
+RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )
+ gtk? ( x11-libs/gtk+:2 )"
+DEPEND="${RDEPEND}
+ static? ( ${LIB_DEPEND} )
+ test? ( dev-util/cunit )
+ valgrind? ( dev-debug/valgrind )"
+RDEPEND+="
+ python? (
+ ${PYTHON_DEPS}
+ pandas? ( dev-python/pandas[${PYTHON_USEDEP}] )
+ )
+ gnuplot? ( sci-visualization/gnuplot )"
+
+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
+
+ sed -i '/^DEBUGFLAGS/s: -D_FORTIFY_SOURCE=2::g' Makefile || die
+
+ # Many checks don't have configure flags.
+ sed -i \
+ -e "s:\<pkg-config\>:$(tc-getPKG_CONFIG):" \
+ -e '/if compile_prog "" "-lzbc" "libzbc" *; *then/ '"s::if $(usex zbc true false) ; then:" \
+ -e '/if compile_prog "" "-lz" "zlib" *; *then/ '"s::if $(usex zlib true false) ; then:" \
+ -e '/if compile_prog "" "-laio" "libaio" *; *then/'"s::if $(usex aio true false) ; then:" \
+ -e '/if compile_prog "" "-lcunit" "CUnit" *; *then/'"s::if $(usex test true false) ; then:" \
+ -e '/if compile_prog "" "" "valgrind_dev" *; *then/'"s::if $(usex valgrind true false) ; then:" \
+ configure || die
+}
+
+src_configure() {
+ chmod g-w "${T}"
+ # not a real configure script
+ # TODO: cuda
+ # TODO: libnbd - not packaged in Gentoo
+ # TODO: pmem - not packaged in Gentoo
+ # TODO: libblkiio - not packaged in Gentoo
+ # TODO: xnvme - not packaged in Gentoo
+ # TODO: libhdfs
+ # libnfs option does not work as expected:
+ # $(usex nfs '' '--disable-libnfs') \
+ OPTS=(
+ --disable-optimizations
+ --extra-cflags="${CFLAGS} ${CPPFLAGS}"
+ --cc="$(tc-getCC)"
+ --disable-pmem
+ --disable-xnvme
+ --disable-libblkio
+ # Not booleans, enable-only up to this version
+ #--disable-cuda
+ #--disable-libcufile
+ #--disable-libhdfs
+ --disable-dfs
+ $(usex nfs '' '--disable-libnfs')
+ $(usex curl '' '--disable-http')
+ $(usex glusterfs '' '--disable-gfapi')
+ $(usex gtk '--enable-gfio' '')
+ $(usex numa '' '--disable-numa')
+ $(usex rbd '' '--disable-rbd')
+ $(usex rdma '' '--disable-rdma')
+ $(usex static '--build-static' '')
+ $(usex tcmalloc '' '--disable-tcmalloc')
+ )
+ set -- \
+ # not autoconf
+ ./configure "${OPTS[@]}"
+ echo "$@" |tr ' ' '\n'
+ "$@" || die 'configure failed'
+}
+
+src_compile() {
+ emake V=1 OPTFLAGS=
+}
+
+src_install() {
+ emake install DESTDIR="${D}" prefix="${EPREFIX}/usr" mandir="${EPREFIX}/usr/share/man"
+
+ local python2_7_files=(
+ "${ED}"/usr/bin/fiologparser_hist.py
+ "${ED}"/usr/bin/fiologparser.py
+ )
+ local python_files=(
+ "${python2_7_files[@]}"
+ "${ED}"/usr/bin/fio_jsonplus_clat2csv
+ )
+ if use python ; then
+ sed -i 's:python2.7:python:g' "${python2_7_files[@]}" || die
+ python_replicate_script "${python2_7_files[@]}"
+ use pandas || rm -f "${ED}"/usr/bin/fiologparser_hist.py
+ else
+ rm "${python_files[@]}" || die
+ fi
+
+ local gnuplot_python2_7_files=(
+ "${ED}"/usr/bin/fio2gnuplot
+ )
+ local gnuplot_files=(
+ "${gnuplot_python2_7_files[@]}"
+ "${ED}"/usr/bin/fio_generate_plots
+ "${ED}"/usr/share/man/man1/fio_generate_plots.1
+ "${ED}"/usr/share/man/man1/fio2gnuplot.1
+ "${ED}"/usr/share/fio/*.gpm
+ )
+ if use gnuplot ; then
+ sed -i 's:python2.7:python:g' "${gnuplot_python2_7_files[@]}" || die
+ python_replicate_script "${gnuplot_python2_7_files[@]}"
+ else
+ rm "${gnuplot_files[@]}" || die
+ rmdir "${ED}"/usr/share/fio/ || die
+ fi
+
+ # This tool has security/parallel issues -- it hardcodes /tmp/template.fio.
+ rm "${ED}"/usr/bin/genfio || die
+
+ dodoc README.rst REPORTING-BUGS HOWTO.rst
+ docinto examples
+ dodoc examples/*
+}
diff --git a/sys-block/io-scheduler-udev-rules/Manifest b/sys-block/io-scheduler-udev-rules/Manifest
index e288411df5b9..e52b44af691d 100644
--- a/sys-block/io-scheduler-udev-rules/Manifest
+++ b/sys-block/io-scheduler-udev-rules/Manifest
@@ -1,3 +1,3 @@
DIST io-scheduler-udev-rules-2.tar.bz2 7927 BLAKE2B d019b7c5acb81f60fc20c8009733a3e7f58f7ddeb96e3b4333fdbb027b710904c7f8ed669638dba59044ad9dca9a9771c204e339b5cff3b9782a71062642ce36 SHA512 a78128bd8d0b954d31d0086063e47180560720c42892c04cea111096c25fbaf75c6ec4c8645eae1ffb0b3986158b40db10e591b86fb9e34f63a5ae92b37df39a
-EBUILD io-scheduler-udev-rules-2.ebuild 653 BLAKE2B 5ee92b934b23ca2d2f05da61de3c5896fa649ca45fbc4a0510e15fffbb84f888f084b2ad8c51a0cee8cef968e7ba508e0b0a135e31989d8f0930448c120a6a02 SHA512 42b6ea8865b4974b0941203a62c53e458cfc32429e3981c8c029082486c25fcdb2027f044e507fc2a37b81f18ff8c7ee5f061dcfe99749ae0a799cbc6bd7869d
+EBUILD io-scheduler-udev-rules-2.ebuild 624 BLAKE2B 896f3f777a5852478506febd07c1164a9751eda95210372c62d80996312e72d86ec93dd7831cae5ee91330ce2434267b368378f0f398c664eadb26b554cfe1f1 SHA512 1acc822e27d64028d41cf33a3a1c640dd66a5346b88f1145d9ee876d731804ba1b2ee45b8edffba46ffd375ad0cf83a8235ab516db1ddfc84ad0df9feaf96265
MISC metadata.xml 381 BLAKE2B 3aa9011f743fe849e4a20cdf0ed73ce6507fec4196c98e6994239f93ccb5bbe95f1744a174f6661bd905baef59d484b3bd370048806c8659e9eea1e5ce7e428d SHA512 82136912decec4ab2a47fef42a8779a75e122c74e0460ff0b321f62e2185fd7916a3599171505842c77715f10d59f383196a072809fc867340232fc4b85c1ca9
diff --git a/sys-block/io-scheduler-udev-rules/io-scheduler-udev-rules-2.ebuild b/sys-block/io-scheduler-udev-rules/io-scheduler-udev-rules-2.ebuild
index aefc11f81ac8..4cce20390029 100644
--- a/sys-block/io-scheduler-udev-rules/io-scheduler-udev-rules-2.ebuild
+++ b/sys-block/io-scheduler-udev-rules/io-scheduler-udev-rules-2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2019-2023 Gentoo Authors
+# Copyright 2019-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -11,11 +11,8 @@ SRC_URI="https://gitlab.com/pachoramos/${PN}/-/archive/${PV}/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
-IUSE=""
-DEPEND=""
RDEPEND="virtual/udev"
-BDEPEND=""
src_install() {
insinto /etc/default
diff --git a/sys-block/wait-for-dri-devices-rules/Manifest b/sys-block/wait-for-dri-devices-rules/Manifest
index 0bfa93e909c2..8d310d6ad11c 100644
--- a/sys-block/wait-for-dri-devices-rules/Manifest
+++ b/sys-block/wait-for-dri-devices-rules/Manifest
@@ -1,3 +1,3 @@
DIST wait-for-dri-devices-rules-1.tar.bz2 6995 BLAKE2B 0cd257c1223844948040728be2ceef53b71007e6d87d23c7c6f697f125ca89432d7bfe4011605dc2dec9185091f777c1205233cfd425471c7b2bc25f65bf79b3 SHA512 51149b8d604a97eb531452b17c1290779ced8ec300c615e89accfb80522287d53c47177c0aee58714686fc9c1c0544e865611d09634d5b8f7ee3e542d74d3f9d
-EBUILD wait-for-dri-devices-rules-1.ebuild 977 BLAKE2B cb82c37ee56d1fe00b48385332e936a5aea86327deaa560c840936e935b66145fa1577dbf1c96ee383a3bbaa11351dbf965163a832361fa782f77a00f5bb5a1b SHA512 b7aace58c9045a88f167208613091a2f5a09126129a8fabe91f6714282fb4048b7952a82a7142468a469a48ee48d2d222904d30f22aa0d5ea7e752eb90bde371
+EBUILD wait-for-dri-devices-rules-1.ebuild 948 BLAKE2B b5e15b5f3909c0f590c5627c91b664d4cb9970c557a359ddb0c2b4e10b56bdea2d43a692e7d4ac3317ac2eef3e2b9c2b452f344187490ddd39ed7b259e5210d8 SHA512 71583816075934a40b3fd42c5aeadacf01824b2d3d58eb13b6141eca5277c31ae46724757ebf0ae4283f381c2f0f779a1f246874e30a450c32fc8a1c31c4bace
MISC metadata.xml 319 BLAKE2B cbc2a54d707b583d90321f8c475dc0e27536ec77e3db2453d1bc6b0dc875721c00c0e4fabee8e487fc4d13b891bde4d7c4ed2551bc49875aff86612227f6c311 SHA512 9a7934e3b9db3a8d1b0d957243e8e084590fbe36c3bdf17ab435ffcb4492b7bdcd4d8d4cecb6eee7a1c142e5f7e7d95701f6936790c86caf1d492081261c02bc
diff --git a/sys-block/wait-for-dri-devices-rules/wait-for-dri-devices-rules-1.ebuild b/sys-block/wait-for-dri-devices-rules/wait-for-dri-devices-rules-1.ebuild
index b7b8698ae13e..4d955e61626f 100644
--- a/sys-block/wait-for-dri-devices-rules/wait-for-dri-devices-rules-1.ebuild
+++ b/sys-block/wait-for-dri-devices-rules/wait-for-dri-devices-rules-1.ebuild
@@ -11,14 +11,11 @@ SRC_URI="https://gitlab.com/pachoramos/${PN}/-/archive/${PV}/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64"
-IUSE=""
-DEPEND=""
RDEPEND="
sys-apps/systemd
virtual/udev
"
-BDEPEND=""
DOC_CONTENTS="
Feel free to modify