diff options
Diffstat (limited to 'recipes/busybox/busybox-1.18.5/fix-iptunnel-location.patch')
-rw-r--r-- | recipes/busybox/busybox-1.18.5/fix-iptunnel-location.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/recipes/busybox/busybox-1.18.5/fix-iptunnel-location.patch b/recipes/busybox/busybox-1.18.5/fix-iptunnel-location.patch new file mode 100644 index 0000000000..2034fea305 --- /dev/null +++ b/recipes/busybox/busybox-1.18.5/fix-iptunnel-location.patch @@ -0,0 +1,15 @@ +The iptunnel applet belongs in /sbin not /bin to match other systems +as well as the full version from net-tools. +Index: busybox-1.18.4/include/applets.src.h +=================================================================== +--- busybox-1.18.4.orig/include/applets.src.h ++++ busybox-1.18.4/include/applets.src.h +@@ -249,7 +249,7 @@ IF_IPCS(APPLET(ipcs, _BB_DIR_USR_BIN, _B + IF_IPLINK(APPLET(iplink, _BB_DIR_BIN, _BB_SUID_DROP)) + IF_IPROUTE(APPLET(iproute, _BB_DIR_BIN, _BB_SUID_DROP)) + IF_IPRULE(APPLET(iprule, _BB_DIR_BIN, _BB_SUID_DROP)) +-IF_IPTUNNEL(APPLET(iptunnel, _BB_DIR_BIN, _BB_SUID_DROP)) ++IF_IPTUNNEL(APPLET(iptunnel, _BB_DIR_SBIN, _BB_SUID_DROP)) + IF_KBD_MODE(APPLET(kbd_mode, _BB_DIR_USR_BIN, _BB_SUID_DROP)) + IF_KILL(APPLET(kill, _BB_DIR_BIN, _BB_SUID_DROP)) + IF_KILLALL(APPLET_ODDNAME(killall, kill, _BB_DIR_USR_BIN, _BB_SUID_DROP, killall)) |