net-tools/net-tools-configure.patch

44 lines
1.4 KiB
Diff
Raw Permalink Normal View History

Index: net-tools-2.10/config.in
===================================================================
--- net-tools-2.10.orig/config.in
+++ net-tools-2.10/config.in
@@ -42,7 +42,7 @@
* course, welcome. Answer `n' here if you have no support for
* internationalization on your system.
*
-bool 'Does your system support GNU gettext?' I18N n
+bool 'Does your system support GNU gettext?' I18N y
*
*
* Protocol Families.
@@ -91,10 +91,10 @@ bool 'InfiniBand hardware support' HAVE_
*
bool 'IP Masquerading support' HAVE_FW_MASQUERADE y
bool 'Build arp and rarp' HAVE_ARP_TOOLS y
-bool 'Build hostname' HAVE_HOSTNAME_TOOLS y
-bool 'Install hostname NIS/YP symlinks' HAVE_HOSTNAME_SYMLINKS y
+bool 'Build hostname' HAVE_HOSTNAME_TOOLS n
+bool 'Install hostname NIS/YP symlinks' HAVE_HOSTNAME_SYMLINKS n
bool 'Build iptunnel and ipmaddr' HAVE_IP_TOOLS y
-bool 'Build mii-tool' HAVE_MII y
+bool 'Build mii-tool' HAVE_MII n
bool 'Build plipconfig' HAVE_PLIP_TOOLS y
bool 'Build slattach' HAVE_SERIAL_TOOLS y
bool 'SELinux support' HAVE_SELINUX n
Index: net-tools-2.10/configure.sh
===================================================================
--- net-tools-2.10.orig/configure.sh
+++ net-tools-2.10/configure.sh
@@ -66,9 +66,8 @@ config_fd_redir='<&7'
#
function readln()
{
- echo -n "$1"
- IFS='@' read ans || exit 1
- [ -z "$ans" ] && ans=$2
+ echo "$1"
+ ans=$2
}
# bool processes a boolean argument