summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2008-06-30 21:40:26 +0000
committerAlin Năstac <mrness@gentoo.org>2008-06-30 21:40:26 +0000
commit6a9a2335247c00022d3906a8d587ae5e4a76b1d6 (patch)
treeaecd095bf4851872ee997b9337dbf416672ff1c7 /net-dialup/rp-pppoe/files/rp-pppoe-3.10-plugin-options.patch
parentBumped to lastest version, added hack to get ant.jar on cp vs patch. (diff)
downloadgentoo-2-6a9a2335247c00022d3906a8d587ae5e4a76b1d6.tar.gz
gentoo-2-6a9a2335247c00022d3906a8d587ae5e4a76b1d6.tar.bz2
gentoo-2-6a9a2335247c00022d3906a8d587ae5e4a76b1d6.zip
Version bump (#230013). Depend on <sys-kernel/linux-headers-2.6.24 (#227197).
(Portage version: 2.1.4.4)
Diffstat (limited to 'net-dialup/rp-pppoe/files/rp-pppoe-3.10-plugin-options.patch')
-rw-r--r--net-dialup/rp-pppoe/files/rp-pppoe-3.10-plugin-options.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/net-dialup/rp-pppoe/files/rp-pppoe-3.10-plugin-options.patch b/net-dialup/rp-pppoe/files/rp-pppoe-3.10-plugin-options.patch
new file mode 100644
index 000000000000..d1593392ba23
--- /dev/null
+++ b/net-dialup/rp-pppoe/files/rp-pppoe-3.10-plugin-options.patch
@@ -0,0 +1,33 @@
+diff -Nru rp-pppoe-3.10.orig/configs/pppoe.conf rp-pppoe-3.10/configs/pppoe.conf
+--- rp-pppoe-3.10.orig/configs/pppoe.conf 2008-06-30 22:23:11.000000000 +0200
++++ rp-pppoe-3.10/configs/pppoe.conf 2008-06-30 22:33:08.000000000 +0200
+@@ -120,7 +120,7 @@
+ 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
+diff -Nru rp-pppoe-3.10.orig/scripts/pppoe-connect.in rp-pppoe-3.10/scripts/pppoe-connect.in
+--- rp-pppoe-3.10.orig/scripts/pppoe-connect.in 2008-06-30 22:23:11.000000000 +0200
++++ rp-pppoe-3.10/scripts/pppoe-connect.in 2008-06-30 22:33:08.000000000 +0200
+@@ -202,7 +202,7 @@
+
+ # If we're using kernel-mode PPPoE on Linux...
+ if test "$LINUX_PLUGIN" != "" ; then
+- PLUGIN_OPTS="plugin $LINUX_PLUGIN nic-$ETH"
++ PLUGIN_OPTS="plugin $LINUX_PLUGIN"
+ if test -n "$SERVICENAME" ; then
+ PLUGIN_OPTS="$PLUGIN_OPTS rp_pppoe_service $SERVICENAME"
+ fi
+@@ -297,7 +297,7 @@
+ $SETSID $OVERRIDE_PPPD_COMMAND &
+ echo "$!" > $PPPD_PIDFILE
+ elif test "$LINUX_PLUGIN" != "" ; then
+- $SETSID $PPPD $PPP_STD_OPTIONS $DEMAND &
++ $SETSID $PPPD $DEMAND $PPP_STD_OPTIONS &
+ echo "$!" > $PPPD_PIDFILE
+ else
+ $SETSID $PPPD pty "$PPPOE_CMD" \