Skip to contentSkip to conversation

udpcast: update patch status

PATCH New Gyorgy Sarvari 1 participant 4 messages Mar 7

lore
Share & tools
lore
#0 lore raw

PATCH 1/4 udpcast: update patch status

---
 .../udpcast/udpcast/0001-include-stddef.h-for-ptrdiff_t.patch   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-networking/recipes-support/udpcast/udpcast/0001-include-stddef.h-for-ptrdiff_t.patch +1 -1
index 3255a3fad0..244c6f5922 100644
@@ -5,7 +5,7 @@ Subject: [PATCH 1/1] include stddef.h for ptrdiff_t
 
 This fixes compilation with musl.
 
-Upstream-Status: Pending
+Upstream-Status: Submitted [https://udpcast.linux.lu/mailman3/hyperkitty/list/[email protected]/thread/2WTDPJNR6WGDO3PGCEC2J7RSJWETDCXW/]
 
 Signed-off-by: Enguerrand de Ribaucourt <[email protected]>
 ---
#1 lore raw

PATCH 2/4 tunctl: update patch status

---
 .../recipes-support/tunctl/tunctl/makefile-add-ldflags.patch    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-networking/recipes-support/tunctl/tunctl/makefile-add-ldflags.patch +1 -1
index c96f538d2d..a556f6eebb 100644
@@ -1,6 +1,6 @@
 Add LDFLAGS variable to Makefile, make sure the extra linker flags can be passed.
 
-Upstream-Status: Pending
+Upstream-Status: Inactive-Upstream [last change: 2013-03-22]
 
 Signed-off-by: Yi Zhao <[email protected]>
 
#2 lore raw

PATCH 3/4 tinyproxy: drop obsolete patch

In reply to Gyorgy Sarvari

The patch removed manual generation completely from the build scripts, however upstream has added a configure option in version 1.11.0[1] to do it in a more gentle way.

Drop the patch, and use the configure option instead.

[1]: https://github.com/tinyproxy/tinyproxy/commit/5ba958829f73ecc02658a46f5b1bba5ffed2281d

---
 .../tinyproxy/disable-documentation.patch     | 61 -------------------
 .../tinyproxy/tinyproxy_1.11.2.bb             |  2 +-
 2 files changed, 1 insertion(+), 62 deletions(-)
 delete mode 100644 meta-networking/recipes-support/tinyproxy/tinyproxy/disable-documentation.patch
meta-networking/recipes-support/tinyproxy/tinyproxy/disable-documentation.patch deleted +0 -61
deleted file mode 100644
index faefd1d4ea..0000000000
@@ -1,61 +0,0 @@
-From b71eb384522b5ce4629dee6e8be257fb4880fef3 Mon Sep 17 00:00:00 2001 
-From: Benjamin Gaignard <[email protected]> 
-Date: Thu, 20 Apr 2017 14:25:18 +0200
-
----
-Upstream-Status: Pending
-
- Makefile.am  |  1 -
- configure.ac | 17 -----------------
- 2 files changed, 18 deletions(-)
-
-diff --git a/Makefile.am b/Makefile.am
-index 4a3ead6..a12cb98 100644
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -2,7 +2,6 @@ SUBDIRS = \
- 	src \
- 	data \
- 	etc \
--	docs \
- 	m4macros \
- 	tests \
- 	scripts
-diff --git a/configure.ac b/configure.ac
-index 3849383..9f3a633 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -179,18 +179,6 @@ AC_SUBST(CPPFLAGS)
- AC_SUBST(LIBS)
- AC_SUBST(ADDITIONAL_OBJECTS)
- 
--if test x"$manpage_support_enabled" = x"yes"; then
--AC_PATH_PROG(POD2MAN, pod2man, no)
--
--if test "x$POD2MAN" = "xno" && \
-- ! test -e docs/man5/tinyproxy.conf.5 -a -e docs/man8/tinyproxy.8 ; then
--AC_MSG_ERROR([
--  manpage generation requested, but neither pod2man
--  nor pre-generated manpages found.
--  Use --disable-manpage-support if you want to compile anyway.])
--fi
--fi #manpage_support_enabled
--
- AM_CONDITIONAL(HAVE_POD2MAN, test "x$POD2MAN" != "x" -a "x$POD2MAN" != "xno")
- 
- AC_PATH_PROG(GPERF, gperf, no)
-@@ -216,11 +204,6 @@ src/Makefile
- data/Makefile
- data/templates/Makefile
- etc/Makefile
--docs/Makefile
--docs/man5/Makefile
--docs/man5/tinyproxy.conf.txt
--docs/man8/Makefile
--docs/man8/tinyproxy.txt
- m4macros/Makefile
- tests/Makefile
- tests/scripts/Makefile
--- 
-2.25.1
-
meta-networking/recipes-support/tinyproxy/tinyproxy_1.11.2.bb +1 -1
index 222cc8d7c6..8558291c18 100644
@@ -4,7 +4,6 @@ LICENSE = "GPL-2.0-only"
 LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
 
 SRC_URI = "https://github.com/${BPN}/${BPN}/releases/download/${PV}/${BP}.tar.gz \
-           file://disable-documentation.patch \
            file://tinyproxy.service \
            file://tinyproxy.conf \
            file://run-ptest \
@@ -21,6 +20,7 @@ EXTRA_OECONF += " \
 	--enable-reverse \
 	--enable-upstream \
 	--enable-xtinyproxy \
+        --enable-manpage_support=no \
 	"
 
 inherit autotools systemd useradd ptest
#3 lore raw

PATCH 4/4 rdma-core: upgrade 51.0 -> 62.0

In reply to Gyorgy Sarvari

v51 series will get support only for about 2 more years, but v62 just started its ~4 years long support cycle.

Drop patches that are included in this release, or were solved on another way by upstream.

Changelog:
62.0: https://github.com/linux-rdma/rdma-core/releases/tag/v62.0
61.0: https://github.com/linux-rdma/rdma-core/releases/tag/v61.0
60.0: https://github.com/linux-rdma/rdma-core/releases/tag/v60.0
59.0: https://github.com/linux-rdma/rdma-core/releases/tag/v59.0
58.0: https://github.com/linux-rdma/rdma-core/releases/tag/v58.0
57.0: https://github.com/linux-rdma/rdma-core/releases/tag/v57.0
56.0: https://github.com/linux-rdma/rdma-core/releases/tag/v56.0
55.0: https://github.com/linux-rdma/rdma-core/releases/tag/v55.0
54.0: https://github.com/linux-rdma/rdma-core/releases/tag/v54.0
53.0: https://github.com/linux-rdma/rdma-core/releases/tag/v53.0
52.0: https://github.com/linux-rdma/rdma-core/releases/tag/v52.0

---
 ...EMCTL_BIN-to-be-overridden-from-envi.patch |  4 +-
 .../0001-include-libgen.h-for-basename.patch  | 58 -------------------
 ...erloadable-function-attribute-with-c.patch | 38 ------------
 .../{rdma-core_51.0.bb => rdma-core_62.0.bb}  |  6 +-
 4 files changed, 4 insertions(+), 102 deletions(-)
 delete mode 100644 meta-networking/recipes-support/rdma-core/rdma-core/0001-include-libgen.h-for-basename.patch
 delete mode 100644 meta-networking/recipes-support/rdma-core/rdma-core/0001-librdmacm-Use-overloadable-function-attribute-with-c.patch
 rename meta-networking/recipes-support/rdma-core/{rdma-core_51.0.bb => rdma-core_62.0.bb} (85%)
meta-networking/recipes-support/rdma-core/rdma-core/0001-cmake-Allow-SYSTEMCTL_BIN-to-be-overridden-from-envi.patch +2 -2
index e181ee2872..d6c641d90b 100644
@@ -17,8 +17,8 @@ diff --git a/CMakeLists.txt b/CMakeLists.txt
 index 98985e7ee..001efb800 100644
 --- a/CMakeLists.txt
 +++ b/CMakeLists.txt
-@@ -237,7 +237,10 @@ else()
-   endif()
+@@ -256,7 +256,10 @@ else()
+     message(WARNING "pyverbs build requested but python development files not found")
  endif()
  
 -find_program(SYSTEMCTL_BIN systemctl HINTS "/usr/bin" "/bin")
meta-networking/recipes-support/rdma-core/rdma-core/0001-include-libgen.h-for-basename.patch deleted +0 -58

58 lines not on this page · raw message

meta-networking/recipes-support/rdma-core/rdma-core/0001-librdmacm-Use-overloadable-function-attribute-with-c.patch deleted +0 -38
deleted file mode 100644
index 092f4431bf..0000000000
@@ -1,38 +0,0 @@
-From c7de6834f0cd92b7341ab17a5c6996f3fbd40140 Mon Sep 17 00:00:00 2001
-From: Khem Raj <[email protected]>
-Date: Fri, 21 Jun 2024 22:16:47 -0700
-Subject: [PATCH]  librdmacm: Use overloadable function attribute with clang
-
- This is to fix build warnings seen with upcoming clang19 and
- glibc 2.40, since glibc 2.40 has improved fortyfying this
- function with clang, it ends up with build errors like below
-
-librdmacm/preload.c:796:9: error: at most one overload for a given name may lack the 'overloadable' attribute
-|   796 | ssize_t recvfrom(int socket, void *buf, size_t len, int flags,
-|       |         ^
-| /mnt/b/yoe/master/build/tmp/work/core2-64-yoe-linux/rdma-core/51.0/recipe-sysroot/usr/include/sys/socket.h:163:16: note: previous unmarked overload of function is here
-|   163 | extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
-|       |                ^
-
-Upstream-Status: Submitted [https://github.com/linux-rdma/rdma-core/pull/1475]
-Signed-off-by: Khem Raj <[email protected]>
----
- librdmacm/preload.c | 7 +++++--
- 1 file changed, 5 insertions(+), 2 deletions(-)
-
---- a/librdmacm/preload.c
-+++ b/librdmacm/preload.c
-@@ -792,8 +792,11 @@ ssize_t recv(int socket, void *buf, size
- 	return (fd_fork_get(socket, &fd) == fd_rsocket) ?
- 		rrecv(fd, buf, len, flags) : real.recv(fd, buf, len, flags);
- }
--
--ssize_t recvfrom(int socket, void *buf, size_t len, int flags,
-+ssize_t
-+#if defined(__clang__) && defined(__GLIBC__)
-+__attribute__((overloadable))
-+#endif
-+recvfrom(int socket, void *buf, size_t len, int flags,
- 		 struct sockaddr *src_addr, socklen_t *addrlen)
- {
- 	int fd;
meta-networking/recipes-support/rdma-core/rdma-core_62.0.bb renamed from meta-networking/recipes-support/rdma-core/rdma-core_51.0.bb +2 -4
similarity index 85%
rename from meta-networking/recipes-support/rdma-core/rdma-core_51.0.bb
rename to meta-networking/recipes-support/rdma-core/rdma-core_62.0.bb
index 2555c43a85..5a8640ad02 100644
@@ -5,12 +5,10 @@ SECTION = "libs"
 DEPENDS = "libnl"
 RDEPENDS:${PN} = "bash perl"
 
-SRC_URI = "git://github.com/linux-rdma/rdma-core.git;branch=master;protocol=https \
+SRC_URI = "git://github.com/linux-rdma/rdma-core.git;branch=master;protocol=https;tag=v${PV} \
            file://0001-cmake-Allow-SYSTEMCTL_BIN-to-be-overridden-from-envi.patch \
-           file://0001-include-libgen.h-for-basename.patch \
-           file://0001-librdmacm-Use-overloadable-function-attribute-with-c.patch \
 "
-SRCREV = "6cd09097ad2eebde9a7fa3d3bb09a2cea6e3c2d6"
+SRCREV = "31af04ec84378724cb6256814d4ffde359a7123b"
 
 #Default Dual License https://github.com/linux-rdma/rdma-core/blob/master/COPYING.md
 LICENSE = "BSD-2-Clause | GPL-2.0-only"