OpenWrt – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 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 | @@ -48,7 +48,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 | @@ -58,7 +58,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,7 +85,7 @@ MAXOCTETS=y |
||
29 | |||
30 | INCLUDE_DIRS= -I../include |
||
31 | |||
32 | -COMPILE_FLAGS= -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP |
||
33 | +COMPILE_FLAGS= -DHAVE_PATHS_H -DHAVE_MMAP |
||
34 | |||
35 | CFLAGS= $(COPTS) $(COMPILE_FLAGS) $(INCLUDE_DIRS) '-DDESTDIR="@DESTDIR@"' |
||
36 | |||
37 | @@ -125,10 +125,10 @@ CFLAGS += -DHAS_SHADOW |
||
38 | #LIBS += -lshadow $(LIBS) |
||
39 | endif |
||
40 | |||
41 | -ifneq ($(wildcard /usr/include/crypt.h),) |
||
42 | +#ifneq ($(wildcard /usr/include/crypt.h),) |
||
43 | CFLAGS += -DHAVE_CRYPT_H=1 |
||
44 | LIBS += -lcrypt |
||
45 | -endif |
||
46 | +#endif |
||
47 | |||
48 | ifdef USE_LIBUTIL |
||
49 | CFLAGS += -DHAVE_LOGWTMP=1 |