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.
39 lines
931 B
Makefile
39 lines
931 B
Makefile
#
|
|
# pppd makefile for Ultrix
|
|
# $Id: Makefile.ultrix,v 1.12 2002/05/21 17:26:49 dfs Exp $
|
|
#
|
|
|
|
BINDIR = /usr/local/etc
|
|
MANDIR = /usr/local/man
|
|
|
|
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-ultrix.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-ultrix.o
|
|
|
|
# CC = gcc
|
|
DEBUG_FLAGS =
|
|
COMPILE_FLAGS = -DNO_DRAND48 -DGIDSET_TYPE=int -DULTRIX \
|
|
-DLOCK_BINARY -DLOCK_DIR=\"/usr/spool/uucp\"
|
|
COPTS = -O
|
|
LIBS =
|
|
|
|
CFLAGS = -I../include $(COPTS) $(DEBUG_FLAGS) $(COMPILE_FLAGS)
|
|
|
|
all: pppd
|
|
|
|
install: pppd
|
|
install -c -m 4555 -o root -g daemon pppd $(BINDIR)/pppd
|
|
install -c -m 555 -o root pppd.8 $(MANDIR)/man8
|
|
|
|
pppd: $(PPPDOBJS)
|
|
$(CC) $(CFLAGS) -o pppd $(PPPDOBJS) $(LIBS)
|
|
|
|
clean:
|
|
rm -f $(PPPDOBJS) pppd *~ #* core
|
|
|
|
depend:
|
|
cpp -M $(CFLAGS) $(PPPDSRCS) >.depend
|
|
# makedepend $(CFLAGS) $(PPPDSRCS)
|