diff mbox series

ppp: Build without OpenSSL by default

Message ID 20261206122351.491519-1-eli.gavril@gmail.com
State New
Headers show
Series ppp: Build without OpenSSL by default | expand

Commit Message

Eli Gavril Dec. 6, 2026, 12:23 p.m. UTC
Since openssl stopped building its legacy provider by default, pppd
built with OpenSSL exits at startup because it cannot load the provider.

Build ppp without OpenSSL by default. This disables only EAP-TLS and
PEAP; to keep them, enable ppp's openssl PACKAGECONFIG and openssl's
legacy PACKAGECONFIG.

[YOCTO #16538]

AI-Generated: Uses Claude Code (Claude Opus 5.5)
Signed-off-by: Eli Gavril <eli.gavril@gmail.com>
---
 meta/recipes-connectivity/ppp/ppp_2.5.5.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/meta/recipes-connectivity/ppp/ppp_2.5.5.bb b/meta/recipes-connectivity/ppp/ppp_2.5.5.bb
index 4a21b94907..2e42dd742b 100644
--- a/meta/recipes-connectivity/ppp/ppp_2.5.5.bb
+++ b/meta/recipes-connectivity/ppp/ppp_2.5.5.bb
@@ -29,9 +29,9 @@  SRC_URI[sha256sum] = "0ebbcfef906d16cfbb9cbdd19c0d92aa3df2fd8fdd29731f614c58d16a
 
 inherit autotools pkgconfig systemd
 
-PACKAGECONFIG = "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)} openssl"
+PACKAGECONFIG = "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)}"
 PACKAGECONFIG[pam] = "--with-pam=yes,--with-pam=no,libpam"
-PACKAGECONFIG[openssl] = "--with-openssl=yes,--with-openssl=no,openssl"
+PACKAGECONFIG[openssl] = "--with-openssl=yes,--with-openssl=no --disable-eaptls --disable-peap,openssl"
 PACKAGECONFIG[multilink] = "--enable-multilink,--disable-multilink"
 
 do_install:append () {