]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/Makefile.linux
Switch to using RoaringPenguin-based PPPOE plugin
[ppp.git] / pppd / Makefile.linux
index a7ff34f7349544af56de3bf09dcba168a1c3c816..64218a49f32af15c72161946870677de5ecfd306 100644 (file)
@@ -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)