mediatek: increase size of the sdcard image to 512 MiB
[openwrt/openwrt.git] / package / network / services / ppp / patches / 200-makefile.patch
1 pppd: tune Linux config defaults for OpenWrt
2
3 This patch adjusts a number defaults to properly match the OpenWrt environment.
4 It is not intended for upstream.
5
6 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7
8 --- a/pppd/Makefile.linux
9 +++ b/pppd/Makefile.linux
10 @@ -49,7 +49,7 @@ MPPE=y
11 # Uncomment the next line to include support for PPP packet filtering.
12 # This requires that the libpcap library and headers be installed
13 # and that the kernel driver support PPP packet filtering.
14 -FILTER=y
15 +#FILTER=y
16
17 # Uncomment the next line to enable multilink PPP (enabled by default)
18 # Linux distributions: Please leave multilink ENABLED in your builds
19 @@ -59,7 +59,7 @@ HAVE_MULTILINK=y
20 # Uncomment the next line to enable the TDB database (enabled by default.)
21 # If you enable multilink, then TDB is automatically enabled also.
22 # Linux distributions: Please leave TDB ENABLED in your builds.
23 -USE_TDB=y
24 +#USE_TDB=y
25
26 # Uncomment the next line to enable Type=notify services in systemd
27 # If enabled, and the user sets the up_sdnotify option, then
28 @@ -85,13 +85,13 @@ USE_LIBUTIL=y
29 endif
30
31 # Enable EAP-TLS authentication (requires MPPE support, libssl and libcrypto)
32 -USE_EAPTLS=y
33 +#USE_EAPTLS=y
34
35 MAXOCTETS=y
36
37 INCLUDE_DIRS= -I../include
38
39 -COMPILE_FLAGS= -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -pipe
40 +COMPILE_FLAGS= -DHAVE_PATHS_H -DHAVE_MMAP -pipe
41
42 CFLAGS= $(COPTS) $(COMPILE_FLAGS) $(INCLUDE_DIRS) '-DDESTDIR="@DESTDIR@"'
43
44 @@ -143,10 +143,10 @@ CFLAGS += -DHAS_SHADOW
45 #LIBS += -lshadow $(LIBS)
46 endif
47
48 -ifeq ($(shell echo '\#include <crypt.h>' | $(CC) -E - >/dev/null 2>&1 && echo yes),yes)
49 +#ifeq ($(shell echo '\#include <crypt.h>' | $(CC) -E - >/dev/null 2>&1 && echo yes),yes)
50 CFLAGS += -DHAVE_CRYPT_H=1
51 LIBS += -lcrypt
52 -endif
53 +#endif
54
55 ifdef USE_LIBUTIL
56 CFLAGS += -DHAVE_LOGWTMP=1