Gentoo Archives: gentoo-commits

From: Aisha Tammy <gentoo@×××××.cc>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sys-apps/ndctl/
Date: Sat, 10 Oct 2020 14:04:39
Message-Id: 1602338667.81f8ab3b49717b74c069f788664ab489119360e6.epsilon-0@gentoo
1 commit: 81f8ab3b49717b74c069f788664ab489119360e6
2 Author: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
3 AuthorDate: Sat Oct 10 14:04:27 2020 +0000
4 Commit: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
5 CommitDate: Sat Oct 10 14:04:27 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=81f8ab3b
7
8 sys-apps/ndctl: version bump to 70.1
9
10 Package-Manager: Portage-3.0.8, Repoman-3.0.1
11 Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>
12
13 sys-apps/ndctl/ndctl-70.1.ebuild | 60 ++++++++++++++++++++++++++++++++++++++++
14 1 file changed, 60 insertions(+)
15
16 diff --git a/sys-apps/ndctl/ndctl-70.1.ebuild b/sys-apps/ndctl/ndctl-70.1.ebuild
17 new file mode 100644
18 index 000000000..60cc559bf
19 --- /dev/null
20 +++ b/sys-apps/ndctl/ndctl-70.1.ebuild
21 @@ -0,0 +1,60 @@
22 +# Copyright 1999-2020 Gentoo Authors
23 +# Distributed under the terms of the GNU General Public License v2
24 +
25 +EAPI=7
26 +
27 +inherit autotools bash-completion-r1 linux-info systemd
28 +
29 +DESCRIPTION="utility for managing the nvdimm sub-system in the linux kernel"
30 +HOMEPAGE="https://pmem.io"
31 +
32 +if [[ ${PV} == 9999 ]]; then
33 + inherit git-r3
34 + EGIT_REPO_URI="https://github.com/pmem/ndctl"
35 +else
36 + SRC_URI="https://github.com/pmem/ndctl/archive/v${PV}.tar.gz -> ${P}.tar.gz"
37 + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
38 +fi
39 +
40 +LICENSE="LGPL-2.1"
41 +SLOT="0"
42 +RESTRICT="test"
43 +
44 +RDEPEND="
45 + dev-libs/json-c
46 + sys-apps/keyutils
47 + sys-apps/kmod
48 + sys-apps/util-linux
49 + virtual/udev
50 +"
51 +DEPEND="${RDEPEND}"
52 +BDEPEND="
53 + app-text/asciidoc
54 + app-text/xmlto
55 + virtual/pkgconfig
56 +"
57 +
58 +CONFIG_CHECK="~BLK_DEV_RAM_DAX ~FS_DAX ~X86_PMEM_LEGACY ~LIBNVDIMM ~BLK_DEV_PMEM \
59 +~ARCH_HAS_PMEM_API ~TRANSPARENT_HUGEPAGE ~MEMORY_HOTPLUG ~MEMORY_HOTREMOVE \
60 +~ZONE_DEVICE ~FS_DAX_PMD"
61 +
62 +src_prepare() {
63 + "${S}"/git-version-gen
64 + default
65 + eautoreconf
66 +}
67 +
68 +src_configure() {
69 + econf \
70 + --disable-asciidoctor \
71 + --without-bash \
72 + --without-systemd \
73 + --with-keyutils
74 +}
75 +
76 +src_install() {
77 + emake DESTDIR="${D}" install
78 +
79 + dobashcomp contrib/${PN}
80 + systemd_dounit ${PN}/ndctl-monitor.service
81 +}