* [PR PATCH] Update libnvme and nvme-cli to 1.1 and 2.1.1
@ 2022-08-02 10:29 subnut
2022-08-02 10:46 ` [PR PATCH] [Updated] " subnut
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: subnut @ 2022-08-02 10:29 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1244 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/38425
Update libnvme and nvme-cli to 1.1 and 2.1.1
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **NO**
<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-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, (ARCH-LIBC)
- 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/38425.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-nvme-38425.patch --]
[-- Type: text/x-diff, Size: 2150 bytes --]
From d14c2eaedbef1fd4aa60a623a5e60089ba517244 Mon Sep 17 00:00:00 2001
From: Subhaditya Nath <sn03.general@gmail.com>
Date: Tue, 2 Aug 2022 15:57:28 +0530
Subject: [PATCH 1/2] libnvme: update to 1.1
---
srcpkgs/libnvme/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/libnvme/template b/srcpkgs/libnvme/template
index aafe21aa9aa5..1e1a8a76267a 100644
--- a/srcpkgs/libnvme/template
+++ b/srcpkgs/libnvme/template
@@ -1,6 +1,6 @@
# Template file for 'libnvme'
pkgname=libnvme
-version=1.0
+version=1.1
revision=1
build_style=meson
configure_args="-Ddocs=man"
@@ -11,7 +11,7 @@ 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=387524b1c24a4091a88bfb258c98c054f716da210e77702f0709164740370807
+checksum=d000181356513733671409c747c88826155b60f45f76e7289d6bbf27a8f851b0
libnvme-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
From 725e27e16915ed20778e2b7f4128ed5e94ab3c34 Mon Sep 17 00:00:00 2001
From: Subhaditya Nath <sn03.general@gmail.com>
Date: Tue, 2 Aug 2022 15:57:44 +0530
Subject: [PATCH 2/2] nvme-cli: update to 2.1.1
---
srcpkgs/nvme-cli/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/nvme-cli/template b/srcpkgs/nvme-cli/template
index d4e7bc892403..fb64fece0644 100644
--- a/srcpkgs/nvme-cli/template
+++ b/srcpkgs/nvme-cli/template
@@ -1,6 +1,6 @@
# Template file for 'nvme-cli'
pkgname=nvme-cli
-version=2.0
+version=2.1.1
revision=1
build_style=meson
configure_args="-Ddocs=man -Dudevrulesdir=lib/udev/rules.d"
@@ -11,7 +11,7 @@ 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=471869b3bf643bb357dc9613ad14d24ff342fcd97e2db5a753c81c335ad8859c
+checksum=cc8bd36b9aa71243e2bace238aa5505244fef3fef5418b0c61f75d1988458272
conf_files="/etc/nvme/*.conf"
if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PR PATCH] [Updated] Update libnvme and nvme-cli to 1.1 and 2.1.1
2022-08-02 10:29 [PR PATCH] Update libnvme and nvme-cli to 1.1 and 2.1.1 subnut
@ 2022-08-02 10:46 ` subnut
2022-08-06 7:54 ` subnut
2022-08-07 14:46 ` [PR PATCH] [Merged]: " classabbyamp
2 siblings, 0 replies; 4+ messages in thread
From: subnut @ 2022-08-02 10:46 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1249 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/38425
Update libnvme and nvme-cli to 1.1 and 2.1.1
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **NO**
<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-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, (ARCH-LIBC)
- 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/38425.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-nvme-38425.patch --]
[-- Type: text/x-diff, Size: 3723 bytes --]
From c4903d19ead4ba68d8872ea7c59ce462d2332075 Mon Sep 17 00:00:00 2001
From: Subhaditya Nath <sn03.general@gmail.com>
Date: Tue, 2 Aug 2022 15:57:28 +0530
Subject: [PATCH 1/2] libnvme: update to 1.1
---
srcpkgs/libnvme/patches/SCOPE_DELIMITER.patch | 13 -------------
srcpkgs/libnvme/template | 4 ++--
2 files changed, 2 insertions(+), 15 deletions(-)
delete mode 100644 srcpkgs/libnvme/patches/SCOPE_DELIMITER.patch
diff --git a/srcpkgs/libnvme/patches/SCOPE_DELIMITER.patch b/srcpkgs/libnvme/patches/SCOPE_DELIMITER.patch
deleted file mode 100644
index c25df742e763..000000000000
--- a/srcpkgs/libnvme/patches/SCOPE_DELIMITER.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-SCOPE_DELIMITER not defined in musl
-
---- a/src/nvme/fabrics.c
-+++ b/src/nvme/fabrics.c
-@@ -325,7 +325,7 @@
- nvme_msg(r, LOG_ERR, "cannot copy: %s\n", src);
-
- const char *scope = NULL;
-- char *p = strchr(tmp, SCOPE_DELIMITER);
-+ char *p = strchr(tmp, '%');
- if (p) {
- *p = '\0';
- scope = src + (p - tmp) + 1;
diff --git a/srcpkgs/libnvme/template b/srcpkgs/libnvme/template
index aafe21aa9aa5..1e1a8a76267a 100644
--- a/srcpkgs/libnvme/template
+++ b/srcpkgs/libnvme/template
@@ -1,6 +1,6 @@
# Template file for 'libnvme'
pkgname=libnvme
-version=1.0
+version=1.1
revision=1
build_style=meson
configure_args="-Ddocs=man"
@@ -11,7 +11,7 @@ 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=387524b1c24a4091a88bfb258c98c054f716da210e77702f0709164740370807
+checksum=d000181356513733671409c747c88826155b60f45f76e7289d6bbf27a8f851b0
libnvme-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
From 15d08a0f5eb54157d7a9c4d31cbafd91201b9de2 Mon Sep 17 00:00:00 2001
From: Subhaditya Nath <sn03.general@gmail.com>
Date: Tue, 2 Aug 2022 15:57:44 +0530
Subject: [PATCH 2/2] nvme-cli: update to 2.1.1
---
srcpkgs/nvme-cli/patches/musl.patch | 18 ------------------
srcpkgs/nvme-cli/template | 4 ++--
2 files changed, 2 insertions(+), 20 deletions(-)
delete mode 100644 srcpkgs/nvme-cli/patches/musl.patch
diff --git a/srcpkgs/nvme-cli/patches/musl.patch b/srcpkgs/nvme-cli/patches/musl.patch
deleted file mode 100644
index 4ebfba11d38f..000000000000
--- a/srcpkgs/nvme-cli/patches/musl.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-commit ddf3610e8326d014360c9550d54a73f97b40e862
-Author: q66 <daniel@octaforge.org>
-Date: Wed Apr 27 04:20:41 2022 +0200
-
- fix build on musl
-
-diff --git a/util/base64.c b/util/base64.c
-index e386c11..dad4492 100644
---- a/util/base64.c
-+++ b/util/base64.c
-@@ -22,6 +22,7 @@
- #include <stdlib.h>
- #include <string.h>
- #include <errno.h>
-+#include <sys/types.h>
-
- static const char base64_table[65] =
- "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
diff --git a/srcpkgs/nvme-cli/template b/srcpkgs/nvme-cli/template
index d4e7bc892403..fb64fece0644 100644
--- a/srcpkgs/nvme-cli/template
+++ b/srcpkgs/nvme-cli/template
@@ -1,6 +1,6 @@
# Template file for 'nvme-cli'
pkgname=nvme-cli
-version=2.0
+version=2.1.1
revision=1
build_style=meson
configure_args="-Ddocs=man -Dudevrulesdir=lib/udev/rules.d"
@@ -11,7 +11,7 @@ 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=471869b3bf643bb357dc9613ad14d24ff342fcd97e2db5a753c81c335ad8859c
+checksum=cc8bd36b9aa71243e2bace238aa5505244fef3fef5418b0c61f75d1988458272
conf_files="/etc/nvme/*.conf"
if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PR PATCH] [Updated] Update libnvme and nvme-cli to 1.1 and 2.1.1
2022-08-02 10:29 [PR PATCH] Update libnvme and nvme-cli to 1.1 and 2.1.1 subnut
2022-08-02 10:46 ` [PR PATCH] [Updated] " subnut
@ 2022-08-06 7:54 ` subnut
2022-08-07 14:46 ` [PR PATCH] [Merged]: " classabbyamp
2 siblings, 0 replies; 4+ messages in thread
From: subnut @ 2022-08-06 7:54 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1257 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/38425
Update libnvme and nvme-cli to 1.1 and 2.1.1
<!-- 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 [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-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/38425.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-nvme-38425.patch --]
[-- Type: text/x-diff, Size: 3884 bytes --]
From d3d2127cb9f12216e55daa219285dda998ae81c7 Mon Sep 17 00:00:00 2001
From: Subhaditya Nath <sn03.general@gmail.com>
Date: Tue, 2 Aug 2022 15:57:28 +0530
Subject: [PATCH 1/2] libnvme: update to 1.1
---
srcpkgs/libnvme/patches/SCOPE_DELIMITER.patch | 13 -------------
srcpkgs/libnvme/template | 5 +++--
2 files changed, 3 insertions(+), 15 deletions(-)
delete mode 100644 srcpkgs/libnvme/patches/SCOPE_DELIMITER.patch
diff --git a/srcpkgs/libnvme/patches/SCOPE_DELIMITER.patch b/srcpkgs/libnvme/patches/SCOPE_DELIMITER.patch
deleted file mode 100644
index c25df742e763..000000000000
--- a/srcpkgs/libnvme/patches/SCOPE_DELIMITER.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-SCOPE_DELIMITER not defined in musl
-
---- a/src/nvme/fabrics.c
-+++ b/src/nvme/fabrics.c
-@@ -325,7 +325,7 @@
- nvme_msg(r, LOG_ERR, "cannot copy: %s\n", src);
-
- const char *scope = NULL;
-- char *p = strchr(tmp, SCOPE_DELIMITER);
-+ char *p = strchr(tmp, '%');
- if (p) {
- *p = '\0';
- scope = src + (p - tmp) + 1;
diff --git a/srcpkgs/libnvme/template b/srcpkgs/libnvme/template
index aafe21aa9aa5..56fc82e44277 100644
--- a/srcpkgs/libnvme/template
+++ b/srcpkgs/libnvme/template
@@ -1,17 +1,18 @@
# Template file for 'libnvme'
pkgname=libnvme
-version=1.0
+version=1.1
revision=1
build_style=meson
configure_args="-Ddocs=man"
hostmakedepends="pkg-config swig"
makedepends="libuuid-devel 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=387524b1c24a4091a88bfb258c98c054f716da210e77702f0709164740370807
+checksum=d000181356513733671409c747c88826155b60f45f76e7289d6bbf27a8f851b0
libnvme-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
From ca079dadbef18e072ec0cc9bdff0527978dd90b1 Mon Sep 17 00:00:00 2001
From: Subhaditya Nath <sn03.general@gmail.com>
Date: Tue, 2 Aug 2022 15:57:44 +0530
Subject: [PATCH 2/2] nvme-cli: update to 2.1.1
---
srcpkgs/nvme-cli/patches/musl.patch | 18 ------------------
srcpkgs/nvme-cli/template | 4 ++--
2 files changed, 2 insertions(+), 20 deletions(-)
delete mode 100644 srcpkgs/nvme-cli/patches/musl.patch
diff --git a/srcpkgs/nvme-cli/patches/musl.patch b/srcpkgs/nvme-cli/patches/musl.patch
deleted file mode 100644
index 4ebfba11d38f..000000000000
--- a/srcpkgs/nvme-cli/patches/musl.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-commit ddf3610e8326d014360c9550d54a73f97b40e862
-Author: q66 <daniel@octaforge.org>
-Date: Wed Apr 27 04:20:41 2022 +0200
-
- fix build on musl
-
-diff --git a/util/base64.c b/util/base64.c
-index e386c11..dad4492 100644
---- a/util/base64.c
-+++ b/util/base64.c
-@@ -22,6 +22,7 @@
- #include <stdlib.h>
- #include <string.h>
- #include <errno.h>
-+#include <sys/types.h>
-
- static const char base64_table[65] =
- "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
diff --git a/srcpkgs/nvme-cli/template b/srcpkgs/nvme-cli/template
index d4e7bc892403..fb64fece0644 100644
--- a/srcpkgs/nvme-cli/template
+++ b/srcpkgs/nvme-cli/template
@@ -1,6 +1,6 @@
# Template file for 'nvme-cli'
pkgname=nvme-cli
-version=2.0
+version=2.1.1
revision=1
build_style=meson
configure_args="-Ddocs=man -Dudevrulesdir=lib/udev/rules.d"
@@ -11,7 +11,7 @@ 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=471869b3bf643bb357dc9613ad14d24ff342fcd97e2db5a753c81c335ad8859c
+checksum=cc8bd36b9aa71243e2bace238aa5505244fef3fef5418b0c61f75d1988458272
conf_files="/etc/nvme/*.conf"
if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PR PATCH] [Merged]: Update libnvme and nvme-cli to 1.1 and 2.1.1
2022-08-02 10:29 [PR PATCH] Update libnvme and nvme-cli to 1.1 and 2.1.1 subnut
2022-08-02 10:46 ` [PR PATCH] [Updated] " subnut
2022-08-06 7:54 ` subnut
@ 2022-08-07 14:46 ` classabbyamp
2 siblings, 0 replies; 4+ messages in thread
From: classabbyamp @ 2022-08-07 14:46 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1106 bytes --]
There's a merged pull request on the void-packages repository
Update libnvme and nvme-cli to 1.1 and 2.1.1
https://github.com/void-linux/void-packages/pull/38425
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 [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-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] 4+ messages in thread
end of thread, other threads:[~2022-08-07 14:46 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-02 10:29 [PR PATCH] Update libnvme and nvme-cli to 1.1 and 2.1.1 subnut
2022-08-02 10:46 ` [PR PATCH] [Updated] " subnut
2022-08-06 7:54 ` subnut
2022-08-07 14:46 ` [PR PATCH] [Merged]: " classabbyamp
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).