sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (c23be35f42264ddfb0427d6a1aaf53b6274673f0)
- From: Pavel Vinogradov <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (c23be35f42264ddfb0427d6a1aaf53b6274673f0)
- Date: Wed, 13 Apr 2022 21:07:28 +0000
GIT changes to master grimoire by Pavel Vinogradov <public AT sourcemaage.org>:
ChangeLog | 3 +++
disk/libnvme/CONFIGURE | 1 +
disk/libnvme/DEPENDS | 4 ++++
disk/libnvme/DETAILS | 18 ++++++++++++++++++
disk/libnvme/HISTORY | 3 +++
disk/nvme-cli/BUILD | 1 -
disk/nvme-cli/CONFIGURE | 1 +
disk/nvme-cli/DEPENDS | 9 +++++----
disk/nvme-cli/DETAILS | 5 +++--
disk/nvme-cli/HISTORY | 6 ++++++
disk/nvme-cli/INSTALL | 1 -
11 files changed, 44 insertions(+), 8 deletions(-)
New commits:
commit c23be35f42264ddfb0427d6a1aaf53b6274673f0
Author: Pavel Vinogradov <public AT sourcemaage.org>
Commit: Pavel Vinogradov <public AT sourcemaage.org>
disk/nvme-cli: version 2.0
commit a1f301e7fa367f975585e755151bfb0c2388f504
Author: Pavel Vinogradov <public AT sourcemaage.org>
Commit: Pavel Vinogradov <public AT sourcemaage.org>
disk/libnvme: new spell, C Library for NVM Express on Linux
diff --git a/ChangeLog b/ChangeLog
index fdd8a2b..73f3fb2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2022-04-13 Pavel Vinogradov <public AT sourcemage.org>
+ * disk/libnvme: new spell, C Library for NVM Express on Linux
+
2022-04-12 Ismael Luceno <ismael AT sourcemage.org>
* python-pypi/pyudev: new spell, Python bindings to libudev
* python-pypi/solaar: new spell, Device Manager for Logitech Unifying
Receivers and Devices
diff --git a/disk/libnvme/CONFIGURE b/disk/libnvme/CONFIGURE
new file mode 100755
index 0000000..9f48d22
--- /dev/null
+++ b/disk/libnvme/CONFIGURE
@@ -0,0 +1 @@
+. "${GRIMOIRE}/MESON_CONFIGURE"
diff --git a/disk/libnvme/DEPENDS b/disk/libnvme/DEPENDS
new file mode 100755
index 0000000..41c1b8f
--- /dev/null
+++ b/disk/libnvme/DEPENDS
@@ -0,0 +1,4 @@
+. "${GRIMOIRE}/MESON_DEPENDS" &&
+
+depends json-c &&
+depends SSL
diff --git a/disk/libnvme/DETAILS b/disk/libnvme/DETAILS
new file mode 100755
index 0000000..e993ce5
--- /dev/null
+++ b/disk/libnvme/DETAILS
@@ -0,0 +1,18 @@
+. "${GRIMOIRE}/MESON_FUNCTIONS"
+ SPELL=libnvme
+ VERSION=1.0
+
SOURCE_HASH=sha512:119c5f0f6eef47c8922d7c40ff8b6374e211364d8d2df64f1fcc72f2f83216fd81d55e7667d126ab6304128bb58f8e491f845b5a247f64b639a1654a57580f7c
+ SOURCE=${SPELL}-${VERSION}.tar.gz
+
SOURCE_URL[0]=https://github.com/linux-nvme/${SPELL}/archive/refs/tags/v${VERSION}.tar.gz
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+ WEB_SITE=https://nvmexpress.org
+ ENTERED=20220413
+ LICENSE[0]=LGPL
+ KEYWORDS="nvme library"
+ SHORT="C Library for NVM Express on Linux"
+cat << EOF
+This is the libnvme development C library. libnvme provides type definitions
+for NVMe specification structures, enumerations, and bit fields, helper
+functions to construct, dispatch, and decode commands and payloads, and
+utilities to connect, scan, and manage nvme devices on a Linux system.
+EOF
diff --git a/disk/libnvme/HISTORY b/disk/libnvme/HISTORY
new file mode 100644
index 0000000..06d1700
--- /dev/null
+++ b/disk/libnvme/HISTORY
@@ -0,0 +1,3 @@
+2022-04-13 Pavel Vinogradov <public AT sourcemage.org>
+ * CONFIGURE, DEPENDS, DETAILS: created, version 1.0
+
diff --git a/disk/nvme-cli/BUILD b/disk/nvme-cli/BUILD
deleted file mode 100755
index 456751f..0000000
--- a/disk/nvme-cli/BUILD
+++ /dev/null
@@ -1 +0,0 @@
-make ${OPTS}
diff --git a/disk/nvme-cli/CONFIGURE b/disk/nvme-cli/CONFIGURE
new file mode 100755
index 0000000..9f48d22
--- /dev/null
+++ b/disk/nvme-cli/CONFIGURE
@@ -0,0 +1 @@
+. "${GRIMOIRE}/MESON_CONFIGURE"
diff --git a/disk/nvme-cli/DEPENDS b/disk/nvme-cli/DEPENDS
index 560f3df..c554cb4 100755
--- a/disk/nvme-cli/DEPENDS
+++ b/disk/nvme-cli/DEPENDS
@@ -1,4 +1,5 @@
-optional_depends util-linux \
- "LIBUUID=1" \
- "LIBUUID=0" \
- "for UUID support"
+. "${GRIMOIRE}/MESON_DEPENDS" &&
+
+depends json-c &&
+depends libnvme &&
+depends util-linux
diff --git a/disk/nvme-cli/DETAILS b/disk/nvme-cli/DETAILS
index 8c7c9e4..4d72e76 100755
--- a/disk/nvme-cli/DETAILS
+++ b/disk/nvme-cli/DETAILS
@@ -1,8 +1,9 @@
+. "${GRIMOIRE}/MESON_FUNCTIONS"
SPELL=nvme-cli
- VERSION=1.6
+ VERSION=2.0
+
SOURCE_HASH=sha512:24a00ee8e0fc963c1757797413ff5725cec18f821a714d6bbbf37906010d72934d6fdd7b466c085f13716a5279d1a7bd3254ee474e37a0ecd00a85ef23e12417
SOURCE=${SPELL}-${VERSION}.tar.gz
SOURCE_URL[0]=https://github.com/linux-nvme/${SPELL}/archive/v${VERSION}.tar.gz
-
SOURCE_HASH=sha512:05bcc539febd047f092a236ef2b2e9ad4e1df5d38bdc70416f80217425767f414e72294fda46868323cb7c77662d6000eaf16ebdaf74bdfad1baaed11b025d39
SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
WEB_SITE=https://github.com/linux-nvme/nvme-cli
ENTERED=20180818
diff --git a/disk/nvme-cli/HISTORY b/disk/nvme-cli/HISTORY
index 90c1c04..2d5ba39 100644
--- a/disk/nvme-cli/HISTORY
+++ b/disk/nvme-cli/HISTORY
@@ -1,2 +1,8 @@
+2022-04-13 Pavel Vinogradov <public AT sourcemage.org>
+ * DETAILS: version 2.0, mesonified
+ * CONFIGURE, DEPENDS: added meson related code, depends on json-c,
libnvme
+ and util-linux is required now
+ * BUILD, INSTALL: dropped
+
2018-08-18 Vlad Glagolev <stealth AT sourcemage.org>
* DETAILS, DEPENDS, BUILD, INSTALL: spell created, version 1.6
diff --git a/disk/nvme-cli/INSTALL b/disk/nvme-cli/INSTALL
deleted file mode 100755
index e72b41d..0000000
--- a/disk/nvme-cli/INSTALL
+++ /dev/null
@@ -1 +0,0 @@
-make PREFIX="${INSTALL_ROOT}/usr" install
- [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (c23be35f42264ddfb0427d6a1aaf53b6274673f0), Pavel Vinogradov, 04/13/2022
Archive powered by MHonArc 2.6.24.