summaryrefslogtreecommitdiffstats
path: root/external/meta-openembedded/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12
diff options
context:
space:
mode:
Diffstat (limited to 'external/meta-openembedded/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12')
-rw-r--r--external/meta-openembedded/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/0001-ppoe-Dont-include-linux-if_ether.h.patch28
-rw-r--r--external/meta-openembedded/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/0002-Enable-support-for-the-kernel-module.patch23
-rw-r--r--external/meta-openembedded/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/configure.in-Error-fix.patch57
-rw-r--r--external/meta-openembedded/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/configure.patch19
-rw-r--r--external/meta-openembedded/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/configure_in_cross.patch153
-rw-r--r--external/meta-openembedded/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/discard-use-of-dnl-in-Makefile.am.patch25
-rw-r--r--external/meta-openembedded/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/dont-swallow-errors.patch26
-rw-r--r--external/meta-openembedded/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/pppoe-server.default22
-rwxr-xr-xexternal/meta-openembedded/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/pppoe-server.init59
-rw-r--r--external/meta-openembedded/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/pppoe-server.service11
-rw-r--r--external/meta-openembedded/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/pppoe-src-restrictions.patch31
-rw-r--r--external/meta-openembedded/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/top-autoconf.patch41
-rw-r--r--external/meta-openembedded/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/update-config.patch41
13 files changed, 0 insertions, 536 deletions
diff --git a/external/meta-openembedded/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/0001-ppoe-Dont-include-linux-if_ether.h.patch b/external/meta-openembedded/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/0001-ppoe-Dont-include-linux-if_ether.h.patch
deleted file mode 100644
index 7601f0d3..00000000
--- a/external/meta-openembedded/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/0001-ppoe-Dont-include-linux-if_ether.h.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From fdb64d21560bfdafeefccc7d20e105e4857faa99 Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Tue, 28 Mar 2017 19:20:07 -0700
-Subject: [PATCH] ppoe: Dont include linux/if_ether.h
-
-Fixes build with musl
-
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
-
----
- src/pppoe.h | 4 ----
- 1 file changed, 4 deletions(-)
-
-diff --git a/src/pppoe.h b/src/pppoe.h
-index ec067a0..281879c 100644
---- a/src/pppoe.h
-+++ b/src/pppoe.h
-@@ -127,10 +127,6 @@ typedef unsigned long UINT32_t;
- #error Could not find a 32-bit integer type
- #endif
-
--#ifdef HAVE_LINUX_IF_ETHER_H
--#include <linux/if_ether.h>
--#endif
--
- #include <netinet/in.h>
-
- #ifdef HAVE_NETINET_IF_ETHER_H
diff --git a/external/meta-openembedded/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/0002-Enable-support-for-the-kernel-module.patch b/external/meta-openembedded/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/0002-Enable-support-for-the-kernel-module.patch
deleted file mode 100644
index 2103b388..00000000
--- a/external/meta-openembedded/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/0002-Enable-support-for-the-kernel-module.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-From 31b6eecd7e5ebfb9a37915f28823e5af9d1062b4 Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Tue, 28 Mar 2017 19:24:53 -0700
-Subject: [PATCH] Enable support for the kernel module
-
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
-
----
- src/configure.in | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/src/configure.in b/src/configure.in
-index cae0976..951a042 100644
---- a/src/configure.in
-+++ b/src/configure.in
-@@ -33,6 +33,7 @@ AC_CHECK_HEADERS(linux/if_pppox.h, [], [],
- #include<net/ethernet.h>
- #include<linux/if.h>
- #include<linux/in.h>
-+#include<linux/in6.h>
- ])
-
- dnl Checks for typedefs, structures, and compiler characteristics.
diff --git a/external/meta-openembedded/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/configure.in-Error-fix.patch b/external/meta-openembedded/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/configure.in-Error-fix.patch
deleted file mode 100644
index bbd516fd..00000000
--- a/external/meta-openembedded/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/configure.in-Error-fix.patch
+++ /dev/null
@@ -1,57 +0,0 @@
-From bdd20b7a584a20504dfabb409a41ee2b9ae41657 Mon Sep 17 00:00:00 2001
-From: Lei Maohui <leimaohui@cn.fujitsu.com>
-Date: Wed, 19 Aug 2015 13:52:57 +0900
-Subject: [PATCH] configure.in: Error fix.
-
-the error is: conftest.c:9:28: fatal error: ac_nonexistent.h:
-No such file or directory #include <ac_nonexistent.h>
-
-Upstream-Status: pending
-
-Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com>
-
----
- src/configure.in | 30 ------------------------------
- 1 file changed, 30 deletions(-)
-
-diff --git a/src/configure.in b/src/configure.in
-index 1714e69..cae0976 100644
---- a/src/configure.in
-+++ b/src/configure.in
-@@ -195,36 +195,6 @@ if test "$GCC" = yes; then
- CFLAGS="$CFLAGS -fno-strict-aliasing -Wall -Wstrict-prototypes"
- fi
-
--dnl Figure out packing order of structures
--AC_CACHE_CHECK([packing order of bit fields],rpppoe_cv_pack_bitfields,[
--if test "${rpppoe_cv_pack_bitfields+set}" != set ; then
--AC_TRY_RUN([
--union foo {
-- struct bar {
-- unsigned int ver:4;
-- unsigned int type:4;
-- } bb;
-- unsigned char baz;
--};
--
--int
--main(void)
--{
-- union foo x;
-- x.bb.ver = 1;
-- x.bb.type = 2;
-- if (x.baz == 0x21) {
-- return 1;
-- } else if (x.baz == 0x12) {
-- return 0;
-- } else {
-- return 2;
-- }
--}], rpppoe_cv_pack_bitfields=normal, rpppoe_cv_pack_bitfields=rev,
--$ECHO "no defaults for cross-compiling"; exit 1)
--fi
--])
--
- if test "$rpppoe_cv_pack_bitfields" = "rev" ; then
- AC_MSG_RESULT(reversed)
- AC_DEFINE([PACK_BITFIELDS_REVERSED], [], [Reversed bitfields])
diff --git a/external/meta-openembedded/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/configure.patch b/external/meta-openembedded/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/configure.patch
deleted file mode 100644
index be892803..00000000
--- a/external/meta-openembedded/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/configure.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-From c96dda04ec024bdef2a15d374e5f8242e041cad4 Mon Sep 17 00:00:00 2001
-From: Richard Purdie <richard.purdie@linuxfoundation.org>
-Date: Fri, 18 Jul 2014 08:25:16 +0000
-
----
- configure.in | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/configure.in b/configure.in
-index ac1a7e4..11b9f31 100644
---- a/configure.in
-+++ b/configure.in
-@@ -1,4 +1,4 @@
--AC_INIT(src/pppoe.c)
--AM_INIT_AUTOMAKE([rp-pppoe], [3.8])
-+AC_INIT([rp-pppoe], [3.8])
-+AM_INIT_AUTOMAKE([foreign])
- AC_CONFIG_SUBDIRS(src)
- AC_OUTPUT(Makefile)
diff --git a/external/meta-openembedded/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/configure_in_cross.patch b/external/meta-openembedded/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/configure_in_cross.patch
deleted file mode 100644
index 3b945934..00000000
--- a/external/meta-openembedded/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/configure_in_cross.patch
+++ /dev/null
@@ -1,153 +0,0 @@
-From 172907f31d64da4c3f289a439fd605d2ab51b24a Mon Sep 17 00:00:00 2001
-From: Lei Maohui <leimaohui@cn.fujitsu.com>
-Date: Wed, 19 Aug 2015 12:17:03 +0900
-Subject: [PATCH] configure in cross
-
-Update the configure script to cross-compiling with OE. This hard-codes
-a few target paths, reworks a few tests to be more friendly for cross
-and drops other tests.
-
-Upstream-Status: Inappropriate [build system specific changes]
-
----
- src/configure.in | 66 ++++++++++++++------------------------------------------
- 1 file changed, 16 insertions(+), 50 deletions(-)
-
-diff --git a/src/configure.in b/src/configure.in
-index 90a07df..1d30243 100644
---- a/src/configure.in
-+++ b/src/configure.in
-@@ -5,6 +5,13 @@ AC_INIT(pppoe.c)
- dnl pppd directory for kernel-mode PPPoE
- PPPD_DIR=ppp-2.4.1.pppoe2
-
-+dnl hard code some paths
-+PPPD=/usr/sbin/pppd
-+ID=/usr/bin/id
-+ECHO=/bin/echo
-+AC_ARG_VAR(PPPD)
-+AC_ARG_VAR(ID)
-+
- AC_CONFIG_HEADER(config.h)
-
- AC_PREFIX_DEFAULT(/usr)
-@@ -45,7 +52,7 @@ ac_cv_struct_sockaddr_ll=no)
- AC_MSG_RESULT($ac_cv_struct_sockaddr_ll)
-
- if test "$ac_cv_struct_sockaddr_ll" = yes ; then
--AC_DEFINE(HAVE_STRUCT_SOCKADDR_LL)
-+AC_DEFINE([HAVE_STRUCT_SOCKADDR_LL], [], [Have struct SOCKADDR_LL])
- fi
-
- dnl Check for N_HDLC line discipline
-@@ -58,7 +65,7 @@ AC_TRY_COMPILE([
- ac_cv_n_hdlc=no)
- AC_MSG_RESULT($ac_cv_n_hdlc)
- if test "$ac_cv_n_hdlc" = yes ; then
--AC_DEFINE(HAVE_N_HDLC)
-+AC_DEFINE([HAVE_N_HDLC], [], [Have N_HDLC])
- fi
-
- AC_ARG_ENABLE(plugin, [ --enable-plugin=pppd_src_path build pppd plugin], ac_cv_pluginpath=$enableval, ac_cv_pluginpath=no)
-@@ -106,7 +113,7 @@ PPPD_INCDIR=""
- if test "$ac_cv_header_linux_if_pppox_h" = yes ; then
- if test "$ac_cv_pluginpath" != no ; then
- LINUX_KERNELMODE_PLUGIN=rp-pppoe.so
-- AC_DEFINE(HAVE_LINUX_KERNEL_PPPOE)
-+ AC_DEFINE([HAVE_LINUX_KERNEL_PPPOE], [], [Have kernel PPPoE])
- PPPD_INCDIR=$ac_cv_pluginpath
- fi
- fi
-@@ -116,7 +123,7 @@ if test "$PPPD_INCDIR" = "" ; then
- fi
-
- if test "$ac_cv_debugging" = "yes" ; then
-- AC_DEFINE(DEBUGGING_ENABLED)
-+ AC_DEFINE([DEBUGGING_ENABLED], [], [Debugging enabled])
- fi
-
- AC_SUBST(LINUX_KERNELMODE_PLUGIN)
-@@ -142,15 +149,8 @@ AC_CHECK_SIZEOF(unsigned short)
- AC_CHECK_SIZEOF(unsigned int)
- AC_CHECK_SIZEOF(unsigned long)
-
--dnl Check for location of pppd
--AC_PATH_PROG(PPPD, pppd, NOTFOUND, $PATH:/sbin:/usr/sbin:/usr/local/sbin)
--AC_PATH_PROG(ECHO, echo, echo)
--
--dnl Check for setsid (probably Linux-specific)
--AC_PATH_PROG(SETSID, setsid, "", $PATH:/sbin:/usr/sbin:/usr/local/sbin)
--
- dnl Check for an "id" which accepts "-u" option -- hack for Solaris.
--AC_PATH_PROG(ID, id, "", /usr/xpg4/bin:$PATH)
-+dnl AC_PATH_PROG(ID, id, "", /usr/xpg4/bin:$PATH)
-
- dnl Check for Linux-specific kernel support for PPPoE
- AC_MSG_CHECKING(for Linux 2.4.X kernel-mode PPPoE support)
-@@ -195,44 +195,8 @@ if test "$GCC" = yes; then
- CFLAGS="$CFLAGS -fno-strict-aliasing -Wall -Wstrict-prototypes"
- fi
-
--dnl If we couldn't find pppd, die
--if test "$PPPD" = "NOTFOUND"; then
-- AC_MSG_WARN([*** Oops! I couldn't find pppd, the PPP daemon anywhere.])
-- AC_MSG_WARN([*** You must install pppd, version 2.3.10 or later.])
-- AC_MSG_WARN([*** I will keep going, but it may not work.])
-- PPPD=pppd
--fi
--
--dnl Figure out pppd version. 2.3.7 to 2.3.9 -- issue warning. Less than
--dnl 2.3.7 -- stop
--
--PPPD_VERSION=`$PPPD --version 2>&1 | awk ' /version/ {print $NF}'`
--
--case "$PPPD_VERSION" in
--1.*|2.0.*|2.1.*|2.2.*|2.3.0|2.3.1|2.3.2|2.3.3|2.3.4|2.3.5|2.3.6)
-- AC_MSG_WARN([*** Oops! Your version of pppd is $PPPD_VERSION, which is too old.])
-- AC_MSG_WARN([*** You need at least 2.3.7 (2.3.10 or newer recommended.])
-- AC_MSG_WARN([*** I will keep going, but it may not work.])
-- ;;
--
--2.3.7|2.3.8|2.3.9)
-- AC_MSG_WARN([*** Warning. Your version of pppd is $PPPD_VERSION. You will])
-- AC_MSG_WARN([*** not be able to use connect-on-demand. Upgrade to pppd])
-- AC_MSG_WARN([*** 2.3.10 or newer if you need connect-on-demand.])
-- ;;
--
--2*|3*|4*|5*|6*|7*|8*|9*)
-- ;;
--
--*)
-- AC_MSG_WARN([*** Oops. I cannot figure out what version of pppd you have.])
-- AC_MSG_WARN([*** All I got back was '$PPPD_VERSION'])
-- AC_MSG_WARN([*** I will keep going, but it may not work.])
-- ;;
--esac
--
- dnl Figure out packing order of structures
--AC_MSG_CHECKING([packing order of bit fields])
-+AC_CACHE_CHECK([packing order of bit fields],rpppoe_cv_pack_bitfields,[
- if test "${rpppoe_cv_pack_bitfields+set}" != set ; then
- AC_TRY_RUN([
- union foo {
-@@ -259,10 +223,11 @@ main(void)
- }], rpppoe_cv_pack_bitfields=normal, rpppoe_cv_pack_bitfields=rev,
- $ECHO "no defaults for cross-compiling"; exit 0)
- fi
-+])
-
- if test "$rpppoe_cv_pack_bitfields" = "rev" ; then
- AC_MSG_RESULT(reversed)
-- AC_DEFINE(PACK_BITFIELDS_REVERSED)
-+ AC_DEFINE([PACK_BITFIELDS_REVERSED], [], [Reversed bitfields])
- else
- AC_MSG_RESULT(normal)
- fi
-@@ -326,6 +291,7 @@ AC_SUBST(PPPOE_SERVER_DEPS)
- AC_SUBST(RDYNAMIC)
- AC_SUBST(LIBEVENT)
- AC_SUBST(ECHO)
-+AC_SUBST(HAVE_STRUCT_SOCKADDR_LL)
- AC_SUBST(LDFLAGS)
-
- datadir_evaluated=`eval echo $datadir`
diff --git a/external/meta-openembedded/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/discard-use-of-dnl-in-Makefile.am.patch b/external/meta-openembedded/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/discard-use-of-dnl-in-Makefile.am.patch
deleted file mode 100644
index 9801f6e2..00000000
--- a/external/meta-openembedded/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/discard-use-of-dnl-in-Makefile.am.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From f658181c58347c3e2b0ee4f0a6a3d19162921471 Mon Sep 17 00:00:00 2001
-From: Ting Liu <b28495@freescale.com>
-Date: Tue, 12 Jun 2012 14:26:16 -0400
-Subject: [PATCH] discard use of dnl in Makefile.am
-
-Since Makefile.am is not processed by m4, but by automake, 'dnl' does
-not introduce a comment.
-
-Signed-off-by: Ting Liu <b28495@freescale.com>
-
----
- Makefile.am | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/Makefile.am b/Makefile.am
-index eff6977..3091c33 100644
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -1,5 +1,5 @@
- PACKAGE = rp-pppoe
- VERSION = 3.8
-
--dnl AM_CFLAGS = -Wall -DDEBUG
-+##dnl AM_CFLAGS = -Wall -DDEBUG
- SUBDIRS = src
diff --git a/external/meta-openembedded/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/dont-swallow-errors.patch b/external/meta-openembedded/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/dont-swallow-errors.patch
deleted file mode 100644
index 8a857888..00000000
--- a/external/meta-openembedded/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/dont-swallow-errors.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From a9a7322273c51882af58c35ba288a0fae00ba841 Mon Sep 17 00:00:00 2001
-From: Lei Maohui <leimaohui@cn.fujitsu.com>
-Date: Wed, 19 Aug 2015 12:33:41 +0900
-Subject: [PATCH] don't swallow errors
-
-Further fixup to the configure scripts to not swallow errors
-
-Upstream-Status: Pending
-
----
- src/configure.in | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/configure.in b/src/configure.in
-index 1d30243..1714e69 100644
---- a/src/configure.in
-+++ b/src/configure.in
-@@ -221,7 +221,7 @@ main(void)
- return 2;
- }
- }], rpppoe_cv_pack_bitfields=normal, rpppoe_cv_pack_bitfields=rev,
--$ECHO "no defaults for cross-compiling"; exit 0)
-+$ECHO "no defaults for cross-compiling"; exit 1)
- fi
- ])
-
diff --git a/external/meta-openembedded/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/pppoe-server.default b/external/meta-openembedded/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/pppoe-server.default
deleted file mode 100644
index 996d57f3..00000000
--- a/external/meta-openembedded/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/pppoe-server.default
+++ /dev/null
@@ -1,22 +0,0 @@
-# PPPoE Server options
-
-# Maximum segment size, not used for in kernel PPPoE
-#MSS=1412
-
-# Device(s) - Space seperated list of devices to listen on
-#DEVICES="eth1"
-
-# Local IP
-#LOCAL_IP=10.0.0.1
-
-# Starting remote IP
-#REMOTE_IP=10.67.15.1
-
-# Service name
-#SERVICE_NAME="acme"
-
-# Maximum number of sessions, default is 16
-#MAX_SESSIONS=64
-
-# Access concentrator name, default is the hostname
-#ACCESS_CONCENTRATOR_NAME="pppoe-rtr-1"
diff --git a/external/meta-openembedded/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/pppoe-server.init b/external/meta-openembedded/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/pppoe-server.init
deleted file mode 100755
index 21afe0be..00000000
--- a/external/meta-openembedded/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/pppoe-server.init
+++ /dev/null
@@ -1,59 +0,0 @@
-#! /bin/sh
-
-test -f /usr/sbin/pppoe-server || exit 0
-test -f /etc/default/pppoe-server && . /etc/default/pppoe-server
-
-case $1 in
- start)
- OPTIONS=""
- if [ -n "$MSS" ]; then
- OPTIONS="$OPTIONS -m $MSS"
- fi
- if [ -n "$DEVICES" ]; then
- for i in $DEVICES; do
- OPTIONS="$OPTIONS -I $i"
- done
- fi
- if [ -n "$LOCAL_IP" ]; then
- OPTIONS="$OPTIONS -L $LOCAL_IP"
- fi
- if [ -n "$REMOTE_IP" ]; then
- OPTIONS="$OPTIONS -R $REMOTE_IP"
- fi
- if [ -n "$SERVICE_NAME" ]; then
- OPTIONS="$OPTIONS -S $SERVICE_NAME"
- fi
- if [ -n "$MAX_SESSIONS" ]; then
- OPTIONS="$OPTIONS -N $MAX_SESSIONS"
- fi
- if [ -n "$ACCESS_CONCENTRATOR_NAME" ]; then
- OPTIONS="$OPTIONS -C $ACCESS_CONCENTRATOR_NAME"
- fi
- echo -n "Starting PPPoE server: pppoe-server"
- start-stop-daemon --start --quiet --exec /usr/sbin/pppoe-server -- $OPTIONS
- echo "."
- ;;
- stop)
- echo -n "Stopping PPPoE server: pppoe-server"
- start-stop-daemon --stop --quiet --exec /usr/sbin/pppoe-server -- $OPTIONS
- echo "."
- ;;
- status)
- pid=$(pidof pppoe-server)
- if [ -n "$pid" ] ; then
- echo "Running with pid $pid"
- else
- echo "Not running"
- fi
- ;;
- restart|force-reload)
- $0 stop
- $0 start
- ;;
- *)
- echo "Usage: /etc/init.d/pppoe-server {start|stop|restart|force-reload}"
- exit 1
- ;;
-esac
-
-exit 0
diff --git a/external/meta-openembedded/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/pppoe-server.service b/external/meta-openembedded/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/pppoe-server.service
deleted file mode 100644
index 41e0b9e8..00000000
--- a/external/meta-openembedded/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/pppoe-server.service
+++ /dev/null
@@ -1,11 +0,0 @@
-[Unit]
-Description=PPPOE Service
-After=network.target
-
-[Service]
-Type=forking
-EnvironmentFile=-@SYSCONFDIR@/default/pppoe-server
-ExecStart=@SBINDIR@/pppoe-server
-
-[Install]
-WantedBy=multi-user.target
diff --git a/external/meta-openembedded/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/pppoe-src-restrictions.patch b/external/meta-openembedded/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/pppoe-src-restrictions.patch
deleted file mode 100644
index 03697ff1..00000000
--- a/external/meta-openembedded/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/pppoe-src-restrictions.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From a6a85ec5c85cbd3c86743b6e2fa391198869bff8 Mon Sep 17 00:00:00 2001
-From: Tom Rini <tom_rini@mentor.com>
-Date: Wed, 27 Jul 2011 03:46:52 +0000
-Subject: [PATCH] rp-pppoe: Port from oe.dev
-
-Relax restrictions on the PPPoE src address, as per debian bug
-293811:
-
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=293811
-
-Upstream-Status: Inappropriate [Backport from Debian]
-
----
- src/discovery.c | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/src/discovery.c b/src/discovery.c
-index 7ee259d..5213a37 100644
---- a/src/discovery.c
-+++ b/src/discovery.c
-@@ -472,8 +472,8 @@ waitForPADO(PPPoEConnection *conn, int timeout)
- if (!packetIsForMe(conn, &packet)) continue;
-
- if (packet.code == CODE_PADO) {
-- if (NOT_UNICAST(packet.ethHdr.h_source)) {
-- printErr("Ignoring PADO packet from non-unicast MAC address");
-+ if (BROADCAST(packet.ethHdr.h_source)) {
-+ printErr("Ignoring broadcast PADO packet");
- continue;
- }
- #ifdef PLUGIN
diff --git a/external/meta-openembedded/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/top-autoconf.patch b/external/meta-openembedded/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/top-autoconf.patch
deleted file mode 100644
index f64da4fa..00000000
--- a/external/meta-openembedded/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/top-autoconf.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-From 0b62f71eb5d44d4a57103566ba58022b6304fa4f Mon Sep 17 00:00:00 2001
-From: Tom Rini <tom_rini@mentor.com>
-Date: Wed, 27 Jul 2011 03:46:52 +0000
-Subject: [PATCH] rp-pppoe: Port from oe.dev
-
-The autoconf stuff is all in a subdirectory, which is rather annoying
-as OE expects patches to be applied and autoconf stuff to be done in
-S. This adds enough autoconf at the top level to allow it to be
-called there - all it does is run a sub autoconf stuff in the src
-directory.
-
-Upstream-Status: Inappropriate [build system specific change]
-
----
- Makefile.am | 5 +++++
- configure.in | 4 ++++
- 2 files changed, 9 insertions(+)
- create mode 100644 Makefile.am
- create mode 100644 configure.in
-
-diff --git a/Makefile.am b/Makefile.am
-new file mode 100644
-index 0000000..eff6977
---- /dev/null
-+++ b/Makefile.am
-@@ -0,0 +1,5 @@
-+PACKAGE = rp-pppoe
-+VERSION = 3.8
-+
-+dnl AM_CFLAGS = -Wall -DDEBUG
-+SUBDIRS = src
-diff --git a/configure.in b/configure.in
-new file mode 100644
-index 0000000..ac1a7e4
---- /dev/null
-+++ b/configure.in
-@@ -0,0 +1,4 @@
-+AC_INIT(src/pppoe.c)
-+AM_INIT_AUTOMAKE([rp-pppoe], [3.8])
-+AC_CONFIG_SUBDIRS(src)
-+AC_OUTPUT(Makefile)
diff --git a/external/meta-openembedded/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/update-config.patch b/external/meta-openembedded/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/update-config.patch
deleted file mode 100644
index c759e09a..00000000
--- a/external/meta-openembedded/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe-3.12/update-config.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-From 4d34e0d7d790ec41b0afb731c7dc1b1ee90dd377 Mon Sep 17 00:00:00 2001
-From: Tom Rini <tom_rini@mentor.com>
-Date: Wed, 27 Jul 2011 03:46:52 +0000
-Subject: [PATCH] rp-pppoe: Port from oe.dev
-
-Set the timeout to 0 since we don't want pppoe to try reconnecting,
-we want whatever is calling it to reconnect. Lots of odd things
-happen when you have pppoe retrying itself.
-
-The path for the plugin is wrong, it's now part of ppp and is in a
-ppp's plugin lib directory. If no path is specified then that's where
-ppp looks, so that's what we do here.
-
-Upstream-Status: Inappropriate [configuration]
-
----
- configs/pppoe.conf | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/configs/pppoe.conf b/configs/pppoe.conf
-index c222b2f..65618a5 100644
---- a/configs/pppoe.conf
-+++ b/configs/pppoe.conf
-@@ -66,7 +66,7 @@ DEFAULTROUTE=yes
- # to connect forever after pppoe-start is called. Otherwise, it will
- # give out after CONNECT_TIMEOUT seconds and will not attempt to
- # connect again, making it impossible to reach.
--CONNECT_TIMEOUT=30
-+CONNECT_TIMEOUT=0
-
- # How often in seconds pppoe-start polls to check if link is up
- CONNECT_POLL=2
-@@ -115,7 +115,7 @@ PPPOE_TIMEOUT=80
- FIREWALL=NONE
-
- # Linux kernel-mode plugin for pppd. If you want to try the kernel-mode
--# plugin, use LINUX_PLUGIN=/etc/ppp/plugins/rp-pppoe.so
-+# plugin, use LINUX_PLUGIN=rp-pppoe.so
- LINUX_PLUGIN=
-
- # Any extra arguments to pass to pppoe. Normally, use a blank string