summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-extended/libtirpc/libtirpc/ipv6.patch52
-rw-r--r--meta/recipes-extended/libtirpc/libtirpc_1.3.5.bb (renamed from meta/recipes-extended/libtirpc/libtirpc_1.3.4.bb)6
2 files changed, 2 insertions, 56 deletions
diff --git a/meta/recipes-extended/libtirpc/libtirpc/ipv6.patch b/meta/recipes-extended/libtirpc/libtirpc/ipv6.patch
deleted file mode 100644
index f746f986f4..0000000000
--- a/meta/recipes-extended/libtirpc/libtirpc/ipv6.patch
+++ /dev/null
@@ -1,52 +0,0 @@
1From 077bbd32e8b7474dc5f153997732e1e6aec7fad6 Mon Sep 17 00:00:00 2001
2Message-Id: <077bbd32e8b7474dc5f153997732e1e6aec7fad6.1697120796.git.joerg.sommer@navimatix.de>
3From: =?UTF-8?q?J=C3=B6rg=20Sommer?= <joerg.sommer@navimatix.de>
4Date: Thu, 12 Oct 2023 16:22:59 +0200
5Subject: [PATCH] netconfig: remove tcp6, udp6 on --disable-ipv6
6MIME-Version: 1.0
7Content-Type: text/plain; charset=UTF-8
8Content-Transfer-Encoding: 8bit
9
10If the configuration for IPv6 is disabled, the netconfig should not contain
11settings for tcp6 and udp6.
12
13The test for the configure option didn't work, because it check the wrong
14variable.
15
16Signed-off-by: Jörg Sommer <joerg.sommer@navimatix.de>
17Upstream-Status: Submitted [libtirpc-devel@lists.sourceforge.net]
18Upstream-Status: Submitted [linux-nfs@vger.kernel.org]
19---
20 configure.ac | 2 +-
21 doc/Makefile.am | 5 +++++
22 2 files changed, 6 insertions(+), 1 deletion(-)
23
24diff --git a/configure.ac b/configure.ac
25index fe6c517..b687f8d 100644
26--- a/configure.ac
27+++ b/configure.ac
28@@ -64,7 +64,7 @@ fi
29 AC_ARG_ENABLE(ipv6,
30 [AC_HELP_STRING([--disable-ipv6], [Disable IPv6 support @<:@default=no@:>@])],
31 [],[enable_ipv6=yes])
32-AM_CONDITIONAL(INET6, test "x$disable_ipv6" != xno)
33+AM_CONDITIONAL(INET6, test "x$enable_ipv6" != xno)
34 if test "x$enable_ipv6" != xno; then
35 AC_DEFINE(INET6, 1, [Define to 1 if IPv6 is available])
36 fi
37diff --git a/doc/Makefile.am b/doc/Makefile.am
38index d42ab90..b9678f6 100644
39--- a/doc/Makefile.am
40+++ b/doc/Makefile.am
41@@ -2,3 +2,8 @@ dist_sysconf_DATA = netconfig bindresvport.blacklist
42
43 CLEANFILES = cscope.* *~
44 DISTCLEANFILES = Makefile.in
45+
46+if ! INET6
47+install-exec-hook:
48+ $(SED) -i '/^tcp6\|^udp6/d' "$(DESTDIR)$(sysconfdir)"/netconfig
49+endif
50--
512.34.1
52
diff --git a/meta/recipes-extended/libtirpc/libtirpc_1.3.4.bb b/meta/recipes-extended/libtirpc/libtirpc_1.3.5.bb
index aa526e9e1c..d4cd24ec0c 100644
--- a/meta/recipes-extended/libtirpc/libtirpc_1.3.4.bb
+++ b/meta/recipes-extended/libtirpc/libtirpc_1.3.5.bb
@@ -9,12 +9,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=f835cce8852481e4b2bbbdd23b5e47f3 \
9 9
10PROVIDES = "virtual/librpc" 10PROVIDES = "virtual/librpc"
11 11
12SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BP}.tar.bz2 \ 12SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BP}.tar.bz2"
13 file://ipv6.patch \
14"
15UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/libtirpc/files/libtirpc/" 13UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/libtirpc/files/libtirpc/"
16UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)/" 14UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)/"
17SRC_URI[sha256sum] = "1e0b0c7231c5fa122e06c0609a76723664d068b0dba3b8219b63e6340b347860" 15SRC_URI[sha256sum] = "9b31370e5a38d3391bf37edfa22498e28fe2142467ae6be7a17c9068ec0bf12f"
18 16
19CVE_STATUS[CVE-2021-46828] = "fixed-version: fixed in 1.3.3rc1 so not present in 1.3.3" 17CVE_STATUS[CVE-2021-46828] = "fixed-version: fixed in 1.3.3rc1 so not present in 1.3.3"
20 18