From: "Sven Püschel" <s.pueschel@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: "Sven Püschel" <s.pueschel@pengutronix.de>
Subject: [ptxdist] [PATCH] nbd: version bump 2.26.1 -> 2.27.1
Date: Wed, 23 Sep 2026 10:39:20 +0200 [thread overview]
Message-ID: <20260923083940.2814443-1-s.pueschel@pengutronix.de> (raw)
The patches are now upstreamed and therefore deleted. The autogen.sh
file was also only necessary, as the patches touched the configure.ac file.
gznbd support has beed dropped from nbd, due to being untested.
Therefore drop the related configure flags.
Signed-off-by: Sven Püschel <s.pueschel@pengutronix.de>
---
...he-check-no-cases-of-enable_manpages.patch | 54 -------------------
...02-fix-generation-of-systemd-service.patch | 52 ------------------
patches/nbd-3.26.1/autogen.sh | 4 --
patches/nbd-3.26.1/series | 5 --
rules/nbd.make | 5 +-
5 files changed, 2 insertions(+), 118 deletions(-)
delete mode 100644 patches/nbd-3.26.1/0001-Fix-the-check-no-cases-of-enable_manpages.patch
delete mode 100644 patches/nbd-3.26.1/0002-fix-generation-of-systemd-service.patch
delete mode 100755 patches/nbd-3.26.1/autogen.sh
delete mode 100644 patches/nbd-3.26.1/series
diff --git a/patches/nbd-3.26.1/0001-Fix-the-check-no-cases-of-enable_manpages.patch b/patches/nbd-3.26.1/0001-Fix-the-check-no-cases-of-enable_manpages.patch
deleted file mode 100644
index 18d6ce1a6..000000000
--- a/patches/nbd-3.26.1/0001-Fix-the-check-no-cases-of-enable_manpages.patch
+++ /dev/null
@@ -1,54 +0,0 @@
-From: Dave Jones <dave.jones@canonical.com>
-Date: Thu, 14 Mar 2024 11:13:05 +0000
-Subject: [PATCH] Fix the check & no cases of enable_manpages
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Currently, running "configure --disable-manpages" while docbook2man *is*
-installed results in the error "don't know what to do here" when it
-should disable manpages.
-
-There also appears to be a missing conditional at the start of the line;
-there's closing un-matched ]) at the end of the line. Still, at this
-point the check can be done in pure shell; no need for AC macros. I've
-also removed the confusing m4_divert_text call on the check case. Not
-sure why that was there, but it appears unnecessary.
-
-(cherry picked from commit f0418b0d8b54c21a1e5b0c6dce3277e938d07e7c)
-Signed-off-by: Sven Püschel <s.pueschel@pengutronix.de>
----
- configure.ac | 13 +++++++++----
- 1 file changed, 9 insertions(+), 4 deletions(-)
-
-diff --git a/configure.ac b/configure.ac
-index 5e1b53c3f84c..0dccafd67f88 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -328,7 +328,7 @@ AC_MSG_CHECKING([whether man pages are requested])
- AC_ARG_ENABLE([manpages],
- AS_HELP_STRING([--disable-manpages], [Do not install man pages]),
- [],
-- [: m4_divert_text([DEFAULTS], [enable_manpages=check])]
-+ [enable_manpages=check]
- )
- AC_MSG_RESULT([$enable_manpages])
-
-@@ -337,9 +337,14 @@ AS_IF([test "x$enable_manpages" != "xno"], [
- ])
- AS_IF([test "x$enable_manpages" = "xyes" -a "x$DB2M" = "x"], [
- AC_MSG_ERROR([docbook2man not found, but is required to build manpages])
-- ],
-- [test "x$DB2M" != "x"], [enable_manpages=yes],
-- [AC_MSG_ERROR([don't know what to do here])])
-+ ])
-+if test "x$enable_manpages" = "xcheck"; then
-+ if test "x$DB2M" = "x"; then
-+ enable_manpages=no
-+ else
-+ enable_manpages=yes
-+ fi
-+fi
- AC_MSG_CHECKING([whether to build manpages])
- AC_MSG_RESULT([$enable_manpages])
-
diff --git a/patches/nbd-3.26.1/0002-fix-generation-of-systemd-service.patch b/patches/nbd-3.26.1/0002-fix-generation-of-systemd-service.patch
deleted file mode 100644
index f40672613..000000000
--- a/patches/nbd-3.26.1/0002-fix-generation-of-systemd-service.patch
+++ /dev/null
@@ -1,52 +0,0 @@
-From: Christian Hesse <mail@eworm.de>
-Date: Mon, 4 Mar 2024 11:24:57 +0100
-Subject: [PATCH] fix generation of systemd service
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-The shell template is no longer required to generate man pages, so more
-it to systemd/ and ship it in tarball.
-
-Signed-off-by: Wouter Verhelst <w@uter.be>
-
-(cherry picked from commit f8d7d3dbf1ef2ef84c92fe375ebc8674a79e25c2)
-Signed-off-by: Sven Püschel <s.pueschel@pengutronix.de>
----
- systemd/Makefile.am | 6 +++---
- systemd/sh.tmpl | 7 +++++++
- 2 files changed, 10 insertions(+), 3 deletions(-)
- create mode 100644 systemd/sh.tmpl
-
-diff --git a/systemd/Makefile.am b/systemd/Makefile.am
-index f771dce60dc9..204f06ff4417 100644
---- a/systemd/Makefile.am
-+++ b/systemd/Makefile.am
-@@ -5,11 +5,11 @@
-
- noinst_DATA = nbd@.service
- DISTCLEANFILES = nbd@.service
--EXTRA_DIST=nbd@.service.tmpl
-+EXTRA_DIST=nbd@.service.tmpl sh.tmpl
-
- nbd@.service: nbd@.service.sh
- sh nbd@.service.sh > nbd@.service
-
--nbd@.service.sh.in: nbd@.service.tmpl ../man/sh.tmpl
-- cat ../man/sh.tmpl nbd@.service.tmpl > nbd@.service.sh.in
-+nbd@.service.sh.in: nbd@.service.tmpl sh.tmpl
-+ cat sh.tmpl nbd@.service.tmpl > nbd@.service.sh.in
- echo EOF >> nbd@.service.sh.in
-diff --git a/systemd/sh.tmpl b/systemd/sh.tmpl
-new file mode 100644
-index 000000000000..d97aa3f9559a
---- /dev/null
-+++ b/systemd/sh.tmpl
-@@ -0,0 +1,7 @@
-+#!/bin/sh
-+
-+prefix=@prefix@
-+exec_prefix=@exec_prefix@
-+sysconfdir=@sysconfdir@
-+
-+cat <<EOF
diff --git a/patches/nbd-3.26.1/autogen.sh b/patches/nbd-3.26.1/autogen.sh
deleted file mode 100755
index 807283a49..000000000
--- a/patches/nbd-3.26.1/autogen.sh
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/sh
-set -ex
-make -C systemd -f Makefile.am nbd@.service.sh.in
-exec autoreconf -f -i
diff --git a/patches/nbd-3.26.1/series b/patches/nbd-3.26.1/series
deleted file mode 100644
index bf91db7ba..000000000
--- a/patches/nbd-3.26.1/series
+++ /dev/null
@@ -1,5 +0,0 @@
-# generated by git-ptx-patches
-#tag:base --start-number 1
-0001-Fix-the-check-no-cases-of-enable_manpages.patch
-0002-fix-generation-of-systemd-service.patch
-# 6ae36746ae3789e1c0a4244272de6622 - git-ptx-patches magic
diff --git a/rules/nbd.make b/rules/nbd.make
index b87d45c7f..76a88e6ca 100644
--- a/rules/nbd.make
+++ b/rules/nbd.make
@@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_NBD) += nbd
#
# Paths and names
#
-NBD_VERSION := 3.26.1
-NBD_SHA256 := f0cf509fa5b20b1a07f7904eb637e9b47d3e30b6ed6f00075af5d8b701c78fef
+NBD_VERSION := 3.27.1
+NBD_SHA256 := ef1fe160ac3ff602ae4029d413b0d530036e352a1e6a427402776c1a7aaf3716
NBD := nbd-$(NBD_VERSION)
NBD_SUFFIX := tar.xz
NBD_URL := https://github.com/NetworkBlockDevice/nbd/releases/download/$(NBD)/$(NBD).$(NBD_SUFFIX)
@@ -34,7 +34,6 @@ NBD_CONF_OPT := \
--$(call ptx/endis, PTXCONF_GLOBAL_LARGE_FILE)-lfs \
--disable-syslog \
--disable-debug \
- --disable-gznbd \
--disable-manpages \
--without-gnutls \
--with-libnl
--
2.47.3
reply other threads:[~2026-09-23 8:39 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260923083940.2814443-1-s.pueschel@pengutronix.de \
--to=s.pueschel@pengutronix.de \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox