X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage3%2Fpatches%2Fcommon%2Fbind-9.9.1-P2-use_iproute2-1.patch;fp=stage3%2Fpatches%2Fcommon%2Fbind-9.9.1-P2-use_iproute2-1.patch;h=0f22ed122e82b751f79876ea5f0ff9faec1b62e1;hb=f17ab848cb756cad27489bf0c2746e5ead466658;hp=0000000000000000000000000000000000000000;hpb=a1358efe562a4e73ef23f25c606a346f684e1c93;p=hvlinux.git diff --git a/stage3/patches/common/bind-9.9.1-P2-use_iproute2-1.patch b/stage3/patches/common/bind-9.9.1-P2-use_iproute2-1.patch new file mode 100644 index 0000000..0f22ed1 --- /dev/null +++ b/stage3/patches/common/bind-9.9.1-P2-use_iproute2-1.patch @@ -0,0 +1,40 @@ +Submitted By: Bruce Dubbs +Date: 2011-11-16 +Origin: DJ Lucas +Initial Package Version: 9.8.1-P1 +Description: allow use of ip command instead of ifconfig for test suite +Upstream Status: Not applicable + +diff -Naur bind-9.8.1-P1.orig/bin/tests/system/ifconfig.sh bind-9.8.1-P1/bin/tests/system/ifconfig.sh +--- bind-9.8.1-P1.orig/bin/tests/system/ifconfig.sh 2010-06-11 18:46:49.000000000 -0500 ++++ bind-9.8.1-P1/bin/tests/system/ifconfig.sh 2011-11-16 21:13:32.000000000 -0600 +@@ -97,9 +97,11 @@ + fi + ;; + *-*-linux*) +- ifconfig lo:$int 10.53.0.$ns up netmask 255.255.255.0 +- ifconfig lo inet6 add fd92:7065:b8e:ffff::$ns/64 +- ;; ++ #ifconfig lo:$int 10.53.0.$ns up netmask 255.255.255.0 ++ #ifconfig lo inet6 add fd92:7065:b8e:ffff::$ns/64 ++ ip addr add 10.53.0.$ns/24 label lo:$int dev lo ++ ip addr add fd92:7065:b8e:ffff::$ns/64 label lo:$int6 dev lo ++ ;; + *-unknown-freebsd*) + ifconfig lo0 10.53.0.$ns alias netmask 0xffffffff + ifconfig lo0 inet6 fd92:7065:b8e:ffff::$ns alias +@@ -172,9 +174,11 @@ + fi + ;; + *-*-linux*) +- ifconfig lo:$int 10.53.0.$ns down +- ifconfig lo inet6 del fd92:7065:b8e:ffff::$ns/64 +- ;; ++ #ifconfig lo:$int 10.53.0.$ns down ++ #ifconfig lo inet6 del fd92:7065:b8e:ffff::$ns/64 ++ ip addr del 10.53.0.$ns/24 label lo:$int dev lo ++ ip addr del fd92:7065:b8e:ffff::$ns/64 label lo:$int6 dev lo ++ ;; + *-unknown-freebsd*) + ifconfig lo0 10.53.0.$ns delete + ifconfig lo0 inet6 fd92:7065:b8e:ffff::$ns delete