xref: /OK3568_Linux_fs/buildroot/package/pppd/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyunconfig BR2_PACKAGE_PPPD
2*4882a593Smuzhiyun	bool "pppd"
3*4882a593Smuzhiyun	depends on !BR2_STATIC_LIBS
4*4882a593Smuzhiyun	depends on !BR2_TOOLCHAIN_USES_MUSL # Use __P() macro all over the tree
5*4882a593Smuzhiyun	depends on BR2_USE_MMU
6*4882a593Smuzhiyun	select BR2_PACKAGE_OPENSSL if BR2_TOOLCHAIN_USES_GLIBC
7*4882a593Smuzhiyun	select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES if BR2_PACKAGE_LIBOPENSSL \
8*4882a593Smuzhiyun						 && BR2_TOOLCHAIN_USES_GLIBC
9*4882a593Smuzhiyun	help
10*4882a593Smuzhiyun	  An implementation of the Point-to-point protocol.
11*4882a593Smuzhiyun
12*4882a593Smuzhiyun	  http://www.samba.org/ppp/
13*4882a593Smuzhiyun
14*4882a593Smuzhiyunif BR2_PACKAGE_PPPD
15*4882a593Smuzhiyun
16*4882a593Smuzhiyunconfig BR2_PACKAGE_PPPD_FILTER
17*4882a593Smuzhiyun	bool "filtering"
18*4882a593Smuzhiyun	select BR2_PACKAGE_LIBPCAP
19*4882a593Smuzhiyun	help
20*4882a593Smuzhiyun	  Packet filtering abilities for pppd. If enabled,
21*4882a593Smuzhiyun	  the pppd active-filter and pass-filter options
22*4882a593Smuzhiyun	  are available.
23*4882a593Smuzhiyun
24*4882a593Smuzhiyunconfig BR2_PACKAGE_PPPD_RADIUS
25*4882a593Smuzhiyun	bool "radius"
26*4882a593Smuzhiyun	help
27*4882a593Smuzhiyun	  Install RADIUS support for pppd
28*4882a593Smuzhiyun
29*4882a593Smuzhiyunconfig BR2_PACKAGE_PPPD_OVERWRITE_RESOLV_CONF
30*4882a593Smuzhiyun	bool "overwrite /etc/resolv.conf"
31*4882a593Smuzhiyun	default y
32*4882a593Smuzhiyun	help
33*4882a593Smuzhiyun	  Overwrite /etc/resolv.conf instead of maintaining the
34*4882a593Smuzhiyun	  separate list of nameservers in /etc/ppp/resolv.conf
35*4882a593Smuzhiyun
36*4882a593Smuzhiyun	  Note that the pppd default of writing to /etc/ppp/resolv.conf
37*4882a593Smuzhiyun	  does not work on a read-only rootfs unless you make it
38*4882a593Smuzhiyun	  writable in your rootfs customizations (e.g. by linking it to
39*4882a593Smuzhiyun	  a file in tmpfs or by mounting a writable filesystem on it).
40*4882a593Smuzhiyun
41*4882a593Smuzhiyunendif
42*4882a593Smuzhiyun
43*4882a593Smuzhiyuncomment "pppd needs a uClibc or glibc toolchain w/ dynamic library"
44*4882a593Smuzhiyun	depends on BR2_STATIC_LIBS || BR2_TOOLCHAIN_USES_MUSL
45*4882a593Smuzhiyun	depends on BR2_USE_MMU
46