Root/package/ppp/patches/200-makefile.patch

1--- a/pppd/Makefile.linux
2+++ b/pppd/Makefile.linux
3@@ -48,7 +48,7 @@ MPPE=y
4 # Uncomment the next line to include support for PPP packet filtering.
5 # This requires that the libpcap library and headers be installed
6 # and that the kernel driver support PPP packet filtering.
7-FILTER=y
8+#FILTER=y
9 
10 # Uncomment the next line to enable multilink PPP (enabled by default)
11 # Linux distributions: Please leave multilink ENABLED in your builds
12@@ -58,11 +58,11 @@ HAVE_MULTILINK=y
13 # Uncomment the next line to enable the TDB database (enabled by default.)
14 # If you enable multilink, then TDB is automatically enabled also.
15 # Linux distributions: Please leave TDB ENABLED in your builds.
16-USE_TDB=y
17+#USE_TDB=y
18 
19-HAS_SHADOW=y
20+#HAS_SHADOW=y
21 #USE_PAM=y
22-#HAVE_INET6=y
23+HAVE_INET6=y
24 
25 # Enable plugins
26 PLUGIN=y
27@@ -77,7 +77,7 @@ MAXOCTETS=y
28 
29 INCLUDE_DIRS= -I../include
30 
31-COMPILE_FLAGS= -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP
32+COMPILE_FLAGS= -DHAVE_PATHS_H -DHAVE_MMAP
33 
34 CFLAGS= $(COPTS) $(COMPILE_FLAGS) $(INCLUDE_DIRS) '-DDESTDIR="@DESTDIR@"'
35 
36@@ -117,10 +117,10 @@ CFLAGS += -DHAS_SHADOW
37 #LIBS += -lshadow $(LIBS)
38 endif
39 
40-ifneq ($(wildcard /usr/include/crypt.h),)
41+#ifneq ($(wildcard /usr/include/crypt.h),)
42 CFLAGS += -DHAVE_CRYPT_H=1
43 LIBS += -lcrypt
44-endif
45+#endif
46 
47 ifdef NEEDDES
48 ifndef USE_CRYPT
49

Archive Download this file



interactive