summaryrefslogtreecommitdiff
path: root/sys-apps/nvme-cli
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-08-07 12:37:21 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-08-07 12:37:21 +0100
commitb8c7370a682e4e29cda623222d17a790c01c3642 (patch)
treef6caa14689bd00a5760eadaa381ff41e50ef3c1b /sys-apps/nvme-cli
parent8a4997a7e2d1e36c089d4d76935b5a902d98d3d0 (diff)
gentoo auto-resync : 07:08:2024 - 12:37:20
Diffstat (limited to 'sys-apps/nvme-cli')
-rw-r--r--sys-apps/nvme-cli/Manifest4
-rw-r--r--sys-apps/nvme-cli/metadata.xml1
-rw-r--r--sys-apps/nvme-cli/nvme-cli-2.10.2.ebuild49
3 files changed, 53 insertions, 1 deletions
diff --git a/sys-apps/nvme-cli/Manifest b/sys-apps/nvme-cli/Manifest
index 120253b2f0c9..f4cb8451269b 100644
--- a/sys-apps/nvme-cli/Manifest
+++ b/sys-apps/nvme-cli/Manifest
@@ -1,9 +1,11 @@
AUX nvme-cli-2.9.1-musl-stdint.patch 3329 BLAKE2B aabe7e8dc991f810359cc1e626ec2ec786bbe595f833e43d4304a4a8109602b3469c2e9d0e4f7d571f7fac8b7c48818630ba8ec639949b0e84f78e746d6b3f96 SHA512 1bc88e0215686488d243a5b950d29d9e6ca2390165d5e72dc7c31e45222df6e1967b772e8bb89ad9c12fb3f43b9d08d21f64a00a28a1b79d0d768bd948c35cde
AUX nvme-cli-2.9.1-musl.patch 992 BLAKE2B d3fa0fdc4d33be272a10100304737350acf19ac4df3ddb8674aeb7fa82f013b14445594631cb8f67ca64eed50e77dbafbf26b229afe9c19a465ac3e066516e6d SHA512 1c14b725927f9fd69274c0eb666c15022a4ccf88aa16650e754fb0ec350ca3939ea5ccdc04ca4010049d5d38dbecd305d909ccc9aa834acd2ab82143cca22730
+DIST nvme-cli-2.10.2.gh.tar.gz 990461 BLAKE2B d674f2c752eee9178cf3f1f871d1bc345632f4cbf7f354b1e345830a3bf88b505eddb835d774d6ebadbee50a79614f49dd1eef58d1374a075fd59eb551c251c8 SHA512 98ecb2488cdf21c83004204f4cb7e7d9327fef5a33e5a37d977c659d76be3cef861473676fa7fbd1d40f38742b365b98431e17d9b0318ddb4cc407953acdde87
DIST nvme-cli-2.7.1.gh.tar.gz 902081 BLAKE2B 7d14838f7f0fd6d1ab1cb30041f862fe2db6f40fe72c13cb4ce227831cac6e141ff5cec2924c846f30629188754b0ce0630ad9009d2a490c193da20e8b8a45d1 SHA512 6a9f3574dfd4375e6f7a76ed95f698efb26da5b72a490579caeba9d46c4811ae31650844e0a0e1047dc627158d5ffbdc020112a5059d3195e7eadff902b70b19
DIST nvme-cli-2.8.gh.tar.gz 910994 BLAKE2B c231fc087219622736bdc400c83d2a320670f247f77b53f0cad20c8117e620703badba7cd9a6f267ba79223be9c0d6710c2be968683f77fe72e45957e0c8b899 SHA512 1be0bed4e1bf8a25229f301c2b00b78d2de4eaf8ff2b815fa75e44dd35ddd7787604152bdf00696130df3281206a734c5f408c3f2127440e05c2e4b1cdbb79d4
DIST nvme-cli-2.9.1.gh.tar.gz 932210 BLAKE2B 865808c17f2098f8d0be8ba928869801023f77f0ffd44b5d2424b9f75e01180f8d1990684e3e4a79363e650a44e58abe213b5ab55328f0bde9ed699eba9a215c SHA512 c9c86e7567c2d4c59aff1eb9d18f4775923db3c81a89c628b819121c32150d4bc2d65d0dacac764c64594369890b380d0fd06bc7c1f83f4a7f3e71a51a6fee24
+EBUILD nvme-cli-2.10.2.ebuild 986 BLAKE2B 87590a7274850876f6e0ff740478611b6078811498aeb7fd6dbed34394c5f2878c763f4c6c950a2b05af17933854e3dc2274cfd0d542e27d417358eb242fd6b5 SHA512 7748ac784370b85c3d28fbab1c137ad49744de47e26a29ecfacb199b850d5892d7983e4e0b9722a58bfaa8044d2c9f0b2796321060ac59c9aad809bd0035e557
EBUILD nvme-cli-2.7.1.ebuild 926 BLAKE2B ffdaa6599c97b85a07f8e08e51c06d74157bfeff083c034bb93c023406689216e715537bfb8a47b289982a5ec1d83a5f273c4a903bed38207dfc43514a34c7da SHA512 48f4e66972e0594775f735e0dcc6900e009361ec03f06200e288922262f4a63e57e98cddc7bff820172f7fc9b02015dead97ec10f2479934be5dc4b61594b726
EBUILD nvme-cli-2.8.ebuild 947 BLAKE2B 51bfcee2f89a93e4fc1a7d280639442dba7af56bc67fc7cfa9af2a89b5ec7e4f6170e28ab3508f72d9d344cccd2141562b7361a5db949ece50039b275cce246d SHA512 3df063c969ae6b0301e60acc4fd75f6cd0ffa13d296f0defacd1333ab99562d5bd92095104bdb11ef4dc35d859147d66260b87a429c77f1d11f034da01824191
EBUILD nvme-cli-2.9.1.ebuild 1042 BLAKE2B badf394637652bfcf729cb2239227e6301ce02c3dfa360ef3a7f697ac10d00a3bd6bc422478b2d467953fb9cdd74754e4eeabb3db341d738f7ae742fcb4fb3e6 SHA512 04990879272f8aa089e2c4e4a14b456b5c58c3159e6419d47468955da224a035abc51a8553fd07370a651b35a539fc8c179e1cd55bb4ffe502ba916708534db1
-MISC metadata.xml 435 BLAKE2B 6756d3cbc2fa183946f5cb5fe2e6cc3e19ffef2a63f6c5ba6cf203bbcc6eb0df68d615b8ad266dc89ce23cd06a5d843bddeae8eaf574bf45ad1c06442f50c9c5 SHA512 2b05f8e31378564378339755d80da4244524c8f261fc0fda47a1350bf5a6309b5cca68c74bad06566d6f2bf9e1cc1747b7ce2ebf783c46a9015d27fdcff44b7d
+MISC metadata.xml 515 BLAKE2B 266e9d5c2282a62509d97cb2e180c314124872797288ed2425077a1957e91bd90e79e1b98553c5946ff333bba8f46689d0e0d66ab5e473c54e81a2c016ebcf1f SHA512 eba0f07a0875bc0ab0b12992c4ca5c2b5cd48e2037814a036c71c35657ff92a846dce6065c36b07411f3c170da63572cb79468c032973798ebf504be7743eda0
diff --git a/sys-apps/nvme-cli/metadata.xml b/sys-apps/nvme-cli/metadata.xml
index 727194bfa429..051426c642a4 100644
--- a/sys-apps/nvme-cli/metadata.xml
+++ b/sys-apps/nvme-cli/metadata.xml
@@ -10,5 +10,6 @@
</upstream>
<use>
<flag name="json">Support JSON output via <pkg>dev-libs/json-c</pkg></flag>
+ <flag name="pdc">Set default Persistent Discovery Controllers behavior</flag>
</use>
</pkgmetadata>
diff --git a/sys-apps/nvme-cli/nvme-cli-2.10.2.ebuild b/sys-apps/nvme-cli/nvme-cli-2.10.2.ebuild
new file mode 100644
index 000000000000..22d82a1551eb
--- /dev/null
+++ b/sys-apps/nvme-cli/nvme-cli-2.10.2.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson systemd udev
+
+DESCRIPTION="NVM-Express user space tooling for Linux"
+HOMEPAGE="https://github.com/linux-nvme/nvme-cli"
+SRC_URI="https://github.com/linux-nvme/nvme-cli/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
+
+LICENSE="GPL-2 GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~sparc ~x86"
+IUSE="+json pdc"
+
+RDEPEND="
+ >=sys-libs/libnvme-1.10:=[json?]
+ json? ( dev-libs/json-c:= )
+ sys-libs/zlib:=
+"
+DEPEND="
+ ${RDEPEND}
+ virtual/os-headers
+"
+BDEPEND="
+ virtual/pkgconfig
+"
+
+src_configure() {
+ local emesonargs=(
+ -Dversion-tag="${PV}"
+ -Ddocs=all
+ -Dhtmldir="${EPREFIX}/usr/share/doc/${PF}/html"
+ -Dsystemddir="$(systemd_get_systemunitdir)"
+ -Dudevrulesdir="${EPREFIX}$(get_udevdir)/rules.d"
+ $(meson_feature json json-c)
+ $(meson_use pdc pdc-enabled)
+ )
+ meson_src_configure
+}
+
+pkg_postinst() {
+ udev_reload
+}
+
+pkg_postrm() {
+ udev_reload
+}