Skip to contentSkip to conversation

package/pppd: security bump version to 2.5.5

PATCH Applied Bernd Kuhls 2 participants 4 messages Nov 2 – Nov 16

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/pppd: security bump version to 2.5.5

https://github.com/ppp-project/ppp/releases/tag/v2.5.5
https://github.com/ppp-project/ppp/releases/tag/v2.5.4

Version 2.5.4 fixes CVE-2026-75883 and CVE-2026-85495.

Removed patch which is included in this release.

Updated configure options for OpenSSL engines support due to commit
https://github.com/ppp-project/ppp/commit/23d1bb7eddd8598d5106c8957b312392f01dcce1

Please note that the bump to 2.5.4 was skipped in buildroot due to runtime errors fixed with this release:
"This is a bug-fix and security release, with no new features.
Changes include:
Fix bugs where hook scripts such as /etc/ppp/ip-up were not being run. [...]"

---
Gitlab pipelines passed:
https://gitlab.com/bkuhls/buildroot/-/commits/396d303c296209b0ceeb6097707119c9766570e5

with the exceptions of make targets

br-arm-basic/build/pppd-2.5.5/.stamp_built br-arm-full-nothread/build/pppd-2.5.5/.stamp_built

which are broken:

sys-linux.c:111:10: fatal error: sys/auxv.h: No such file or directory

due to upstream commit
https://github.com/ppp-project/ppp/commit/7df9dfe440369394cc6df262a5c7c3bffda483d2
introduced in pppd-2.5.4.

These are the only uClibc-based toolchains which are broken because they are based on uClibc-ng 1.0.36.
Upstream added getauxval() in version 1.0.43:
https://github.com/wbx-github/uclibc-ng/commit/d869bb1600942c01a77539128f9ba5b5b55ad647

Checking for sys/auxv.h by autoconf and not including the header when not present does not solve the problem for these toolchains:

sys-linux.c:2887:22: error: ‘AT_SECURE’ undeclared (first use in this
function); did you mean ‘AT_RECURSIVE’?

I have no ideas how to fix the problem without adding code like proposed by Arnout for a similar problem:
https://lists.libcamera.org/pipermail/libcamera-devel/2019-April/002332.html

This is beyond my technical skills and I do not think that upstream will fix a problem that was solved in uClibc ~4 years ago.

 ...1-dhcpv6relay-fix-build-with-gcc-9.x.patch | 184 ------------------
 package/pppd/pppd.hash                        |   2 +-
 package/pppd/pppd.mk                          |   8 +-
 3 files changed, 7 insertions(+), 187 deletions(-)
 delete mode 100644 package/pppd/0001-dhcpv6relay-fix-build-with-gcc-9.x.patch
package/pppd/0001-dhcpv6relay-fix-build-with-gcc-9.x.patch deleted +0 -184
deleted file mode 100644
index b7dfd87e8a..0000000000
@@ -1,184 +0,0 @@
-From 56f6f09035b034b96c84637160729aabf07f3460 Mon Sep 17 00:00:00 2001
-From: Bernd Kuhls <[email protected]>
-Date: Wed, 17 Jun 2026 20:45:19 +0200
-Subject: [PATCH] dhcpv6relay: fix build with gcc 9.x
-
-Fixes various build errors seen with gcc 9.x:
-
-Making all in dhcpv6relay
-  CC       dhcpv6relay_la-dhcpv6relay.lo
-dhcpv6relay.c: In function 'dhcpv6relay_down':
-dhcpv6relay.c:193:1: error: parameter name omitted
- void dhcpv6relay_down(void*, int)
- ^~~~
-dhcpv6relay.c:193:1: error: parameter name omitted
-dhcpv6relay.c: In function 'dhcpv6relay_release_route':
-dhcpv6relay.c:265:45: error: parameter name omitted
- void dhcpv6relay_release_route(const struct in6_addr* addr, uint8_t prefixlen, uint32_t /* lifetime */)
-                                             ^~~~~~~~
-dhcpv6relay.c: In function 'dhcpv6relay_process_ia_pd':
-dhcpv6relay.c:343:2: error: label at end of compound statement
-  default:
-  ^~~~~~~
-dhcpv6relay.c: In function 'dhcpv6relay_process_ia_na':
-dhcpv6relay.c:380:2: error: label at end of compound statement
-  default:
-  ^~~~~~~
-dhcpv6relay.c: In function 'dhcpv6relay_process_packet_for_routes':
-dhcpv6relay.c:422:2: error: a label can only be part of a statement and a declaration is not a statement
-  dhcpv6relay_route_func func;
-  ^~~~~~~~~~~~~~~~~~~~~~
-dhcpv6relay.c:449:6: error: label at end of compound statement
-      default:
-      ^~~~~~~
-dhcpv6relay.c: In function 'dhcpv6relay_server_event':
-dhcpv6relay.c:463:1: error: parameter name omitted
- void dhcpv6relay_server_event(int fd, void*)
- ^~~~
-dhcpv6relay.c:558:2: error: label at end of compound statement
-  default:
-  ^~~~~~~
-dhcpv6relay.c: In function 'dhcpv6relay_client_event':
-dhcpv6relay.c:619:1: error: parameter name omitted
- void dhcpv6relay_client_event(int fd, void*)
- ^~~~
-dhcpv6relay.c: In function 'dhcpv6relay_send_router_advertisement_timed':
-dhcpv6relay.c:795:1: error: parameter name omitted
- void dhcpv6relay_send_router_advertisement_timed(void*)
- ^~~~
-dhcpv6relay.c: In function 'dhcpv6relay_router_solicitation':
-dhcpv6relay.c:802:1: error: parameter name omitted
- void dhcpv6relay_router_solicitation(int fd, void*)
- ^~~~
-dhcpv6relay.c: In function 'dhcpv6relay_up':
-dhcpv6relay.c:855:1: error: parameter name omitted
- void dhcpv6relay_up(void*, int)
- ^~~~
-dhcpv6relay.c:855:1: error: parameter name omitted
-
-Upstream: https://github.com/ppp-project/ppp/pull/598
-
-Signed-off-by: Bernd Kuhls <[email protected]>
----
- pppd/plugins/dhcpv6relay/dhcpv6relay.c | 22 ++++++++++++----------
- 1 file changed, 12 insertions(+), 10 deletions(-)
-
-diff --git a/pppd/plugins/dhcpv6relay/dhcpv6relay.c b/pppd/plugins/dhcpv6relay/dhcpv6relay.c
-index e9ebba1..e416720 100644
---- a/pppd/plugins/dhcpv6relay/dhcpv6relay.c
-+++ b/pppd/plugins/dhcpv6relay/dhcpv6relay.c
-@@ -190,7 +190,7 @@ void routes_remove_all()
- }
- 
- static
--void dhcpv6relay_down(void*, int)
-+void dhcpv6relay_down(__attribute__((unused)) void* unused, __attribute__((unused)) int unusedint)
- {
-     routes_remove_all();
-     if (dhcpv6relay_sock_ll >= 0) {
-@@ -262,7 +262,7 @@ void dhcpv6relay_route_timeout(void* _r)
- }
- 
- static
--void dhcpv6relay_release_route(const struct in6_addr* addr, uint8_t prefixlen, uint32_t /* lifetime */)
-+void dhcpv6relay_release_route(const struct in6_addr* addr, uint8_t prefixlen, __attribute__((unused)) uint32_t lifetime)
- {
-     char in6addr[INET6_ADDRSTRLEN];
- 
-@@ -341,7 +341,7 @@ void dhcpv6relay_process_ia_pd(const unsigned char *bfr, uint16_t len, dhcpv6rel
- 	    routefunc((const struct in6_addr*)(bfr + 9), bfr[8], ntohl(*(const uint32_t*)(bfr+4)));
- 	    break;
- 	default:
--	    /* nothing */
-+	    break;
- 	}
- 
- 	bfr += optlen;
-@@ -378,7 +378,7 @@ void dhcpv6relay_process_ia_na(const unsigned char *bfr, uint16_t len, dhcpv6rel
- 	    routefunc((const struct in6_addr*)bfr, 128, ntohl(*(const uint32_t*)(bfr+20)));
- 	    break;
- 	default:
--	    /* nothing */
-+	    break;
- 	}
- 
- 	bfr += optlen;
-@@ -392,6 +392,7 @@ void dhcpv6relay_process_packet_for_routes(const unsigned char *bfr, uint16_t le
-     if (len < 1)
- 	return;
-     uint8_t pkttype = *bfr;
-+    dhcpv6relay_route_func func;
- 
-     switch (pkttype) {
-     case DHCPv6_MSGTYPE_RELAY_FORW:
-@@ -419,7 +420,6 @@ void dhcpv6relay_process_packet_for_routes(const unsigned char *bfr, uint16_t le
- 	break;
-     case DHCPv6_MSGTYPE_REPLY:
-     case DHCPv6_MSGTYPE_RELEASE:
--	dhcpv6relay_route_func func;
- 	if (pkttype == DHCPv6_MSGTYPE_RELEASE)
- 	    func = dhcpv6relay_release_route;
- 	else
-@@ -447,6 +447,7 @@ void dhcpv6relay_process_packet_for_routes(const unsigned char *bfr, uint16_t le
- 		dhcpv6relay_process_ia_na(bfr, optlen, func);
- 		break;
- 	    default:
-+		break;
- 	    }
- 	    bfr += optlen;
- 
-@@ -460,7 +461,7 @@ void dhcpv6relay_process_packet_for_routes(const unsigned char *bfr, uint16_t le
- }
- 
- static
--void dhcpv6relay_server_event(int fd, void*)
-+void dhcpv6relay_server_event(int fd, __attribute__((unused)) void* unused)
- {
-     unsigned char buffer[1024];
-     unsigned char *options = buffer + 34; /* skip fixed header */
-@@ -558,6 +559,7 @@ void dhcpv6relay_server_event(int fd, void*)
- 	default:
- 	    /* notice("DHCPv6 relay: Skipping processing of option %u of length %u.",
- 		    type, len); */
-+	    break;
- 	}
- 	options += len;
- 	r -= len;
-@@ -616,7 +618,7 @@ int dhcpv6relay_init_upstream()
- }
- 
- static
--void dhcpv6relay_client_event(int fd, void*)
-+void dhcpv6relay_client_event(int fd, __attribute__((unused)) void* unused)
- {
-     unsigned char buffer[1024];
-     unsigned char fwd_head[256];
-@@ -792,14 +794,14 @@ void dhcpv6relay_send_router_advertisement(const struct sockaddr* da)
- }
- 
- static
--void dhcpv6relay_send_router_advertisement_timed(void*)
-+void dhcpv6relay_send_router_advertisement_timed(__attribute__((unused)) void* unused)
- {
-     dhcpv6relay_send_router_advertisement(NULL);
-     ppp_timeout(dhcpv6relay_send_router_advertisement_timed, NULL, dhcpv6relay_ra_interval, 0);
- }
- 
- static
--void dhcpv6relay_router_solicitation(int fd, void*)
-+void dhcpv6relay_router_solicitation(int fd, __attribute__((unused)) void* unused)
- {
-     unsigned char bfr[1]; /* kernel will truncate packets in case of overflow,
- 			     and we don't care about the content.  Will
-@@ -852,7 +854,7 @@ int dhcpv6relay_populate_ll(struct sockaddr_in6* res)
- }
- 
- static
--void dhcpv6relay_up(void*, int)
-+void dhcpv6relay_up(__attribute__((unused)) void* unused, __attribute__((unused)) int unusedint)
- {
-     struct sockaddr_in6 sa;
-     struct ipv6_mreq mreq;
--- 
-2.47.3
-
package/pppd/pppd.hash +1 -1
index a79f73fe93..7ec081fe20 100644
@@ -1,4 +1,4 @@
 # Locally calculated
-sha256  ddda28dec8aca99a403ab6070d94ffd2b17d63e9a4c5509158e99e148f572d4f  ppp-2.5.3.tar.gz
+sha256  0ebbcfef906d16cfbb9cbdd19c0d92aa3df2fd8fdd29731f614c58d16a279aa5  ppp-2.5.5.tar.gz
 sha256  5d588eb3b157d52112afea935c88a7ff9efddc1e2d95a42c25d3b96ad9055008  LICENSE.BSD
 sha256  8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643  LICENSE.GPL-2
package/pppd/pppd.mk +6 -2
index f8b68f39b7..d854f6a036 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-PPPD_VERSION = 2.5.3
+PPPD_VERSION = 2.5.5
 PPPD_SITE = https://download.samba.org/pub/ppp
 PPPD_SOURCE = ppp-$(PPPD_VERSION).tar.gz
 PPPD_LICENSE = LGPL-2.0+, LGPL, BSD-4-Clause, BSD-3-Clause, GPL-2.0+
@@ -25,9 +25,13 @@ endif
 ifeq ($(BR2_PACKAGE_OPENSSL),y)
 PPPD_CONF_OPTS += \
 	--enable-eaptls \
-	--enable-openssl-engine \
 	--enable-peap \
 	--with-openssl=$(STAGING_DIR)/usr
+ifeq ($(BR2_PACKAGE_LIBOPENSSL_ENGINES),y)
+PPPD_CONF_OPTS += --enable-openssl-engine
+else
+PPPD_CONF_OPTS += --disable-openssl-engine
+endif
 PPPD_DEPENDENCIES += openssl
 else
 PPPD_CONF_OPTS += \
Signature · 6 lines
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Tested-by Fiona Klute on v1 1/1
#1 lore raw

Am 02.11.26 um 21:56 schrieb Bernd Kuhls:

Quoted 10 lines

https://github.com/ppp-project/ppp/releases/tag/v2.5.5
https://github.com/ppp-project/ppp/releases/tag/v2.5.4

Version 2.5.4 fixes CVE-2026-75883 and CVE-2026-85495.

Removed patch which is included in this release.

Updated configure options for OpenSSL engines support due to commit
https://github.com/ppp-project/ppp/commit/23d1bb7eddd8598d5106c8957b312392f01dcce1

Quoted 8 lines

Please note that the bump to 2.5.4 was skipped in buildroot due to runtime errors fixed with this release:
"This is a bug-fix and security release, with no new features.
Changes include:
Fix bugs where hook scripts such as /etc/ppp/ip-up were not being run. [...]"

Looks good to me, the only reason I haven't merged yet is that I want to give others time to say something if they consider the uClibc-ng 1.0.43 requirement a problem.

Best regards,
Fiona

Quoted 259 lines

---
Gitlab pipelines passed:
https://gitlab.com/bkuhls/buildroot/-/commits/396d303c296209b0ceeb6097707119c9766570e5

with the exceptions of make targets

br-arm-basic/build/pppd-2.5.5/.stamp_built br-arm-full-nothread/build/pppd-2.5.5/.stamp_built

which are broken:

sys-linux.c:111:10: fatal error: sys/auxv.h: No such file or directory

due to upstream commit
https://github.com/ppp-project/ppp/commit/7df9dfe440369394cc6df262a5c7c3bffda483d2
introduced in pppd-2.5.4.

These are the only uClibc-based toolchains which are broken because they are based on uClibc-ng 1.0.36.
Upstream added getauxval() in version 1.0.43:
https://github.com/wbx-github/uclibc-ng/commit/d869bb1600942c01a77539128f9ba5b5b55ad647

Checking for sys/auxv.h by autoconf and not including the header when not present does not solve the problem for these toolchains:

sys-linux.c:2887:22: error: ‘AT_SECURE’ undeclared (first use in this
function); did you mean ‘AT_RECURSIVE’?

I have no ideas how to fix the problem without adding code like proposed by Arnout for a similar problem:
https://lists.libcamera.org/pipermail/libcamera-devel/2019-April/002332.html

This is beyond my technical skills and I do not think that upstream will fix a problem that was solved in uClibc ~4 years ago.

  ...1-dhcpv6relay-fix-build-with-gcc-9.x.patch | 184 ------------------
  package/pppd/pppd.hash                        |   2 +-
  package/pppd/pppd.mk                          |   8 +-
  3 files changed, 7 insertions(+), 187 deletions(-)

delete mode 100644 package/pppd/0001-dhcpv6relay-fix-build-with-gcc-9.x.patch

package/pppd/0001-dhcpv6relay-fix-build-with-gcc-9.x.patch deleted +0 -184
deleted file mode 100644
index b7dfd87e8a..0000000000
@@ -1,184 +0,0 @@
-From 56f6f09035b034b96c84637160729aabf07f3460 Mon Sep 17 00:00:00 2001
-From: Bernd Kuhls <[email protected]>
-Date: Wed, 17 Jun 2026 20:45:19 +0200
-Subject: [PATCH] dhcpv6relay: fix build with gcc 9.x
-
-Fixes various build errors seen with gcc 9.x:
-
-Making all in dhcpv6relay
-  CC       dhcpv6relay_la-dhcpv6relay.lo
-dhcpv6relay.c: In function 'dhcpv6relay_down':
-dhcpv6relay.c:193:1: error: parameter name omitted
- void dhcpv6relay_down(void*, int)
- ^~~~
-dhcpv6relay.c:193:1: error: parameter name omitted
-dhcpv6relay.c: In function 'dhcpv6relay_release_route':
-dhcpv6relay.c:265:45: error: parameter name omitted
- void dhcpv6relay_release_route(const struct in6_addr* addr, uint8_t prefixlen, uint32_t /* lifetime */)
-                                             ^~~~~~~~
-dhcpv6relay.c: In function 'dhcpv6relay_process_ia_pd':
-dhcpv6relay.c:343:2: error: label at end of compound statement
-  default:
-  ^~~~~~~
-dhcpv6relay.c: In function 'dhcpv6relay_process_ia_na':
-dhcpv6relay.c:380:2: error: label at end of compound statement
-  default:
-  ^~~~~~~
-dhcpv6relay.c: In function 'dhcpv6relay_process_packet_for_routes':
-dhcpv6relay.c:422:2: error: a label can only be part of a statement and a declaration is not a statement
-  dhcpv6relay_route_func func;
-  ^~~~~~~~~~~~~~~~~~~~~~
-dhcpv6relay.c:449:6: error: label at end of compound statement
-      default:
-      ^~~~~~~
-dhcpv6relay.c: In function 'dhcpv6relay_server_event':
-dhcpv6relay.c:463:1: error: parameter name omitted
- void dhcpv6relay_server_event(int fd, void*)
- ^~~~
-dhcpv6relay.c:558:2: error: label at end of compound statement
-  default:
-  ^~~~~~~
-dhcpv6relay.c: In function 'dhcpv6relay_client_event':
-dhcpv6relay.c:619:1: error: parameter name omitted
- void dhcpv6relay_client_event(int fd, void*)
- ^~~~
-dhcpv6relay.c: In function 'dhcpv6relay_send_router_advertisement_timed':
-dhcpv6relay.c:795:1: error: parameter name omitted
- void dhcpv6relay_send_router_advertisement_timed(void*)
- ^~~~
-dhcpv6relay.c: In function 'dhcpv6relay_router_solicitation':
-dhcpv6relay.c:802:1: error: parameter name omitted
- void dhcpv6relay_router_solicitation(int fd, void*)
- ^~~~
-dhcpv6relay.c: In function 'dhcpv6relay_up':
-dhcpv6relay.c:855:1: error: parameter name omitted
- void dhcpv6relay_up(void*, int)
- ^~~~
-dhcpv6relay.c:855:1: error: parameter name omitted
-
-Upstream: https://github.com/ppp-project/ppp/pull/598
-
-Signed-off-by: Bernd Kuhls <[email protected]>
----
- pppd/plugins/dhcpv6relay/dhcpv6relay.c | 22 ++++++++++++----------
- 1 file changed, 12 insertions(+), 10 deletions(-)
-
-diff --git a/pppd/plugins/dhcpv6relay/dhcpv6relay.c b/pppd/plugins/dhcpv6relay/dhcpv6relay.c
-index e9ebba1..e416720 100644
---- a/pppd/plugins/dhcpv6relay/dhcpv6relay.c
-+++ b/pppd/plugins/dhcpv6relay/dhcpv6relay.c
-@@ -190,7 +190,7 @@ void routes_remove_all()
- }
-
- static
--void dhcpv6relay_down(void*, int)
-+void dhcpv6relay_down(__attribute__((unused)) void* unused, __attribute__((unused)) int unusedint)
- {
-     routes_remove_all();
-     if (dhcpv6relay_sock_ll >= 0) {
-@@ -262,7 +262,7 @@ void dhcpv6relay_route_timeout(void* _r)
- }
-
- static
--void dhcpv6relay_release_route(const struct in6_addr* addr, uint8_t prefixlen, uint32_t /* lifetime */)
-+void dhcpv6relay_release_route(const struct in6_addr* addr, uint8_t prefixlen, __attribute__((unused)) uint32_t lifetime)
- {
-     char in6addr[INET6_ADDRSTRLEN];
-
-@@ -341,7 +341,7 @@ void dhcpv6relay_process_ia_pd(const unsigned char *bfr, uint16_t len, dhcpv6rel
- 	    routefunc((const struct in6_addr*)(bfr + 9), bfr[8], ntohl(*(const uint32_t*)(bfr+4)));
- 	    break;
- 	default:
--	    /* nothing */
-+	    break;
- 	}
-
- 	bfr += optlen;
-@@ -378,7 +378,7 @@ void dhcpv6relay_process_ia_na(const unsigned char *bfr, uint16_t len, dhcpv6rel
- 	    routefunc((const struct in6_addr*)bfr, 128, ntohl(*(const uint32_t*)(bfr+20)));
- 	    break;
- 	default:
--	    /* nothing */
-+	    break;
- 	}
-
- 	bfr += optlen;
-@@ -392,6 +392,7 @@ void dhcpv6relay_process_packet_for_routes(const unsigned char *bfr, uint16_t le
-     if (len < 1)
- 	return;
-     uint8_t pkttype = *bfr;
-+    dhcpv6relay_route_func func;
-
-     switch (pkttype) {
-     case DHCPv6_MSGTYPE_RELAY_FORW:
-@@ -419,7 +420,6 @@ void dhcpv6relay_process_packet_for_routes(const unsigned char *bfr, uint16_t le
- 	break;
-     case DHCPv6_MSGTYPE_REPLY:
-     case DHCPv6_MSGTYPE_RELEASE:
--	dhcpv6relay_route_func func;
- 	if (pkttype == DHCPv6_MSGTYPE_RELEASE)
- 	    func = dhcpv6relay_release_route;
- 	else
-@@ -447,6 +447,7 @@ void dhcpv6relay_process_packet_for_routes(const unsigned char *bfr, uint16_t le
- 		dhcpv6relay_process_ia_na(bfr, optlen, func);
- 		break;
- 	    default:
-+		break;
- 	    }
- 	    bfr += optlen;
-
-@@ -460,7 +461,7 @@ void dhcpv6relay_process_packet_for_routes(const unsigned char *bfr, uint16_t le
- }
-
- static
--void dhcpv6relay_server_event(int fd, void*)
-+void dhcpv6relay_server_event(int fd, __attribute__((unused)) void* unused)
- {
-     unsigned char buffer[1024];
-     unsigned char *options = buffer + 34; /* skip fixed header */
-@@ -558,6 +559,7 @@ void dhcpv6relay_server_event(int fd, void*)
- 	default:
- 	    /* notice("DHCPv6 relay: Skipping processing of option %u of length %u.",
- 		    type, len); */
-+	    break;
- 	}
- 	options += len;
- 	r -= len;
-@@ -616,7 +618,7 @@ int dhcpv6relay_init_upstream()
- }
-
- static
--void dhcpv6relay_client_event(int fd, void*)
-+void dhcpv6relay_client_event(int fd, __attribute__((unused)) void* unused)
- {
-     unsigned char buffer[1024];
-     unsigned char fwd_head[256];
-@@ -792,14 +794,14 @@ void dhcpv6relay_send_router_advertisement(const struct sockaddr* da)
- }
-
- static
--void dhcpv6relay_send_router_advertisement_timed(void*)
-+void dhcpv6relay_send_router_advertisement_timed(__attribute__((unused)) void* unused)
- {
-     dhcpv6relay_send_router_advertisement(NULL);
-     ppp_timeout(dhcpv6relay_send_router_advertisement_timed, NULL, dhcpv6relay_ra_interval, 0);
- }
-
- static
--void dhcpv6relay_router_solicitation(int fd, void*)
-+void dhcpv6relay_router_solicitation(int fd, __attribute__((unused)) void* unused)
- {
-     unsigned char bfr[1]; /* kernel will truncate packets in case of overflow,
- 			     and we don't care about the content.  Will
-@@ -852,7 +854,7 @@ int dhcpv6relay_populate_ll(struct sockaddr_in6* res)
- }
-
- static
--void dhcpv6relay_up(void*, int)
-+void dhcpv6relay_up(__attribute__((unused)) void* unused, __attribute__((unused)) int unusedint)
- {
-     struct sockaddr_in6 sa;
-     struct ipv6_mreq mreq;
---
-2.47.3
-
package/pppd/pppd.hash +1 -1
index a79f73fe93..7ec081fe20 100644
@@ -1,4 +1,4 @@
  # Locally calculated
-sha256  ddda28dec8aca99a403ab6070d94ffd2b17d63e9a4c5509158e99e148f572d4f  ppp-2.5.3.tar.gz
+sha256  0ebbcfef906d16cfbb9cbdd19c0d92aa3df2fd8fdd29731f614c58d16a279aa5  ppp-2.5.5.tar.gz
  sha256  5d588eb3b157d52112afea935c88a7ff9efddc1e2d95a42c25d3b96ad9055008  LICENSE.BSD
  sha256  8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643  LICENSE.GPL-2
package/pppd/pppd.mk +1 -2
index f8b68f39b7..d854f6a036 100644
@@ -4,7 +4,7 @@
  #
  ################################################################################
 
-PPPD_VERSION = 2.5.3
+PPPD_VERSION = 2.5.5
  PPPD_SITE = https://download.samba.org/pub/ppp
  PPPD_SOURCE = ppp-$(PPPD_VERSION).tar.gz
  PPPD_LICENSE = LGPL-2.0+, LGPL, BSD-4-Clause, BSD-3-Clause, GPL-2.0+
@@ -25,9 +25,13 @@ endif
  ifeq ($(BR2_PACKAGE_OPENSSL),y)
  PPPD_CONF_OPTS += \
  	--enable-eaptls \
-	--enable-openssl-engine \

package/pppd/pppd.mk endif · line 37

Quoted 10 lines
package/pppd/pppd.mk +5 -0
  	--enable-peap \
  	--with-openssl=$(STAGING_DIR)/usr
+ifeq ($(BR2_PACKAGE_LIBOPENSSL_ENGINES),y)
+PPPD_CONF_OPTS += --enable-openssl-engine
+else
+PPPD_CONF_OPTS += --disable-openssl-engine
+endif
  PPPD_DEPENDENCIES += openssl
  else
  PPPD_CONF_OPTS += \

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#2 lore raw
In reply to Bernd Kuhls

Am 02.11.26 um 21:56 schrieb Bernd Kuhls:

Quoted 10 lines

https://github.com/ppp-project/ppp/releases/tag/v2.5.5
https://github.com/ppp-project/ppp/releases/tag/v2.5.4

Version 2.5.4 fixes CVE-2026-75883 and CVE-2026-85495.

Removed patch which is included in this release.

Updated configure options for OpenSSL engines support due to commit
https://github.com/ppp-project/ppp/commit/23d1bb7eddd8598d5106c8957b312392f01dcce1

Quoted 8 lines

Please note that the bump to 2.5.4 was skipped in buildroot due to runtime errors fixed with this release:
"This is a bug-fix and security release, with no new features.
Changes include:
Fix bugs where hook scripts such as /etc/ppp/ip-up were not being run. [...]"

And applied to master, thank you!

Quoted 259 lines

---
Gitlab pipelines passed:
https://gitlab.com/bkuhls/buildroot/-/commits/396d303c296209b0ceeb6097707119c9766570e5

with the exceptions of make targets

br-arm-basic/build/pppd-2.5.5/.stamp_built br-arm-full-nothread/build/pppd-2.5.5/.stamp_built

which are broken:

sys-linux.c:111:10: fatal error: sys/auxv.h: No such file or directory

due to upstream commit
https://github.com/ppp-project/ppp/commit/7df9dfe440369394cc6df262a5c7c3bffda483d2
introduced in pppd-2.5.4.

These are the only uClibc-based toolchains which are broken because they are based on uClibc-ng 1.0.36.
Upstream added getauxval() in version 1.0.43:
https://github.com/wbx-github/uclibc-ng/commit/d869bb1600942c01a77539128f9ba5b5b55ad647

Checking for sys/auxv.h by autoconf and not including the header when not present does not solve the problem for these toolchains:

sys-linux.c:2887:22: error: ‘AT_SECURE’ undeclared (first use in this
function); did you mean ‘AT_RECURSIVE’?

I have no ideas how to fix the problem without adding code like proposed by Arnout for a similar problem:
https://lists.libcamera.org/pipermail/libcamera-devel/2019-April/002332.html

This is beyond my technical skills and I do not think that upstream will fix a problem that was solved in uClibc ~4 years ago.

  ...1-dhcpv6relay-fix-build-with-gcc-9.x.patch | 184 ------------------
  package/pppd/pppd.hash                        |   2 +-
  package/pppd/pppd.mk                          |   8 +-
  3 files changed, 7 insertions(+), 187 deletions(-)

delete mode 100644 package/pppd/0001-dhcpv6relay-fix-build-with-gcc-9.x.patch

package/pppd/0001-dhcpv6relay-fix-build-with-gcc-9.x.patch deleted +0 -184
deleted file mode 100644
index b7dfd87e8a..0000000000
@@ -1,184 +0,0 @@
-From 56f6f09035b034b96c84637160729aabf07f3460 Mon Sep 17 00:00:00 2001
-From: Bernd Kuhls <[email protected]>
-Date: Wed, 17 Jun 2026 20:45:19 +0200
-Subject: [PATCH] dhcpv6relay: fix build with gcc 9.x
-
-Fixes various build errors seen with gcc 9.x:
-
-Making all in dhcpv6relay
-  CC       dhcpv6relay_la-dhcpv6relay.lo
-dhcpv6relay.c: In function 'dhcpv6relay_down':
-dhcpv6relay.c:193:1: error: parameter name omitted
- void dhcpv6relay_down(void*, int)
- ^~~~
-dhcpv6relay.c:193:1: error: parameter name omitted
-dhcpv6relay.c: In function 'dhcpv6relay_release_route':
-dhcpv6relay.c:265:45: error: parameter name omitted
- void dhcpv6relay_release_route(const struct in6_addr* addr, uint8_t prefixlen, uint32_t /* lifetime */)
-                                             ^~~~~~~~
-dhcpv6relay.c: In function 'dhcpv6relay_process_ia_pd':
-dhcpv6relay.c:343:2: error: label at end of compound statement
-  default:
-  ^~~~~~~
-dhcpv6relay.c: In function 'dhcpv6relay_process_ia_na':
-dhcpv6relay.c:380:2: error: label at end of compound statement
-  default:
-  ^~~~~~~
-dhcpv6relay.c: In function 'dhcpv6relay_process_packet_for_routes':
-dhcpv6relay.c:422:2: error: a label can only be part of a statement and a declaration is not a statement
-  dhcpv6relay_route_func func;
-  ^~~~~~~~~~~~~~~~~~~~~~
-dhcpv6relay.c:449:6: error: label at end of compound statement
-      default:
-      ^~~~~~~
-dhcpv6relay.c: In function 'dhcpv6relay_server_event':
-dhcpv6relay.c:463:1: error: parameter name omitted
- void dhcpv6relay_server_event(int fd, void*)
- ^~~~
-dhcpv6relay.c:558:2: error: label at end of compound statement
-  default:
-  ^~~~~~~
-dhcpv6relay.c: In function 'dhcpv6relay_client_event':
-dhcpv6relay.c:619:1: error: parameter name omitted
- void dhcpv6relay_client_event(int fd, void*)
- ^~~~
-dhcpv6relay.c: In function 'dhcpv6relay_send_router_advertisement_timed':
-dhcpv6relay.c:795:1: error: parameter name omitted
- void dhcpv6relay_send_router_advertisement_timed(void*)
- ^~~~
-dhcpv6relay.c: In function 'dhcpv6relay_router_solicitation':
-dhcpv6relay.c:802:1: error: parameter name omitted
- void dhcpv6relay_router_solicitation(int fd, void*)
- ^~~~
-dhcpv6relay.c: In function 'dhcpv6relay_up':
-dhcpv6relay.c:855:1: error: parameter name omitted
- void dhcpv6relay_up(void*, int)
- ^~~~
-dhcpv6relay.c:855:1: error: parameter name omitted
-
-Upstream: https://github.com/ppp-project/ppp/pull/598
-
-Signed-off-by: Bernd Kuhls <[email protected]>
----
- pppd/plugins/dhcpv6relay/dhcpv6relay.c | 22 ++++++++++++----------
- 1 file changed, 12 insertions(+), 10 deletions(-)
-
-diff --git a/pppd/plugins/dhcpv6relay/dhcpv6relay.c b/pppd/plugins/dhcpv6relay/dhcpv6relay.c
-index e9ebba1..e416720 100644
---- a/pppd/plugins/dhcpv6relay/dhcpv6relay.c
-+++ b/pppd/plugins/dhcpv6relay/dhcpv6relay.c
-@@ -190,7 +190,7 @@ void routes_remove_all()
- }
-
- static
--void dhcpv6relay_down(void*, int)
-+void dhcpv6relay_down(__attribute__((unused)) void* unused, __attribute__((unused)) int unusedint)
- {
-     routes_remove_all();
-     if (dhcpv6relay_sock_ll >= 0) {
-@@ -262,7 +262,7 @@ void dhcpv6relay_route_timeout(void* _r)
- }
-
- static
--void dhcpv6relay_release_route(const struct in6_addr* addr, uint8_t prefixlen, uint32_t /* lifetime */)
-+void dhcpv6relay_release_route(const struct in6_addr* addr, uint8_t prefixlen, __attribute__((unused)) uint32_t lifetime)
- {
-     char in6addr[INET6_ADDRSTRLEN];
-
-@@ -341,7 +341,7 @@ void dhcpv6relay_process_ia_pd(const unsigned char *bfr, uint16_t len, dhcpv6rel
- 	    routefunc((const struct in6_addr*)(bfr + 9), bfr[8], ntohl(*(const uint32_t*)(bfr+4)));
- 	    break;
- 	default:
--	    /* nothing */
-+	    break;
- 	}
-
- 	bfr += optlen;
-@@ -378,7 +378,7 @@ void dhcpv6relay_process_ia_na(const unsigned char *bfr, uint16_t len, dhcpv6rel
- 	    routefunc((const struct in6_addr*)bfr, 128, ntohl(*(const uint32_t*)(bfr+20)));
- 	    break;
- 	default:
--	    /* nothing */
-+	    break;
- 	}
-
- 	bfr += optlen;
-@@ -392,6 +392,7 @@ void dhcpv6relay_process_packet_for_routes(const unsigned char *bfr, uint16_t le
-     if (len < 1)
- 	return;
-     uint8_t pkttype = *bfr;
-+    dhcpv6relay_route_func func;
-
-     switch (pkttype) {
-     case DHCPv6_MSGTYPE_RELAY_FORW:
-@@ -419,7 +420,6 @@ void dhcpv6relay_process_packet_for_routes(const unsigned char *bfr, uint16_t le
- 	break;
-     case DHCPv6_MSGTYPE_REPLY:
-     case DHCPv6_MSGTYPE_RELEASE:
--	dhcpv6relay_route_func func;
- 	if (pkttype == DHCPv6_MSGTYPE_RELEASE)
- 	    func = dhcpv6relay_release_route;
- 	else
-@@ -447,6 +447,7 @@ void dhcpv6relay_process_packet_for_routes(const unsigned char *bfr, uint16_t le
- 		dhcpv6relay_process_ia_na(bfr, optlen, func);
- 		break;
- 	    default:
-+		break;
- 	    }
- 	    bfr += optlen;
-
-@@ -460,7 +461,7 @@ void dhcpv6relay_process_packet_for_routes(const unsigned char *bfr, uint16_t le
- }
-
- static
--void dhcpv6relay_server_event(int fd, void*)
-+void dhcpv6relay_server_event(int fd, __attribute__((unused)) void* unused)
- {
-     unsigned char buffer[1024];
-     unsigned char *options = buffer + 34; /* skip fixed header */
-@@ -558,6 +559,7 @@ void dhcpv6relay_server_event(int fd, void*)
- 	default:
- 	    /* notice("DHCPv6 relay: Skipping processing of option %u of length %u.",
- 		    type, len); */
-+	    break;
- 	}
- 	options += len;
- 	r -= len;
-@@ -616,7 +618,7 @@ int dhcpv6relay_init_upstream()
- }
-
- static
--void dhcpv6relay_client_event(int fd, void*)
-+void dhcpv6relay_client_event(int fd, __attribute__((unused)) void* unused)
- {
-     unsigned char buffer[1024];
-     unsigned char fwd_head[256];
-@@ -792,14 +794,14 @@ void dhcpv6relay_send_router_advertisement(const struct sockaddr* da)
- }
-
- static
--void dhcpv6relay_send_router_advertisement_timed(void*)
-+void dhcpv6relay_send_router_advertisement_timed(__attribute__((unused)) void* unused)
- {
-     dhcpv6relay_send_router_advertisement(NULL);
-     ppp_timeout(dhcpv6relay_send_router_advertisement_timed, NULL, dhcpv6relay_ra_interval, 0);
- }
-
- static
--void dhcpv6relay_router_solicitation(int fd, void*)
-+void dhcpv6relay_router_solicitation(int fd, __attribute__((unused)) void* unused)
- {
-     unsigned char bfr[1]; /* kernel will truncate packets in case of overflow,
- 			     and we don't care about the content.  Will
-@@ -852,7 +854,7 @@ int dhcpv6relay_populate_ll(struct sockaddr_in6* res)
- }
-
- static
--void dhcpv6relay_up(void*, int)
-+void dhcpv6relay_up(__attribute__((unused)) void* unused, __attribute__((unused)) int unusedint)
- {
-     struct sockaddr_in6 sa;
-     struct ipv6_mreq mreq;
---
-2.47.3
-
package/pppd/pppd.hash +1 -1
index a79f73fe93..7ec081fe20 100644
@@ -1,4 +1,4 @@
  # Locally calculated
-sha256  ddda28dec8aca99a403ab6070d94ffd2b17d63e9a4c5509158e99e148f572d4f  ppp-2.5.3.tar.gz
+sha256  0ebbcfef906d16cfbb9cbdd19c0d92aa3df2fd8fdd29731f614c58d16a279aa5  ppp-2.5.5.tar.gz
  sha256  5d588eb3b157d52112afea935c88a7ff9efddc1e2d95a42c25d3b96ad9055008  LICENSE.BSD
  sha256  8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643  LICENSE.GPL-2
package/pppd/pppd.mk +1 -2
index f8b68f39b7..d854f6a036 100644
@@ -4,7 +4,7 @@
  #
  ################################################################################
 
-PPPD_VERSION = 2.5.3
+PPPD_VERSION = 2.5.5
  PPPD_SITE = https://download.samba.org/pub/ppp
  PPPD_SOURCE = ppp-$(PPPD_VERSION).tar.gz
  PPPD_LICENSE = LGPL-2.0+, LGPL, BSD-4-Clause, BSD-3-Clause, GPL-2.0+
@@ -25,9 +25,13 @@ endif
  ifeq ($(BR2_PACKAGE_OPENSSL),y)
  PPPD_CONF_OPTS += \
  	--enable-eaptls \
-	--enable-openssl-engine \

package/pppd/pppd.mk endif · line 37

Quoted 10 lines
package/pppd/pppd.mk +5 -0
  	--enable-peap \
  	--with-openssl=$(STAGING_DIR)/usr
+ifeq ($(BR2_PACKAGE_LIBOPENSSL_ENGINES),y)
+PPPD_CONF_OPTS += --enable-openssl-engine
+else
+PPPD_CONF_OPTS += --disable-openssl-engine
+endif
  PPPD_DEPENDENCIES += openssl
  else
  PPPD_CONF_OPTS += \

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#3 lore raw
In reply to Bernd Kuhls

In reply of:

Quoted 17 lines

https://github.com/ppp-project/ppp/releases/tag/v2.5.5
https://github.com/ppp-project/ppp/releases/tag/v2.5.4

Version 2.5.4 fixes CVE-2026-75883 and CVE-2026-85495.

Removed patch which is included in this release.

Updated configure options for OpenSSL engines support due to commit
https://github.com/ppp-project/ppp/commit/23d1bb7eddd8598d5106c8957b312392f01dcce1

Please note that the bump to 2.5.4 was skipped in buildroot due to runtime errors fixed with this release:
"This is a bug-fix and security release, with no new features.
Changes include:
Fix bugs where hook scripts such as /etc/ppp/ip-up were not being run. [...]"

Quoted 2 lines

Applied to 2025.02.x, 2026.08.x. Thanks

Quoted 259 lines

---
Gitlab pipelines passed:
https://gitlab.com/bkuhls/buildroot/-/commits/396d303c296209b0ceeb6097707119c9766570e5

with the exceptions of make targets

br-arm-basic/build/pppd-2.5.5/.stamp_built br-arm-full-nothread/build/pppd-2.5.5/.stamp_built

which are broken:

sys-linux.c:111:10: fatal error: sys/auxv.h: No such file or directory

due to upstream commit
https://github.com/ppp-project/ppp/commit/7df9dfe440369394cc6df262a5c7c3bffda483d2
introduced in pppd-2.5.4.

These are the only uClibc-based toolchains which are broken because they are based on uClibc-ng 1.0.36.
Upstream added getauxval() in version 1.0.43:
https://github.com/wbx-github/uclibc-ng/commit/d869bb1600942c01a77539128f9ba5b5b55ad647

Checking for sys/auxv.h by autoconf and not including the header when not present does not solve the problem for these toolchains:

sys-linux.c:2887:22: error: ‘AT_SECURE’ undeclared (first use in this
function); did you mean ‘AT_RECURSIVE’?

I have no ideas how to fix the problem without adding code like proposed by Arnout for a similar problem:
https://lists.libcamera.org/pipermail/libcamera-devel/2019-April/002332.html

This is beyond my technical skills and I do not think that upstream will fix a problem that was solved in uClibc ~4 years ago.

 ...1-dhcpv6relay-fix-build-with-gcc-9.x.patch | 184 ------------------
 package/pppd/pppd.hash                        |   2 +-
 package/pppd/pppd.mk                          |   8 +-
 3 files changed, 7 insertions(+), 187 deletions(-)
 delete mode 100644 package/pppd/0001-dhcpv6relay-fix-build-with-gcc-9.x.patch
package/pppd/0001-dhcpv6relay-fix-build-with-gcc-9.x.patch deleted +0 -184
deleted file mode 100644
index b7dfd87e8a..0000000000
@@ -1,184 +0,0 @@
-From 56f6f09035b034b96c84637160729aabf07f3460 Mon Sep 17 00:00:00 2001
-From: Bernd Kuhls <[email protected]>
-Date: Wed, 17 Jun 2026 20:45:19 +0200
-Subject: [PATCH] dhcpv6relay: fix build with gcc 9.x
-
-Fixes various build errors seen with gcc 9.x:
-
-Making all in dhcpv6relay
-  CC       dhcpv6relay_la-dhcpv6relay.lo
-dhcpv6relay.c: In function 'dhcpv6relay_down':
-dhcpv6relay.c:193:1: error: parameter name omitted
- void dhcpv6relay_down(void*, int)
- ^~~~
-dhcpv6relay.c:193:1: error: parameter name omitted
-dhcpv6relay.c: In function 'dhcpv6relay_release_route':
-dhcpv6relay.c:265:45: error: parameter name omitted
- void dhcpv6relay_release_route(const struct in6_addr* addr, uint8_t prefixlen, uint32_t /* lifetime */)
-                                             ^~~~~~~~
-dhcpv6relay.c: In function 'dhcpv6relay_process_ia_pd':
-dhcpv6relay.c:343:2: error: label at end of compound statement
-  default:
-  ^~~~~~~
-dhcpv6relay.c: In function 'dhcpv6relay_process_ia_na':
-dhcpv6relay.c:380:2: error: label at end of compound statement
-  default:
-  ^~~~~~~
-dhcpv6relay.c: In function 'dhcpv6relay_process_packet_for_routes':
-dhcpv6relay.c:422:2: error: a label can only be part of a statement and a declaration is not a statement
-  dhcpv6relay_route_func func;
-  ^~~~~~~~~~~~~~~~~~~~~~
-dhcpv6relay.c:449:6: error: label at end of compound statement
-      default:
-      ^~~~~~~
-dhcpv6relay.c: In function 'dhcpv6relay_server_event':
-dhcpv6relay.c:463:1: error: parameter name omitted
- void dhcpv6relay_server_event(int fd, void*)
- ^~~~
-dhcpv6relay.c:558:2: error: label at end of compound statement
-  default:
-  ^~~~~~~
-dhcpv6relay.c: In function 'dhcpv6relay_client_event':
-dhcpv6relay.c:619:1: error: parameter name omitted
- void dhcpv6relay_client_event(int fd, void*)
- ^~~~
-dhcpv6relay.c: In function 'dhcpv6relay_send_router_advertisement_timed':
-dhcpv6relay.c:795:1: error: parameter name omitted
- void dhcpv6relay_send_router_advertisement_timed(void*)
- ^~~~
-dhcpv6relay.c: In function 'dhcpv6relay_router_solicitation':
-dhcpv6relay.c:802:1: error: parameter name omitted
- void dhcpv6relay_router_solicitation(int fd, void*)
- ^~~~
-dhcpv6relay.c: In function 'dhcpv6relay_up':
-dhcpv6relay.c:855:1: error: parameter name omitted
- void dhcpv6relay_up(void*, int)
- ^~~~
-dhcpv6relay.c:855:1: error: parameter name omitted
-
-Upstream: https://github.com/ppp-project/ppp/pull/598
-
-Signed-off-by: Bernd Kuhls <[email protected]>
----
- pppd/plugins/dhcpv6relay/dhcpv6relay.c | 22 ++++++++++++----------
- 1 file changed, 12 insertions(+), 10 deletions(-)
-
-diff --git a/pppd/plugins/dhcpv6relay/dhcpv6relay.c b/pppd/plugins/dhcpv6relay/dhcpv6relay.c
-index e9ebba1..e416720 100644
---- a/pppd/plugins/dhcpv6relay/dhcpv6relay.c
-+++ b/pppd/plugins/dhcpv6relay/dhcpv6relay.c
-@@ -190,7 +190,7 @@ void routes_remove_all()
- }
- 
- static
--void dhcpv6relay_down(void*, int)
-+void dhcpv6relay_down(__attribute__((unused)) void* unused, __attribute__((unused)) int unusedint)
- {
-     routes_remove_all();
-     if (dhcpv6relay_sock_ll >= 0) {
-@@ -262,7 +262,7 @@ void dhcpv6relay_route_timeout(void* _r)
- }
- 
- static
--void dhcpv6relay_release_route(const struct in6_addr* addr, uint8_t prefixlen, uint32_t /* lifetime */)
-+void dhcpv6relay_release_route(const struct in6_addr* addr, uint8_t prefixlen, __attribute__((unused)) uint32_t lifetime)
- {
-     char in6addr[INET6_ADDRSTRLEN];
- 
-@@ -341,7 +341,7 @@ void dhcpv6relay_process_ia_pd(const unsigned char *bfr, uint16_t len, dhcpv6rel
- 	    routefunc((const struct in6_addr*)(bfr + 9), bfr[8], ntohl(*(const uint32_t*)(bfr+4)));
- 	    break;
- 	default:
--	    /* nothing */
-+	    break;
- 	}
- 
- 	bfr += optlen;
-@@ -378,7 +378,7 @@ void dhcpv6relay_process_ia_na(const unsigned char *bfr, uint16_t len, dhcpv6rel
- 	    routefunc((const struct in6_addr*)bfr, 128, ntohl(*(const uint32_t*)(bfr+20)));
- 	    break;
- 	default:
--	    /* nothing */
-+	    break;
- 	}
- 
- 	bfr += optlen;
-@@ -392,6 +392,7 @@ void dhcpv6relay_process_packet_for_routes(const unsigned char *bfr, uint16_t le
-     if (len < 1)
- 	return;
-     uint8_t pkttype = *bfr;
-+    dhcpv6relay_route_func func;
- 
-     switch (pkttype) {
-     case DHCPv6_MSGTYPE_RELAY_FORW:
-@@ -419,7 +420,6 @@ void dhcpv6relay_process_packet_for_routes(const unsigned char *bfr, uint16_t le
- 	break;
-     case DHCPv6_MSGTYPE_REPLY:
-     case DHCPv6_MSGTYPE_RELEASE:
--	dhcpv6relay_route_func func;
- 	if (pkttype == DHCPv6_MSGTYPE_RELEASE)
- 	    func = dhcpv6relay_release_route;
- 	else
-@@ -447,6 +447,7 @@ void dhcpv6relay_process_packet_for_routes(const unsigned char *bfr, uint16_t le
- 		dhcpv6relay_process_ia_na(bfr, optlen, func);
- 		break;
- 	    default:
-+		break;
- 	    }
- 	    bfr += optlen;
- 
-@@ -460,7 +461,7 @@ void dhcpv6relay_process_packet_for_routes(const unsigned char *bfr, uint16_t le
- }
- 
- static
--void dhcpv6relay_server_event(int fd, void*)
-+void dhcpv6relay_server_event(int fd, __attribute__((unused)) void* unused)
- {
-     unsigned char buffer[1024];
-     unsigned char *options = buffer + 34; /* skip fixed header */
-@@ -558,6 +559,7 @@ void dhcpv6relay_server_event(int fd, void*)
- 	default:
- 	    /* notice("DHCPv6 relay: Skipping processing of option %u of length %u.",
- 		    type, len); */
-+	    break;
- 	}
- 	options += len;
- 	r -= len;
-@@ -616,7 +618,7 @@ int dhcpv6relay_init_upstream()
- }
- 
- static
--void dhcpv6relay_client_event(int fd, void*)
-+void dhcpv6relay_client_event(int fd, __attribute__((unused)) void* unused)
- {
-     unsigned char buffer[1024];
-     unsigned char fwd_head[256];
-@@ -792,14 +794,14 @@ void dhcpv6relay_send_router_advertisement(const struct sockaddr* da)
- }
- 
- static
--void dhcpv6relay_send_router_advertisement_timed(void*)
-+void dhcpv6relay_send_router_advertisement_timed(__attribute__((unused)) void* unused)
- {
-     dhcpv6relay_send_router_advertisement(NULL);
-     ppp_timeout(dhcpv6relay_send_router_advertisement_timed, NULL, dhcpv6relay_ra_interval, 0);
- }
- 
- static
--void dhcpv6relay_router_solicitation(int fd, void*)
-+void dhcpv6relay_router_solicitation(int fd, __attribute__((unused)) void* unused)
- {
-     unsigned char bfr[1]; /* kernel will truncate packets in case of overflow,
- 			     and we don't care about the content.  Will
-@@ -852,7 +854,7 @@ int dhcpv6relay_populate_ll(struct sockaddr_in6* res)
- }
- 
- static
--void dhcpv6relay_up(void*, int)
-+void dhcpv6relay_up(__attribute__((unused)) void* unused, __attribute__((unused)) int unusedint)
- {
-     struct sockaddr_in6 sa;
-     struct ipv6_mreq mreq;
--- 
-2.47.3
-
package/pppd/pppd.hash +1 -1
index a79f73fe93..7ec081fe20 100644
@@ -1,4 +1,4 @@
 # Locally calculated
-sha256  ddda28dec8aca99a403ab6070d94ffd2b17d63e9a4c5509158e99e148f572d4f  ppp-2.5.3.tar.gz
+sha256  0ebbcfef906d16cfbb9cbdd19c0d92aa3df2fd8fdd29731f614c58d16a279aa5  ppp-2.5.5.tar.gz
 sha256  5d588eb3b157d52112afea935c88a7ff9efddc1e2d95a42c25d3b96ad9055008  LICENSE.BSD
 sha256  8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643  LICENSE.GPL-2
package/pppd/pppd.mk +1 -2
index f8b68f39b7..d854f6a036 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-PPPD_VERSION = 2.5.3
+PPPD_VERSION = 2.5.5
 PPPD_SITE = https://download.samba.org/pub/ppp
 PPPD_SOURCE = ppp-$(PPPD_VERSION).tar.gz
 PPPD_LICENSE = LGPL-2.0+, LGPL, BSD-4-Clause, BSD-3-Clause, GPL-2.0+
@@ -25,9 +25,13 @@ endif
 ifeq ($(BR2_PACKAGE_OPENSSL),y)
 PPPD_CONF_OPTS += \
 	--enable-eaptls \
-	--enable-openssl-engine \

package/pppd/pppd.mk endif · line 37

Quoted 10 lines
package/pppd/pppd.mk +5 -0
 	--enable-peap \
 	--with-openssl=$(STAGING_DIR)/usr
+ifeq ($(BR2_PACKAGE_LIBOPENSSL_ENGINES),y)
+PPPD_CONF_OPTS += --enable-openssl-engine
+else
+PPPD_CONF_OPTS += --disable-openssl-engine
+endif
 PPPD_DEPENDENCIES += openssl
 else
 PPPD_CONF_OPTS += \

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot