Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 346390 Details for
Bug 466908
[PATCH] net-misc/openvpn is broken by sys-apps/iproute-3.8.0 update which moves 'ip' to /bin
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for net-misc/openvpn-2.3.0 to handle 'ip' move to /bin
openvpn-2.3.0-iproute2-sbin-to-bin.patch (text/plain), 1.10 KB, created by
Elias Probst
on 2013-04-23 16:46:13 UTC
(
hide
)
Description:
Patch for net-misc/openvpn-2.3.0 to handle 'ip' move to /bin
Filename:
MIME Type:
Creator:
Elias Probst
Created:
2013-04-23 16:46:13 UTC
Size:
1.10 KB
patch
obsolete
>diff -ruN openvpn-2.3.0.orig/src/openvpn/misc.h openvpn-2.3.0/src/openvpn/misc.h >--- openvpn-2.3.0.orig/src/openvpn/misc.h 2012-11-22 13:08:09.000000000 +0100 >+++ openvpn-2.3.0/src/openvpn/misc.h 2013-04-23 18:33:44.665084182 +0200 >@@ -308,7 +308,7 @@ > #endif > > /* >- * /sbin/ip path, may be overridden >+ * /bin/ip path, may be overridden > */ > #ifdef ENABLE_IPROUTE > extern const char *iproute_path; >diff -ruN openvpn-2.3.0.orig/tests/t_client.sh openvpn-2.3.0/tests/t_client.sh >--- openvpn-2.3.0.orig/tests/t_client.sh 2013-01-07 11:58:43.000000000 +0100 >+++ openvpn-2.3.0/tests/t_client.sh 2013-04-23 18:33:44.664084182 +0200 >@@ -86,12 +86,12 @@ > get_ifconfig_route() > { > # linux / iproute2? (-> if configure got a path) >- if [ -n "/sbin/ip" ] >+ if [ -n "/bin/ip" ] > then > echo "-- linux iproute2 --" >- /sbin/ip addr show | grep -v valid_lft >- /sbin/ip route show >- /sbin/ip -o -6 route show | grep -v ' cache' | sed -e 's/expires [0-9]*sec//' >+ /bin/ip addr show | grep -v valid_lft >+ /bin/ip route show >+ /bin/ip -o -6 route show | grep -v ' cache' | sed -e 's/expires [0-9]*sec//' > return > fi >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 466908
:
346388
| 346390