diff options
Diffstat (limited to 'meta/recipes-connectivity/ppp/ppp/makefile.patch')
-rw-r--r-- | meta/recipes-connectivity/ppp/ppp/makefile.patch | 72 |
1 files changed, 46 insertions, 26 deletions
diff --git a/meta/recipes-connectivity/ppp/ppp/makefile.patch b/meta/recipes-connectivity/ppp/ppp/makefile.patch index 2d09baf5d0..25b8ded441 100644 --- a/meta/recipes-connectivity/ppp/ppp/makefile.patch +++ b/meta/recipes-connectivity/ppp/ppp/makefile.patch | |||
@@ -1,12 +1,27 @@ | |||
1 | From f7fb1d1abfa6d208fb40fca1602e0c488108f1b5 Mon Sep 17 00:00:00 2001 | ||
2 | From: Richard Purdie <richard@openedhand.com> | ||
3 | Date: Wed, 31 Aug 2005 10:45:47 +0000 | ||
4 | Subject: [PATCH] Initial population | ||
5 | |||
1 | The patch comes from OpenEmbedded | 6 | The patch comes from OpenEmbedded |
2 | Rebased for ppp-2.4.5. Dongxiao Xu <dongxiao.xu@intel.com> | 7 | Rebased for ppp-2.4.5. Dongxiao Xu <dongxiao.xu@intel.com> |
3 | 8 | ||
4 | Upstream-Status: Inappropriate [configuration] | 9 | Upstream-Status: Inappropriate [configuration] |
5 | 10 | ||
6 | diff -ruN ppp-2.4.5-orig/chat/Makefile.linux ppp-2.4.5/chat/Makefile.linux | 11 | --- |
7 | --- ppp-2.4.5-orig/chat/Makefile.linux 2010-06-30 15:51:12.050166398 +0800 | 12 | chat/Makefile.linux | 2 +- |
8 | +++ ppp-2.4.5/chat/Makefile.linux 2010-06-30 15:51:30.450118446 +0800 | 13 | pppd/Makefile.linux | 4 ++-- |
9 | @@ -25,7 +25,7 @@ | 14 | pppd/plugins/radius/Makefile.linux | 10 +++++----- |
15 | pppd/plugins/rp-pppoe/Makefile.linux | 4 ++-- | ||
16 | pppdump/Makefile.linux | 2 +- | ||
17 | pppstats/Makefile.linux | 2 +- | ||
18 | 6 files changed, 12 insertions(+), 12 deletions(-) | ||
19 | |||
20 | diff --git a/chat/Makefile.linux b/chat/Makefile.linux | ||
21 | index 0732ec8..f082dab 100644 | ||
22 | --- a/chat/Makefile.linux | ||
23 | +++ b/chat/Makefile.linux | ||
24 | @@ -25,7 +25,7 @@ chat.o: chat.c | ||
10 | 25 | ||
11 | install: chat | 26 | install: chat |
12 | mkdir -p $(BINDIR) $(MANDIR) | 27 | mkdir -p $(BINDIR) $(MANDIR) |
@@ -15,10 +30,11 @@ diff -ruN ppp-2.4.5-orig/chat/Makefile.linux ppp-2.4.5/chat/Makefile.linux | |||
15 | $(INSTALL) -c -m 644 chat.8 $(MANDIR) | 30 | $(INSTALL) -c -m 644 chat.8 $(MANDIR) |
16 | 31 | ||
17 | clean: | 32 | clean: |
18 | diff -ruN ppp-2.4.5-orig/pppd/Makefile.linux ppp-2.4.5/pppd/Makefile.linux | 33 | diff --git a/pppd/Makefile.linux b/pppd/Makefile.linux |
19 | --- ppp-2.4.5-orig/pppd/Makefile.linux 2010-06-30 15:51:12.043682063 +0800 | 34 | index 9664f70..4e485a1 100644 |
20 | +++ ppp-2.4.5/pppd/Makefile.linux 2010-06-30 15:52:11.214170607 +0800 | 35 | --- a/pppd/Makefile.linux |
21 | @@ -99,7 +99,7 @@ | 36 | +++ b/pppd/Makefile.linux |
37 | @@ -107,7 +107,7 @@ ifdef USE_SRP | ||
22 | CFLAGS += -DUSE_SRP -DOPENSSL -I/usr/local/ssl/include | 38 | CFLAGS += -DUSE_SRP -DOPENSSL -I/usr/local/ssl/include |
23 | LIBS += -lsrp -L/usr/local/ssl/lib -lcrypto | 39 | LIBS += -lsrp -L/usr/local/ssl/lib -lcrypto |
24 | TARGETS += srp-entry | 40 | TARGETS += srp-entry |
@@ -27,7 +43,7 @@ diff -ruN ppp-2.4.5-orig/pppd/Makefile.linux ppp-2.4.5/pppd/Makefile.linux | |||
27 | MANPAGES += srp-entry.8 | 43 | MANPAGES += srp-entry.8 |
28 | EXTRACLEAN += srp-entry.o | 44 | EXTRACLEAN += srp-entry.o |
29 | NEEDDES=y | 45 | NEEDDES=y |
30 | @@ -200,7 +200,7 @@ | 46 | @@ -219,7 +219,7 @@ all: $(TARGETS) |
31 | install: pppd | 47 | install: pppd |
32 | mkdir -p $(BINDIR) $(MANDIR) | 48 | mkdir -p $(BINDIR) $(MANDIR) |
33 | $(EXTRAINSTALL) | 49 | $(EXTRAINSTALL) |
@@ -36,10 +52,11 @@ diff -ruN ppp-2.4.5-orig/pppd/Makefile.linux ppp-2.4.5/pppd/Makefile.linux | |||
36 | if chgrp pppusers $(BINDIR)/pppd 2>/dev/null; then \ | 52 | if chgrp pppusers $(BINDIR)/pppd 2>/dev/null; then \ |
37 | chmod o-rx,u+s $(BINDIR)/pppd; fi | 53 | chmod o-rx,u+s $(BINDIR)/pppd; fi |
38 | $(INSTALL) -c -m 444 pppd.8 $(MANDIR) | 54 | $(INSTALL) -c -m 444 pppd.8 $(MANDIR) |
39 | diff -ruN ppp-2.4.5-orig/pppd/plugins/radius/Makefile.linux ppp-2.4.5/pppd/plugins/radius/Makefile.linux | 55 | diff --git a/pppd/plugins/radius/Makefile.linux b/pppd/plugins/radius/Makefile.linux |
40 | --- ppp-2.4.5-orig/pppd/plugins/radius/Makefile.linux 2010-06-30 15:51:12.047676187 +0800 | 56 | index e702263..af57ae3 100644 |
41 | +++ ppp-2.4.5/pppd/plugins/radius/Makefile.linux 2010-06-30 15:53:47.750182267 +0800 | 57 | --- a/pppd/plugins/radius/Makefile.linux |
42 | @@ -36,11 +36,11 @@ | 58 | +++ b/pppd/plugins/radius/Makefile.linux |
59 | @@ -36,11 +36,11 @@ all: $(PLUGIN) | ||
43 | 60 | ||
44 | install: all | 61 | install: all |
45 | $(INSTALL) -d -m 755 $(LIBDIR) | 62 | $(INSTALL) -d -m 755 $(LIBDIR) |
@@ -55,11 +72,12 @@ diff -ruN ppp-2.4.5-orig/pppd/plugins/radius/Makefile.linux ppp-2.4.5/pppd/plugi | |||
55 | + $(INSTALL) -m 444 pppd-radattr.8 $(MANDIR) | 72 | + $(INSTALL) -m 444 pppd-radattr.8 $(MANDIR) |
56 | 73 | ||
57 | radius.so: radius.o libradiusclient.a | 74 | radius.so: radius.o libradiusclient.a |
58 | $(CC) -o radius.so -shared radius.o libradiusclient.a | 75 | $(CC) $(LDFLAGS) -o radius.so -shared radius.o libradiusclient.a |
59 | diff -ruN ppp-2.4.5-orig/pppd/plugins/rp-pppoe/Makefile.linux ppp-2.4.5/pppd/plugins/rp-pppoe/Makefile.linux | 76 | diff --git a/pppd/plugins/rp-pppoe/Makefile.linux b/pppd/plugins/rp-pppoe/Makefile.linux |
60 | --- ppp-2.4.5-orig/pppd/plugins/rp-pppoe/Makefile.linux 2010-06-30 15:51:12.047676187 +0800 | 77 | index 749ccc2..2c93f4a 100644 |
61 | +++ ppp-2.4.5/pppd/plugins/rp-pppoe/Makefile.linux 2010-06-30 15:53:15.454486877 +0800 | 78 | --- a/pppd/plugins/rp-pppoe/Makefile.linux |
62 | @@ -43,9 +43,9 @@ | 79 | +++ b/pppd/plugins/rp-pppoe/Makefile.linux |
80 | @@ -43,9 +43,9 @@ rp-pppoe.so: plugin.o discovery.o if.o common.o | ||
63 | 81 | ||
64 | install: all | 82 | install: all |
65 | $(INSTALL) -d -m 755 $(LIBDIR) | 83 | $(INSTALL) -d -m 755 $(LIBDIR) |
@@ -71,20 +89,22 @@ diff -ruN ppp-2.4.5-orig/pppd/plugins/rp-pppoe/Makefile.linux ppp-2.4.5/pppd/plu | |||
71 | 89 | ||
72 | clean: | 90 | clean: |
73 | rm -f *.o *.so pppoe-discovery | 91 | rm -f *.o *.so pppoe-discovery |
74 | diff -ruN ppp-2.4.5-orig/pppdump/Makefile.linux ppp-2.4.5/pppdump/Makefile.linux | 92 | diff --git a/pppdump/Makefile.linux b/pppdump/Makefile.linux |
75 | --- ppp-2.4.5-orig/pppdump/Makefile.linux 2010-06-30 15:51:12.058183383 +0800 | 93 | index cdf7ac4..0457561 100644 |
76 | +++ ppp-2.4.5/pppdump/Makefile.linux 2010-06-30 15:52:25.762183537 +0800 | 94 | --- a/pppdump/Makefile.linux |
77 | @@ -17,5 +17,5 @@ | 95 | +++ b/pppdump/Makefile.linux |
96 | @@ -17,5 +17,5 @@ clean: | ||
78 | 97 | ||
79 | install: | 98 | install: |
80 | mkdir -p $(BINDIR) $(MANDIR) | 99 | mkdir -p $(BINDIR) $(MANDIR) |
81 | - $(INSTALL) -s -c pppdump $(BINDIR) | 100 | - $(INSTALL) -s -c pppdump $(BINDIR) |
82 | + $(INSTALL) -c pppdump $(BINDIR) | 101 | + $(INSTALL) -c pppdump $(BINDIR) |
83 | $(INSTALL) -c -m 444 pppdump.8 $(MANDIR) | 102 | $(INSTALL) -c -m 444 pppdump.8 $(MANDIR) |
84 | diff -ruN ppp-2.4.5-orig/pppstats/Makefile.linux ppp-2.4.5/pppstats/Makefile.linux | 103 | diff --git a/pppstats/Makefile.linux b/pppstats/Makefile.linux |
85 | --- ppp-2.4.5-orig/pppstats/Makefile.linux 2010-06-30 15:51:12.058183383 +0800 | 104 | index 71afbe6..1819370 100644 |
86 | +++ ppp-2.4.5/pppstats/Makefile.linux 2010-06-30 15:52:42.486341081 +0800 | 105 | --- a/pppstats/Makefile.linux |
87 | @@ -22,7 +22,7 @@ | 106 | +++ b/pppstats/Makefile.linux |
107 | @@ -22,7 +22,7 @@ all: pppstats | ||
88 | 108 | ||
89 | install: pppstats | 109 | install: pppstats |
90 | -mkdir -p $(MANDIR) | 110 | -mkdir -p $(MANDIR) |