diff options
author | Armin Kuster <akuster808@gmail.com> | 2018-04-07 15:49:45 -0700 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2018-04-13 12:43:40 -0700 |
commit | 268e9ef7206b8fb959099510da960f54639a0be0 (patch) | |
tree | e467741ef4459b85248272d44f60ebd7c9819619 /meta-networking/recipes-protocols | |
parent | 68c8fe1aba92ca2ed5e1156fa0050609ab4f73af (diff) | |
download | meta-openembedded-268e9ef7206b8fb959099510da960f54639a0be0.tar.gz |
rp-pppoe: refresh patches
WARNING:
Some of the context lines in patches were ignored. This can lead to incorrectly applied patches.
The context lines in the patches can be updated with devtool:
devtool modify <recipe>
devtool finish --force-patch-refresh <recipe> <layer_path>
Then the updated patches and the source tree (in devtool's workspace)
should be reviewed to make sure the patches apply in the correct place
and don't introduce duplicate lines (which can, and does happen
when some of the context is ignored). Further information:
http://lists.openembedded.org/pipermail/openembedded-core/2018-March/148675.html
https://bugzilla.yoctoproject.org/show_bug.cgi?id=10450
Details:
checking file src/discovery.c
Hunk #1 succeeded at 472 with fuzz 1 (offset 96 lines)
among others
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-networking/recipes-protocols')
10 files changed, 91 insertions, 62 deletions
diff --git a/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/0001-ppoe-Dont-include-linux-if_ether.h.patch b/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/0001-ppoe-Dont-include-linux-if_ether.h.patch index 11356ce3f..7601f0d32 100644 --- a/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/0001-ppoe-Dont-include-linux-if_ether.h.patch +++ b/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/0001-ppoe-Dont-include-linux-if_ether.h.patch | |||
@@ -1,11 +1,12 @@ | |||
1 | From 8d4d452d733bac8c5b55a90bddec8cc323cc9fa8 Mon Sep 17 00:00:00 2001 | 1 | From fdb64d21560bfdafeefccc7d20e105e4857faa99 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Tue, 28 Mar 2017 19:20:07 -0700 | 3 | Date: Tue, 28 Mar 2017 19:20:07 -0700 |
4 | Subject: [PATCH 1/2] ppoe: Dont include linux/if_ether.h | 4 | Subject: [PATCH] ppoe: Dont include linux/if_ether.h |
5 | 5 | ||
6 | Fixes build with musl | 6 | Fixes build with musl |
7 | 7 | ||
8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
9 | |||
9 | --- | 10 | --- |
10 | src/pppoe.h | 4 ---- | 11 | src/pppoe.h | 4 ---- |
11 | 1 file changed, 4 deletions(-) | 12 | 1 file changed, 4 deletions(-) |
@@ -25,6 +26,3 @@ index ec067a0..281879c 100644 | |||
25 | #include <netinet/in.h> | 26 | #include <netinet/in.h> |
26 | 27 | ||
27 | #ifdef HAVE_NETINET_IF_ETHER_H | 28 | #ifdef HAVE_NETINET_IF_ETHER_H |
28 | -- | ||
29 | 2.12.1 | ||
30 | |||
diff --git a/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/0002-Enable-support-for-the-kernel-module.patch b/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/0002-Enable-support-for-the-kernel-module.patch index 139d1f089..2103b3888 100644 --- a/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/0002-Enable-support-for-the-kernel-module.patch +++ b/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/0002-Enable-support-for-the-kernel-module.patch | |||
@@ -1,9 +1,10 @@ | |||
1 | From aca8473a516a8dc013866105da141fe1cd947474 Mon Sep 17 00:00:00 2001 | 1 | From 31b6eecd7e5ebfb9a37915f28823e5af9d1062b4 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Tue, 28 Mar 2017 19:24:53 -0700 | 3 | Date: Tue, 28 Mar 2017 19:24:53 -0700 |
4 | Subject: [PATCH 2/2] Enable support for the kernel module | 4 | Subject: [PATCH] Enable support for the kernel module |
5 | 5 | ||
6 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 6 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
7 | |||
7 | --- | 8 | --- |
8 | src/configure.in | 1 + | 9 | src/configure.in | 1 + |
9 | 1 file changed, 1 insertion(+) | 10 | 1 file changed, 1 insertion(+) |
@@ -20,6 +21,3 @@ index cae0976..951a042 100644 | |||
20 | ]) | 21 | ]) |
21 | 22 | ||
22 | dnl Checks for typedefs, structures, and compiler characteristics. | 23 | dnl Checks for typedefs, structures, and compiler characteristics. |
23 | -- | ||
24 | 2.12.1 | ||
25 | |||
diff --git a/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/configure.in-Error-fix.patch b/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/configure.in-Error-fix.patch index 2661fd3db..bbd516fde 100644 --- a/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/configure.in-Error-fix.patch +++ b/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/configure.in-Error-fix.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 71956de46feef962dc0645af4c81ae074ca3b818 Mon Sep 17 00:00:00 2001 | 1 | From bdd20b7a584a20504dfabb409a41ee2b9ae41657 Mon Sep 17 00:00:00 2001 |
2 | From: Lei Maohui <leimaohui@cn.fujitsu.com> | 2 | From: Lei Maohui <leimaohui@cn.fujitsu.com> |
3 | Date: Wed, 19 Aug 2015 13:52:57 +0900 | 3 | Date: Wed, 19 Aug 2015 13:52:57 +0900 |
4 | Subject: [PATCH] configure.in: Error fix. | 4 | Subject: [PATCH] configure.in: Error fix. |
@@ -9,15 +9,16 @@ No such file or directory #include <ac_nonexistent.h> | |||
9 | Upstream-Status: pending | 9 | Upstream-Status: pending |
10 | 10 | ||
11 | Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com> | 11 | Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com> |
12 | |||
12 | --- | 13 | --- |
13 | src/configure.in | 30 ------------------------------ | 14 | src/configure.in | 30 ------------------------------ |
14 | 1 file changed, 30 deletions(-) | 15 | 1 file changed, 30 deletions(-) |
15 | 16 | ||
16 | diff --git a/src/configure.in b/src/configure.in | 17 | diff --git a/src/configure.in b/src/configure.in |
17 | index 0b23df5..31c7fbc 100644 | 18 | index 1714e69..cae0976 100644 |
18 | --- a/src/configure.in | 19 | --- a/src/configure.in |
19 | +++ b/src/configure.in | 20 | +++ b/src/configure.in |
20 | @@ -193,36 +193,6 @@ if test "$GCC" = yes; then | 21 | @@ -195,36 +195,6 @@ if test "$GCC" = yes; then |
21 | CFLAGS="$CFLAGS -fno-strict-aliasing -Wall -Wstrict-prototypes" | 22 | CFLAGS="$CFLAGS -fno-strict-aliasing -Wall -Wstrict-prototypes" |
22 | fi | 23 | fi |
23 | 24 | ||
@@ -54,6 +55,3 @@ index 0b23df5..31c7fbc 100644 | |||
54 | if test "$rpppoe_cv_pack_bitfields" = "rev" ; then | 55 | if test "$rpppoe_cv_pack_bitfields" = "rev" ; then |
55 | AC_MSG_RESULT(reversed) | 56 | AC_MSG_RESULT(reversed) |
56 | AC_DEFINE([PACK_BITFIELDS_REVERSED], [], [Reversed bitfields]) | 57 | AC_DEFINE([PACK_BITFIELDS_REVERSED], [], [Reversed bitfields]) |
57 | -- | ||
58 | 1.8.4.2 | ||
59 | |||
diff --git a/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/configure.patch b/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/configure.patch index 1380ba489..be892803e 100644 --- a/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/configure.patch +++ b/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/configure.patch | |||
@@ -1,7 +1,15 @@ | |||
1 | Index: rp-pppoe-3.8/configure.in | 1 | From c96dda04ec024bdef2a15d374e5f8242e041cad4 Mon Sep 17 00:00:00 2001 |
2 | =================================================================== | 2 | From: Richard Purdie <richard.purdie@linuxfoundation.org> |
3 | --- rp-pppoe-3.8.orig/configure.in 2014-07-16 19:31:33.549991388 +0000 | 3 | Date: Fri, 18 Jul 2014 08:25:16 +0000 |
4 | +++ rp-pppoe-3.8/configure.in 2014-07-17 22:01:18.116590827 +0000 | 4 | |
5 | --- | ||
6 | configure.in | 4 ++-- | ||
7 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
8 | |||
9 | diff --git a/configure.in b/configure.in | ||
10 | index ac1a7e4..11b9f31 100644 | ||
11 | --- a/configure.in | ||
12 | +++ b/configure.in | ||
5 | @@ -1,4 +1,4 @@ | 13 | @@ -1,4 +1,4 @@ |
6 | -AC_INIT(src/pppoe.c) | 14 | -AC_INIT(src/pppoe.c) |
7 | -AM_INIT_AUTOMAKE([rp-pppoe], [3.8]) | 15 | -AM_INIT_AUTOMAKE([rp-pppoe], [3.8]) |
diff --git a/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/configure_in_cross.patch b/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/configure_in_cross.patch index 88cf7e677..3b945934f 100644 --- a/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/configure_in_cross.patch +++ b/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/configure_in_cross.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From cab02076afb808a43c6ff3d7b1c64e71f5a1b397 Mon Sep 17 00:00:00 2001 | 1 | From 172907f31d64da4c3f289a439fd605d2ab51b24a Mon Sep 17 00:00:00 2001 |
2 | From: Lei Maohui <leimaohui@cn.fujitsu.com> | 2 | From: Lei Maohui <leimaohui@cn.fujitsu.com> |
3 | Date: Wed, 19 Aug 2015 12:17:03 +0900 | 3 | Date: Wed, 19 Aug 2015 12:17:03 +0900 |
4 | Subject: [PATCH] configure in cross | 4 | Subject: [PATCH] configure in cross |
@@ -14,7 +14,7 @@ Upstream-Status: Inappropriate [build system specific changes] | |||
14 | 1 file changed, 16 insertions(+), 50 deletions(-) | 14 | 1 file changed, 16 insertions(+), 50 deletions(-) |
15 | 15 | ||
16 | diff --git a/src/configure.in b/src/configure.in | 16 | diff --git a/src/configure.in b/src/configure.in |
17 | index e194295..82d64d6 100644 | 17 | index 90a07df..1d30243 100644 |
18 | --- a/src/configure.in | 18 | --- a/src/configure.in |
19 | +++ b/src/configure.in | 19 | +++ b/src/configure.in |
20 | @@ -5,6 +5,13 @@ AC_INIT(pppoe.c) | 20 | @@ -5,6 +5,13 @@ AC_INIT(pppoe.c) |
@@ -40,7 +40,7 @@ index e194295..82d64d6 100644 | |||
40 | fi | 40 | fi |
41 | 41 | ||
42 | dnl Check for N_HDLC line discipline | 42 | dnl Check for N_HDLC line discipline |
43 | @@ -56,7 +63,7 @@ AC_TRY_COMPILE([#include <linux/termios.h>], | 43 | @@ -58,7 +65,7 @@ AC_TRY_COMPILE([ |
44 | ac_cv_n_hdlc=no) | 44 | ac_cv_n_hdlc=no) |
45 | AC_MSG_RESULT($ac_cv_n_hdlc) | 45 | AC_MSG_RESULT($ac_cv_n_hdlc) |
46 | if test "$ac_cv_n_hdlc" = yes ; then | 46 | if test "$ac_cv_n_hdlc" = yes ; then |
@@ -49,7 +49,7 @@ index e194295..82d64d6 100644 | |||
49 | fi | 49 | fi |
50 | 50 | ||
51 | 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) |
52 | @@ -104,7 +111,7 @@ PPPD_INCDIR="" | 52 | @@ -106,7 +113,7 @@ PPPD_INCDIR="" |
53 | if test "$ac_cv_header_linux_if_pppox_h" = yes ; then | 53 | if test "$ac_cv_header_linux_if_pppox_h" = yes ; then |
54 | if test "$ac_cv_pluginpath" != no ; then | 54 | if test "$ac_cv_pluginpath" != no ; then |
55 | LINUX_KERNELMODE_PLUGIN=rp-pppoe.so | 55 | LINUX_KERNELMODE_PLUGIN=rp-pppoe.so |
@@ -58,7 +58,7 @@ index e194295..82d64d6 100644 | |||
58 | PPPD_INCDIR=$ac_cv_pluginpath | 58 | PPPD_INCDIR=$ac_cv_pluginpath |
59 | fi | 59 | fi |
60 | fi | 60 | fi |
61 | @@ -114,7 +121,7 @@ if test "$PPPD_INCDIR" = "" ; then | 61 | @@ -116,7 +123,7 @@ if test "$PPPD_INCDIR" = "" ; then |
62 | fi | 62 | fi |
63 | 63 | ||
64 | if test "$ac_cv_debugging" = "yes" ; then | 64 | if test "$ac_cv_debugging" = "yes" ; then |
@@ -67,7 +67,7 @@ index e194295..82d64d6 100644 | |||
67 | fi | 67 | fi |
68 | 68 | ||
69 | AC_SUBST(LINUX_KERNELMODE_PLUGIN) | 69 | AC_SUBST(LINUX_KERNELMODE_PLUGIN) |
70 | @@ -140,15 +147,8 @@ AC_CHECK_SIZEOF(unsigned short) | 70 | @@ -142,15 +149,8 @@ AC_CHECK_SIZEOF(unsigned short) |
71 | AC_CHECK_SIZEOF(unsigned int) | 71 | AC_CHECK_SIZEOF(unsigned int) |
72 | AC_CHECK_SIZEOF(unsigned long) | 72 | AC_CHECK_SIZEOF(unsigned long) |
73 | 73 | ||
@@ -84,7 +84,7 @@ index e194295..82d64d6 100644 | |||
84 | 84 | ||
85 | dnl Check for Linux-specific kernel support for PPPoE | 85 | dnl Check for Linux-specific kernel support for PPPoE |
86 | 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) |
87 | @@ -193,44 +193,8 @@ if test "$GCC" = yes; then | 87 | @@ -195,44 +195,8 @@ if test "$GCC" = yes; then |
88 | CFLAGS="$CFLAGS -fno-strict-aliasing -Wall -Wstrict-prototypes" | 88 | CFLAGS="$CFLAGS -fno-strict-aliasing -Wall -Wstrict-prototypes" |
89 | fi | 89 | fi |
90 | 90 | ||
@@ -130,7 +130,7 @@ index e194295..82d64d6 100644 | |||
130 | if test "${rpppoe_cv_pack_bitfields+set}" != set ; then | 130 | if test "${rpppoe_cv_pack_bitfields+set}" != set ; then |
131 | AC_TRY_RUN([ | 131 | AC_TRY_RUN([ |
132 | union foo { | 132 | union foo { |
133 | @@ -257,10 +221,11 @@ main(void) | 133 | @@ -259,10 +223,11 @@ main(void) |
134 | }], rpppoe_cv_pack_bitfields=normal, rpppoe_cv_pack_bitfields=rev, | 134 | }], rpppoe_cv_pack_bitfields=normal, rpppoe_cv_pack_bitfields=rev, |
135 | $ECHO "no defaults for cross-compiling"; exit 0) | 135 | $ECHO "no defaults for cross-compiling"; exit 0) |
136 | fi | 136 | fi |
@@ -143,7 +143,7 @@ index e194295..82d64d6 100644 | |||
143 | else | 143 | else |
144 | AC_MSG_RESULT(normal) | 144 | AC_MSG_RESULT(normal) |
145 | fi | 145 | fi |
146 | @@ -324,6 +289,7 @@ AC_SUBST(PPPOE_SERVER_DEPS) | 146 | @@ -326,6 +291,7 @@ AC_SUBST(PPPOE_SERVER_DEPS) |
147 | AC_SUBST(RDYNAMIC) | 147 | AC_SUBST(RDYNAMIC) |
148 | AC_SUBST(LIBEVENT) | 148 | AC_SUBST(LIBEVENT) |
149 | AC_SUBST(ECHO) | 149 | AC_SUBST(ECHO) |
@@ -151,6 +151,3 @@ index e194295..82d64d6 100644 | |||
151 | AC_SUBST(LDFLAGS) | 151 | AC_SUBST(LDFLAGS) |
152 | 152 | ||
153 | datadir_evaluated=`eval echo $datadir` | 153 | datadir_evaluated=`eval echo $datadir` |
154 | -- | ||
155 | 1.8.4.2 | ||
156 | |||
diff --git a/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/discard-use-of-dnl-in-Makefile.am.patch b/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/discard-use-of-dnl-in-Makefile.am.patch index 8b7886485..9801f6e27 100644 --- a/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/discard-use-of-dnl-in-Makefile.am.patch +++ b/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/discard-use-of-dnl-in-Makefile.am.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 611c9fe719c5aa264a2ad2eb920cf4522ae2ddec Mon Sep 17 00:00:00 2001 | 1 | From f658181c58347c3e2b0ee4f0a6a3d19162921471 Mon Sep 17 00:00:00 2001 |
2 | From: Ting Liu <b28495@freescale.com> | 2 | From: Ting Liu <b28495@freescale.com> |
3 | Date: Tue, 12 Jun 2012 14:26:16 -0400 | 3 | Date: Tue, 12 Jun 2012 14:26:16 -0400 |
4 | Subject: [PATCH] discard use of dnl in Makefile.am | 4 | Subject: [PATCH] discard use of dnl in Makefile.am |
@@ -7,9 +7,10 @@ Since Makefile.am is not processed by m4, but by automake, 'dnl' does | |||
7 | not introduce a comment. | 7 | not introduce a comment. |
8 | 8 | ||
9 | Signed-off-by: Ting Liu <b28495@freescale.com> | 9 | Signed-off-by: Ting Liu <b28495@freescale.com> |
10 | |||
10 | --- | 11 | --- |
11 | Makefile.am | 2 +- | 12 | Makefile.am | 2 +- |
12 | 1 files changed, 1 insertions(+), 1 deletions(-) | 13 | 1 file changed, 1 insertion(+), 1 deletion(-) |
13 | 14 | ||
14 | diff --git a/Makefile.am b/Makefile.am | 15 | diff --git a/Makefile.am b/Makefile.am |
15 | index eff6977..3091c33 100644 | 16 | index eff6977..3091c33 100644 |
@@ -22,6 +23,3 @@ index eff6977..3091c33 100644 | |||
22 | -dnl AM_CFLAGS = -Wall -DDEBUG | 23 | -dnl AM_CFLAGS = -Wall -DDEBUG |
23 | +##dnl AM_CFLAGS = -Wall -DDEBUG | 24 | +##dnl AM_CFLAGS = -Wall -DDEBUG |
24 | SUBDIRS = src | 25 | SUBDIRS = src |
25 | -- | ||
26 | 1.7.6.5 | ||
27 | |||
diff --git a/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/dont-swallow-errors.patch b/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/dont-swallow-errors.patch index f61337f15..8a857888b 100644 --- a/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/dont-swallow-errors.patch +++ b/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/dont-swallow-errors.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From bbdadb803b19f002e76e7bb5ce3faf770dd7c413 Mon Sep 17 00:00:00 2001 | 1 | From a9a7322273c51882af58c35ba288a0fae00ba841 Mon Sep 17 00:00:00 2001 |
2 | From: Lei Maohui <leimaohui@cn.fujitsu.com> | 2 | From: Lei Maohui <leimaohui@cn.fujitsu.com> |
3 | Date: Wed, 19 Aug 2015 12:33:41 +0900 | 3 | Date: Wed, 19 Aug 2015 12:33:41 +0900 |
4 | Subject: [PATCH] don't swallow errors | 4 | Subject: [PATCH] don't swallow errors |
@@ -6,15 +6,16 @@ Subject: [PATCH] don't swallow errors | |||
6 | Further fixup to the configure scripts to not swallow errors | 6 | Further fixup to the configure scripts to not swallow errors |
7 | 7 | ||
8 | Upstream-Status: Pending | 8 | Upstream-Status: Pending |
9 | |||
9 | --- | 10 | --- |
10 | src/configure.in | 2 +- | 11 | src/configure.in | 2 +- |
11 | 1 file changed, 1 insertion(+), 1 deletion(-) | 12 | 1 file changed, 1 insertion(+), 1 deletion(-) |
12 | 13 | ||
13 | diff --git a/src/configure.in b/src/configure.in | 14 | diff --git a/src/configure.in b/src/configure.in |
14 | index 82d64d6..0b23df5 100644 | 15 | index 1d30243..1714e69 100644 |
15 | --- a/src/configure.in | 16 | --- a/src/configure.in |
16 | +++ b/src/configure.in | 17 | +++ b/src/configure.in |
17 | @@ -219,7 +219,7 @@ main(void) | 18 | @@ -221,7 +221,7 @@ main(void) |
18 | return 2; | 19 | return 2; |
19 | } | 20 | } |
20 | }], rpppoe_cv_pack_bitfields=normal, rpppoe_cv_pack_bitfields=rev, | 21 | }], rpppoe_cv_pack_bitfields=normal, rpppoe_cv_pack_bitfields=rev, |
@@ -23,6 +24,3 @@ index 82d64d6..0b23df5 100644 | |||
23 | fi | 24 | fi |
24 | ]) | 25 | ]) |
25 | 26 | ||
26 | -- | ||
27 | 1.8.4.2 | ||
28 | |||
diff --git a/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/pppoe-src-restrictions.patch b/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/pppoe-src-restrictions.patch index bcf4d1164..03697ff1f 100644 --- a/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/pppoe-src-restrictions.patch +++ b/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/pppoe-src-restrictions.patch | |||
@@ -1,3 +1,8 @@ | |||
1 | From a6a85ec5c85cbd3c86743b6e2fa391198869bff8 Mon Sep 17 00:00:00 2001 | ||
2 | From: Tom Rini <tom_rini@mentor.com> | ||
3 | Date: Wed, 27 Jul 2011 03:46:52 +0000 | ||
4 | Subject: [PATCH] rp-pppoe: Port from oe.dev | ||
5 | |||
1 | Relax restrictions on the PPPoE src address, as per debian bug | 6 | Relax restrictions on the PPPoE src address, as per debian bug |
2 | 293811: | 7 | 293811: |
3 | 8 | ||
@@ -5,9 +10,15 @@ Relax restrictions on the PPPoE src address, as per debian bug | |||
5 | 10 | ||
6 | Upstream-Status: Inappropriate [Backport from Debian] | 11 | Upstream-Status: Inappropriate [Backport from Debian] |
7 | 12 | ||
8 | --- rp-pppoe-3.8.orig/src/discovery.c | 13 | --- |
9 | +++ rp-pppoe-3.8/src/discovery.c | 14 | src/discovery.c | 4 ++-- |
10 | @@ -376,8 +376,8 @@ | 15 | 1 file changed, 2 insertions(+), 2 deletions(-) |
16 | |||
17 | diff --git a/src/discovery.c b/src/discovery.c | ||
18 | index 7ee259d..5213a37 100644 | ||
19 | --- a/src/discovery.c | ||
20 | +++ b/src/discovery.c | ||
21 | @@ -472,8 +472,8 @@ waitForPADO(PPPoEConnection *conn, int timeout) | ||
11 | if (!packetIsForMe(conn, &packet)) continue; | 22 | if (!packetIsForMe(conn, &packet)) continue; |
12 | 23 | ||
13 | if (packet.code == CODE_PADO) { | 24 | if (packet.code == CODE_PADO) { |
@@ -17,4 +28,4 @@ Upstream-Status: Inappropriate [Backport from Debian] | |||
17 | + printErr("Ignoring broadcast PADO packet"); | 28 | + printErr("Ignoring broadcast PADO packet"); |
18 | continue; | 29 | continue; |
19 | } | 30 | } |
20 | parsePacket(&packet, parsePADOTags, &pc); | 31 | #ifdef PLUGIN |
diff --git a/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/top-autoconf.patch b/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/top-autoconf.patch index 4fe73d017..f64da4fa2 100644 --- a/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/top-autoconf.patch +++ b/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/top-autoconf.patch | |||
@@ -1,3 +1,8 @@ | |||
1 | From 0b62f71eb5d44d4a57103566ba58022b6304fa4f Mon Sep 17 00:00:00 2001 | ||
2 | From: Tom Rini <tom_rini@mentor.com> | ||
3 | Date: Wed, 27 Jul 2011 03:46:52 +0000 | ||
4 | Subject: [PATCH] rp-pppoe: Port from oe.dev | ||
5 | |||
1 | The autoconf stuff is all in a subdirectory, which is rather annoying | 6 | The autoconf stuff is all in a subdirectory, which is rather annoying |
2 | as OE expects patches to be applied and autoconf stuff to be done in | 7 | as OE expects patches to be applied and autoconf stuff to be done in |
3 | S. This adds enough autoconf at the top level to allow it to be | 8 | S. This adds enough autoconf at the top level to allow it to be |
@@ -6,20 +11,29 @@ directory. | |||
6 | 11 | ||
7 | Upstream-Status: Inappropriate [build system specific change] | 12 | Upstream-Status: Inappropriate [build system specific change] |
8 | 13 | ||
9 | Index: rp-pppoe-3.8/Makefile.am | 14 | --- |
10 | =================================================================== | 15 | Makefile.am | 5 +++++ |
11 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 | 16 | configure.in | 4 ++++ |
12 | +++ rp-pppoe-3.8/Makefile.am 2007-06-08 15:58:16.000000000 +1000 | 17 | 2 files changed, 9 insertions(+) |
18 | create mode 100644 Makefile.am | ||
19 | create mode 100644 configure.in | ||
20 | |||
21 | diff --git a/Makefile.am b/Makefile.am | ||
22 | new file mode 100644 | ||
23 | index 0000000..eff6977 | ||
24 | --- /dev/null | ||
25 | +++ b/Makefile.am | ||
13 | @@ -0,0 +1,5 @@ | 26 | @@ -0,0 +1,5 @@ |
14 | +PACKAGE = rp-pppoe | 27 | +PACKAGE = rp-pppoe |
15 | +VERSION = 3.8 | 28 | +VERSION = 3.8 |
16 | + | 29 | + |
17 | +dnl AM_CFLAGS = -Wall -DDEBUG | 30 | +dnl AM_CFLAGS = -Wall -DDEBUG |
18 | +SUBDIRS = src | 31 | +SUBDIRS = src |
19 | Index: rp-pppoe-3.8/configure.in | 32 | diff --git a/configure.in b/configure.in |
20 | =================================================================== | 33 | new file mode 100644 |
21 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 | 34 | index 0000000..ac1a7e4 |
22 | +++ rp-pppoe-3.8/configure.in 2007-06-08 15:58:16.000000000 +1000 | 35 | --- /dev/null |
36 | +++ b/configure.in | ||
23 | @@ -0,0 +1,4 @@ | 37 | @@ -0,0 +1,4 @@ |
24 | +AC_INIT(src/pppoe.c) | 38 | +AC_INIT(src/pppoe.c) |
25 | +AM_INIT_AUTOMAKE([rp-pppoe], [3.8]) | 39 | +AM_INIT_AUTOMAKE([rp-pppoe], [3.8]) |
diff --git a/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/update-config.patch b/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/update-config.patch index 42a3bc62c..c759e09aa 100644 --- a/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/update-config.patch +++ b/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/update-config.patch | |||
@@ -1,3 +1,8 @@ | |||
1 | From 4d34e0d7d790ec41b0afb731c7dc1b1ee90dd377 Mon Sep 17 00:00:00 2001 | ||
2 | From: Tom Rini <tom_rini@mentor.com> | ||
3 | Date: Wed, 27 Jul 2011 03:46:52 +0000 | ||
4 | Subject: [PATCH] rp-pppoe: Port from oe.dev | ||
5 | |||
1 | Set the timeout to 0 since we don't want pppoe to try reconnecting, | 6 | Set the timeout to 0 since we don't want pppoe to try reconnecting, |
2 | we want whatever is calling it to reconnect. Lots of odd things | 7 | we want whatever is calling it to reconnect. Lots of odd things |
3 | happen when you have pppoe retrying itself. | 8 | happen when you have pppoe retrying itself. |
@@ -8,11 +13,15 @@ ppp looks, so that's what we do here. | |||
8 | 13 | ||
9 | Upstream-Status: Inappropriate [configuration] | 14 | Upstream-Status: Inappropriate [configuration] |
10 | 15 | ||
11 | Index: rp-pppoe-3.8/configs/pppoe.conf | 16 | --- |
12 | =================================================================== | 17 | configs/pppoe.conf | 4 ++-- |
13 | --- rp-pppoe-3.8.orig/configs/pppoe.conf 2006-04-03 00:29:41.000000000 +1000 | 18 | 1 file changed, 2 insertions(+), 2 deletions(-) |
14 | +++ rp-pppoe-3.8/configs/pppoe.conf 2007-06-08 16:02:47.000000000 +1000 | 19 | |
15 | @@ -66,7 +66,7 @@ | 20 | diff --git a/configs/pppoe.conf b/configs/pppoe.conf |
21 | index c222b2f..65618a5 100644 | ||
22 | --- a/configs/pppoe.conf | ||
23 | +++ b/configs/pppoe.conf | ||
24 | @@ -66,7 +66,7 @@ DEFAULTROUTE=yes | ||
16 | # to connect forever after pppoe-start is called. Otherwise, it will | 25 | # to connect forever after pppoe-start is called. Otherwise, it will |
17 | # give out after CONNECT_TIMEOUT seconds and will not attempt to | 26 | # give out after CONNECT_TIMEOUT seconds and will not attempt to |
18 | # connect again, making it impossible to reach. | 27 | # connect again, making it impossible to reach. |
@@ -21,7 +30,7 @@ Index: rp-pppoe-3.8/configs/pppoe.conf | |||
21 | 30 | ||
22 | # How often in seconds pppoe-start polls to check if link is up | 31 | # How often in seconds pppoe-start polls to check if link is up |
23 | CONNECT_POLL=2 | 32 | CONNECT_POLL=2 |
24 | @@ -115,7 +115,7 @@ | 33 | @@ -115,7 +115,7 @@ PPPOE_TIMEOUT=80 |
25 | FIREWALL=NONE | 34 | FIREWALL=NONE |
26 | 35 | ||
27 | # Linux kernel-mode plugin for pppd. If you want to try the kernel-mode | 36 | # Linux kernel-mode plugin for pppd. If you want to try the kernel-mode |