1################################################################################ 2# 3# pppd 4# 5################################################################################ 6 7# The tarball provided at https://download.samba.org/pub/ppp/ does not 8# include the license files yet so we use the github tarball. 9PPPD_VERSION = e1266c76d1ad39f98f11676e34f180f78c5a510c 10PPPD_SITE = $(call github,ppp-project,ppp,$(PPPD_VERSION)) 11PPPD_LICENSE = LGPL-2.0+, LGPL, BSD-4-Clause, BSD-3-Clause, GPL-2.0+ 12PPPD_LICENSE_FILES = LICENSE.BSD LICENSE.GPL-2 13PPPD_CPE_ID_VENDOR = point-to-point_protocol_project 14PPPD_CPE_ID_PRODUCT = point-to-point_protocol 15PPPD_SELINUX_MODULES = ppp 16PPPD_AUTORECONF = YES 17PPPD_INSTALL_STAGING = YES 18PPPD_CONF_OPTS = --enable-multilink 19 20ifeq ($(BR2_PACKAGE_LINUX_PAM),y) 21PPPD_CONF_OPTS += --with-pam=$(STAGING_DIR)/usr 22PPPD_DEPENDENCIES += linux-pam 23else 24PPPD_CONF_OPTS += --without-pam 25endif 26 27ifeq ($(BR2_PACKAGE_OPENSSL),y) 28PPPD_CONF_OPTS += \ 29 --enable-eaptls \ 30 --enable-openssl-engine \ 31 --enable-peap \ 32 --with-openssl=$(STAGING_DIR)/usr 33PPPD_DEPENDENCIES += openssl 34else 35PPPD_CONF_OPTS += \ 36 --disable-eaptls \ 37 --disable-openssl-engine \ 38 --disable-peap \ 39 --without-openssl 40endif 41 42ifeq ($(BR2_PACKAGE_PPPD_FILTER),y) 43PPPD_CONF_OPTS += --with-pcap=$(STAGING_DIR)/usr 44PPPD_DEPENDENCIES += libpcap 45else 46PPPD_CONF_OPTS += --without-pcap 47endif 48 49ifeq ($(BR2_PACKAGE_SYSTEMD),y) 50PPPD_CONF_OPTS += --enable-systemd 51PPPD_DEPENDENCIES += systemd 52else 53PPPD_CONF_OPTS += --disable-systemd 54endif 55 56$(eval $(autotools-package)) 57