summaryrefslogtreecommitdiff
path: root/sys-block/ndctl
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-01-27 01:57:18 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-01-27 01:57:18 +0000
commit2db43213e5c343995f4b9fb977726fe42ebdac67 (patch)
tree6707366d284d46256ffc9490ab6d2940a83cd0ae /sys-block/ndctl
parent236302aac694377916670b7769f941e3f1dd0bbc (diff)
gentoo auto-resync : 27:01:2023 - 01:57:17
Diffstat (limited to 'sys-block/ndctl')
-rw-r--r--sys-block/ndctl/Manifest2
-rw-r--r--sys-block/ndctl/ndctl-75.ebuild74
2 files changed, 76 insertions, 0 deletions
diff --git a/sys-block/ndctl/Manifest b/sys-block/ndctl/Manifest
index 47faf949c544..e4499235c279 100644
--- a/sys-block/ndctl/Manifest
+++ b/sys-block/ndctl/Manifest
@@ -1,6 +1,8 @@
AUX ndctl-71.1-bash-completion-configure.patch 1717 BLAKE2B 167bc8e1bdb8fb9c31451c7ca7ed0edd28ecdc03185a06d96b125a604b34816df1927788d5208d229704778c356d26cd41b2d031af29e66686d0dbd0c2206f74 SHA512 b688bc49e413cb41c0b611f304a91f074a99fbcd60393c18d36435a7e3fa0a4326bf2107ff731adda96d0f14b57cf37d265de6156e903f43beec225cf8a7474f
DIST ndctl-71.1.tar.gz 330512 BLAKE2B 582f29fb649f33a48b5412bfefc15de2b1f765b27251d1b8a472d8c7705d671acbd6bf646f737baf8556d8fda39db68242f44e11225d7305e95f5d2ec5931f31 SHA512 92fb06ca64455775ce0b89ba0846f70235e02fe3502e2a8a55a858f76f87cb90ae98f5bf01620e5884f667ea78ee2bee2cd9e7a85ffa8f8d9c456e9282ca9ebc
DIST ndctl-72.1.tar.gz 365324 BLAKE2B 2e061bd1357c0b422f728e8624106d93e9eed2f5c7795428b0c61d041ab45569aa8bb6eb52544360ad538be85f3b7f84f8c9ab1037a8ca5498c2e1a13fa22186 SHA512 7304e23121c99457fa6e22a399fb636f6a66d6d07b090463ec41e424687b06e7e8a1a18623ab9dd5783aaccfa09ff964e3477b63aaa4614ac60f6e6050452f12
+DIST ndctl-75.tar.gz 415393 BLAKE2B f9081b09c2f4ad8a6bc9c53e792b8a49992c7089af09e39917efe0fceea800d81665a31bf14c8e2f6f83c57d1dccebb4513b9bb556a3e81c19c75fbc67e1d7e3 SHA512 0af960e43a363711fbdb5152bb670022bd9b2f6a269c153dd88dca4ad2dcc215679c354ebcc758e9376867462f82c21aebe62bc62ca27333dedf3a818f34b272
EBUILD ndctl-71.1-r2.ebuild 1250 BLAKE2B 32a258fed028d6f3f17259b3377283373fc364c407bd6e925d4e15fda59402475f1a812d9a79656dccf7984cdbb0715a3b6ed118f466a1933b9d3037d1ae502f SHA512 a6b3797439595ed62a73e598d938d3c6213855e8771ee1b9e3d51ff2d6dfa5ccb70f110006ab26eb54fdd0c4d000b00ec55970eb2458db51d4d6484fbcb5666f
EBUILD ndctl-72.1.ebuild 1400 BLAKE2B 7e02ccfdf667d270256678c3dd8afe0518b509144578ca32c823a49d49f163172f889fcbff25894ef05b2bd17b6f8828abd376a2da86dbf1c51c99e688a7be0a SHA512 965f02e6ac8d466e0b4e221a9557c30eb2b569287de8f9d4bbb5982da0d143f45a1d7fa72560d4933594ac65d881380ec7a0b4991e4fe71175198cdb91d3644d
+EBUILD ndctl-75.ebuild 1372 BLAKE2B a1639041550fa11087a0bedd32ab8a0c75d5bfdcbe19f253715d3aa503b1008d1c373c5fc33185453fc425f0fcbba3144c382196fe70c4cf13db74898704874f SHA512 8507e9155fbf638fd2d0802a7b3cb7d57f32c80ff76651a68a86042c975b70fb14248ad8b51ce984953e632850341a6a1a361d8d644dbb9a2347091262cd995c
MISC metadata.xml 250 BLAKE2B 0b272f56e53b7d76c6d5c253fbe5d7c4c9a1d7b58c21e2f59b8323a5f5cd2791c64651fdfa243a8f560ac9c0a0ff38fcffdc24290fa6d18100da0cadffc19845 SHA512 076f0dbffbab6987cfab48a5ff3631789190c570c35515cc77de5757760f19a8ad615f642e7d61b12344ffc77c599e6ff8b79b67329e69929fdd19a7c80723ff
diff --git a/sys-block/ndctl/ndctl-75.ebuild b/sys-block/ndctl/ndctl-75.ebuild
new file mode 100644
index 000000000000..6c45f09b498f
--- /dev/null
+++ b/sys-block/ndctl/ndctl-75.ebuild
@@ -0,0 +1,74 @@
+# Copyright 2021-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit udev meson bash-completion-r1
+
+DESCRIPTION="Helper tools and libraries for managing non-volatile memory on Linux"
+HOMEPAGE="https://github.com/pmem/ndctl"
+SRC_URI="https://github.com/pmem/ndctl/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2 LGPL-2.1 MIT CC0-1.0"
+SLOT="0/6"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc systemd test"
+
+DEPEND="
+ dev-libs/iniparser:0=
+ dev-libs/json-c:=
+ sys-apps/keyutils:=
+ sys-apps/kmod:=
+ sys-apps/util-linux:=
+ virtual/libudev:=
+ systemd? ( sys-apps/systemd:= )
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+ doc? (
+ app-text/asciidoc
+ app-text/xmlto
+ )
+ sys-devel/libtool
+ virtual/pkgconfig
+"
+
+RESTRICT="!test? ( test )"
+
+# tests require root access
+RESTRICT+=" test"
+
+DOCS=(
+ README.md
+ CONTRIBUTING.md
+)
+
+src_configure() {
+ local -a emesonargs=(
+ $(meson_feature systemd)
+ $(meson_feature doc docs)
+ -Dasciidoctor=disabled
+ -Dbashcompletiondir="$(get_bashcompdir)"
+ -Drootprefix=/usr
+ -Drootlibdir="/usr/$(get_libdir)"
+ )
+ meson_src_configure
+}
+
+src_install() {
+ meson_src_install
+
+ # upstream doesn't install udev rules unless using systemd
+ use systemd || udev_dorules daxctl/90-daxctl-device.rules
+
+ bashcomp_alias ndctl daxctl
+ bashcomp_alias ndctl cxl
+}
+
+pkg_postinst() {
+ udev_reload
+}
+
+pkg_postrm() {
+ udev_reload
+}