update ppp to v2.4.4 (#5102)
[openwrt/staging/wigyori.git] / package / ppp / patches / 200-makefile.patch
1 diff -Naur ppp-2.4.4.orig/pppd/Makefile.linux ppp-2.4.4/pppd/Makefile.linux
2 --- ppp-2.4.4.orig/pppd/Makefile.linux 2009-05-08 23:17:17.000000000 -0400
3 +++ ppp-2.4.4/pppd/Makefile.linux 2009-05-08 23:18:37.000000000 -0400
4 @@ -48,21 +48,21 @@
5 # Uncomment the next line to include support for PPP packet filtering.
6 # This requires that the libpcap library and headers be installed
7 # and that the kernel driver support PPP packet filtering.
8 -FILTER=y
9 +#FILTER=y
10
11 # Uncomment the next line to enable multilink PPP (enabled by default)
12 # Linux distributions: Please leave multilink ENABLED in your builds
13 # of pppd!
14 -HAVE_MULTILINK=y
15 +#HAVE_MULTILINK=y
16
17 # Uncomment the next line to enable the TDB database (enabled by default.)
18 # If you enable multilink, then TDB is automatically enabled also.
19 # Linux distributions: Please leave TDB ENABLED in your builds.
20 -USE_TDB=y
21 +#USE_TDB=y
22
23 -HAS_SHADOW=y
24 +#HAS_SHADOW=y
25 #USE_PAM=y
26 -#HAVE_INET6=y
27 +HAVE_INET6=y
28
29 # Enable plugins
30 PLUGIN=y
31 @@ -77,7 +77,7 @@
32
33 INCLUDE_DIRS= -I../include
34
35 -COMPILE_FLAGS= -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP
36 +COMPILE_FLAGS= -DHAVE_PATHS_H -DHAVE_MMAP
37
38 CFLAGS= $(COPTS) $(COMPILE_FLAGS) $(INCLUDE_DIRS) '-DDESTDIR="@DESTDIR@"'
39
40 @@ -117,10 +117,10 @@
41 #LIBS += -lshadow $(LIBS)
42 endif
43
44 -ifneq ($(wildcard /usr/include/crypt.h),)
45 +#ifneq ($(wildcard /usr/include/crypt.h),)
46 CFLAGS += -DHAVE_CRYPT_H=1
47 LIBS += -lcrypt
48 -endif
49 +#endif
50
51 ifdef NEEDDES
52 ifndef USE_CRYPT