X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=pppd%2FMakefile.linux;h=64218a49f32af15c72161946870677de5ecfd306;hb=d05576dd19391b5f606538f8bf8b4e98370fcd8f;hp=a7ff34f7349544af56de3bf09dcba168a1c3c816;hpb=c65dfbde7e6096272ffacd1c69f444b36a4b707a;p=ppp.git diff --git a/pppd/Makefile.linux b/pppd/Makefile.linux index a7ff34f..64218a4 100644 --- a/pppd/Makefile.linux +++ b/pppd/Makefile.linux @@ -1,6 +1,6 @@ # # pppd makefile for Linux -# $Id: Makefile.linux,v 1.39 2000/08/01 01:38:29 paulus Exp $ +# $Id: Makefile.linux,v 1.42 2001/05/23 03:39:50 paulus Exp $ # # Default installation locations @@ -20,7 +20,7 @@ PPPDOBJS = main.o magic.o fsm.o lcp.o ipcp.o upap.o chap.o md5.o ccp.o \ all: pppd # -# include dependancies if present and backup if as a header file +# include dependencies if present ifeq (.depend,$(wildcard .depend)) include .depend endif @@ -43,8 +43,10 @@ HAVE_CRYPT_H=y endif # Uncomment the next line to include support for PPP packet filtering. -# This requires that the libpcap library and headers be installed. -FILTER=y +# This requires that the libpcap library and headers be installed +# and that the kernel driver support PPP packet filtering, which it +# doesn't yet. +#FILTER=y HAS_SHADOW=y #USE_PAM=y @@ -114,9 +116,9 @@ INSTALL= install -o root install: pppd mkdir -p $(BINDIR) $(MANDIR) - $(INSTALL) -s -c -m 4550 pppd $(BINDIR)/pppd - if ! chgrp pppusers $(BINDIR)/pppd 2>/dev/null; then \ - chmod o+rx $(BINDIR)/pppd; fi + $(INSTALL) -s -c -m 555 pppd $(BINDIR)/pppd + if chgrp pppusers $(BINDIR)/pppd 2>/dev/null; then \ + chmod o-rx,u+s $(BINDIR)/pppd; fi $(INSTALL) -c -m 444 pppd.8 $(MANDIR)/man8 pppd: $(PPPDOBJS)