mirror of
https://github.com/paulusmack/ppp.git
synced 2024-11-27 05:23:38 +08:00
7bb8beb860
- If encryption is required, don't bring up IP/IPv6/IPX until the encryption negotiation has completed. - Shut down LCP if the peer sends an LCP ConfRej instead of CCP ConfRej to our MPPE offer. This fixes a bug where the server could not enforce use of encryption in some cases. - Don't send the M=<message> part of an MS-CHAPv2 success packet to peers that don't know how to deal with it. This allows pre-win2k systems to authenticate. - Don't shut down lcp if MPPE was present in peer's CCP offer along with other options. This allows pre-win2k systems to do MPPE (they offer Stac LZS with MPPE). - Add the beginnings of ecp.c. - Other minor changes.
48 lines
1.1 KiB
Makefile
48 lines
1.1 KiB
Makefile
#
|
|
# pppd makefile for AIX 4.1
|
|
# $Id: Makefile.aix4,v 1.5 2002/05/21 17:26:48 dfs Exp $
|
|
#
|
|
#ifndef BINDIR
|
|
BINDIR = /usr/sbin
|
|
#endif
|
|
#ifndef MANDIR
|
|
MANDIR = /usr/man
|
|
#ENDIF
|
|
|
|
PPPDSRCS = main.c magic.c fsm.c lcp.c ipcp.c upap.c chap.c md5.c ccp.c \
|
|
ecp.c auth.c options.c demand.c utils.c sys-aix4.c \
|
|
gencode.c grammar.c scanner.c nametoaddr.c optimize.c
|
|
|
|
PPPDOBJS = main.o magic.o fsm.o lcp.o ipcp.o upap.o chap.o md5.o ccp.o \
|
|
ecp.o auth.o options.o demand.o utils.o sys-aix4.o \
|
|
gencode.o grammar.o scanner.o nametoaddr.o optimize.o
|
|
|
|
CC = xlc
|
|
DEBUG_FLAGS = -DDEBUGALL
|
|
# SECURE_FLAGS = -DREQ_SYSOPTIONS=1
|
|
COMPILE_FLAGS = -DSTREAMS
|
|
COPTS = -O
|
|
LIBS= -bI:/lib/pse.exp
|
|
LOCK_PREFIX=\"/var/locks/LCK..\"
|
|
|
|
CFLAGS = -I ../include $(COPTS) $(DEBUG_FLAGS) $(COMPILE_FLAGS) $(SECURE_FLAGS)
|
|
|
|
all: pppd
|
|
|
|
pppd: $(PPPDOBJS)
|
|
$(CC) $(CFLAGS) -o pppd $(PPPDOBJS) $(LIBS)
|
|
|
|
install: all
|
|
install -M 4555 -O root -G system -f $(BINDIR) pppd
|
|
install -M 555 -O root -f $(MANDIR)/man8 pppd.8
|
|
|
|
pppd: $(PPPDOBJS)
|
|
$(CC) $(CFLAGS) -o pppd $(PPPDOBJS) $(LIBS)
|
|
|
|
clean:
|
|
rm -f $(PPPDOBJS) pppd *~ #* core
|
|
|
|
depend:
|
|
cpp -M $(CFLAGS) $(PPPDSRCS) >.depend
|
|
# makedepend $(CFLAGS) $(PPPDSRCS)
|