[lfs-patches] r2650 - trunk/bind

igor at higgs.linuxfromscratch.org igor at higgs.linuxfromscratch.org
Sat Jun 1 10:31:04 PDT 2013


Author: igor
Date: Sat Jun  1 10:31:04 2013
New Revision: 2650

Log:
Created new bind iproute2 patch since the previous one fails to apply.

Added:
   trunk/bind/bind-9.9.3-use_iproute2-1.patch

Added: trunk/bind/bind-9.9.3-use_iproute2-1.patch
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/bind/bind-9.9.3-use_iproute2-1.patch	Sat Jun  1 10:31:04 2013	(r2650)
@@ -0,0 +1,32 @@
+Submitted By: Bruce Dubbs <bdubbs_AT_linuxfromscratch_DOT_org>
+Date: 2011-11-16
+Origin: DJ Lucas <dj_AT_linuxfromscratch_DOT_org>
+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.9.3.orig/bin/tests/system/ifconfig.sh bind-9.9.3/bin/tests/system/ifconfig.sh
+--- bind-9.9.3.orig/bin/tests/system/ifconfig.sh	2013-05-17 06:01:18.000000000 +0200
++++ bind-9.9.3/bin/tests/system/ifconfig.sh	2013-06-01 17:38:04.653403696 +0200
+@@ -97,8 +97,8 @@
+ 			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
++			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
+@@ -178,8 +178,8 @@
+ 			fi
+ 			;;
+ 		    *-*-linux*)
+-			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



More information about the patches mailing list