From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8B3BC138350 for ; Sun, 26 Apr 2020 05:03:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4B2ECE0900; Sun, 26 Apr 2020 05:03:26 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 28786E0900 for ; Sun, 26 Apr 2020 05:03:26 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9A92834F2AE for ; Sun, 26 Apr 2020 05:03:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 23A3D1EB for ; Sun, 26 Apr 2020 05:03:23 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <1587877394.c09616e0847712e4567f738b6759aa0236bb25df.zmedico@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/nvme-cli/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/nvme-cli/Manifest sys-apps/nvme-cli/nvme-cli-1.10.1.ebuild X-VCS-Directories: sys-apps/nvme-cli/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: c09616e0847712e4567f738b6759aa0236bb25df X-VCS-Branch: master Date: Sun, 26 Apr 2020 05:03:23 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: a99cd066-0bf8-4feb-b729-c80cc9c9fd2d X-Archives-Hash: 93ebcdf64c31b6229e515888eca87e17 commit: c09616e0847712e4567f738b6759aa0236bb25df Author: Zac Medico gentoo org> AuthorDate: Sun Apr 26 04:56:13 2020 +0000 Commit: Zac Medico gentoo org> CommitDate: Sun Apr 26 05:03:14 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c09616e0 sys-apps/nvme-cli: Bump to version 1.10.1 Reported-by: Christohper Harrington gmail.com> Closes: https://bugs.gentoo.org/718756 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Zac Medico gentoo.org> sys-apps/nvme-cli/Manifest | 1 + sys-apps/nvme-cli/nvme-cli-1.10.1.ebuild | 37 ++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) diff --git a/sys-apps/nvme-cli/Manifest b/sys-apps/nvme-cli/Manifest index 7cae4316fa8..73e1cb8b709 100644 --- a/sys-apps/nvme-cli/Manifest +++ b/sys-apps/nvme-cli/Manifest @@ -1,2 +1,3 @@ +DIST nvme-cli-1.10.1.tar.gz 463826 BLAKE2B d92702e3cb7c761dbf12dbd56dee44248d49ebdb5b57636ff00a74728e14b44caa6f1500ed90e7fa63d4b1f2de28624a70f37e27a060dbc138f303e46e224dcf SHA512 92bef073205b357f4b14ba929b7f261d0c18b343e5e244cefc24521dfc581dec4b941a13dc00f9a3b4d938ccd026c847d58ccfd75f813cc3c4f484f8316269dc DIST nvme-cli-1.6.tar.gz 368461 BLAKE2B e40f4d76314860c966c3cb3de31e8d4a1bceab847b8950f0c99d47e00b8e8de077e91f6da9216ec10e939d37d34ab255b5cc3c641f3bbaf3ac8974f697051329 SHA512 05bcc539febd047f092a236ef2b2e9ad4e1df5d38bdc70416f80217425767f414e72294fda46868323cb7c77662d6000eaf16ebdaf74bdfad1baaed11b025d39 DIST nvme-cli-1.9.tar.gz 440675 BLAKE2B 19d9f4982e6bf4d37bbced02aadd0f58e496901c1463c96596b289e23c4e5849bfed9a4129447588c9c8104d5b49fd0bf97ee6495907bf022487407f02d7c4ae SHA512 3565b33bc39bde4480bbde5d46d75ea6907c0921884e8f39029b746f8383d3630942e405c61bcc3654bac5646bc86479b4b790e1b823ec83650649621bab6dac diff --git a/sys-apps/nvme-cli/nvme-cli-1.10.1.ebuild b/sys-apps/nvme-cli/nvme-cli-1.10.1.ebuild new file mode 100644 index 00000000000..e02310e8033 --- /dev/null +++ b/sys-apps/nvme-cli/nvme-cli-1.10.1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit systemd toolchain-funcs 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}.tar.gz" +RESTRICT="test" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" +IUSE="+uuid" + +RDEPEND="uuid? ( sys-apps/util-linux:= )" +DEPEND="${RDEPEND}" + +src_prepare() { + default + sed -e 's|^LIBUUID =|LIBUUID ?=|' \ + -e 's|^install-hostparams:$|\0 install-etc|' \ + -i Makefile || die + sed -e "s|/usr/lib/udev|$(get_udevdir)|" \ + -i nvmf-autoconnect/dracut-conf/70-nvmf-autoconnect.conf || die +} + +src_configure() { + tc-export CC + export PREFIX="${EPREFIX}/usr" + local unitdir="$(systemd_get_systemunitdir)" + export SYSTEMDDIR="${unitdir%/system}" + export UDEVDIR="${EPREFIX}$(get_udevdir)" + MAKEOPTS+=" LIBUUID=$(usex uuid 0 1)" +}