summaryrefslogtreecommitdiffstats
path: root/meta-networking
diff options
context:
space:
mode:
authorleimaohui <leimaohui@cn.fujitsu.com>2015-08-19 14:42:27 +0800
committerJoe MacDonald <joe_macdonald@mentor.com>2015-09-11 10:52:00 -0400
commit51992b647bf71b70bbbdd58dd1f2752b0d051f3f (patch)
tree5fadac29b94fd20a425124f0d300e8baae5d13b5 /meta-networking
parent743814403be40336d554aa686e5fb260487a8bf1 (diff)
downloadmeta-openembedded-51992b647bf71b70bbbdd58dd1f2752b0d051f3f.tar.gz
rp-pppoe:3.8->3.11
-deleted use-ldflags.patch that not needed. -modified patches for 3.11 Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'meta-networking')
-rw-r--r--meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.11/configure.in-Error-fix.patch (renamed from meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.8/configure.in-Error-fix.patch)18
-rw-r--r--meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.11/configure.patch (renamed from meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.8/configure.patch)0
-rw-r--r--meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.11/configure_in_cross.patch (renamed from meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.8/configure_in_cross.patch)46
-rw-r--r--meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.11/discard-use-of-dnl-in-Makefile.am.patch (renamed from meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.8/discard-use-of-dnl-in-Makefile.am.patch)0
-rw-r--r--meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.11/dont-swallow-errors.patch28
-rw-r--r--meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.11/pppoe-server.default (renamed from meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.8/pppoe-server.default)0
-rwxr-xr-xmeta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.11/pppoe-server.init (renamed from meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.8/pppoe-server.init)0
-rw-r--r--meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.11/pppoe-server.service (renamed from meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.8/pppoe-server.service)0
-rw-r--r--meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.11/pppoe-src-restrictions.patch (renamed from meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.8/pppoe-src-restrictions.patch)0
-rw-r--r--meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.11/top-autoconf.patch (renamed from meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.8/top-autoconf.patch)0
-rw-r--r--meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.11/update-config.patch (renamed from meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.8/update-config.patch)0
-rw-r--r--meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.8/dont-swallow-errors.patch15
-rw-r--r--meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.8/use-ldflags.patch27
-rw-r--r--meta-networking/recipes-protocols/rp-pppoe/rp-pppoe_3.11.bb (renamed from meta-networking/recipes-protocols/rp-pppoe/rp-pppoe_3.8.bb)7
14 files changed, 71 insertions, 70 deletions
diff --git a/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.8/configure.in-Error-fix.patch b/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.11/configure.in-Error-fix.patch
index 1e815f35d..2661fd3db 100644
--- a/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.8/configure.in-Error-fix.patch
+++ b/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.11/configure.in-Error-fix.patch
@@ -1,6 +1,6 @@
1From a546942a784a177080d9722dda873bfd7416ad41 Mon Sep 17 00:00:00 2001 1From 71956de46feef962dc0645af4c81ae074ca3b818 Mon Sep 17 00:00:00 2001
2From: Li xin <lixin.fnst@cn.fujitsu.com> 2From: Lei Maohui <leimaohui@cn.fujitsu.com>
3Date: Fri, 10 Apr 2015 13:13:06 +0900 3Date: Wed, 19 Aug 2015 13:52:57 +0900
4Subject: [PATCH] configure.in: Error fix. 4Subject: [PATCH] configure.in: Error fix.
5 5
6the error is: conftest.c:9:28: fatal error: ac_nonexistent.h: 6the error is: conftest.c:9:28: fatal error: ac_nonexistent.h:
@@ -10,19 +10,20 @@ Upstream-Status: pending
10 10
11Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com> 11Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com>
12--- 12---
13 src/configure.in | 28 ---------------------------- 13 src/configure.in | 30 ------------------------------
14 1 file changed, 28 deletions(-) 14 1 file changed, 30 deletions(-)
15 15
16diff --git a/src/configure.in b/src/configure.in 16diff --git a/src/configure.in b/src/configure.in
17index c4f1a8c..74956cc 100644 17index 0b23df5..31c7fbc 100644
18--- a/src/configure.in 18--- a/src/configure.in
19+++ b/src/configure.in 19+++ b/src/configure.in
20@@ -183,34 +183,6 @@ if test "$GCC" = yes; then 20@@ -193,36 +193,6 @@ if test "$GCC" = yes; then
21 CFLAGS="$CFLAGS -Wall -Wstrict-prototypes -ansi" 21 CFLAGS="$CFLAGS -fno-strict-aliasing -Wall -Wstrict-prototypes"
22 fi 22 fi
23 23
24-dnl Figure out packing order of structures 24-dnl Figure out packing order of structures
25-AC_CACHE_CHECK([packing order of bit fields],rpppoe_cv_pack_bitfields,[ 25-AC_CACHE_CHECK([packing order of bit fields],rpppoe_cv_pack_bitfields,[
26-if test "${rpppoe_cv_pack_bitfields+set}" != set ; then
26-AC_TRY_RUN([ 27-AC_TRY_RUN([
27-union foo { 28-union foo {
28- struct bar { 29- struct bar {
@@ -47,6 +48,7 @@ index c4f1a8c..74956cc 100644
47- } 48- }
48-}], rpppoe_cv_pack_bitfields=normal, rpppoe_cv_pack_bitfields=rev, 49-}], rpppoe_cv_pack_bitfields=normal, rpppoe_cv_pack_bitfields=rev,
49-$ECHO "no defaults for cross-compiling"; exit 1) 50-$ECHO "no defaults for cross-compiling"; exit 1)
51-fi
50-]) 52-])
51- 53-
52 if test "$rpppoe_cv_pack_bitfields" = "rev" ; then 54 if test "$rpppoe_cv_pack_bitfields" = "rev" ; then
diff --git a/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.8/configure.patch b/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.11/configure.patch
index 1380ba489..1380ba489 100644
--- a/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.8/configure.patch
+++ b/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.11/configure.patch
diff --git a/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.8/configure_in_cross.patch b/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.11/configure_in_cross.patch
index 189675942..88cf7e677 100644
--- a/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.8/configure_in_cross.patch
+++ b/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.11/configure_in_cross.patch
@@ -1,14 +1,23 @@
1From cab02076afb808a43c6ff3d7b1c64e71f5a1b397 Mon Sep 17 00:00:00 2001
2From: Lei Maohui <leimaohui@cn.fujitsu.com>
3Date: Wed, 19 Aug 2015 12:17:03 +0900
4Subject: [PATCH] configure in cross
5
1Update the configure script to cross-compiling with OE. This hard-codes 6Update the configure script to cross-compiling with OE. This hard-codes
2a few target paths, reworks a few tests to be more friendly for cross 7a few target paths, reworks a few tests to be more friendly for cross
3and drops other tests. 8and drops other tests.
4 9
5Upstream-Status: Inappropriate [build system specific changes] 10Upstream-Status: Inappropriate [build system specific changes]
6 11
7Index: src/configure.in 12---
8=================================================================== 13 src/configure.in | 66 ++++++++++++++------------------------------------------
9--- rp-pppoe-3.8.orig/src/configure.in 2006-04-03 00:29:42.000000000 +1000 14 1 file changed, 16 insertions(+), 50 deletions(-)
10+++ rp-pppoe-3.8/src/configure.in 2007-06-07 22:19:36.000000000 +1000 15
11@@ -5,6 +5,13 @@ 16diff --git a/src/configure.in b/src/configure.in
17index e194295..82d64d6 100644
18--- a/src/configure.in
19+++ b/src/configure.in
20@@ -5,6 +5,13 @@ AC_INIT(pppoe.c)
12 dnl pppd directory for kernel-mode PPPoE 21 dnl pppd directory for kernel-mode PPPoE
13 PPPD_DIR=ppp-2.4.1.pppoe2 22 PPPD_DIR=ppp-2.4.1.pppoe2
14 23
@@ -22,7 +31,7 @@ Index: src/configure.in
22 AC_CONFIG_HEADER(config.h) 31 AC_CONFIG_HEADER(config.h)
23 32
24 AC_PREFIX_DEFAULT(/usr) 33 AC_PREFIX_DEFAULT(/usr)
25@@ -44,7 +51,7 @@ 34@@ -45,7 +52,7 @@ ac_cv_struct_sockaddr_ll=no)
26 AC_MSG_RESULT($ac_cv_struct_sockaddr_ll) 35 AC_MSG_RESULT($ac_cv_struct_sockaddr_ll)
27 36
28 if test "$ac_cv_struct_sockaddr_ll" = yes ; then 37 if test "$ac_cv_struct_sockaddr_ll" = yes ; then
@@ -31,7 +40,7 @@ Index: src/configure.in
31 fi 40 fi
32 41
33 dnl Check for N_HDLC line discipline 42 dnl Check for N_HDLC line discipline
34@@ -55,7 +62,7 @@ 43@@ -56,7 +63,7 @@ AC_TRY_COMPILE([#include <linux/termios.h>],
35 ac_cv_n_hdlc=no) 44 ac_cv_n_hdlc=no)
36 AC_MSG_RESULT($ac_cv_n_hdlc) 45 AC_MSG_RESULT($ac_cv_n_hdlc)
37 if test "$ac_cv_n_hdlc" = yes ; then 46 if test "$ac_cv_n_hdlc" = yes ; then
@@ -40,7 +49,7 @@ Index: src/configure.in
40 fi 49 fi
41 50
42 AC_ARG_ENABLE(plugin, [ --enable-plugin=pppd_src_path build pppd plugin], ac_cv_pluginpath=$enableval, ac_cv_pluginpath=no) 51 AC_ARG_ENABLE(plugin, [ --enable-plugin=pppd_src_path build pppd plugin], ac_cv_pluginpath=$enableval, ac_cv_pluginpath=no)
43@@ -100,13 +107,13 @@ 52@@ -104,7 +111,7 @@ PPPD_INCDIR=""
44 if test "$ac_cv_header_linux_if_pppox_h" = yes ; then 53 if test "$ac_cv_header_linux_if_pppox_h" = yes ; then
45 if test "$ac_cv_pluginpath" != no ; then 54 if test "$ac_cv_pluginpath" != no ; then
46 LINUX_KERNELMODE_PLUGIN=rp-pppoe.so 55 LINUX_KERNELMODE_PLUGIN=rp-pppoe.so
@@ -49,6 +58,8 @@ Index: src/configure.in
49 PPPD_INCDIR=$ac_cv_pluginpath 58 PPPD_INCDIR=$ac_cv_pluginpath
50 fi 59 fi
51 fi 60 fi
61@@ -114,7 +121,7 @@ if test "$PPPD_INCDIR" = "" ; then
62 fi
52 63
53 if test "$ac_cv_debugging" = "yes" ; then 64 if test "$ac_cv_debugging" = "yes" ; then
54- AC_DEFINE(DEBUGGING_ENABLED) 65- AC_DEFINE(DEBUGGING_ENABLED)
@@ -56,7 +67,7 @@ Index: src/configure.in
56 fi 67 fi
57 68
58 AC_SUBST(LINUX_KERNELMODE_PLUGIN) 69 AC_SUBST(LINUX_KERNELMODE_PLUGIN)
59@@ -131,15 +138,8 @@ 70@@ -140,15 +147,8 @@ AC_CHECK_SIZEOF(unsigned short)
60 AC_CHECK_SIZEOF(unsigned int) 71 AC_CHECK_SIZEOF(unsigned int)
61 AC_CHECK_SIZEOF(unsigned long) 72 AC_CHECK_SIZEOF(unsigned long)
62 73
@@ -73,8 +84,8 @@ Index: src/configure.in
73 84
74 dnl Check for Linux-specific kernel support for PPPoE 85 dnl Check for Linux-specific kernel support for PPPoE
75 AC_MSG_CHECKING(for Linux 2.4.X kernel-mode PPPoE support) 86 AC_MSG_CHECKING(for Linux 2.4.X kernel-mode PPPoE support)
76@@ -183,44 +183,8 @@ 87@@ -193,44 +193,8 @@ if test "$GCC" = yes; then
77 CFLAGS="$CFLAGS -Wall -Wstrict-prototypes -ansi" 88 CFLAGS="$CFLAGS -fno-strict-aliasing -Wall -Wstrict-prototypes"
78 fi 89 fi
79 90
80-dnl If we couldn't find pppd, die 91-dnl If we couldn't find pppd, die
@@ -116,13 +127,13 @@ Index: src/configure.in
116 dnl Figure out packing order of structures 127 dnl Figure out packing order of structures
117-AC_MSG_CHECKING([packing order of bit fields]) 128-AC_MSG_CHECKING([packing order of bit fields])
118+AC_CACHE_CHECK([packing order of bit fields],rpppoe_cv_pack_bitfields,[ 129+AC_CACHE_CHECK([packing order of bit fields],rpppoe_cv_pack_bitfields,[
130 if test "${rpppoe_cv_pack_bitfields+set}" != set ; then
119 AC_TRY_RUN([ 131 AC_TRY_RUN([
120 union foo { 132 union foo {
121 struct bar { 133@@ -257,10 +221,11 @@ main(void)
122@@ -245,10 +209,11 @@
123 }
124 }], rpppoe_cv_pack_bitfields=normal, rpppoe_cv_pack_bitfields=rev, 134 }], rpppoe_cv_pack_bitfields=normal, rpppoe_cv_pack_bitfields=rev,
125 $ECHO "no defaults for cross-compiling"; exit 0) 135 $ECHO "no defaults for cross-compiling"; exit 0)
136 fi
126+]) 137+])
127 138
128 if test "$rpppoe_cv_pack_bitfields" = "rev" ; then 139 if test "$rpppoe_cv_pack_bitfields" = "rev" ; then
@@ -132,11 +143,14 @@ Index: src/configure.in
132 else 143 else
133 AC_MSG_RESULT(normal) 144 AC_MSG_RESULT(normal)
134 fi 145 fi
135@@ -312,6 +277,7 @@ 146@@ -324,6 +289,7 @@ AC_SUBST(PPPOE_SERVER_DEPS)
136 AC_SUBST(RDYNAMIC) 147 AC_SUBST(RDYNAMIC)
137 AC_SUBST(LIBEVENT) 148 AC_SUBST(LIBEVENT)
138 AC_SUBST(ECHO) 149 AC_SUBST(ECHO)
139+AC_SUBST(HAVE_STRUCT_SOCKADDR_LL) 150+AC_SUBST(HAVE_STRUCT_SOCKADDR_LL)
151 AC_SUBST(LDFLAGS)
140 152
141 datadir_evaluated=`eval echo $datadir` 153 datadir_evaluated=`eval echo $datadir`
142 AC_SUBST(datadir_evaluated) 154--
1551.8.4.2
156
diff --git a/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.8/discard-use-of-dnl-in-Makefile.am.patch b/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.11/discard-use-of-dnl-in-Makefile.am.patch
index 8b7886485..8b7886485 100644
--- a/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.8/discard-use-of-dnl-in-Makefile.am.patch
+++ b/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.11/discard-use-of-dnl-in-Makefile.am.patch
diff --git a/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.11/dont-swallow-errors.patch b/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.11/dont-swallow-errors.patch
new file mode 100644
index 000000000..f61337f15
--- /dev/null
+++ b/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.11/dont-swallow-errors.patch
@@ -0,0 +1,28 @@
1From bbdadb803b19f002e76e7bb5ce3faf770dd7c413 Mon Sep 17 00:00:00 2001
2From: Lei Maohui <leimaohui@cn.fujitsu.com>
3Date: Wed, 19 Aug 2015 12:33:41 +0900
4Subject: [PATCH] don't swallow errors
5
6Further fixup to the configure scripts to not swallow errors
7
8Upstream-Status: Pending
9---
10 src/configure.in | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13diff --git a/src/configure.in b/src/configure.in
14index 82d64d6..0b23df5 100644
15--- a/src/configure.in
16+++ b/src/configure.in
17@@ -219,7 +219,7 @@ main(void)
18 return 2;
19 }
20 }], rpppoe_cv_pack_bitfields=normal, rpppoe_cv_pack_bitfields=rev,
21-$ECHO "no defaults for cross-compiling"; exit 0)
22+$ECHO "no defaults for cross-compiling"; exit 1)
23 fi
24 ])
25
26--
271.8.4.2
28
diff --git a/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.8/pppoe-server.default b/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.11/pppoe-server.default
index 996d57f3c..996d57f3c 100644
--- a/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.8/pppoe-server.default
+++ b/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.11/pppoe-server.default
diff --git a/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.8/pppoe-server.init b/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.11/pppoe-server.init
index 21afe0be3..21afe0be3 100755
--- a/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.8/pppoe-server.init
+++ b/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.11/pppoe-server.init
diff --git a/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.8/pppoe-server.service b/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.11/pppoe-server.service
index 41e0b9e85..41e0b9e85 100644
--- a/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.8/pppoe-server.service
+++ b/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.11/pppoe-server.service
diff --git a/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.8/pppoe-src-restrictions.patch b/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.11/pppoe-src-restrictions.patch
index bcf4d1164..bcf4d1164 100644
--- a/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.8/pppoe-src-restrictions.patch
+++ b/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.11/pppoe-src-restrictions.patch
diff --git a/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.8/top-autoconf.patch b/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.11/top-autoconf.patch
index 4fe73d017..4fe73d017 100644
--- a/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.8/top-autoconf.patch
+++ b/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.11/top-autoconf.patch
diff --git a/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.8/update-config.patch b/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.11/update-config.patch
index 42a3bc62c..42a3bc62c 100644
--- a/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.8/update-config.patch
+++ b/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.11/update-config.patch
diff --git a/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.8/dont-swallow-errors.patch b/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.8/dont-swallow-errors.patch
deleted file mode 100644
index c7fc9cfac..000000000
--- a/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.8/dont-swallow-errors.patch
+++ /dev/null
@@ -1,15 +0,0 @@
1Further fixup to the configure scripts to not swallow errors
2
3Upstream-Status: Pending
4
5--- a/src/configure.in.org 2008-01-14 21:08:38.000000000 +0200
6+++ a/src/configure.in 2008-01-14 21:20:09.000000000 +0200
7@@ -208,7 +208,7 @@
8 return 2;
9 }
10 }], rpppoe_cv_pack_bitfields=normal, rpppoe_cv_pack_bitfields=rev,
11-$ECHO "no defaults for cross-compiling"; exit 0)
12+$ECHO "no defaults for cross-compiling"; exit 1)
13 ])
14
15 if test "$rpppoe_cv_pack_bitfields" = "rev" ; then
diff --git a/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.8/use-ldflags.patch b/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.8/use-ldflags.patch
deleted file mode 100644
index 95f629298..000000000
--- a/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.8/use-ldflags.patch
+++ /dev/null
@@ -1,27 +0,0 @@
1Make the Makefile obey LDFLAGS.
2
3Upstream-Status: Pending
4
5--- a/src/Makefile.in 2006-04-02 18:29:42.000000000 +0400
6+++ b/src/Makefile.in 2010-04-16 17:51:31.000000000 +0400
7@@ -67,16 +67,16 @@ all: $(TARGETS)
8 @echo "Type 'make install' as root to install the software."
9
10 pppoe-sniff: pppoe-sniff.o if.o common.o debug.o
11- @CC@ -o pppoe-sniff pppoe-sniff.o if.o common.o debug.o
12+ @CC@ -o pppoe-sniff pppoe-sniff.o if.o common.o debug.o $(LDFLAGS)
13
14 pppoe-server: pppoe-server.o if.o debug.o common.o md5.o libevent/libevent.a @PPPOE_SERVER_DEPS@
15- @CC@ -o pppoe-server @RDYNAMIC@ pppoe-server.o if.o debug.o common.o md5.o $(PPPOE_SERVER_LIBS) -Llibevent -levent
16+ @CC@ -o pppoe-server @RDYNAMIC@ pppoe-server.o if.o debug.o common.o md5.o $(PPPOE_SERVER_LIBS) -Llibevent -levent $(LDFLAGS)
17
18 pppoe: pppoe.o if.o debug.o common.o ppp.o discovery.o
19- @CC@ -o pppoe pppoe.o if.o debug.o common.o ppp.o discovery.o
20+ @CC@ -o pppoe pppoe.o if.o debug.o common.o ppp.o discovery.o $(LDFLAGS)
21
22 pppoe-relay: relay.o if.o debug.o common.o
23- @CC@ -o pppoe-relay relay.o if.o debug.o common.o
24+ @CC@ -o pppoe-relay relay.o if.o debug.o common.o $(LDFLAGS)
25
26 pppoe.o: pppoe.c pppoe.h
27 @CC@ $(CFLAGS) '-DVERSION="$(VERSION)"' -c -o pppoe.o pppoe.c
diff --git a/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe_3.8.bb b/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe_3.11.bb
index 4418db818..4415c4b93 100644
--- a/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe_3.8.bb
+++ b/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe_3.11.bb
@@ -13,15 +13,14 @@ SRC_URI = "http://www.roaringpenguin.com/files/download/${BP}.tar.gz \
13 file://update-config.patch \ 13 file://update-config.patch \
14 file://dont-swallow-errors.patch \ 14 file://dont-swallow-errors.patch \
15 file://discard-use-of-dnl-in-Makefile.am.patch \ 15 file://discard-use-of-dnl-in-Makefile.am.patch \
16 file://use-ldflags.patch \
17 file://configure.patch \ 16 file://configure.patch \
18 file://pppoe-server.default \ 17 file://pppoe-server.default \
19 file://pppoe-server.init \ 18 file://pppoe-server.init \
20 file://configure.in-Error-fix.patch \ 19 file://configure.in-Error-fix.patch \
21 file://pppoe-server.service" 20 file://pppoe-server.service"
22 21
23SRC_URI[md5sum] = "0e32760f498f9cde44081ee6aafc823b" 22SRC_URI[md5sum] = "13b5900c56bd602df6cc526e5e520722"
24SRC_URI[sha256sum] = "d916e9cfe1e62395f63a5361936fa855f6d0f0a37dc7227b394cdb725f553479" 23SRC_URI[sha256sum] = "86a1a4d92fcea74fa6dd45516c5975933fa978b36fafe71f76ea70b4b4747720"
25 24
26inherit autotools-brokensep update-rc.d systemd 25inherit autotools-brokensep update-rc.d systemd
27 26
@@ -38,7 +37,7 @@ do_install() {
38 install -m 0644 ${WORKDIR}/pppoe-server.default ${D}${sysconfdir}/default/pppoe-server 37 install -m 0644 ${WORKDIR}/pppoe-server.default ${D}${sysconfdir}/default/pppoe-server
39 install -m 0755 ${WORKDIR}/pppoe-server.init ${D}${sysconfdir}/init.d/pppoe-server 38 install -m 0755 ${WORKDIR}/pppoe-server.init ${D}${sysconfdir}/init.d/pppoe-server
40 # Install 39 # Install
41 oe_runmake -C ${S} RPM_INSTALL_ROOT=${D} docdir=${docdir} install 40 oe_runmake -C ${S} DESTDIR=${D} docdir=${docdir} install
42 chmod 4755 ${D}${sbindir}/pppoe 41 chmod 4755 ${D}${sbindir}/pppoe
43} 42}
44 43