summaryrefslogtreecommitdiff
path: root/sys-libs/libnvme
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2025-03-11 01:49:36 +0000
committerV3n3RiX <venerix@koprulu.sector>2025-03-11 01:49:36 +0000
commitcf7807d7aea23a99a144afceaba961cfed652b5f (patch)
treeffd2c781c27e0b7e72152a685a04938a2b7966f0 /sys-libs/libnvme
parent7c5ebaf83da4c538dd11b56fdd5dfdf39dcbc096 (diff)
gentoo auto-resync : 11:03:2025 - 01:49:36HEADmaster
Diffstat (limited to 'sys-libs/libnvme')
-rw-r--r--sys-libs/libnvme/Manifest7
-rw-r--r--sys-libs/libnvme/files/libnvme-1.9-musl-stdint.patch59
-rw-r--r--sys-libs/libnvme/libnvme-1.10.ebuild76
-rw-r--r--sys-libs/libnvme/libnvme-1.11.ebuild76
-rw-r--r--sys-libs/libnvme/libnvme-1.9.ebuild80
5 files changed, 0 insertions, 298 deletions
diff --git a/sys-libs/libnvme/Manifest b/sys-libs/libnvme/Manifest
index 65e184ad4d33..633f0bacf2a2 100644
--- a/sys-libs/libnvme/Manifest
+++ b/sys-libs/libnvme/Manifest
@@ -1,10 +1,3 @@
-AUX libnvme-1.9-musl-stdint.patch 1873 BLAKE2B 44be4e9068286f32c8f4e9fc32f02fae7c70df4043db1418b1f889cccaa57d66769d3aa41b30e824a988e5635179be7a2a02676ce385b33dca877b0ff472c29b SHA512 5eb38bae6c38a97f108dff7be8a8c914392b1f3d4a2e26debd00fb62551101061824220b64c3aa791bb980185decf0a0fbc6d228b16c9cdcce6199d121764789
-DIST libnvme-1.10.gh.tar.gz 720737 BLAKE2B eb5941cbdec1ccf5782c3e438b55dd09ddd2c3b9ac1079d5642896d0d80d75ece3149ebe9d965c2783a5ae2ddfad64ae0051f9c63822a739108d53eb44a583db SHA512 44e8a407c9fda8c296163832c14ba167caab53eab315bd2dee94275458532429f12a35e0adef1356420d83127e658a354ce65ac946acaa53bef2d46a8189054c
DIST libnvme-1.11.1.gh.tar.gz 740327 BLAKE2B eb9a731ce4886e7a76170d4be916e850548710dbbc135bbe94c5ff0c2f3da5e2cb162a6c8ea857d6b9b609ffafba34487cd3419fc4981e9e549419c2bb757568 SHA512 8720f2907a3d13af44fb3deec883cd6eb247d5861c4459b5fe0e67ff9ecfb565462a5faf39d43e08b5284f3e8ca8e72d41b333984beaa45d3287b1a258f3e59d
-DIST libnvme-1.11.gh.tar.gz 740365 BLAKE2B c4d5950b0d0769f1aaddc6d82364ad14ae3b1b6e2b5d16225c8599833e51516c14b8802b77562b08cbb54c15b8e5814d7f5b059939c197b87375afba899ffe3d SHA512 5c1d00fe57ff699be01c326e24612da25e1772578928e2c70fb5f67e8a9fe0fa4c95e18f58d4abefa0e163e99c9e37b1109298e805e174b033e749d19865336b
-DIST libnvme-1.9.tar.gz 657952 BLAKE2B e9d655709770f7c1d9c916cc9539b8ea096b0d5bf6b12079c2db494f070c98b6c388e2a79ed27a4932994a00d44da93fa3119ee224c48d40347a483548397349 SHA512 39a3346805143f93a17d00cfcb6fb75f82154658db6079134c09dfa989995ac5de79b1ce1ac091b4e997523d3216829ce9eac44110c9f59f9fd21636529c8b25
-EBUILD libnvme-1.10.ebuild 1490 BLAKE2B 1744ecfb30382f9b30bf0f7b90fc18474544a470513289fee0a833b0f9ffa2a0366b33d27148b3082ebc59a2f6a92ae14e3f72c132377559c979a9d06daa02e8 SHA512 41d68a137d48e334108bec901e92be84748a1b4839bea7d5ac7d402645557c9e31e66922f26e598ebdaf253dea851b5fd70a8a1c46f57d0154d376303db5fafa
EBUILD libnvme-1.11.1.ebuild 1501 BLAKE2B f0367115bc0f88172f8dd2f42f9c08c6bb61b515405a3ac733180539c1accf53b819743ddf4ec927d56418c65c401c337d0d47719b71f6d27f6baf51ec5da461 SHA512 21365a349790ef17cd084ceb5511b4c73898ca9de93cdfe3556c6e6097e1bd85e6ef65156f12aac7dc3b7156d7c682a6df7dbea988325a1408a48117433226ca
-EBUILD libnvme-1.11.ebuild 1506 BLAKE2B 4e336a13aa73c8a5a5ca2aa9b5b491b225c15b151b37db1c180844d13b0aa946b4a9f07d32b52a4de1e3a62541d7a80a065a1a5a3d503d3ab723a416da6e506c SHA512 579a144261b0674de182216e95e8d8fa60290b1be647014aefad2c94ed601cc5cef282b1d841fda3c564c4113d2f0a77d6383f6bf73bd7920a6f3cac374187be
-EBUILD libnvme-1.9.ebuild 1544 BLAKE2B 070f4b4216a6fd02ff2af13c23cc9f2ceeee9f4f9c68b778e19c587ae91269f3359a92cacf9cf8587f89b6c552b844923ff5c43fd3cd4b4419d8374e0f68ccd7 SHA512 869382f8717e50df15706a339528e5bd35e481f8e848d959d2499364a9f94c8cb0d0be51af4fe67d982fc8c2e15d0f8da0d9a7510cc3901be2f8b7911ea33e0b
MISC metadata.xml 585 BLAKE2B 6163419190adb903fdbdef99ad53f8b14ffbc08ac3c8b56f820049468010af2a58ac204ded1b53c767759e9ac864bf85dbc3b723cd7113cb919194dd9ceaaac3 SHA512 2f5268b41676d2a61d5415de3ec62149cda53613970a1af6aface937cc635d26866c88205a6d9fcf7efd7df0c7f45308ecf5b29b6cea937966b765a222edb8f7
diff --git a/sys-libs/libnvme/files/libnvme-1.9-musl-stdint.patch b/sys-libs/libnvme/files/libnvme-1.9-musl-stdint.patch
deleted file mode 100644
index c2319b72bc96..000000000000
--- a/sys-libs/libnvme/files/libnvme-1.9-musl-stdint.patch
+++ /dev/null
@@ -1,59 +0,0 @@
-https://github.com/linux-nvme/libnvme/pull/838
-
-From b3ca2923affce631bc302f0fdce565093ffe1b5b Mon Sep 17 00:00:00 2001
-From: Sam James <sam@gentoo.org>
-Date: Sat, 4 May 2024 10:59:16 +0100
-Subject: [PATCH] Use C99 types for uint32_t
-
-<stdint.h> provides `uint32_t`, while `u_int_32` is an unofficial/internal
-typedef that glibc happens to provide. This fixes the build on musl.
-
-Bug: https://bugs.gentoo.org/931194
-
-Signed-off-by: Sam James <sam@gentoo.org>
---- a/src/nvme/base64.c
-+++ b/src/nvme/base64.c
-@@ -7,6 +7,7 @@
- * Author: Hannes Reinecke <hare@suse.de>
- */
-
-+#include <stdint.h>
- #include <stdlib.h>
- #include <string.h>
- #include <errno.h>
-@@ -29,7 +30,7 @@ static const char base64_table[65] =
- int base64_encode(const unsigned char *src, int srclen, char *dst)
- {
- int i, bits = 0;
-- u_int32_t ac = 0;
-+ uint32_t ac = 0;
- char *cp = dst;
-
- for (i = 0; i < srclen; i++) {
-@@ -64,7 +65,7 @@ int base64_encode(const unsigned char *src, int srclen, char *dst)
- */
- int base64_decode(const char *src, int srclen, unsigned char *dst)
- {
-- u_int32_t ac = 0;
-+ uint32_t ac = 0;
- int i, bits = 0;
- unsigned char *bp = dst;
-
---- a/src/nvme/linux.c
-+++ b/src/nvme/linux.c
-@@ -1513,10 +1513,10 @@ unsigned char *nvme_import_tls_key(const char *encoded_key, int *key_len,
- return NULL;
- }
- crc = crc32(crc, decoded_key, decoded_len);
-- key_crc = ((u_int32_t)decoded_key[decoded_len]) |
-- ((u_int32_t)decoded_key[decoded_len + 1] << 8) |
-- ((u_int32_t)decoded_key[decoded_len + 2] << 16) |
-- ((u_int32_t)decoded_key[decoded_len + 3] << 24);
-+ key_crc = ((uint32_t)decoded_key[decoded_len]) |
-+ ((uint32_t)decoded_key[decoded_len + 1] << 8) |
-+ ((uint32_t)decoded_key[decoded_len + 2] << 16) |
-+ ((uint32_t)decoded_key[decoded_len + 3] << 24);
- if (key_crc != crc) {
- nvme_msg(NULL, LOG_ERR, "CRC mismatch (key %08x, crc %08x)",
- key_crc, crc);
-
diff --git a/sys-libs/libnvme/libnvme-1.10.ebuild b/sys-libs/libnvme/libnvme-1.10.ebuild
deleted file mode 100644
index 183c72198792..000000000000
--- a/sys-libs/libnvme/libnvme-1.10.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# 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 meson
-
-DESCRIPTION="C Library for NVM Express on Linux"
-HOMEPAGE="https://github.com/linux-nvme/libnvme"
-SRC_URI="https://github.com/linux-nvme/libnvme/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
-
-LICENSE="LGPL-2.1+"
-SLOT="0/1"
-KEYWORDS="~alpha amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86"
-IUSE="dbus +json keyutils python ssl test +uuid"
-RESTRICT="!test? ( test )"
-
-REQUIRED_USE="
- python? ( ${PYTHON_REQUIRED_USE} )
-"
-
-DEPEND="
- json? ( dev-libs/json-c:= )
- keyutils? ( sys-apps/keyutils:= )
- dbus? ( sys-apps/dbus:= )
- python? ( ${PYTHON_DEPS} )
- ssl? ( >=dev-libs/openssl-1.1:= )
- uuid? ( sys-apps/util-linux:= )
-"
-RDEPEND="
- ${DEPEND}
-"
-BDEPEND="
- dev-lang/swig
-"
-
-src_configure() {
- local emesonargs=(
- -Dpython=disabled
- $(meson_use test tests)
- $(meson_feature json json-c)
- $(meson_feature dbus libdbus)
- $(meson_feature keyutils)
- $(meson_feature ssl openssl)
- )
- meson_src_configure
-}
-
-python_compile() {
- local emesonargs=(
- -Dpython=enabled
- )
- meson_src_configure --reconfigure
- meson_src_compile
-}
-
-src_compile() {
- meson_src_compile
-
- if use python; then
- python_copy_sources
- python_foreach_impl python_compile
- fi
-}
-
-python_install() {
- meson_src_install
- use python && python_optimize
-}
-
-src_install() {
- use python && python_foreach_impl python_install
-
- meson_src_install
-}
diff --git a/sys-libs/libnvme/libnvme-1.11.ebuild b/sys-libs/libnvme/libnvme-1.11.ebuild
deleted file mode 100644
index 3561f1c9e5d9..000000000000
--- a/sys-libs/libnvme/libnvme-1.11.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..13} python3_13t )
-inherit python-r1 meson
-
-DESCRIPTION="C Library for NVM Express on Linux"
-HOMEPAGE="https://github.com/linux-nvme/libnvme"
-SRC_URI="https://github.com/linux-nvme/libnvme/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
-
-LICENSE="LGPL-2.1+"
-SLOT="0/1"
-KEYWORDS="~alpha ~amd64 arm arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
-IUSE="dbus +json keyutils python ssl test +uuid"
-RESTRICT="!test? ( test )"
-
-REQUIRED_USE="
- python? ( ${PYTHON_REQUIRED_USE} )
-"
-
-DEPEND="
- json? ( dev-libs/json-c:= )
- keyutils? ( sys-apps/keyutils:= )
- dbus? ( sys-apps/dbus:= )
- python? ( ${PYTHON_DEPS} )
- ssl? ( >=dev-libs/openssl-1.1:= )
- uuid? ( sys-apps/util-linux:= )
-"
-RDEPEND="
- ${DEPEND}
-"
-BDEPEND="
- dev-lang/swig
-"
-
-src_configure() {
- local emesonargs=(
- -Dpython=disabled
- $(meson_use test tests)
- $(meson_feature json json-c)
- $(meson_feature dbus libdbus)
- $(meson_feature keyutils)
- $(meson_feature ssl openssl)
- )
- meson_src_configure
-}
-
-python_compile() {
- local emesonargs=(
- -Dpython=enabled
- )
- meson_src_configure --reconfigure
- meson_src_compile
-}
-
-src_compile() {
- meson_src_compile
-
- if use python; then
- python_copy_sources
- python_foreach_impl python_compile
- fi
-}
-
-python_install() {
- meson_src_install
- use python && python_optimize
-}
-
-src_install() {
- use python && python_foreach_impl python_install
-
- meson_src_install
-}
diff --git a/sys-libs/libnvme/libnvme-1.9.ebuild b/sys-libs/libnvme/libnvme-1.9.ebuild
deleted file mode 100644
index 5e8a103a659f..000000000000
--- a/sys-libs/libnvme/libnvme-1.9.ebuild
+++ /dev/null
@@ -1,80 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-inherit python-r1 meson
-
-DESCRIPTION="C Library for NVM Express on Linux"
-HOMEPAGE="https://github.com/linux-nvme/libnvme"
-SRC_URI="https://github.com/linux-nvme/libnvme/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="LGPL-2.1+"
-SLOT="0/1"
-KEYWORDS="~alpha amd64 arm arm64 ~loong ~mips ~ppc ppc64 ~riscv ~sparc x86"
-IUSE="dbus +json keyutils python ssl test +uuid"
-RESTRICT="!test? ( test )"
-
-REQUIRED_USE="
- python? ( ${PYTHON_REQUIRED_USE} )
-"
-
-DEPEND="
- json? ( dev-libs/json-c:= )
- keyutils? ( sys-apps/keyutils:= )
- dbus? ( sys-apps/dbus:= )
- python? ( ${PYTHON_DEPS} )
- ssl? ( >=dev-libs/openssl-1.1:= )
- uuid? ( sys-apps/util-linux:= )
-"
-RDEPEND="
- ${DEPEND}
-"
-BDEPEND="
- dev-lang/swig
-"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-1.9-musl-stdint.patch
-)
-
-src_configure() {
- local emesonargs=(
- -Dpython=disabled
- $(meson_use test tests)
- $(meson_feature json json-c)
- $(meson_feature dbus libdbus)
- $(meson_feature keyutils)
- $(meson_feature ssl openssl)
- )
- meson_src_configure
-}
-
-python_compile() {
- local emesonargs=(
- -Dpython=enabled
- )
- meson_src_configure --reconfigure
- meson_src_compile
-}
-
-src_compile() {
- meson_src_compile
-
- if use python; then
- python_copy_sources
- python_foreach_impl python_compile
- fi
-}
-
-python_install() {
- meson_src_install
- use python && python_optimize
-}
-
-src_install() {
- use python && python_foreach_impl python_install
-
- meson_src_install
-}