Files
buildroot/package/pppd/pppd.mk
Bernd Kuhls ac4e557628 package/pppd: bump version to 2.5.3
https://github.com/ppp-project/ppp/releases/tag/v2.5.3

Removed patch 0001 which is not needed anymore due to fixes committed to
all relevant kernel versions:
https://github.com/ppp-project/ppp/pull/504#issuecomment-2337005682

Removed patches 0002 & 0003 which are included in this release.

Added new patch to fix build errors seen with older gcc versions
detected by the Gitlab pipelines. These build errors are introduced in
the new dhcpv6relay plugin which was added to pppd 2.5.3, no backport to
buildroot LTS branches necessary.

Switched back to upstream tarball which now contains the previously
missing license files added by upstream commit
9f612dc02c
and drop autoreconf as well.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2026-07-17 19:01:45 +02:00

61 lines
1.5 KiB
Makefile

################################################################################
#
# pppd
#
################################################################################
PPPD_VERSION = 2.5.3
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+
PPPD_LICENSE_FILES = LICENSE.BSD LICENSE.GPL-2
PPPD_CPE_ID_VENDOR = point-to-point_protocol_project
PPPD_CPE_ID_PRODUCT = point-to-point_protocol
PPPD_SELINUX_MODULES = ppp
PPPD_INSTALL_STAGING = YES
PPPD_CONF_OPTS = --enable-multilink
ifeq ($(BR2_PACKAGE_LINUX_PAM),y)
PPPD_CONF_OPTS += --with-pam=$(STAGING_DIR)/usr
PPPD_DEPENDENCIES += linux-pam
else
PPPD_CONF_OPTS += --without-pam
endif
ifeq ($(BR2_PACKAGE_OPENSSL),y)
PPPD_CONF_OPTS += \
--enable-eaptls \
--enable-openssl-engine \
--enable-peap \
--with-openssl=$(STAGING_DIR)/usr
PPPD_DEPENDENCIES += openssl
else
PPPD_CONF_OPTS += \
--disable-eaptls \
--disable-openssl-engine \
--disable-peap \
--without-openssl
endif
ifeq ($(BR2_PACKAGE_PPPD_CBCP),y)
PPPD_CONF_OPTS += --enable-cbcp
else
PPPD_CONF_OPTS += --disable-cbcp
endif
ifeq ($(BR2_PACKAGE_PPPD_FILTER),y)
PPPD_CONF_OPTS += --with-pcap=$(STAGING_DIR)/usr
PPPD_DEPENDENCIES += libpcap
else
PPPD_CONF_OPTS += --without-pcap
endif
ifeq ($(BR2_PACKAGE_SYSTEMD),y)
PPPD_CONF_OPTS += --enable-systemd
PPPD_DEPENDENCIES += systemd
else
PPPD_CONF_OPTS += --disable-systemd
endif
$(eval $(autotools-package))