* [PR PATCH] nvme
@ 2023-01-28 17:17 subnut
2023-02-05 10:22 ` [PR REVIEW] Update libnvme and nvme-cli paper42
` (8 more replies)
0 siblings, 9 replies; 10+ messages in thread
From: subnut @ 2023-01-28 17:17 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1218 bytes --]
There is a new pull request by subnut against master on the void-packages repository
https://github.com/subnut/void-packages nvme
https://github.com/void-linux/void-packages/pull/41919
nvme
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
<!--
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/41919.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-nvme-41919.patch --]
[-- Type: text/x-diff, Size: 3293 bytes --]
From ef946c515006a7118975366882fd4c3aef0c7180 Mon Sep 17 00:00:00 2001
From: Subhaditya Nath <sn03.general@gmail.com>
Date: Sat, 28 Jan 2023 22:45:58 +0530
Subject: [PATCH 1/2] libnvme: update to 1.2
---
common/shlibs | 1 +
srcpkgs/libnvme/template | 10 +++++-----
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/common/shlibs b/common/shlibs
index f632ce9c76da..68bd7f09982d 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4150,6 +4150,7 @@ librz_util.so.0.4 rizin-0.4.0_1
libaravis-0.8.so.0 libaravis-0.8.21_1
libLimeSuite.so.22.09-1 LimeSuite-22.09.0_1
libnvme.so.1 libnvme-1.0_1
+libnvme-mi.so.1 libnvme-1.2_1
libRInside.so R-cran-RInside-0.2.16_1
libXrdUtils.so.3 xrootd-5.4.0_1
libXrdCl.so.3 xrootd-5.4.0_1
diff --git a/srcpkgs/libnvme/template b/srcpkgs/libnvme/template
index ea9de2f2f1f7..d8fea03c60c6 100644
--- a/srcpkgs/libnvme/template
+++ b/srcpkgs/libnvme/template
@@ -1,22 +1,22 @@
# Template file for 'libnvme'
pkgname=libnvme
-version=1.1
-revision=2
+version=1.2
+revision=1
build_style=meson
configure_args="-Ddocs=man"
hostmakedepends="pkg-config swig"
-makedepends="libuuid-devel json-c-devel openssl-devel python3-devel"
+makedepends="json-c-devel openssl-devel python3-devel"
checkdepends="perl"
short_desc="C Library for NVM Express on Linux"
maintainer="Subhaditya Nath <sn03.general@gmail.com>"
license="LGPL-2.1-or-later"
homepage="https://github.com/linux-nvme/libnvme"
distfiles="https://github.com/linux-nvme/libnvme/archive/v${version}.tar.gz"
-checksum=d000181356513733671409c747c88826155b60f45f76e7289d6bbf27a8f851b0
+checksum=2697c86e9d8597fcd264f8bf8af57a529346efa4f611ca2be855e3aa89b9eb2c
libnvme-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
- depends+=" json-c-devel libuuid-devel openssl-devel" # otherwise 'pkgconf libnvme' doesn't work
+ depends+=" json-c-devel openssl-devel" # otherwise 'pkgconf libnvme' doesn't work
short_desc+=" - development files"
pkg_install() {
vmove usr/include
From 33bc86086d74e0a6313023de040db3c97ec7a7c5 Mon Sep 17 00:00:00 2001
From: Subhaditya Nath <sn03.general@gmail.com>
Date: Sat, 28 Jan 2023 22:46:06 +0530
Subject: [PATCH 2/2] nvme-cli: update to 2.2.1
---
srcpkgs/nvme-cli/template | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/nvme-cli/template b/srcpkgs/nvme-cli/template
index a80699cd4a3b..43ca2001d7f3 100644
--- a/srcpkgs/nvme-cli/template
+++ b/srcpkgs/nvme-cli/template
@@ -1,17 +1,17 @@
# Template file for 'nvme-cli'
pkgname=nvme-cli
-version=2.1.2
+version=2.2.1
revision=1
build_style=meson
configure_args="-Ddocs=man -Dudevrulesdir=lib/udev/rules.d"
hostmakedepends="pkg-config"
-makedepends="libnvme-devel zlib-devel json-c-devel libuuid-devel"
+makedepends="libnvme-devel zlib-devel json-c-devel"
short_desc="NVMe management command line interface"
maintainer="Subhaditya Nath <sn03.general@gmail.com>"
license="GPL-2.0-only"
homepage="http://nvmexpress.org"
distfiles="https://github.com/linux-nvme/nvme-cli/archive/v${version}.tar.gz"
-checksum=b39811fd2ab8005d515f2f539984cc08f9ab1fe34e5359da10091fdf153df231
+checksum=68720bc25c68adb93dafe1186de4fabbe40f8390ff1416256b52fe74f78259ae
conf_files="/etc/nvme/*.conf"
if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PR REVIEW] Update libnvme and nvme-cli
2023-01-28 17:17 [PR PATCH] nvme subnut
@ 2023-02-05 10:22 ` paper42
2023-02-05 10:24 ` paper42
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: paper42 @ 2023-02-05 10:22 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 373 bytes --]
New review comment by paper42 on void-packages repository
https://github.com/void-linux/void-packages/pull/41919#discussion_r1096658986
Comment:
```suggestion
depends="${sourcepkg}>=${version}_${revision} json-c-devel openssl-devel"
```
and remove the `depends+=` line, it's not necessary to have a comment about this because every -devel package works the same way.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PR REVIEW] Update libnvme and nvme-cli
2023-01-28 17:17 [PR PATCH] nvme subnut
2023-02-05 10:22 ` [PR REVIEW] Update libnvme and nvme-cli paper42
@ 2023-02-05 10:24 ` paper42
2023-02-06 18:15 ` subnut
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: paper42 @ 2023-02-05 10:24 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 272 bytes --]
New review comment by paper42 on void-packages repository
https://github.com/void-linux/void-packages/pull/41919#discussion_r1096659221
Comment:
* remove `-f` from rm commands in post_install
* if /usr/lib/systemd only contains services, we shouldn't be removing them
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PR REVIEW] Update libnvme and nvme-cli
2023-01-28 17:17 [PR PATCH] nvme subnut
2023-02-05 10:22 ` [PR REVIEW] Update libnvme and nvme-cli paper42
2023-02-05 10:24 ` paper42
@ 2023-02-06 18:15 ` subnut
2023-02-06 18:18 ` subnut
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: subnut @ 2023-02-06 18:15 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 244 bytes --]
New review comment by subnut on void-packages repository
https://github.com/void-linux/void-packages/pull/41919#discussion_r1097756839
Comment:
> - if /usr/lib/systemd only contains services, we shouldn't be removing them
Why? :thinking:
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PR REVIEW] Update libnvme and nvme-cli
2023-01-28 17:17 [PR PATCH] nvme subnut
` (2 preceding siblings ...)
2023-02-06 18:15 ` subnut
@ 2023-02-06 18:18 ` subnut
2023-02-06 18:20 ` [PR PATCH] [Updated] " subnut
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: subnut @ 2023-02-06 18:18 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 420 bytes --]
New review comment by subnut on void-packages repository
https://github.com/void-linux/void-packages/pull/41919#discussion_r1097759875
Comment:
Ah, I see it's mentioned in `Manual.md`
> If the package installs a systemd service file or other unit, leave it in place as a
reference point so long as including it has no negative side effects.
But I still don't understand. What does it mean by _reference point_?
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PR PATCH] [Updated] Update libnvme and nvme-cli
2023-01-28 17:17 [PR PATCH] nvme subnut
` (3 preceding siblings ...)
2023-02-06 18:18 ` subnut
@ 2023-02-06 18:20 ` subnut
2023-02-07 5:10 ` [PR REVIEW] " subnut
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: subnut @ 2023-02-06 18:20 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1246 bytes --]
There is an updated pull request by subnut against master on the void-packages repository
https://github.com/subnut/void-packages nvme
https://github.com/void-linux/void-packages/pull/41919
Update libnvme and nvme-cli
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
<!--
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/41919.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-nvme-41919.patch --]
[-- Type: text/x-diff, Size: 3860 bytes --]
From bbba0d08af4fcec8f0f91547e8c8d86834aa498a Mon Sep 17 00:00:00 2001
From: Subhaditya Nath <sn03.general@gmail.com>
Date: Sat, 28 Jan 2023 22:45:58 +0530
Subject: [PATCH 1/2] libnvme: update to 1.2
---
common/shlibs | 1 +
srcpkgs/libnvme/template | 11 +++++------
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/common/shlibs b/common/shlibs
index 3042ced11d4b..f243ac17a555 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4151,6 +4151,7 @@ librz_util.so.0.4 rizin-0.4.0_1
libaravis-0.8.so.0 libaravis-0.8.21_1
libLimeSuite.so.22.09-1 LimeSuite-22.09.0_1
libnvme.so.1 libnvme-1.0_1
+libnvme-mi.so.1 libnvme-1.2_1
libRInside.so R-cran-RInside-0.2.16_1
libXrdUtils.so.3 xrootd-5.4.0_1
libXrdCl.so.3 xrootd-5.4.0_1
diff --git a/srcpkgs/libnvme/template b/srcpkgs/libnvme/template
index ea9de2f2f1f7..b628be9cabb9 100644
--- a/srcpkgs/libnvme/template
+++ b/srcpkgs/libnvme/template
@@ -1,22 +1,21 @@
# Template file for 'libnvme'
pkgname=libnvme
-version=1.1
-revision=2
+version=1.2
+revision=1
build_style=meson
configure_args="-Ddocs=man"
hostmakedepends="pkg-config swig"
-makedepends="libuuid-devel json-c-devel openssl-devel python3-devel"
+makedepends="json-c-devel openssl-devel python3-devel"
checkdepends="perl"
short_desc="C Library for NVM Express on Linux"
maintainer="Subhaditya Nath <sn03.general@gmail.com>"
license="LGPL-2.1-or-later"
homepage="https://github.com/linux-nvme/libnvme"
distfiles="https://github.com/linux-nvme/libnvme/archive/v${version}.tar.gz"
-checksum=d000181356513733671409c747c88826155b60f45f76e7289d6bbf27a8f851b0
+checksum=2697c86e9d8597fcd264f8bf8af57a529346efa4f611ca2be855e3aa89b9eb2c
libnvme-devel_package() {
- depends="${sourcepkg}>=${version}_${revision}"
- depends+=" json-c-devel libuuid-devel openssl-devel" # otherwise 'pkgconf libnvme' doesn't work
+ depends="${sourcepkg}>=${version}_${revision} json-c-devel openssl-devel"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
From 6640a6d695a969a401d72e7e1eced5cac46e92b9 Mon Sep 17 00:00:00 2001
From: Subhaditya Nath <sn03.general@gmail.com>
Date: Sat, 28 Jan 2023 22:46:06 +0530
Subject: [PATCH 2/2] nvme-cli: update to 2.2.1
---
srcpkgs/nvme-cli/template | 13 ++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)
diff --git a/srcpkgs/nvme-cli/template b/srcpkgs/nvme-cli/template
index a80699cd4a3b..9564926f7555 100644
--- a/srcpkgs/nvme-cli/template
+++ b/srcpkgs/nvme-cli/template
@@ -1,17 +1,17 @@
# Template file for 'nvme-cli'
pkgname=nvme-cli
-version=2.1.2
+version=2.2.1
revision=1
build_style=meson
configure_args="-Ddocs=man -Dudevrulesdir=lib/udev/rules.d"
hostmakedepends="pkg-config"
-makedepends="libnvme-devel zlib-devel json-c-devel libuuid-devel"
+makedepends="libnvme-devel zlib-devel json-c-devel"
short_desc="NVMe management command line interface"
maintainer="Subhaditya Nath <sn03.general@gmail.com>"
license="GPL-2.0-only"
homepage="http://nvmexpress.org"
distfiles="https://github.com/linux-nvme/nvme-cli/archive/v${version}.tar.gz"
-checksum=b39811fd2ab8005d515f2f539984cc08f9ab1fe34e5359da10091fdf153df231
+checksum=68720bc25c68adb93dafe1186de4fabbe40f8390ff1416256b52fe74f78259ae
conf_files="/etc/nvme/*.conf"
if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then
@@ -21,8 +21,7 @@ else
fi
post_install() {
- # remove files that are systemd-only
- rm -rf "${DESTDIR}/usr/lib/systemd"
- rm -rf "${DESTDIR}/usr/lib/udev/rules.d/70-nvmf-autoconnect.rules" # calls systemctl
- rm -rf "${DESTDIR}/usr/lib/dracut/dracut.conf.d/70-nvmf-autoconnect.conf" # needs 70-nvmf-autoconnect.rules
+ # remove files that need systemd
+ rm "${DESTDIR}/usr/lib/udev/rules.d/70-nvmf-autoconnect.rules" # calls systemctl
+ rm "${DESTDIR}/usr/lib/dracut/dracut.conf.d/70-nvmf-autoconnect.conf" # needs 70-nvmf-autoconnect.rules
}
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PR REVIEW] Update libnvme and nvme-cli
2023-01-28 17:17 [PR PATCH] nvme subnut
` (4 preceding siblings ...)
2023-02-06 18:20 ` [PR PATCH] [Updated] " subnut
@ 2023-02-07 5:10 ` subnut
2023-02-07 5:20 ` kruceter
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: subnut @ 2023-02-07 5:10 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 159 bytes --]
New review comment by subnut on void-packages repository
https://github.com/void-linux/void-packages/pull/41919#discussion_r1098183338
Comment:
(done, btw.)
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PR REVIEW] Update libnvme and nvme-cli
2023-01-28 17:17 [PR PATCH] nvme subnut
` (5 preceding siblings ...)
2023-02-07 5:10 ` [PR REVIEW] " subnut
@ 2023-02-07 5:20 ` kruceter
2023-02-07 5:20 ` kruceter
2023-02-14 21:09 ` [PR PATCH] [Merged]: " paper42
8 siblings, 0 replies; 10+ messages in thread
From: kruceter @ 2023-02-07 5:20 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 375 bytes --]
New review comment by kruceter on void-packages repository
https://github.com/void-linux/void-packages/pull/41919#discussion_r1098188079
Comment:
> What does it mean by _reference point_?
Frankly speaking, for "documentation purposes".
You can refer to systemd services when writing a runit service in case the target software is obscure and/or harmful to deal with.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PR REVIEW] Update libnvme and nvme-cli
2023-01-28 17:17 [PR PATCH] nvme subnut
` (6 preceding siblings ...)
2023-02-07 5:20 ` kruceter
@ 2023-02-07 5:20 ` kruceter
2023-02-14 21:09 ` [PR PATCH] [Merged]: " paper42
8 siblings, 0 replies; 10+ messages in thread
From: kruceter @ 2023-02-07 5:20 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 372 bytes --]
New review comment by kruceter on void-packages repository
https://github.com/void-linux/void-packages/pull/41919#discussion_r1098188079
Comment:
> What does it mean by _reference point_?
For "documentation purposes", to be certain.
You can refer to systemd services when writing a runit service in case the target software is obscure and/or harmful to deal with.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PR PATCH] [Merged]: Update libnvme and nvme-cli
2023-01-28 17:17 [PR PATCH] nvme subnut
` (7 preceding siblings ...)
2023-02-07 5:20 ` kruceter
@ 2023-02-14 21:09 ` paper42
8 siblings, 0 replies; 10+ messages in thread
From: paper42 @ 2023-02-14 21:09 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1095 bytes --]
There's a merged pull request on the void-packages repository
Update libnvme and nvme-cli
https://github.com/void-linux/void-packages/pull/41919
Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
<!--
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2023-02-14 21:09 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-28 17:17 [PR PATCH] nvme subnut
2023-02-05 10:22 ` [PR REVIEW] Update libnvme and nvme-cli paper42
2023-02-05 10:24 ` paper42
2023-02-06 18:15 ` subnut
2023-02-06 18:18 ` subnut
2023-02-06 18:20 ` [PR PATCH] [Updated] " subnut
2023-02-07 5:10 ` [PR REVIEW] " subnut
2023-02-07 5:20 ` kruceter
2023-02-07 5:20 ` kruceter
2023-02-14 21:09 ` [PR PATCH] [Merged]: " paper42
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).