PKGNAME=ppp
PKGSEC=net
PKGDEP="libpcap linux-pam openssl systemd"
PKGDES="A daemon which implements the Point 2 Point Protocol for dial-up networking"

PKGBREAK="modemmanager<=1.6.2 netctl<=1.12 networkmanager<=1.6.2 \
          networkmanager-l2tp<=1.2.2 networkmanager-pptp<=1.2.2 \
          pptp<=1.8.0-2 rp-pppoe<=3.12 xl2tpd<=1.3.8"

# FIXME: configure: error: source directory already configured; run "make distclean" there first
ABSHADOW=0
ABTYPE=autotools
AUTOTOOLS_AFTER=(
	'--enable-systemd'
	'--enable-cbcp'
	'--enable-mslanman'
	'--enable-multilink'
)

# Needed by Afterglow, whereas FAIL_ARCH defaults to mainline-only.
FAIL_ARCH="!(mainline|retro)"
