From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Sat, 11 Nov 2023 07:09:57 +0100 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1r1hBt-006wvD-0u for lore@lore.pengutronix.de; Sat, 11 Nov 2023 07:09:57 +0100 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1r1hBt-0003cx-KH; Sat, 11 Nov 2023 07:09:57 +0100 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1r1hBW-0003co-Km; Sat, 11 Nov 2023 07:09:34 +0100 Received: from [2a0a:edc0:0:1101:1d::54] (helo=dude05.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1r1hBW-008CGh-8O; Sat, 11 Nov 2023 07:09:34 +0100 Received: from mol by dude05.red.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1r1hBW-00BvJD-0f; Sat, 11 Nov 2023 07:09:34 +0100 Date: Sat, 11 Nov 2023 07:09:34 +0100 From: Michael Olbrich To: Lars Pedersen Message-ID: Mail-Followup-To: Lars Pedersen , ptxdist@pengutronix.de References: <20231107140210.2780010-1-lapeddk@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231107140210.2780010-1-lapeddk@gmail.com> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-IRC: #ptxdist @freenode X-Accept-Language: de,en X-Accept-Content-Type: text/plain Subject: Re: [ptxdist] [PATCH 1/2] ppp: patch: Makefile add chap_ms.h into headers X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: ptxdist@pengutronix.de Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false On Tue, Nov 07, 2023 at 03:02:09PM +0100, Lars Pedersen wrote: > Patch to fix compile error in NetworkManager pppd part: > > nm-pppd-compat.c:50:10: fatal error: pppd/chap_ms.h: No such file or > directory No. This file is installed with PTXCONF_PPP_MS_CHAP=y. NetworkManager needs to select that. Michael > Signed-off-by: Lars Pedersen > --- > ...02-makefile-add-chap_ms-into-headers.patch | 25 +++++++++++++++++++ > patches/ppp-2.4.9/series | 1 + > 2 files changed, 26 insertions(+) > create mode 100644 patches/ppp-2.4.9/0202-makefile-add-chap_ms-into-headers.patch > > diff --git a/patches/ppp-2.4.9/0202-makefile-add-chap_ms-into-headers.patch b/patches/ppp-2.4.9/0202-makefile-add-chap_ms-into-headers.patch > new file mode 100644 > index 000000000..bd05aafff > --- /dev/null > +++ b/patches/ppp-2.4.9/0202-makefile-add-chap_ms-into-headers.patch > @@ -0,0 +1,25 @@ > +From 2ea8d8a07be3af9693eed1f1bf867f499c61a762 Mon Sep 17 00:00:00 2001 > +From: Lars Pedersen > +Date: Sat, 4 Nov 2023 13:49:08 +0000 > +Subject: [PATCH 1/1] Add chap_ms.h header > + > +--- > + pppd/Makefile.linux | 2 +- > + 1 file changed, 1 insertion(+), 1 deletion(-) > + > +diff --git a/pppd/Makefile.linux b/pppd/Makefile.linux > +index 9b0119463c1f..ae2a1d80192d 100644 > +--- a/pppd/Makefile.linux > ++++ b/pppd/Makefile.linux > +@@ -21,7 +21,7 @@ PPPDSRCS = main.c magic.c fsm.c lcp.c ipcp.c upap.c chap-new.c ccp.c \ > + > + HEADERS = ccp.h session.h chap-new.h ecp.h fsm.h ipcp.h \ > + ipxcp.h lcp.h magic.h patchlevel.h pathnames.h pppd.h \ > +- upap.h eap.h > ++ upap.h eap.h chap_ms.h > + > + MANPAGES = pppd.8 > + PPPDOBJS = main.o magic.o fsm.o lcp.o ipcp.o upap.o chap-new.o ccp.o \ > +-- > +2.41.0 > + > diff --git a/patches/ppp-2.4.9/series b/patches/ppp-2.4.9/series > index 4028f0892..7655fc9f7 100644 > --- a/patches/ppp-2.4.9/series > +++ b/patches/ppp-2.4.9/series > @@ -14,4 +14,5 @@ > #tag:ptx --start-number 200 > 0200-pppd-make-makefile-sysroot-aware.patch > 0201-pppd-make-the-self-made-configure-cross-aware.patch > +0202-makefile-add-chap_ms-into-headers.patch > # 9c9016a8956cf8c0dc84ee8dbe803cf3 - git-ptx-patches magic > -- > 2.41.0 > > > -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |