2004-10-09 08:13:40 +02:00
|
|
|
config BR2_PACKAGE_PPPD
|
2004-12-26 08:36:59 +01:00
|
|
|
bool "pppd"
|
2014-12-03 22:41:29 +01:00
|
|
|
depends on !BR2_STATIC_LIBS
|
2016-07-16 18:08:18 +02:00
|
|
|
depends on !BR2_TOOLCHAIN_USES_MUSL # Use __P() macro all over the tree
|
2013-09-30 11:18:47 +02:00
|
|
|
depends on BR2_USE_MMU
|
pppd: fix build with glibc 2.28
Since glibc 2.28
(https://savannah.gnu.org/forum/forum.php?forum_id=9205), the obsolete
functions encrypt, encrypt_r, setkey, setkey_r, cbc_crypt, ecb_crypt,
and des_setparity are no longer available to newly linked binaries, and
the headers <rpc/des_crypt.h> and <rpc/rpc_des.h> are no longer
installed. These functions encrypted and decrypted data with the DES
block cipher, which is no longer considered secure. Software that still
uses these functions should switch to a modern cryptography library,
such as libgcrypt.
So retrieve an upstream patch to use openssl instead of these functions
and a new patch to remove the unsafe header/library path
'-I/usr/include/openssl'
Fixes:
- http://autobuild.buildroot.org/results/c13ca8b8afa8de700caf8cd2fa1812b8552b3f4a
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2018-10-31 11:28:25 +01:00
|
|
|
select BR2_PACKAGE_OPENSSL
|
2004-10-09 08:13:40 +02:00
|
|
|
help
|
2004-12-26 08:36:59 +01:00
|
|
|
An implementation of the Point-to-point protocol.
|
2004-10-09 08:13:40 +02:00
|
|
|
|
2004-12-26 08:36:59 +01:00
|
|
|
http://www.samba.org/ppp/
|
2009-02-19 06:31:05 +01:00
|
|
|
|
2013-12-20 22:31:30 +01:00
|
|
|
if BR2_PACKAGE_PPPD
|
|
|
|
|
2009-02-19 06:31:05 +01:00
|
|
|
config BR2_PACKAGE_PPPD_FILTER
|
|
|
|
bool "filtering"
|
2017-04-22 19:18:02 +02:00
|
|
|
select BR2_PACKAGE_LIBPCAP
|
2009-02-19 06:31:05 +01:00
|
|
|
help
|
|
|
|
Packet filtering abilities for pppd. If enabled,
|
|
|
|
the pppd active-filter and pass-filter options
|
|
|
|
are available.
|
2010-10-06 19:34:47 +02:00
|
|
|
|
|
|
|
config BR2_PACKAGE_PPPD_RADIUS
|
|
|
|
bool "radius"
|
|
|
|
help
|
|
|
|
Install RADIUS support for pppd
|
2013-09-30 11:18:47 +02:00
|
|
|
|
2017-10-17 11:54:14 +02:00
|
|
|
config BR2_PACKAGE_PPPD_OVERWRITE_RESOLV_CONF
|
|
|
|
bool "overwrite /etc/resolv.conf"
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Overwrite /etc/resolv.conf instead of maintaining the
|
|
|
|
separate list of nameservers in /etc/ppp/resolv.conf
|
|
|
|
|
|
|
|
Note that the pppd default of writing to /etc/ppp/resolv.conf
|
|
|
|
does not work on a read-only rootfs unless you make it
|
|
|
|
writable in your rootfs customizations (e.g. by linking it to
|
|
|
|
a file in tmpfs or by mounting a writable filesystem on it).
|
|
|
|
|
2013-12-20 22:31:30 +01:00
|
|
|
endif
|
|
|
|
|
2016-07-16 18:08:18 +02:00
|
|
|
comment "pppd needs a uClibc or glibc toolchain w/ dynamic library"
|
|
|
|
depends on BR2_STATIC_LIBS || BR2_TOOLCHAIN_USES_MUSL
|
2013-09-30 11:18:47 +02:00
|
|
|
depends on BR2_USE_MMU
|