From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1232713-garchives=archives.gentoo.org@lists.gentoo.org>
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 9D7B31382C5
	for <garchives@archives.gentoo.org>; Sat, 19 Dec 2020 21:36:46 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id D8144E0935;
	Sat, 19 Dec 2020 21:36:45 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.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 C06D8E0935
	for <gentoo-commits@lists.gentoo.org>; Sat, 19 Dec 2020 21:36:45 +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 08A943410E9
	for <gentoo-commits@lists.gentoo.org>; Sat, 19 Dec 2020 21:36:44 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id AE4F4CC
	for <gentoo-commits@lists.gentoo.org>; Sat, 19 Dec 2020 21:36:42 +0000 (UTC)
From: "Aisha Tammy" <gentoo@aisha.cc>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Aisha Tammy" <gentoo@aisha.cc>
Message-ID: <1608413782.e0de2fdc6ff4fc9893816a4b0d84fa7f4e6f2b20.epsilon-0@gentoo>
Subject: [gentoo-commits] proj/sci:master commit in: sys-apps/ndctl/
X-VCS-Repository: proj/sci
X-VCS-Files: sys-apps/ndctl/ndctl-71.ebuild
X-VCS-Directories: sys-apps/ndctl/
X-VCS-Committer: epsilon-0
X-VCS-Committer-Name: Aisha Tammy
X-VCS-Revision: e0de2fdc6ff4fc9893816a4b0d84fa7f4e6f2b20
X-VCS-Branch: master
Date: Sat, 19 Dec 2020 21:36:42 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: bfd04805-21a2-4fce-afe9-53d58b18a88d
X-Archives-Hash: 64d1fb56382f364c7f6da9045600da39

commit:     e0de2fdc6ff4fc9893816a4b0d84fa7f4e6f2b20
Author:     Aisha Tammy <gentoo <AT> aisha <DOT> cc>
AuthorDate: Sat Dec 19 21:36:22 2020 +0000
Commit:     Aisha Tammy <gentoo <AT> aisha <DOT> cc>
CommitDate: Sat Dec 19 21:36:22 2020 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=e0de2fdc

sys-apps/ndctl: version bump to 71

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>

 sys-apps/ndctl/ndctl-71.ebuild | 60 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 60 insertions(+)

diff --git a/sys-apps/ndctl/ndctl-71.ebuild b/sys-apps/ndctl/ndctl-71.ebuild
new file mode 100644
index 000000000..60cc559bf
--- /dev/null
+++ b/sys-apps/ndctl/ndctl-71.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools bash-completion-r1 linux-info systemd
+
+DESCRIPTION="utility for managing the nvdimm sub-system in the linux kernel"
+HOMEPAGE="https://pmem.io"
+
+if [[ ${PV} == 9999 ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/pmem/ndctl"
+else
+	SRC_URI="https://github.com/pmem/ndctl/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+fi
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+RESTRICT="test"
+
+RDEPEND="
+	dev-libs/json-c
+	sys-apps/keyutils
+	sys-apps/kmod
+	sys-apps/util-linux
+	virtual/udev
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+	app-text/asciidoc
+	app-text/xmlto
+	virtual/pkgconfig
+"
+
+CONFIG_CHECK="~BLK_DEV_RAM_DAX ~FS_DAX ~X86_PMEM_LEGACY ~LIBNVDIMM ~BLK_DEV_PMEM \
+~ARCH_HAS_PMEM_API ~TRANSPARENT_HUGEPAGE ~MEMORY_HOTPLUG ~MEMORY_HOTREMOVE \
+~ZONE_DEVICE ~FS_DAX_PMD"
+
+src_prepare() {
+	"${S}"/git-version-gen
+	default
+	eautoreconf
+}
+
+src_configure() {
+	econf \
+	  --disable-asciidoctor \
+	  --without-bash \
+	  --without-systemd \
+	  --with-keyutils
+}
+
+src_install() {
+	emake DESTDIR="${D}" install
+
+	dobashcomp contrib/${PN}
+	systemd_dounit ${PN}/ndctl-monitor.service
+}