Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Alexander Kanavin <alex.kanavin@gmail.com>
To: openembedded-core@lists.openembedded.org
Cc: Alexander Kanavin <alex@linutronix.de>
Subject: [PATCH 26/30] ppp: upgrade 2.5.2 -> 2.5.3
Date: Tue, 16 Jun 2026 21:16:22 +0200	[thread overview]
Message-ID: <20260616191628.2014553-26-alex.kanavin@gmail.com> (raw)
In-Reply-To: <20260616191628.2014553-1-alex.kanavin@gmail.com>

From: Alexander Kanavin <alex@linutronix.de>

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
---
 ....h-remove-erroneous-generated-header.patch | 98 -------------------
 ...d-session-Fixed-building-with-GCC-15.patch | 33 -------
 ...pdump-Fixed-building-with-GCC-15-548.patch | 75 --------------
 .../ppp/{ppp_2.5.2.bb => ppp_2.5.3.bb}        | 11 +--
 4 files changed, 5 insertions(+), 212 deletions(-)
 delete mode 100644 meta/recipes-connectivity/ppp/ppp/0001-pppd-pppdconf.h-remove-erroneous-generated-header.patch
 delete mode 100644 meta/recipes-connectivity/ppp/ppp/0001-pppd-session-Fixed-building-with-GCC-15.patch
 delete mode 100644 meta/recipes-connectivity/ppp/ppp/0001-pppdump-Fixed-building-with-GCC-15-548.patch
 rename meta/recipes-connectivity/ppp/{ppp_2.5.2.bb => ppp_2.5.3.bb} (89%)

diff --git a/meta/recipes-connectivity/ppp/ppp/0001-pppd-pppdconf.h-remove-erroneous-generated-header.patch b/meta/recipes-connectivity/ppp/ppp/0001-pppd-pppdconf.h-remove-erroneous-generated-header.patch
deleted file mode 100644
index a00706c184..0000000000
--- a/meta/recipes-connectivity/ppp/ppp/0001-pppd-pppdconf.h-remove-erroneous-generated-header.patch
+++ /dev/null
@@ -1,98 +0,0 @@
-From a6eb65162db5bcc5ec26cff7361885c0a44cbbfa Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin <alex@linutronix.de>
-Date: Mon, 17 Mar 2025 11:12:07 +0100
-Subject: [PATCH] pppd/pppdconf.h: remove erroneous generated header
-
-Upstream-Status: Inappropriate [tarball generation issue tracked at https://github.com/ppp-project/ppp/issues/541]
-Signed-off-by: Alexander Kanavin <alex@linutronix.de>
----
- pppd/pppdconf.h | 80 -------------------------------------------------
- 1 file changed, 80 deletions(-)
- delete mode 100644 pppd/pppdconf.h
-
-diff --git a/pppd/pppdconf.h b/pppd/pppdconf.h
-deleted file mode 100644
-index 51a8f02..0000000
---- a/pppd/pppdconf.h
-+++ /dev/null
-@@ -1,80 +0,0 @@
--/* pppd/pppdconf.h.  Generated from pppdconf.h.in by configure.  */
--/* 
-- * Copyright (c) 2022 Eivind Næss. All rights reserved.
-- *
-- * Redistribution and use in source and binary forms, with or without
-- * modification, are permitted provided that the following conditions
-- * are met:
-- *
-- * 1. Redistributions of source code must retain the above copyright
-- *    notice, this list of conditions and the following disclaimer.
-- *
-- * 2. Redistributions in binary form must reproduce the above copyright
-- *    notice, this list of conditions and the following disclaimer in
-- *    the documentation and/or other materials provided with the
-- *    distribution.
-- *
-- * 3. The name(s) of the authors of this software must not be used to
-- *    endorse or promote products derived from this software without
-- *    prior written permission.
-- *
-- * THE AUTHORS OF THIS SOFTWARE DISCLAIM ALL WARRANTIES WITH REGARD TO
-- * THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
-- * AND FITNESS, IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY
-- * SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-- * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN
-- * AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
-- * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-- */
--
--/*
-- * This file is generated by configure and sets the features enabled
-- *   in pppd when configured.
-- */
--
--#ifndef PPP_PPPDCONF_H
--#define PPP_PPPDCONF_H
--
--/* Have Microsoft CHAP support */
--#define PPP_WITH_CHAPMS 1
--
--/* Have Microsoft LAN Manager support */
--/* #undef PPP_WITH_MSLANMAN */
--
--/* Have Microsoft MPPE support */
--#define PPP_WITH_MPPE 1
--
--/* Have multilink support */
--#define PPP_WITH_MULTILINK 1
--
--/* Have packet activity filter support */
--#define PPP_WITH_FILTER 1
--
--/* Have support for loadable plugins */
--#define PPP_WITH_PLUGINS 1
--
--/* Have Callback Protocol support */
--/* #undef PPP_WITH_CBCP */
--
--/* Include TDB support */
--#define PPP_WITH_TDB 1
--
--/* Have IPv6 Control Protocol */
--#define PPP_WITH_IPV6CP 1
--
--/* Support for Pluggable Authentication Modules */
--/* #undef PPP_WITH_PAM */
--
--/* Have EAP-SRP authentication support */
--/* #undef PPP_WITH_SRP */
--
--/* Have EAP-TLS authentication support */
--#define PPP_WITH_EAPTLS 1
--
--/* Have PEAP authentication support */
--#define PPP_WITH_PEAP 1
--
--/* The pppd version */
--#define PPPD_VERSION "2.5.2"
--
--#endif
diff --git a/meta/recipes-connectivity/ppp/ppp/0001-pppd-session-Fixed-building-with-GCC-15.patch b/meta/recipes-connectivity/ppp/ppp/0001-pppd-session-Fixed-building-with-GCC-15.patch
deleted file mode 100644
index d95c72e96b..0000000000
--- a/meta/recipes-connectivity/ppp/ppp/0001-pppd-session-Fixed-building-with-GCC-15.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From 5edcb01f1d8d521c819d45df1f1bb87697252130 Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Mon, 17 Mar 2025 14:38:26 -0700
-Subject: [PATCH] pppd/session: Fixed building with GCC 15
-
-Fixed building with GCC 15 which defaults to C23
-and find conflicting declration of getspnam() here
-with the one provided by shadow.h (extern struct spwd *getspnam (const char *__name);)
-
-Fixes
-../../ppp-2.5.2/pppd/session.c: In function 'session_start':
-../../ppp-2.5.2/pppd/session.c:185:18: error: conflicting types for 'getspnam'; have 'struct spwd *(void)'
-  185 |     struct spwd *getspnam();
-      |                  ^~~~~~~~
-
-Upstream-Status: Submitted [https://github.com/ppp-project/ppp/pull/553]
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
----
- pppd/session.c | 1 -
- 1 file changed, 1 deletion(-)
-
-diff --git a/pppd/session.c b/pppd/session.c
-index f08d8e1..9cc7538 100644
---- a/pppd/session.c
-+++ b/pppd/session.c
-@@ -182,7 +182,6 @@ session_start(const int flags, const char *user, const char *passwd, const char
-     char *cbuf;
- #ifdef HAVE_SHADOW_H
-     struct spwd *spwd;
--    struct spwd *getspnam();
-     long now = 0;
- #endif /* #ifdef HAVE_SHADOW_H */
- #endif /* #ifdef PPP_WITH_PAM */
diff --git a/meta/recipes-connectivity/ppp/ppp/0001-pppdump-Fixed-building-with-GCC-15-548.patch b/meta/recipes-connectivity/ppp/ppp/0001-pppdump-Fixed-building-with-GCC-15-548.patch
deleted file mode 100644
index 2a3b3cc84a..0000000000
--- a/meta/recipes-connectivity/ppp/ppp/0001-pppdump-Fixed-building-with-GCC-15-548.patch
+++ /dev/null
@@ -1,75 +0,0 @@
-From 44a766a3d086f10cb584a0c423e5bed6af2e3615 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Jaroslav=20=C5=A0karvada?= <jskarvad@redhat.com>
-Date: Thu, 27 Feb 2025 23:00:16 +0100
-Subject: [PATCH] pppdump: Fixed building with GCC 15 (#548)
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-GCC 15 defaults to C23 which does not allow K&R declarations.
-
-Credit Yaakov Selkowitz in:
-https://src.fedoraproject.org/rpms/ppp/pull-request/12
-
-Upstream-Status: Backport [https://github.com/ppp-project/ppp/pull/548]
-
-Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
----
- pppdump/pppdump.c | 20 +++++++-------------
- 1 file changed, 7 insertions(+), 13 deletions(-)
-
-diff --git a/pppdump/pppdump.c b/pppdump/pppdump.c
-index c24208a..1534036 100644
---- a/pppdump/pppdump.c
-+++ b/pppdump/pppdump.c
-@@ -42,14 +42,12 @@ int tot_sent, tot_rcvd;
- extern int optind;
- extern char *optarg;
- 
--void dumplog();
--void dumpppp();
--void show_time();
-+void dumplog(FILE *);
-+void dumpppp(FILE *);
-+void show_time(FILE *, int);
- 
- int
--main(ac, av)
--    int ac;
--    char **av;
-+main(int ac, char **av)
- {
-     int i;
-     char *p;
-@@ -97,8 +95,7 @@ main(ac, av)
- }
- 
- void
--dumplog(f)
--    FILE *f;
-+dumplog(FILE *f)
- {
-     int c, n, k, col;
-     int nb, c2;
-@@ -241,8 +238,7 @@ struct pkt {
- unsigned char dbuf[8192];
- 
- void
--dumpppp(f)
--    FILE *f;
-+dumpppp(FILE *f)
- {
-     int c, n, k;
-     int nb, nl, dn, proto, rv;
-@@ -375,9 +371,7 @@ dumpppp(f)
- }
- 
- void
--show_time(f, c)
--    FILE *f;
--    int c;
-+show_time(FILE *f, int c)
- {
-     time_t t;
-     int n;
diff --git a/meta/recipes-connectivity/ppp/ppp_2.5.2.bb b/meta/recipes-connectivity/ppp/ppp_2.5.3.bb
similarity index 89%
rename from meta/recipes-connectivity/ppp/ppp_2.5.2.bb
rename to meta/recipes-connectivity/ppp/ppp_2.5.3.bb
index 37e223b4ab..07cf4cc037 100644
--- a/meta/recipes-connectivity/ppp/ppp_2.5.2.bb
+++ b/meta/recipes-connectivity/ppp/ppp_2.5.3.bb
@@ -23,12 +23,9 @@ SRC_URI = "https://download.samba.org/pub/${BPN}/${BP}.tar.gz \
            file://ppp_on_boot \
            file://provider \
            file://ppp@.service \
-           file://0001-pppdump-Fixed-building-with-GCC-15-548.patch \
-           file://0001-pppd-pppdconf.h-remove-erroneous-generated-header.patch \
-           file://0001-pppd-session-Fixed-building-with-GCC-15.patch \
            "
 
-SRC_URI[sha256sum] = "47da358de54a10cb10bf6ff2cf9b1c03c0d3555518f6182e8f701b8e55733cb2"
+SRC_URI[sha256sum] = "ddda28dec8aca99a403ab6070d94ffd2b17d63e9a4c5509158e99e148f572d4f"
 
 inherit autotools pkgconfig systemd
 
@@ -60,7 +57,7 @@ do_install:append () {
 }
 
 CONFFILES:${PN} = "${sysconfdir}/ppp/pap-secrets ${sysconfdir}/ppp/chap-secrets ${sysconfdir}/ppp/options"
-PACKAGES =+ "${PN}-oa ${PN}-oe ${PN}-radius ${PN}-winbind ${PN}-minconn ${PN}-password ${PN}-l2tp ${PN}-tools"
+PACKAGES =+ "${PN}-oa ${PN}-oe ${PN}-radius ${PN}-winbind ${PN}-minconn ${PN}-password ${PN}-l2tp ${PN}-tools ${PN}-dhcpv6relay"
 FILES:${PN}        = "${sysconfdir} ${bindir} ${sbindir}/chat ${sbindir}/pppd ${systemd_system_unitdir}/ppp@.service"
 FILES:${PN}-oa       = "${libdir}/pppd/${PV}/pppoatm.so"
 FILES:${PN}-oe       = "${sbindir}/pppoe-discovery ${libdir}/pppd/${PV}/*pppoe.so"
@@ -69,6 +66,7 @@ FILES:${PN}-winbind  = "${libdir}/pppd/${PV}/winbind.so"
 FILES:${PN}-minconn  = "${libdir}/pppd/${PV}/minconn.so"
 FILES:${PN}-password = "${libdir}/pppd/${PV}/pass*.so"
 FILES:${PN}-l2tp     = "${libdir}/pppd/${PV}/*l2tp.so"
+FILES:${PN}-dhcpv6relay = "${libdir}/pppd/${PV}/dhcpv6relay.so"
 FILES:${PN}-tools    = "${sbindir}/pppstats ${sbindir}/pppdump"
 SUMMARY:${PN}-oa       = "Plugin for PPP for PPP-over-ATM support"
 SUMMARY:${PN}-oe       = "Plugin for PPP for PPP-over-Ethernet support"
@@ -76,6 +74,7 @@ SUMMARY:${PN}-radius   = "Plugin for PPP for RADIUS support"
 SUMMARY:${PN}-winbind  = "Plugin for PPP to authenticate against Samba or Windows"
 SUMMARY:${PN}-minconn  = "Plugin for PPP to set a delay before the idle timeout applies"
 SUMMARY:${PN}-password = "Plugin for PPP to get passwords via a pipe"
-SUMMARY:${PN}-l2tp     = "Plugin for PPP for l2tp support"
+SUMMARY:${PN}-l2tp     = "Plugin which can be used to provide IPv6 RAs to the remote side and relay the subsequent incoming DHCPv6 requests to a DHCPv6 server"
+SUMMARY:${PN}-dhcpv6relay     = "Plugin for PPP for l2tp support"
 SUMMARY:${PN}-tools    = "Additional tools for the PPP package"
 
-- 
2.47.3



  parent reply	other threads:[~2026-06-16 19:17 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-16 19:15 [PATCH 01/30] gstreamer1.0: disable an intermittently failing test Alexander Kanavin
2026-06-16 19:15 ` [PATCH 02/30] gstreamer1.0: upgrade 1.28.2 -> 1.28.4 (the remaining pieces) Alexander Kanavin
2026-06-17 17:07   ` [OE-core] " Mathieu Dubois-Briand
2026-06-17 17:15     ` Alexander Kanavin
2026-06-16 19:15 ` [PATCH 03/30] glslang: upgrade 1.4.341.0 -> 1.4.350.0 Alexander Kanavin
2026-06-16 19:16 ` [PATCH 04/30] vulkan-validation-layers: " Alexander Kanavin
2026-06-16 19:16 ` [PATCH 05/30] spirv-tools: " Alexander Kanavin
2026-06-16 19:16 ` [PATCH 06/30] vulkan-tools: " Alexander Kanavin
2026-06-16 19:16 ` [PATCH 07/30] vulkan-loader: " Alexander Kanavin
2026-06-16 19:16 ` [PATCH 08/30] vulkan-utility-libraries: " Alexander Kanavin
2026-06-16 19:16 ` [PATCH 09/30] gn: upgrade to latest revision Alexander Kanavin
2026-06-16 19:16 ` [PATCH 10/30] libmd: upgrade 1.1.0 -> 1.2.0 Alexander Kanavin
2026-06-16 19:16 ` [PATCH 11/30] libslirp: upgrade 4.9.1 -> 4.9.3 Alexander Kanavin
2026-06-16 19:16 ` [PATCH 12/30] libxkbcommon: upgrade 1.13.1 -> 1.13.2 Alexander Kanavin
2026-06-16 19:16 ` [PATCH 13/30] minicom: upgrade 2.10 -> 2.11.1 Alexander Kanavin
2026-06-16 19:16 ` [PATCH 14/30] wget: disable NTLM support Alexander Kanavin
2026-06-16 19:16 ` [PATCH 15/30] nettle: upgrade 3.10.2 -> 4.0 Alexander Kanavin
2026-06-16 19:16 ` [PATCH 16/30] python3-shacl2code: upgrade 1.0.1 -> 1.1.0 Alexander Kanavin
2026-06-16 19:16 ` [PATCH 17/30] which: upgrade 2.23 -> 2.25 Alexander Kanavin
2026-06-16 19:16 ` [PATCH 18/30] dtc: upgrade 1.7.2 -> 1.8.1 Alexander Kanavin
2026-06-16 19:16 ` [PATCH 19/30] jansson: add a recipe from meta-oe Alexander Kanavin
2026-06-16 19:16 ` [PATCH 20/30] igt-gpu-tools: upgrade 2.3 -> 2.4 Alexander Kanavin
2026-06-16 19:16 ` [PATCH 21/30] libcap-ng: upgrade 0.9.1 -> 0.9.3 Alexander Kanavin
2026-06-16 19:16 ` [PATCH 22/30] libfyaml: upgrade 0.9.4 -> 0.9.6 Alexander Kanavin
2026-06-16 19:16 ` [PATCH 23/30] ltp: upgrade 20260130 -> 20260529 Alexander Kanavin
2026-06-16 19:16 ` [PATCH 24/30] neard: upgrade 0.19 -> 0.20 Alexander Kanavin
2026-06-16 19:16 ` [PATCH 25/30] perl: upgrade 5.42.0 -> 5.42.2 Alexander Kanavin
2026-06-16 19:16 ` Alexander Kanavin [this message]
2026-06-16 19:16 ` [PATCH 27/30] python3-dtc: upgrade 1.7.2 -> 1.8.1 Alexander Kanavin
2026-06-16 19:16 ` [PATCH 28/30] tcf-agent: upgrade 1.9.0 -> 1.11.0 Alexander Kanavin
2026-06-16 19:16 ` [PATCH 29/30] virglrenderer: upgrade 1.2.0 -> 1.3.0 Alexander Kanavin
2026-06-16 19:16 ` [PATCH 30/30] strace: remove skip-bpf.patch Alexander Kanavin

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=20260616191628.2014553-26-alex.kanavin@gmail.com \
    --to=alex.kanavin@gmail.com \
    --cc=alex@linutronix.de \
    --cc=openembedded-core@lists.openembedded.org \
    /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