Home | History | Annotate | only in /src/distrib/utils/x_ifconfig
History log of /src/distrib/utils/x_ifconfig
RevisionDateAuthorComments
 1.40 11-May-2022  rin Introduce NOIEEE80211 option, by which IEEE 802.11 support is dropped from
ifconfig(8) in crunched binaries. This saves ~9KB for, e.g., m68k.
 1.39 02-May-2017  christos define SMALLPROG
 1.38 08-Feb-2017  rin branches: 1.38.2;
Cosmetic changes. No functional changes.
 1.37 08-Feb-2017  rin Replace ".PATH ${SRCDIR}" before including Makefile.common to ensure the
correct order of search path.
 1.36 08-Feb-2017  rin Factor out a common part in Makefile's of ifconfig and x_ifconfig.
 1.35 08-Feb-2017  rin Rename sbin/ifconfig/Makefile.inc to Makefile.common; the former can
potentially conflict with bsd.subdir.mk.
 1.34 07-Feb-2017  rin Define NOMAN before including bsd.own.mk to set MKMAN=no appropriately.
 1.33 28-Apr-2015  christos branches: 1.33.2; 1.33.4;
Add small.
 1.32 14-Dec-2010  hannken Make the definition of CRUNCHOPS independent of SMALLPROG_INET6 / USE_INET6.

Distrib/sparc64/instfs now builds again.
 1.31 13-Dec-2010  pooka use CRUNCHOPS for a crunched prog
 1.30 13-Dec-2010  pooka Define PROG here since Makefile.inc no longer defines it.
 1.29 28-Nov-2009  he Use ${.CURDIR} when referring to a relative source directory.
 1.28 25-Jul-2008  skrll -CPPFLAGS+= -I${SRCDIR}

Otherwise, system util.h is not included when compiling ifconfig.c, the
snprintb prototype is missing, and the flags don't get printed correctly
on hp700.
 1.27 02-Jul-2008  dyoung Let us add/remove features from ifconfig, such as support for
various address families (inet, inet6, iso, atalk) and protocols
(802.11, 802.3ad, CARP), simply by trimming the list of sources in
the Makefile. This helps one customize ifconfig for an embedded
device or for install media, and it eliminates a lot of grotty
#ifdef'age. Now, the ifconfig syntax and semantics are finalized
at run-time using the constructor routines in each address-family/protocol
module.

(In principle, ifconfig could load virtually all of its syntax from
shared objects.)

Extract a lot of common code into subroutines, in order to shrink
the ifconfig binary a bit. Make all of the address families share
code for address addition/replacement/removal, and delete "legacy"
code for manipulating addresses. That may have broken atalk and
iso, despite my best efforts.

Extract an include file, Makefile.inc, containing the make-fu that
both ifconfig and x_ifconfig share.

Sprinkle static. Change some int's to bool's. Constify.

Add RCS Ids to carp.c and env.c. Move media code to a new file,
media.c. Delete several unneeded header files.

Set, reset, and display the IEEE 802.11 attribute, 'dot11RTSThreshold'.

Bug fix: do not require both a interface address and a destination
address for point-to-point interfaces, but accept a interface
address by itself.
 1.26 13-May-2008  dyoung Build af_link.c. Should fix 'build.sh release' failures.
 1.25 06-May-2008  dyoung branches: 1.25.2;
Overhaul ifconfig. Use fewer global variables. Take a leap toward
improved modularity and extensibility.

In the new architecture, a directed graph of argument-matching
objects (match objects) expresses the set of feasible ifconfig
statements. Match objects are labelled by subroutines that provide
the statement semantics.

Many IPv4, IPv6, 802.11, tunnel, and media configurations have been
tested.

AppleTalk, ISO, carp(4), agr(4), and vlan(4) configuration need
testing.
 1.24 27-Aug-2006  sekiya branches: 1.24.18; 1.24.20;
XNS is no more; nuke reference to af_ns.c
 1.23 20-Mar-2005  yamt follow the recent changes in sbin/ifconfig/Makefile.
 1.22 19-Mar-2005  yamt follow the recent changes in sbin/ifconfig/Makefile.
 1.21 18-Jan-2005  lukem Only support SMALLPROG_INET6 if ${USE_INET6} != "no".
Part of PR 28994.
 1.20 17-Oct-2002  lukem Rework how SMALLPROG was being used and how INET6 support was enabled.
There's two variables added to Makefile.crunch:

SMALLPROG If 1, add SMALLPROG=1 to CRUNCHENV. [default: 1]
This can be used by various Makefiles to
determine if a `small' version of the program
is required.

SMALLPROG_INET6 If 1 and SMALLPROG == 1, add SMALLPROG_INET6=1
to CRUNCHENV. [default: 0]
This can be used by various Makefiles to
determine if the `small' version has INET6
support enabled.

Only enable SMALLPROG_INET6 for programs on the ramdisks that have INET6 in
the appropriate kernel, and cleanup INET6 setting.
(Note: this means that sysinst won't get INET6 support if the kernel
it's running on doesn't have it).

This change saves a fair bit of space on various install images
(including i386 ramdisk-{ps2,small,tiny}) that didn't have INET6 in
the kernel but were unconditionally getting INET6 support in their tools.
 1.19 20-Sep-2002  christos Add libutil.
 1.18 18-Jun-2002  itojun make macppc install floppy IPv6 ready
(we have two floppies anyways, and there's plenty of space in 2nd floppy)
 1.17 18-Jun-2002  itojun no need for extra paren
 1.16 12-Dec-2001  tv branches: 1.16.2;
Major readability cleanup; nuke redundancies; MKfoo=no -> NOfoo=.
 1.15 05-Oct-2001  jmc Change all COPTS+=-Os to DBG=-Os as that var actually controls the optimization
levels
 1.14 20-Aug-2001  martin Drop ``-Os'' on sparc64 due to toolchain issues.

The same change has already been applied on the 1.5 branch. The problems
(i.e. ifconfig not showing IP addresses) have been verified to still exist
with the new toolchain.
 1.13 05-Sep-2000  minoura Enable INET6 on x68k.
Use ${MACHINE} instead of ${MACHINE_ARCH}, since the installer is
built per-${MACHINE} based.
 1.12 18-May-2000  matt branches: 1.12.4;
Part II. Link everything -static since that's what want for crunchgen
later on.
 1.11 18-May-2000  matt Compile things with -Os. I wonder if compiling -Mno-pic for mips and vax
would shrink them even more?
 1.10 04-May-2000  itojun make -DINET6 conditional with MACHINE_ARCH.
checked after a comment from "Simon J. Gerraty" <sjg@quick.com.au>
 1.9 04-Jan-2000  itojun enable IPv6 support in sysinst. integration of work by ichiro@ichiro.org.
- IPv6 autoconfiguration
- IPv6 nameserver
TODO: french messages, dhcp

add -DINET6 into x_ifconfig.
 1.8 21-Jun-1999  cgd dependencies on BSDSRCDIR should be _removed_, not introduced. Use
paths relative to ${.CURDIR} instead. Using BSDSRCDIR here means that
it's impossible to compile these programs out of the source tree they're
a part of, unless that sort tree happens to be the one at BSDSRCDIR.
 1.7 19-May-1999  gwr Things in distrib/utils need to know BSDSRCDIR anway,
so we might as well use it. Lots simpler.
 1.6 13-Feb-1999  lukem convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
 1.5 22-Oct-1997  lukem use CPPFLAGS instead of CFLAGS
 1.4 27-Mar-1996  scottr branches: 1.4.2;
Replace BSDSRCDIR use with relative paths.
 1.3 13-Oct-1995  gwr branches: 1.3.2;
Put .PATH later so SRCDIR is defined
 1.2 13-Oct-1995  gwr Minor cleanup
 1.1 08-Oct-1995  gwr branches: 1.1.1;
Initial revision
 1.1.1.1 08-Oct-1995  gwr Add some utilities all ports might use in a ramdisk root.
 1.3.2.2 13-Oct-1995  gwr Put .PATH later so SRCDIR is defined
 1.3.2.1 13-Oct-1995  gwr file Makefile was added on branch netbsd-1-1 on 1995-10-13 18:35:29 +0000
 1.4.2.1 08-Nov-1997  lukem pull up rev 1.5 (approved by thorpej)
 1.12.4.2 29-Jul-2001  he Apply patch (requested by martin):
Drop ``-Os'' on sparc64 due to toolchain issues.
 1.12.4.1 07-Sep-2000  minoura Pullup rev.1.13; reviewed by shin, approved by thorpej.
Enable INET6 on x68k.
Use ${MACHINE} instead of ${MACHINE_ARCH}, since the installer is
built per-${MACHINE} based.
 1.16.2.1 03-Nov-2002  he Pull up revisions 1.17-1.18 (requested by itojun in ticket #347):
Make macppc install floppy IPv6-ready.
 1.24.20.1 18-May-2008  yamt sync with head.
 1.24.18.4 05-Oct-2008  mjf Sync with HEAD.
 1.24.18.3 28-Sep-2008  mjf Sync with HEAD.
 1.24.18.2 05-Jul-2008  mjf Sync with HEAD.
 1.24.18.1 02-Jun-2008  mjf Sync with HEAD.
 1.25.2.2 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.25.2.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.33.4.1 21-Apr-2017  bouyer Sync with HEAD
 1.33.2.1 20-Mar-2017  pgoyette Sync with HEAD
 1.38.2.1 11-May-2017  pgoyette Sync with HEAD

RSS XML Feed