summaryrefslogtreecommitdiff
path: root/packages/rp-pppoe/rp-pppoe-3.8
diff options
context:
space:
mode:
authorJamie Lenehan <lenehan@twibble.org>2007-06-07 10:15:19 +0000
committerJamie Lenehan <lenehan@twibble.org>2007-06-07 10:15:19 +0000
commit44f91ce2343c5f253248141b3d8f4fd656a33891 (patch)
tree745dbcbd58001ef0cf9ab687a89b6810395093e0 /packages/rp-pppoe/rp-pppoe-3.8
parent2144022dbdeba94f29bb2c659dfbee8dbb5acf97 (diff)
rp-pppoe 3.8: Updates
* Recommend ppp-oe, which is the PPPoE plugin module for PPP to enable the kernel mode PPPoE which is a lot faster, has lower latency and uses less CPU. * Remove the module path from the configuration file since it's wrong and it's not needed. * Don't check for the location of echo on the host, just use /bin/echo - it's only needed for the script that rp-pppoe installs.
Diffstat (limited to 'packages/rp-pppoe/rp-pppoe-3.8')
-rw-r--r--packages/rp-pppoe/rp-pppoe-3.8/configure_in_cross.patch19
1 files changed, 11 insertions, 8 deletions
diff --git a/packages/rp-pppoe/rp-pppoe-3.8/configure_in_cross.patch b/packages/rp-pppoe/rp-pppoe-3.8/configure_in_cross.patch
index 4ea5908737..0543145c63 100644
--- a/packages/rp-pppoe/rp-pppoe-3.8/configure_in_cross.patch
+++ b/packages/rp-pppoe/rp-pppoe-3.8/configure_in_cross.patch
@@ -1,26 +1,29 @@
---- rp-pppoe-3.8/src/configure.in 2007/04/30 07:21:25 1.1
-+++ rp-pppoe-3.8/src/configure.in 2007/04/30 07:22:06
-@@ -5,6 +5,12 @@
+Index: src/configure.in
+===================================================================
+--- rp-pppoe-3.8.org/src/configure.in 2006-04-03 00:29:42.000000000 +1000
++++ rp-pppoe-3.8/src/configure.in 2007-06-07 20:00:48.000000000 +1000
+@@ -5,6 +5,13 @@
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)
-@@ -131,15 +137,10 @@
+@@ -131,15 +138,8 @@
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)
-
+-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)
-
@@ -30,7 +33,7 @@
dnl Check for Linux-specific kernel support for PPPoE
AC_MSG_CHECKING(for Linux 2.4.X kernel-mode PPPoE support)
-@@ -183,44 +184,8 @@
+@@ -183,44 +183,8 @@
CFLAGS="$CFLAGS -Wall -Wstrict-prototypes -ansi"
fi
@@ -76,7 +79,7 @@
AC_TRY_RUN([
union foo {
struct bar {
-@@ -245,6 +210,7 @@
+@@ -245,6 +209,7 @@
}
}], rpppoe_cv_pack_bitfields=normal, rpppoe_cv_pack_bitfields=rev,
$ECHO "no defaults for cross-compiling"; exit 0)