net-tools-2.10
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
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.
|
||||
===================================================================
|
||||
--- 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
|
||||
@@ -0,0 +1,16 @@
|
||||
diff -Nuar a/Makefile b/Makefile
|
||||
--- a/Makefile 2022-08-26 15:13:21.675818000 +0300
|
||||
+++ b/Makefile 2022-08-26 15:18:38.664795897 +0300
|
||||
@@ -211,10 +211,10 @@
|
||||
@echo
|
||||
install -m 0755 -d ${BASEDIR}${SBINDIR}
|
||||
install -m 0755 -d ${BASEDIR}${BINDIR}
|
||||
- install -m 0755 ifconfig ${BASEDIR}${BINDIR}
|
||||
+ install -m 0755 ifconfig ${BASEDIR}${SBINDIR}
|
||||
install -m 0755 nameif ${BASEDIR}${SBINDIR}
|
||||
install -m 0755 netstat ${BASEDIR}${BINDIR}
|
||||
- install -m 0755 route ${BASEDIR}${BINDIR}
|
||||
+ install -m 0755 route ${BASEDIR}${SBINDIR}
|
||||
ifeq ($(HAVE_ARP_TOOLS),1)
|
||||
install -m 0755 arp ${BASEDIR}${SBINDIR}
|
||||
install -m 0755 rarp ${BASEDIR}${SBINDIR}
|
||||
Reference in New Issue
Block a user