diff options
Diffstat (limited to 'sys-apps/nvme-cli')
-rw-r--r-- | sys-apps/nvme-cli/Manifest | 2 | ||||
-rw-r--r-- | sys-apps/nvme-cli/nvme-cli-2.6.ebuild | 54 |
2 files changed, 56 insertions, 0 deletions
diff --git a/sys-apps/nvme-cli/Manifest b/sys-apps/nvme-cli/Manifest index f787aa384fed..8ffc29063169 100644 --- a/sys-apps/nvme-cli/Manifest +++ b/sys-apps/nvme-cli/Manifest @@ -6,8 +6,10 @@ DIST nvme-cli-2.2.1.gh.tar.gz 706199 BLAKE2B e0026fc2ee3edeffa18b0fc8365703e3de6 DIST nvme-cli-2.3.gh.tar.gz 733161 BLAKE2B b6da650379f24e0dc5c41af3d09fe15076ed70ad39cf48060fd949e3a4bbfe896eef4dd42e27314fab695710c9cb04985f3444e0384b71794cfbf489aa3e6244 SHA512 9ef654e782ba737d3858fb11f24caf27aea820480179d07d32599731be204e52693062cdb86786ab5cdd1d94fe32ae9028baa0a58693d2eaee5a2b71155e3db2 DIST nvme-cli-2.4.gh.tar.gz 746955 BLAKE2B 7ca26f957bf6927f7af17ac18267cb1099d63ce0f19b085a412b3a1b343946311edf8c5d5924444b7c7d440fbf42597ee7b9717bf9f5dcdeed0a9a17f135d343 SHA512 155667a0b91e15267e3f991a30cf1d4ae26cb4c53b20c002e3d3341496dd463397e1afbfefcd7a8df88370d28417940ce44a060bda87c04482bbe3be4e901b73 DIST nvme-cli-2.5.gh.tar.gz 794528 BLAKE2B 4e569c612d98a369d9ef720b74fbd50e6bd0b425725593bac2c06966d693cb0c86e034d571d24b17c12bce39467973280d440c1fb5cc3dccdb6c0d112507feab SHA512 50c557e86e95b27a0ad57779c33bbb847e12dd45c30e792f5ce1d52dedd4bc704ac25fa0af2fdebd281c9dfe0059f7ed7c1620fccfde9323f6f9a97afdf8c3cb +DIST nvme-cli-2.6.gh.tar.gz 837964 BLAKE2B cd8b0442d58d94d6c402e252e98d81da209fbbd34d3d9eb8d570caedb7e56107d8cb4f9bd774b72eea688fc00678fc24c5f3f8cf46875e6dedadccca3c8e6f68 SHA512 da4daef2d7c554455e0c195c03f92188e0e946409a3bd8a5b421d9a106746e82fb1309901d2893639b1a3447bda094c80a9f49f59bf43cf2b00402f82beea3fc EBUILD nvme-cli-2.2.1.ebuild 973 BLAKE2B 0fce7c3f1c44b4ac5028132030db755dd99ab26ca30d5bbd30d7252ade6714c761d49b492d3ee3ff3baf41939ce52e17d7ea6091e4ad92cdde1def4977b6024f SHA512 86f0841abd19ec017b6c2c516333a25983997318309f3622a49e097427ae8934e607b194d81b08d6fbef1f0aa19c960d9bf63394adefb7f7e34f1a4f13a085ef EBUILD nvme-cli-2.3.ebuild 1035 BLAKE2B 8f33bdcfefc9eed67cd23e33ad9c4a0e5687167224e9531a98084cf462fb0d5d4615dc2d18addd1f9d76e5bdbe446d74218d8d1ec86860f230487e038f8f79c5 SHA512 d8dd0842d02000aabd596e50adca00d7f23db8ef419bc4d16c48bfbe37b23c08c1230028defcc3416d22e6cc67203fc3aa8d682fac500ea44e90c2fa3fd307db EBUILD nvme-cli-2.4-r2.ebuild 1084 BLAKE2B 89640b22d3c3e3faa4e6ae7bcebe8fabb572674a5979bd28d07b34d19db9e2ea236493c08185bdb972b69611451a82396001a4df77b9b702d3024fcbc7870523 SHA512 d7d374fd46caec4db8a34dad302fc312aa55682bcda346f3fe8fbfa29eb45b685ee4318976458616afa33fd58d1eb18807be2b06df294672ad64ffa4e224aced EBUILD nvme-cli-2.5.ebuild 1069 BLAKE2B 3a51fdd815ff2cc05a8a4c3ae93a10d61d863ca75447772279c5ee8b9724f5f47bf9339b4bafa3c4cc0179c1b242cad22f682943bc2a4a23cbcb552cd18ddf07 SHA512 d60eab3cdbb3287b5454baff6094ac2bbd355f30795d7d1dcb43c03c4b4df80f474c8207eb020f652974d22bcbd2f6d9135292bd04873f77e0ed0618973f93cb +EBUILD nvme-cli-2.6.ebuild 1073 BLAKE2B 0c00b5c5537cf9a30296fbe7b88bc59a468e80a35080aed42ded22a317c86ff2220361bb334a31a9c68610e2a675045ab8e01adb4c8514c30ca805d84e40bba5 SHA512 97e2227b751950bcb603a51eab9e7a82dbd58f021698f16d3a8ad76a980efcd71cb8429121b1d4afab85a69a670ca36bb2616a2f062982d2b687f3b37ed50ba6 MISC metadata.xml 542 BLAKE2B ec93d6395b76ed201e05ec98e5813f025e74e8afa849084b664faa6c9dc03a8f8237cdb2fec5675db7cc70575b8c07383470d4f3d36b595980bcffdac83d2708 SHA512 ba2ed3173808235a4567152d23836f9828c345e8e716781ee5b7c1aeaa0053ff36ffd85ac12686302af10b1bd02a61e061446e4e1cb2600ce00da3bb1d72b6ee diff --git a/sys-apps/nvme-cli/nvme-cli-2.6.ebuild b/sys-apps/nvme-cli/nvme-cli-2.6.ebuild new file mode 100644 index 000000000000..b65a0671f910 --- /dev/null +++ b/sys-apps/nvme-cli/nvme-cli-2.6.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2023 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 ~x86" +IUSE="hugepages +json" + +RDEPEND=" + >=sys-libs/libnvme-1.6:=[json?] + hugepages? ( sys-libs/libhugetlbfs:= ) + json? ( dev-libs/json-c:= ) + sys-libs/zlib:= +" + +DEPEND=" + ${RDEPEND} +" +BDEPEND=" + virtual/pkgconfig +" + +PATCHES=( + "${FILESDIR}/nvme-cli-2.5-no-hugetlbfs-automatic-dep.patch" +) + +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_use hugepages) + $(meson_feature json json-c) + ) + meson_src_configure +} + +pkg_postinst() { + udev_reload +} + +pkg_postrm() { + udev_reload +} |