2012-06-19 17:03:24 +00:00
|
|
|
build: Do not strip binaries on install
|
|
|
|
|
|
|
|
Strippign executables should be handled by the distro packaging, not by ppp
|
|
|
|
itself. This patch removes the "-s" (strip) switch from all "install" commands
|
|
|
|
in order to install unstripped binaries into the destination prefix.
|
|
|
|
|
2016-06-07 09:42:32 +00:00
|
|
|
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
2012-06-19 17:03:24 +00:00
|
|
|
|
2009-05-21 10:49:21 +00:00
|
|
|
--- a/chat/Makefile.linux
|
|
|
|
+++ b/chat/Makefile.linux
|
|
|
|
@@ -25,7 +25,7 @@ chat.o: chat.c
|
2009-05-20 22:36:38 +00:00
|
|
|
|
|
|
|
install: chat
|
|
|
|
mkdir -p $(BINDIR) $(MANDIR)
|
|
|
|
- $(INSTALL) -s -c chat $(BINDIR)
|
|
|
|
+ $(INSTALL) -c chat $(BINDIR)
|
|
|
|
$(INSTALL) -c -m 644 chat.8 $(MANDIR)
|
|
|
|
|
|
|
|
clean:
|
2009-05-21 10:49:21 +00:00
|
|
|
--- a/pppd/Makefile.linux
|
|
|
|
+++ b/pppd/Makefile.linux
|
2014-06-15 20:55:17 +00:00
|
|
|
@@ -102,7 +102,7 @@ ifdef USE_SRP
|
2009-05-20 22:36:38 +00:00
|
|
|
CFLAGS += -DUSE_SRP -DOPENSSL -I/usr/local/ssl/include
|
|
|
|
LIBS += -lsrp -L/usr/local/ssl/lib -lcrypto
|
|
|
|
TARGETS += srp-entry
|
|
|
|
-EXTRAINSTALL = $(INSTALL) -s -c -m 555 srp-entry $(BINDIR)/srp-entry
|
|
|
|
+EXTRAINSTALL = $(INSTALL) -c -m 555 srp-entry $(BINDIR)/srp-entry
|
|
|
|
MANPAGES += srp-entry.8
|
|
|
|
EXTRACLEAN += srp-entry.o
|
|
|
|
NEEDDES=y
|
2014-06-15 20:55:17 +00:00
|
|
|
@@ -208,7 +208,7 @@ all: $(TARGETS)
|
2009-05-20 22:36:38 +00:00
|
|
|
install: pppd
|
|
|
|
mkdir -p $(BINDIR) $(MANDIR)
|
|
|
|
$(EXTRAINSTALL)
|
|
|
|
- $(INSTALL) -s -c -m 555 pppd $(BINDIR)/pppd
|
|
|
|
+ $(INSTALL) -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)
|
2009-05-21 10:49:21 +00:00
|
|
|
--- a/pppd/plugins/radius/Makefile.linux
|
|
|
|
+++ b/pppd/plugins/radius/Makefile.linux
|
|
|
|
@@ -36,9 +36,9 @@ all: $(PLUGIN)
|
2009-05-20 22:36:38 +00:00
|
|
|
|
|
|
|
install: all
|
|
|
|
$(INSTALL) -d -m 755 $(LIBDIR)
|
|
|
|
- $(INSTALL) -s -c -m 755 radius.so $(LIBDIR)
|
|
|
|
- $(INSTALL) -s -c -m 755 radattr.so $(LIBDIR)
|
|
|
|
- $(INSTALL) -s -c -m 755 radrealms.so $(LIBDIR)
|
|
|
|
+ $(INSTALL) -c -m 755 radius.so $(LIBDIR)
|
|
|
|
+ $(INSTALL) -c -m 755 radattr.so $(LIBDIR)
|
|
|
|
+ $(INSTALL) -c -m 755 radrealms.so $(LIBDIR)
|
|
|
|
$(INSTALL) -c -m 444 pppd-radius.8 $(MANDIR)
|
|
|
|
$(INSTALL) -c -m 444 pppd-radattr.8 $(MANDIR)
|
|
|
|
|
2009-05-21 10:49:21 +00:00
|
|
|
--- a/pppd/plugins/rp-pppoe/Makefile.linux
|
|
|
|
+++ b/pppd/plugins/rp-pppoe/Makefile.linux
|
2011-07-28 16:51:12 +00:00
|
|
|
@@ -43,9 +43,9 @@ rp-pppoe.so: plugin.o discovery.o if.o c
|
2009-05-20 22:36:38 +00:00
|
|
|
|
|
|
|
install: all
|
|
|
|
$(INSTALL) -d -m 755 $(LIBDIR)
|
|
|
|
- $(INSTALL) -s -c -m 4550 rp-pppoe.so $(LIBDIR)
|
|
|
|
+ $(INSTALL) -c -m 4550 rp-pppoe.so $(LIBDIR)
|
|
|
|
$(INSTALL) -d -m 755 $(BINDIR)
|
|
|
|
- $(INSTALL) -s -c -m 555 pppoe-discovery $(BINDIR)
|
|
|
|
+ $(INSTALL) -c -m 555 pppoe-discovery $(BINDIR)
|
|
|
|
|
|
|
|
clean:
|
2011-07-28 16:51:12 +00:00
|
|
|
rm -f *.o *.so pppoe-discovery
|
2009-05-21 10:49:21 +00:00
|
|
|
--- a/pppdump/Makefile.linux
|
|
|
|
+++ b/pppdump/Makefile.linux
|
|
|
|
@@ -17,5 +17,5 @@ clean:
|
2009-05-20 22:36:38 +00:00
|
|
|
|
|
|
|
install:
|
|
|
|
mkdir -p $(BINDIR) $(MANDIR)
|
|
|
|
- $(INSTALL) -s -c pppdump $(BINDIR)
|
|
|
|
+ $(INSTALL) -c pppdump $(BINDIR)
|
|
|
|
$(INSTALL) -c -m 444 pppdump.8 $(MANDIR)
|
2009-05-21 10:49:21 +00:00
|
|
|
--- a/pppstats/Makefile.linux
|
|
|
|
+++ b/pppstats/Makefile.linux
|
|
|
|
@@ -22,7 +22,7 @@ all: pppstats
|
2009-05-20 22:36:38 +00:00
|
|
|
|
|
|
|
install: pppstats
|
|
|
|
-mkdir -p $(MANDIR)
|
|
|
|
- $(INSTALL) -s -c pppstats $(BINDIR)
|
|
|
|
+ $(INSTALL) -c pppstats $(BINDIR)
|
|
|
|
$(INSTALL) -c -m 444 pppstats.8 $(MANDIR)
|
|
|
|
|
|
|
|
pppstats: $(PPPSTATSRCS)
|