From e810ac4a0e6af9f763f4433863042b34609075a7 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 10 Jul 2024 12:25:06 +0100 Subject: gentoo auto-resync : 10:07:2024 - 12:25:06 --- sys-apps/azure-nvme-utils/Manifest | 5 ++- .../azure-nvme-utils/azure-nvme-utils-0.1.3.ebuild | 39 ---------------------- .../azure-nvme-utils/azure-nvme-utils-0.2.0.ebuild | 30 +++++++++++++++++ .../files/azure-nvme-utils-werror.patch | 31 ----------------- 4 files changed, 32 insertions(+), 73 deletions(-) delete mode 100644 sys-apps/azure-nvme-utils/azure-nvme-utils-0.1.3.ebuild create mode 100644 sys-apps/azure-nvme-utils/azure-nvme-utils-0.2.0.ebuild delete mode 100644 sys-apps/azure-nvme-utils/files/azure-nvme-utils-werror.patch (limited to 'sys-apps/azure-nvme-utils') diff --git a/sys-apps/azure-nvme-utils/Manifest b/sys-apps/azure-nvme-utils/Manifest index 5821113ffd8f..1e93391f9be5 100644 --- a/sys-apps/azure-nvme-utils/Manifest +++ b/sys-apps/azure-nvme-utils/Manifest @@ -1,4 +1,3 @@ -AUX azure-nvme-utils-werror.patch 1077 BLAKE2B ee0a9778769c88478b04db6c45c2812077b96949f48df87ff146a429feb54c41fe08037de04beeb303fb197ce2b6b5f63eeae4bfa7916e4edd49cd26e71f2eca SHA512 5de7ebbe04eb5233f7b9d458d93a6763cb8755fa70ebff37462febf18c59afe75ad05987e0dd9abab8cd62732ba8a3f5df263a3f783e326b586692e086c913fd -DIST azure-nvme-utils-0.1.3.tar.gz 11365 BLAKE2B 97b040a6cdacdd1e8eede89b16722a8e870c6027f0318ce0700ce4087f93fb2df7b25ab3154567548a1704cd9585a4f0cda3cf2bdde408990a715b96639225b4 SHA512 42b6ada9ec2db9d53e4b7f9b4a4dc581a06af2954c0da94a5851ed88b66cc2d349c3b6b3a7d4bcf73a68094620df4cd9d480dde31edaf9b80d5235129b634fa8 -EBUILD azure-nvme-utils-0.1.3.ebuild 790 BLAKE2B 6b1019d05d50188b20718c5e84ee008a3db42ac135d390cf617176085ba0f1eb02098abe0610f855479237488f3a6e7b4d8b6e8831889300637c34fa6a9aff01 SHA512 56bdc59ba6a1831e12ed23effdb67043eb0ffbb614bef14232dde9563e3f1247c14cb5ec2d5e5390cf10485c0826084aaa13c5843c0c4c7546cdde8ab13c099d +DIST azure-nvme-utils-0.2.0.tar.gz 13177 BLAKE2B 5c486d035422ea6547e2886324e0b6e2537d11089bc0b3dfd550130e82ab8de8cc9a5be8e3bfd0722cb71c17a66c261f0cfd021e4a48e5568de01dd0c052fbbc SHA512 4ef2de641839bfbcc2e1a084cec218d1105550366770d731bb7a3e5d4b4e45a47b21ccf9a3a8069f469389e1d27e485bfed235a55d398930bddc8829eebc2708 +EBUILD azure-nvme-utils-0.2.0.ebuild 636 BLAKE2B ccbd63b59ba17366f2f8090b0426c661cb9d606841c140b83d5d0cf763a335433fb5deeb375d1b235ae79431acb9e21cdeff3185c097def5af8f4056b4facf94 SHA512 fa8ca6d31cd8c898fc96b4cdd707f65cb519fa99acd9aa8775674f1b1746e338e53d3e020ba35c89d75ff0589c03877caaebf42ef92a175def09259d4ef627d0 MISC metadata.xml 426 BLAKE2B 24ec8a7528b7d42d8b9b704ed26572cd5171914a588f7665d881723a82cb3ba5eed5543c3ff376f65fb9e1bd0abc641eef2cfc078812d36ca43e1a82c509ece3 SHA512 9ff643547af48d07106069966935403b31ab5259009bcd3e9609cec2a5a1e8d05b931acdfb2c0a42fb5068d934f709b769dbc838b762199071c81deaeb320164 diff --git a/sys-apps/azure-nvme-utils/azure-nvme-utils-0.1.3.ebuild b/sys-apps/azure-nvme-utils/azure-nvme-utils-0.1.3.ebuild deleted file mode 100644 index 5f4359903bf0..000000000000 --- a/sys-apps/azure-nvme-utils/azure-nvme-utils-0.1.3.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake udev - -DESCRIPTION="Utility to help identify Azure NVMe devices" -HOMEPAGE="https://github.com/Azure/azure-nvme-utils" -SRC_URI="https://github.com/Azure/${PN}/archive/refs/tags/v${PV}/${P}.tar.gz" -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64" -IUSE="doc +lun-fallback" - -BDEPEND=" - doc? ( virtual/pandoc ) -" - -PATCHES=( - "${FILESDIR}"/${PN}-werror.patch -) - -src_configure() { - local mycmakeargs=( - -DAZURE_LUN_CALCULATION_BY_NSID_ENABLED=$(usex lun-fallback) - -DUDEV_RULES_INSTALL_DIR="$(get_udevdir)/rules.d" - -DPANDOC_EXECUTABLE="$(usex doc "${BROOT}"/usr/bin/pandoc no)" - ) - cmake_src_configure -} - -pkg_postinst() { - udev_reload -} - -pkg_postrm() { - udev_reload -} diff --git a/sys-apps/azure-nvme-utils/azure-nvme-utils-0.2.0.ebuild b/sys-apps/azure-nvme-utils/azure-nvme-utils-0.2.0.ebuild new file mode 100644 index 000000000000..5d3421905581 --- /dev/null +++ b/sys-apps/azure-nvme-utils/azure-nvme-utils-0.2.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake udev + +DESCRIPTION="Utility to help identify Azure NVMe devices" +HOMEPAGE="https://github.com/Azure/azure-nvme-utils" +SRC_URI="https://github.com/Azure/${PN}/archive/refs/tags/v${PV}/${P}.tar.gz" +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64" +IUSE="+lun-fallback" + +src_configure() { + local mycmakeargs=( + -DAZURE_LUN_CALCULATION_BY_NSID_ENABLED=$(usex lun-fallback) + -DUDEV_RULES_INSTALL_DIR="$(get_udevdir)/rules.d" + ) + cmake_src_configure +} + +pkg_postinst() { + udev_reload +} + +pkg_postrm() { + udev_reload +} diff --git a/sys-apps/azure-nvme-utils/files/azure-nvme-utils-werror.patch b/sys-apps/azure-nvme-utils/files/azure-nvme-utils-werror.patch deleted file mode 100644 index 928dcb099e4e..000000000000 --- a/sys-apps/azure-nvme-utils/files/azure-nvme-utils-werror.patch +++ /dev/null @@ -1,31 +0,0 @@ -From d4afc19a9432e1b7c25269732d18143263f87404 Mon Sep 17 00:00:00 2001 -From: James Le Cuirot -Date: Fri, 3 May 2024 12:52:04 +0100 -Subject: [PATCH] cmake: Only enable -Werror for debug builds - --Werror is very unhelpful for distributions and end users as different -(usually newer) compilers will raise warnings that the maintainers may -not see. The warnings should get reported upstream, but they shouldn't -block users from using the software. - -Signed-off-by: James Le Cuirot ---- - CMakeLists.txt | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 3d3cd4b..75db578 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -17,7 +17,7 @@ include(cmake/doc.cmake) - include(CTest) - enable_testing() - --add_compile_options(-Wextra -Wall -Werror -std=gnu11 -D_GNU_SOURCE=1) -+add_compile_options(-Wextra -Wall $<$:-Werror> -std=gnu11 -D_GNU_SOURCE=1) - add_executable(azure-nvme-id src/main.c) - - set(AZURE_NVME_ID_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/sbin") --- -2.44.0 - -- cgit v1.2.3