mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-05-10 17:28:26 +02:00
net-tools: Update to 2.10
- Update net-tools from 1.60 to 2.10 - Based on guidance from Michael Tremer - new no-hostname patch created to remove all hostname references from makefile - all other patch files removed from lfs as no longer needed - version 2.10 places ifconfig and route tools in bin instead of sbin those tools moved to sbin to keep in line with previous approach - make update replaced by make install as there is no longer a make rule for make update - Updated rootfiles Signed-off-by: Adolf Belka <adolf.belka@ipfire.org> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
committed by
Michael Tremer
parent
4e4ea96428
commit
b8cd517a8d
41
src/patches/net-tools-2.10-no-hostname.patch
Normal file
41
src/patches/net-tools-2.10-no-hostname.patch
Normal file
@@ -0,0 +1,41 @@
|
||||
--- net-tools-2.10/Makefile.orig 2021-01-07 00:22:35.000000000 +0100
|
||||
+++ net-tools-2.10/Makefile 2021-02-06 19:30:07.104393812 +0100
|
||||
@@ -39,9 +39,6 @@
|
||||
ifeq ($(HAVE_ARP_TOOLS),1)
|
||||
PROGS += arp rarp
|
||||
endif
|
||||
-ifeq ($(HAVE_HOSTNAME_TOOLS),1)
|
||||
-PROGS += hostname
|
||||
-endif
|
||||
ifeq ($(HAVE_IP_TOOLS),1)
|
||||
PROGS += iptunnel ipmaddr
|
||||
endif
|
||||
@@ -173,9 +170,6 @@
|
||||
nameif: $(NET_LIB) nameif.o
|
||||
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ nameif.o $(NLIB) $(LDLIBS)
|
||||
|
||||
-hostname: hostname.o
|
||||
- $(CC) $(CFLAGS) $(LDFLAGS) -o $@ hostname.o $(DNLIB) $(LDLIBS)
|
||||
-
|
||||
route: $(NET_LIB) route.o
|
||||
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ route.o $(NLIB) $(LDLIBS)
|
||||
|
||||
@@ -219,18 +213,6 @@
|
||||
install -m 0755 arp ${BASEDIR}${SBINDIR}
|
||||
install -m 0755 rarp ${BASEDIR}${SBINDIR}
|
||||
endif
|
||||
-ifeq ($(HAVE_HOSTNAME_TOOLS),1)
|
||||
- install -m 0755 hostname ${BASEDIR}${BINDIR}
|
||||
- ln -fs hostname $(BASEDIR)${BINDIR}/dnsdomainname
|
||||
-ifeq ($(HAVE_HOSTNAME_SYMLINKS),1)
|
||||
- ln -fs hostname $(BASEDIR)${BINDIR}/ypdomainname
|
||||
- ln -fs hostname $(BASEDIR)${BINDIR}/nisdomainname
|
||||
- ln -fs hostname $(BASEDIR)${BINDIR}/domainname
|
||||
-endif
|
||||
-ifeq ($(HAVE_AFDECnet),1)
|
||||
- ln -fs hostname $(BASEDIR)${BINDIR}/nodename
|
||||
-endif
|
||||
-endif
|
||||
ifeq ($(HAVE_IP_TOOLS),1)
|
||||
install -m 0755 ipmaddr $(BASEDIR)${SBINDIR}
|
||||
install -m 0755 iptunnel $(BASEDIR)${SBINDIR}
|
||||
Reference in New Issue
Block a user