1 |
mrness 08/09/10 20:56:44 |
2 |
|
3 |
Modified: rp-pppoe-3.10-autotools.patch |
4 |
Log: |
5 |
Avoid executing pppd just for checking the version, it only increase chances of sandbox violation (#236923). |
6 |
(Portage version: 2.1.4.4) |
7 |
|
8 |
Revision Changes Path |
9 |
1.2 net-dialup/rp-pppoe/files/rp-pppoe-3.10-autotools.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dialup/rp-pppoe/files/rp-pppoe-3.10-autotools.patch?rev=1.2&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dialup/rp-pppoe/files/rp-pppoe-3.10-autotools.patch?rev=1.2&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dialup/rp-pppoe/files/rp-pppoe-3.10-autotools.patch?r1=1.1&r2=1.2 |
14 |
|
15 |
Index: rp-pppoe-3.10-autotools.patch |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/net-dialup/rp-pppoe/files/rp-pppoe-3.10-autotools.patch,v |
18 |
retrieving revision 1.1 |
19 |
retrieving revision 1.2 |
20 |
diff -u -r1.1 -r1.2 |
21 |
--- rp-pppoe-3.10-autotools.patch 30 Jun 2008 21:40:26 -0000 1.1 |
22 |
+++ rp-pppoe-3.10-autotools.patch 10 Sep 2008 20:56:43 -0000 1.2 |
23 |
@@ -72,6 +72,15 @@ |
24 |
AC_TRY_RUN([#include <sys/socket.h> |
25 |
#include <net/ethernet.h> |
26 |
#include <linux/if.h> |
27 |
+@@ -204,7 +204,7 @@ |
28 |
+ dnl Figure out pppd version. 2.3.7 to 2.3.9 -- issue warning. Less than |
29 |
+ dnl 2.3.7 -- stop |
30 |
+ |
31 |
+-PPPD_VERSION=`$PPPD --version 2>&1 | awk ' /version/ {print $NF}'` |
32 |
++PPPD_VERSION=2.4.4 |
33 |
+ |
34 |
+ case "$PPPD_VERSION" in |
35 |
+ 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) |
36 |
@@ -258,7 +258,7 @@ |
37 |
|
38 |
if test "$rpppoe_cv_pack_bitfields" = "rev" ; then |
39 |
@@ -86,7 +95,7 @@ |
40 |
+++ rp-pppoe-3.10/src/plugin.c 2008-06-30 22:27:18.000000000 +0200 |
41 |
@@ -27,7 +27,6 @@ |
42 |
static char const RCSID[] = |
43 |
- "$Id: rp-pppoe-3.10-autotools.patch,v 1.1 2008/06/30 21:40:26 mrness Exp $"; |
44 |
+ "$Id: rp-pppoe-3.10-autotools.patch,v 1.2 2008/09/10 20:56:43 mrness Exp $"; |
45 |
|
46 |
-#define _GNU_SOURCE 1 |
47 |
#include "pppoe.h" |
48 |
@@ -97,7 +106,7 @@ |
49 |
+++ rp-pppoe-3.10/src/relay.c 2008-06-30 22:27:18.000000000 +0200 |
50 |
@@ -17,8 +17,6 @@ |
51 |
static char const RCSID[] = |
52 |
- "$Id: rp-pppoe-3.10-autotools.patch,v 1.1 2008/06/30 21:40:26 mrness Exp $"; |
53 |
+ "$Id: rp-pppoe-3.10-autotools.patch,v 1.2 2008/09/10 20:56:43 mrness Exp $"; |
54 |
|
55 |
-#define _GNU_SOURCE 1 /* For SA_RESTART */ |
56 |
- |