|
@@ -4,7 +4,7 @@
|
|
#
|
|
#
|
|
################################################################################
|
|
################################################################################
|
|
|
|
|
|
-PPPD_VERSION = 2.4.8
|
|
|
|
|
|
+PPPD_VERSION = 2.4.9
|
|
PPPD_SITE = $(call github,paulusmack,ppp,ppp-$(PPPD_VERSION))
|
|
PPPD_SITE = $(call github,paulusmack,ppp,ppp-$(PPPD_VERSION))
|
|
PPPD_LICENSE = LGPL-2.0+, LGPL, BSD-4-Clause, BSD-3-Clause, GPL-2.0+
|
|
PPPD_LICENSE = LGPL-2.0+, LGPL, BSD-4-Clause, BSD-3-Clause, GPL-2.0+
|
|
PPPD_LICENSE_FILES = \
|
|
PPPD_LICENSE_FILES = \
|
|
@@ -14,14 +14,15 @@ PPPD_CPE_ID_VENDOR = samba
|
|
PPPD_CPE_ID_PRODUCT = ppp
|
|
PPPD_CPE_ID_PRODUCT = ppp
|
|
PPPD_SELINUX_MODULES = ppp
|
|
PPPD_SELINUX_MODULES = ppp
|
|
|
|
|
|
-# 0001-pppd-Fix-bounds-check.patch
|
|
|
|
-PPPD_IGNORE_CVES += CVE-2020-8597
|
|
|
|
-
|
|
|
|
PPPD_MAKE_OPTS = HAVE_INET6=y
|
|
PPPD_MAKE_OPTS = HAVE_INET6=y
|
|
-ifeq ($(BR2_TOOLCHAIN_USES_GLIBC),y)
|
|
|
|
|
|
+
|
|
|
|
+ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
|
PPPD_DEPENDENCIES += openssl
|
|
PPPD_DEPENDENCIES += openssl
|
|
|
|
+PPPD_MAKE_OPTS += USE_EAPTLS=y
|
|
else
|
|
else
|
|
-PPPD_MAKE_OPTS += USE_CRYPT=y
|
|
|
|
|
|
+PPPD_MAKE_OPTS += \
|
|
|
|
+ USE_CRYPT=y \
|
|
|
|
+ USE_EAPTLS=
|
|
endif
|
|
endif
|
|
|
|
|
|
PPPD_INSTALL_STAGING = YES
|
|
PPPD_INSTALL_STAGING = YES
|
|
@@ -101,9 +102,9 @@ define PPPD_INSTALL_TARGET_CMDS
|
|
$(TARGET_DIR)/usr/lib/pppd/$(PPPD_VERSION)/passwordfd.so
|
|
$(TARGET_DIR)/usr/lib/pppd/$(PPPD_VERSION)/passwordfd.so
|
|
$(INSTALL) -D $(PPPD_DIR)/pppd/plugins/pppoatm/pppoatm.so \
|
|
$(INSTALL) -D $(PPPD_DIR)/pppd/plugins/pppoatm/pppoatm.so \
|
|
$(TARGET_DIR)/usr/lib/pppd/$(PPPD_VERSION)/pppoatm.so
|
|
$(TARGET_DIR)/usr/lib/pppd/$(PPPD_VERSION)/pppoatm.so
|
|
- $(INSTALL) -D $(PPPD_DIR)/pppd/plugins/rp-pppoe/rp-pppoe.so \
|
|
|
|
- $(TARGET_DIR)/usr/lib/pppd/$(PPPD_VERSION)/rp-pppoe.so
|
|
|
|
- $(INSTALL) -D $(PPPD_DIR)/pppd/plugins/rp-pppoe/pppoe-discovery \
|
|
|
|
|
|
+ $(INSTALL) -D $(PPPD_DIR)/pppd/plugins/pppoe/pppoe.so \
|
|
|
|
+ $(TARGET_DIR)/usr/lib/pppd/$(PPPD_VERSION)/pppoe.so
|
|
|
|
+ $(INSTALL) -D $(PPPD_DIR)/pppd/plugins/pppoe/pppoe-discovery \
|
|
$(TARGET_DIR)/usr/sbin/pppoe-discovery
|
|
$(TARGET_DIR)/usr/sbin/pppoe-discovery
|
|
$(INSTALL) -D $(PPPD_DIR)/pppd/plugins/winbind.so \
|
|
$(INSTALL) -D $(PPPD_DIR)/pppd/plugins/winbind.so \
|
|
$(TARGET_DIR)/usr/lib/pppd/$(PPPD_VERSION)/winbind.so
|
|
$(TARGET_DIR)/usr/lib/pppd/$(PPPD_VERSION)/winbind.so
|