kernel: fq_codel: dont reinit flow state
[openwrt.git] / package / ppp / patches / 202-no_strip.patch
1 build: Do not strip binaries on install
2
3 Strippign executables should be handled by the distro packaging, not by ppp
4 itself. This patch removes the "-s" (strip) switch from all "install" commands
5 in order to install unstripped binaries into the destination prefix.
6
7 Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
8
9 --- a/chat/Makefile.linux
10 +++ b/chat/Makefile.linux
11 @@ -25,7 +25,7 @@ chat.o:       chat.c
12  
13  install: chat
14         mkdir -p $(BINDIR) $(MANDIR)
15 -       $(INSTALL) -s -c chat $(BINDIR)
16 +       $(INSTALL) -c chat $(BINDIR)
17         $(INSTALL) -c -m 644 chat.8 $(MANDIR)
18  
19  clean:
20 --- a/pppd/Makefile.linux
21 +++ b/pppd/Makefile.linux
22 @@ -99,7 +99,7 @@ ifdef USE_SRP
23  CFLAGS += -DUSE_SRP -DOPENSSL -I/usr/local/ssl/include
24  LIBS   += -lsrp -L/usr/local/ssl/lib -lcrypto
25  TARGETS        += srp-entry
26 -EXTRAINSTALL = $(INSTALL) -s -c -m 555 srp-entry $(BINDIR)/srp-entry
27 +EXTRAINSTALL = $(INSTALL) -c -m 555 srp-entry $(BINDIR)/srp-entry
28  MANPAGES += srp-entry.8
29  EXTRACLEAN += srp-entry.o
30  NEEDDES=y
31 @@ -200,7 +200,7 @@ all: $(TARGETS)
32  install: pppd
33         mkdir -p $(BINDIR) $(MANDIR)
34         $(EXTRAINSTALL)
35 -       $(INSTALL) -s -c -m 555 pppd $(BINDIR)/pppd
36 +       $(INSTALL) -c -m 555 pppd $(BINDIR)/pppd
37         if chgrp pppusers $(BINDIR)/pppd 2>/dev/null; then \
38           chmod o-rx,u+s $(BINDIR)/pppd; fi
39         $(INSTALL) -c -m 444 pppd.8 $(MANDIR)
40 --- a/pppd/plugins/radius/Makefile.linux
41 +++ b/pppd/plugins/radius/Makefile.linux
42 @@ -36,9 +36,9 @@ all: $(PLUGIN)
43  
44  install: all
45         $(INSTALL) -d -m 755 $(LIBDIR)
46 -       $(INSTALL) -s -c -m 755 radius.so $(LIBDIR)
47 -       $(INSTALL) -s -c -m 755 radattr.so $(LIBDIR)
48 -       $(INSTALL) -s -c -m 755 radrealms.so $(LIBDIR)
49 +       $(INSTALL) -c -m 755 radius.so $(LIBDIR)
50 +       $(INSTALL) -c -m 755 radattr.so $(LIBDIR)
51 +       $(INSTALL) -c -m 755 radrealms.so $(LIBDIR)
52         $(INSTALL) -c -m 444 pppd-radius.8 $(MANDIR)
53         $(INSTALL) -c -m 444 pppd-radattr.8 $(MANDIR)
54  
55 --- a/pppd/plugins/rp-pppoe/Makefile.linux
56 +++ b/pppd/plugins/rp-pppoe/Makefile.linux
57 @@ -43,9 +43,9 @@ rp-pppoe.so: plugin.o discovery.o if.o c
58  
59  install: all
60         $(INSTALL) -d -m 755 $(LIBDIR)
61 -       $(INSTALL) -s -c -m 4550 rp-pppoe.so $(LIBDIR)
62 +       $(INSTALL) -c -m 4550 rp-pppoe.so $(LIBDIR)
63         $(INSTALL) -d -m 755 $(BINDIR)
64 -       $(INSTALL) -s -c -m 555 pppoe-discovery $(BINDIR)
65 +       $(INSTALL) -c -m 555 pppoe-discovery $(BINDIR)
66  
67  clean:
68         rm -f *.o *.so pppoe-discovery
69 --- a/pppdump/Makefile.linux
70 +++ b/pppdump/Makefile.linux
71 @@ -17,5 +17,5 @@ clean:
72  
73  install:
74         mkdir -p $(BINDIR) $(MANDIR)
75 -       $(INSTALL) -s -c pppdump $(BINDIR)
76 +       $(INSTALL) -c pppdump $(BINDIR)
77         $(INSTALL) -c -m 444 pppdump.8 $(MANDIR)
78 --- a/pppstats/Makefile.linux
79 +++ b/pppstats/Makefile.linux
80 @@ -22,7 +22,7 @@ all: pppstats
81  
82  install: pppstats
83         -mkdir -p $(MANDIR)
84 -       $(INSTALL) -s -c pppstats $(BINDIR)
85 +       $(INSTALL) -c pppstats $(BINDIR)
86         $(INSTALL) -c -m 444 pppstats.8 $(MANDIR)
87  
88  pppstats: $(PPPSTATSRCS)