1 diff -urN ppp-2.4.2-20020809.org/chat/Makefile.linux ppp-2.4.2-20020809/chat/Makefile.linux
2 --- ppp-2.4.2-20020809.org/chat/Makefile.linux Fri Aug 9 22:14:40 2002
3 +++ ppp-2.4.2-20020809/chat/Makefile.linux Sat Aug 10 00:31:18 2002
5 CDEF4= -DFNDELAY=O_NDELAY # Old name value
6 CDEFS= $(CDEF1) $(CDEF2) $(CDEF3) $(CDEF4)
8 -CFLAGS= -O2 -g -pipe $(CDEFS)
9 +CFLAGS= $(OPT_FLAGS) -pipe $(CDEFS)
13 diff -urN ppp-2.4.2-20020809.org/linux/Makefile.top ppp-2.4.2-20020809/linux/Makefile.top
14 --- ppp-2.4.2-20020809.org/linux/Makefile.top Fri Aug 9 22:14:40 2002
15 +++ ppp-2.4.2-20020809/linux/Makefile.top Sat Aug 10 00:31:18 2002
18 BINDIR = $(DESTDIR)/usr/sbin
19 INCDIR = $(DESTDIR)/usr/include
20 -MANDIR = $(DESTDIR)/usr/man
21 +MANDIR = $(DESTDIR)/usr/share/man
22 ETCDIR = $(DESTDIR)/etc/ppp
25 diff -urN ppp-2.4.2-20020809.org/pppd/Makefile.linux ppp-2.4.2-20020809/pppd/Makefile.linux
26 --- ppp-2.4.2-20020809.org/pppd/Makefile.linux Fri Aug 9 22:14:40 2002
27 +++ ppp-2.4.2-20020809/pppd/Makefile.linux Sat Aug 10 00:34:02 2002
32 -COPTS = -O2 -pipe -Wall -g
33 +COPTS = $(OPT_FLAGS) -pipe -Wall -g
36 # Uncomment the next 2 lines to include support for Microsoft's
47 # Enable Microsoft proprietary Callback Control Protocol
51 # Enable EAP SRP-SHA1 authentication (requires libsrp)
57 -INSTALL= install -o root
63 mkdir -p $(BINDIR) $(MANDIR)
65 - $(INSTALL) -s -c -m 555 pppd $(BINDIR)/pppd
66 - if chgrp pppusers $(BINDIR)/pppd 2>/dev/null; then \
67 - chmod o-rx,u+s $(BINDIR)/pppd; fi
69 + $(INSTALL) -c -m 555 pppd $(BINDIR)/pppd
70 $(INSTALL) -c -m 444 pppd.8 $(MANDIR)/man8
73 diff -urN ppp-2.4.2-20020809.org/pppd/plugins/Makefile.linux ppp-2.4.2-20020809/pppd/plugins/Makefile.linux
74 --- ppp-2.4.2-20020809.org/pppd/plugins/Makefile.linux Fri Aug 9 22:14:40 2002
75 +++ ppp-2.4.2-20020809/pppd/plugins/Makefile.linux Sat Aug 10 00:31:52 2002
78 -CFLAGS = -g -O2 -I.. -I../../include -fPIC
79 +CFLAGS = -g $(OPT_FLAGS) -I.. -I../../include -D_linux_=1 -fPIC
81 -INSTALL = install -o root
85 # Uncomment the next line to include the radius authentication plugin
88 PLUGINS := minconn.so passprompt.so passwordfd.so
90 # include dependencies if present
91 diff -urN ppp-2.4.2-20020809.org/pppdump/Makefile.linux ppp-2.4.2-20020809/pppdump/Makefile.linux
92 --- ppp-2.4.2-20020809.org/pppdump/Makefile.linux Fri Aug 9 22:14:40 2002
93 +++ ppp-2.4.2-20020809/pppdump/Makefile.linux Sat Aug 10 00:31:18 2002
97 mkdir -p $(BINDIR) $(MANDIR)/man8
98 - $(INSTALL) -s -c pppdump $(BINDIR)
99 + $(INSTALL) -c pppdump $(BINDIR)
100 $(INSTALL) -c -m 444 pppdump.8 $(MANDIR)/man8
101 diff -urN ppp-2.4.2-20020809.org/pppstats/Makefile.linux ppp-2.4.2-20020809/pppstats/Makefile.linux
102 --- ppp-2.4.2-20020809.org/pppstats/Makefile.linux Fri Aug 9 22:14:40 2002
103 +++ ppp-2.4.2-20020809/pppstats/Makefile.linux Sat Aug 10 00:31:18 2002
105 PPPSTATOBJS = pppstats.o
109 +COPTS = $(OPT_FLAGS)
110 COMPILE_FLAGS = -I../include
113 -INSTALL= install -o root -g daemon
116 CFLAGS = $(COPTS) $(COMPILE_FLAGS)
121 -mkdir -p $(MANDIR)/man8
122 - $(INSTALL) -s -c pppstats $(BINDIR)/pppstats
123 + $(INSTALL) -c pppstats $(BINDIR)/pppstats
124 $(INSTALL) -c -m 444 pppstats.8 $(MANDIR)/man8/pppstats.8
126 pppstats: $(PPPSTATSRCS)
127 --- ppp-2.4.2-20030613/pppd/plugins/rp-pppoe/Makefile.linux.orig 2003-06-17 00:58:36.000000000 +0200
128 +++ ppp-2.4.2-20030613/pppd/plugins/rp-pppoe/Makefile.linux 2003-06-17 08:04:52.000000000 +0200
130 # Version is set ONLY IN THE MAKEFILE! Don't delete this!
133 -CFLAGS+=-I../../../include/linux
134 +CFLAGS+=-I../../../include/linux $(OPT_FLAGS)
137 rp-pppoe.so: libplugin.a plugin.o
138 --- ppp-2.4.2-20030613/pppd/plugins/radius/Makefile.linux.orig 2002-10-05 06:35:24.000000000 +0200
139 +++ ppp-2.4.2-20030613/pppd/plugins/radius/Makefile.linux 2003-06-17 08:02:16.000000000 +0200
143 PLUGIN=radius.so radattr.so radrealms.so
144 -CFLAGS=-I../.. -I../../../include -Iradiusclient/include -O2
145 +CFLAGS=-I../.. -I../../../include -Iradiusclient/include $(OPT_FLAGS)
147 # Uncomment the next line to include support for Microsoft's
148 # MS-CHAP authentication protocol.