From: openKylin Developers <packaging@lists.openkylin.top>
Date: Thu, 4 Jun 2026 14:00:30 +0800
Subject: zzz_config

Debian-specific changes.
---
 pppd/Makefile.am    | 2 +-
 pppd/pathnames.h    | 2 +-
 pppd/pppd-private.h | 1 +
 3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/pppd/Makefile.am b/pppd/Makefile.am
index 93dbeed..ac2b6ee 100644
--- a/pppd/Makefile.am
+++ b/pppd/Makefile.am
@@ -30,7 +30,7 @@ if WITH_SRP
 sbin_PROGRAMS += srp-entry
 endif
 
-pkgconfigdir   = $(libdir)/pkgconfig
+pkgconfigdir   = $(datarootdir)/pkgconfig
 pkgconfig_DATA = pppd.pc
 
 pppd_includedir = $(includedir)/pppd
diff --git a/pppd/pathnames.h b/pppd/pathnames.h
index ddc5e76..17f2f8b 100644
--- a/pppd/pathnames.h
+++ b/pppd/pathnames.h
@@ -107,7 +107,7 @@
 #define PPP_PATH_NET_PREUP	PPP_PATH_CONFDIR "/net-pre-up"
 #define PPP_PATH_NET_DOWN	PPP_PATH_CONFDIR "/net-down"
 
-#define PPP_PATH_CONNERRS       PPP_PATH_VARLOG  "/connect-errors"
+#define PPP_PATH_CONNERRS       PPP_PATH_VARLOG  "/ppp-connect-errors"
 
 #define PPP_PATH_USEROPT        ".ppprc"
 #define PPP_PATH_PSEUDONYM	    ".ppp_pseudonym"
diff --git a/pppd/pppd-private.h b/pppd/pppd-private.h
index 0ebe4fb..ef70012 100644
--- a/pppd/pppd-private.h
+++ b/pppd/pppd-private.h
@@ -554,6 +554,7 @@ int parse_dotted_ip(char *, u_int32_t *);
 #define DEBUGCHAP	1
 #endif
 
+#define LOG_PPP LOG_LOCAL2
 #ifndef LOG_PPP			/* we use LOG_LOCAL2 for syslog by default */
 #if defined(DEBUGMAIN) || defined(DEBUGFSM) || defined(DEBUGSYS) \
   || defined(DEBUGLCP) || defined(DEBUGIPCP) || defined(DEBUGUPAP) \
