X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=pppd%2FMakefile.linux;h=64218a49f32af15c72161946870677de5ecfd306;hb=6050706a2fb9bfd9013576b002f73d5a6a5ff591;hp=05bca94887f98bc4184c2de336156c62ea909f5a;hpb=b42a30af51e85e88ae427c2e1f7277c3b2f9fd17;p=ppp.git diff --git a/pppd/Makefile.linux b/pppd/Makefile.linux index 05bca94..64218a4 100644 --- a/pppd/Makefile.linux +++ b/pppd/Makefile.linux @@ -1,6 +1,6 @@ # # pppd makefile for Linux -# $Id: Makefile.linux,v 1.40 2000/08/01 01:44:48 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 @@ -116,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)