mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-05-03 00:32:54 +02:00
- 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>
42 lines
1.3 KiB
Diff
42 lines
1.3 KiB
Diff
--- 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}
|