History log of /src/usr.bin/Makefile
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.243 04-Dec-2025 nia

Import BSD-licensed diff from FreeBSD to replace GNU diffutils

Ported to NetBSD, compiler warnings fixed, and some unnecessary
features (for the purpose of replacing our GPLv2 diff) have been
stripped out.

Non-default at the moment, requires building with MKBSDDIFF=yes.

PR bin/59798 We are still using GNU diffutils


Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base
# 1.242 27-Jan-2025 christos

PR/57953: Attaullah Ansari: Add getnameinfo program


# 1.241 28-Oct-2024 nia

Add c17(1) wrapper script for gcc with the ISO 2017 C standard.

Not much reason to use this over c11(1), but it's expected to be
required by upcoming POSIX revisions.


# 1.240 02-Sep-2024 ozaki-r

Add shmif_pcapin(1) utility program

It can send any frames that are stored in a pcap(3) file format to
shmif(4) Ethernet interface via the bus of it. If you want to write
some tests for networking with rump kernels and the tests need to send
frames that are difficult to generate by stock programs, shmif_pcapin
can be helpful.

The author of shmif_pcapin is k-goda@IIJ and the man page is written
by ozaki-r.


Revision tags: perseant-exfatfs-base-20240630 perseant-exfatfs-base
# 1.239 24-May-2023 lukem

branches: 1.239.2;
obsolete mkstr(1) and xstr(1)

These were only used on PDP-11 for two programs we don't ship,
and have been obsolete since the VAX days.

xstr never worked in the build.sh cross-build environment (22 years), or
parallel make environment (nearly 28 years), didn't work in the orignal 386bsd
import, and has never been needed in NetBSD as we don't have the older BSD
programs (pascal, pre-nvi ex) that needed mkstr/xstr on PDP-11.

PR toolchain/35964


Revision tags: netbsd-10-0-RELEASE netbsd-10-0-RC6 netbsd-10-0-RC5 netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 netbsd-10-0-RC1 netbsd-10-base
# 1.238 06-Jun-2022 nia

branches: 1.238.2;
build system: Revert all the recent additions of MK[...] knobs that
allow conditionally disabling the building of certain user space
programs in the 'base' set.

There is not enough consensus that this is the right way and a few
people had strong objections, see source-changes-d@.


# 1.237 28-May-2022 nia

mk: Add MKFINGER, MKTALK flags for not building
talk, talkd, finger, fingerd.


# 1.236 07-Dec-2021 brad

A driver and user land utility for the Sparkfun Serial Controlled Motor
Driver module as illustrated here:

https://www.sparkfun.com/products/13911

A SCMD module is a ARM SOC simular to a Arduino in front of a motor
driver chip. The single SCMD module can control two motors and up to
16 additional modules can be chained together using an internal I2C
bus. One can interface with the SCMD using tty uart commands, SPI or
I2C. The driver in this commit adds a kernel driver for the I2C and
SPI interfaces. The command line utility provides a set of
convenience commands that support most of the functions of the SCMD
and is able to use the tty uart mode, SPI user land or the included
kernel driver in a uniform manor.

The use of the SCMD module is mostly for small robots and the like,
but it can control anything that is controllable by voltage.


Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
# 1.235 07-May-2021 nia

hook up aiomixer


# 1.234 28-Dec-2020 htodd

Go into the resize directory to build/install the files since they're in the sets.


Revision tags: phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406
# 1.233 02-Feb-2020 kamil

Port realpath(1) from FreeBSD

realpath(1) wraps realpath(3) and returns resolved physical path.

This utility shipped with GNU and FreeBSD is sometimes
used in scripts in the wild.


Revision tags: netbsd-9-4-RELEASE netbsd-9-3-RELEASE netbsd-9-2-RELEASE netbsd-9-1-RELEASE netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728
# 1.232 24-Jul-2018 christos

Tiny base64 encoder/decoder command patterned after the linux and the macosx
ones with the same name,.


# 1.231 13-Jul-2018 maxv

Remove tpfmt(1). Its code was merged into tprof(8).


# 1.230 13-Jul-2018 mrg

don't try to decend into remove 'pmc' subdir.


Revision tags: netbsd-8-3-RELEASE netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base
# 1.229 21-May-2017 riastradh

branches: 1.229.4; 1.229.8; 1.229.10;
Remove MKCRYPTO option.

Originally, MKCRYPTO was introduced because the United States
classified cryptography as a munition and restricted its export. The
export controls were substantially relaxed fifteen years ago, and are
essentially irrelevant for software with published source code.

In the intervening time, nobody bothered to remove the option after
its motivation -- the US export restriction -- was eliminated. I'm
not aware of any other operating system that has a similar option; I
expect it is mainly out of apathy for churn that we still have it.
Today, cryptography is an essential part of modern computing -- you
can't use the internet responsibly without cryptography.

The position of the TNF board of directors is that TNF makes no
representation that MKCRYPTO=no satisfies any country's cryptography
regulations.

My personal position is that the availability of cryptography is a
basic human right; that any local laws restricting it to a privileged
few are fundamentally immoral; and that it is wrong for developers to
spend effort crippling cryptography to work around such laws.

As proposed on tech-crypto, tech-security, and tech-userlevel to no
objections:

https://mail-index.netbsd.org/tech-crypto/2017/05/06/msg000719.html
https://mail-index.netbsd.org/tech-security/2017/05/06/msg000928.html
https://mail-index.netbsd.org/tech-userlevel/2017/05/06/msg010547.html

P.S. Reviewing all the uses of MKCRYPTO in src revealed a lot of
*bad* crypto that was conditional on it, e.g. DES in telnet... That
should probably be removed too, but on the grounds that it is bad,
not on the grounds that it is (nominally) crypto.


Revision tags: prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
# 1.228 10-Apr-2017 christos

switch to the OpenBSD dc


Revision tags: pgoyette-localcount-20170320
# 1.227 06-Feb-2017 christos

Add nc.


Revision tags: bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104
# 1.226 03-Oct-2016 kamil

branches: 1.226.2;
Import c11(1) - a cc -std=c11 wrapper

This script is similar to c89(1) and c99(1).

It's a NetBSD extension. The c89(1) and c99(1) scripts are part of POSIX.


Revision tags: localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
# 1.225 04-Jun-2016 agc

branches: 1.225.2;
Following positive feedback on tech-userlevel, move the sys_info
script from othersrc to usr.bin/sys_info

The sys_info script is a small script which will show the version
information for installed utilities. It also works on the kernel, and
on most libraries.

Its use is as follow:

[19:41:13] agc@netbsd-002 ...external/bsd/sys_info [4568] > ./sys_info -a
awk-20121220
bind-9.10.3pl3
bzip2-1.0.6
calendar-20160601
ftpd-20110904
g++-4.8.5
gcc-4.8.5
grep-2.5.1anb1
gzip-20150113
bozohttpd-20151231
NetBSD-7.99.26
netpgp-3.99.17
netpgpverify-20160214
ntp-4.2.8pl5
openssl-1.0.1r
sqlite3-3.12.2
openssh-7.1
opensshd-7.1
tcsh-6.19.00
xz-5.2.1
[19:41:20] agc@netbsd-002 ...external/bsd/sys_info [4569] > ./sys_info ntp ssh netpgp
ntp-4.2.8pl5
openssh-7.1
netpgp-3.99.17
[19:41:31] agc@netbsd-002 ...external/bsd/sys_info [4570] > ./sys_info ntp ssh netbsd
ntp-4.2.8pl5
openssh-7.1
NetBSD-7.99.26
[19:41:38] agc@netbsd-002 ...external/bsd/sys_info [4571] >

The -a option can be given to the script to print out the information
on all known components.

The sys_info script also works on libraries, returning their
"versions" as given by the shared object version numbers.

[19:45:06] agc@netbsd-002 ...external/bsd/sys_info [4572] > ./sys_info libevent libXfont libc netbsd
libevent-4.0
libXfont-3.0
libc-12.200
NetBSD-7.99.26
[19:45:27] agc@netbsd-002 ...external/bsd/sys_info [4573] >

Alistair Crooks
Wed Jun 1 19:44:01 PDT 2016


# 1.224 24-Jan-2016 christos

Add a program to find the latest timestamp in a cvs repository


# 1.223 14-Jan-2016 christos

this are our's not gnu


# 1.222 18-Dec-2015 christos

add sortinfo


# 1.221 03-Jun-2015 christos

Add a gettext implementation from William Orr.


# 1.220 02-Mar-2015 christos

add pwait


# 1.219 30-Dec-2014 mrg

install midirecord.


Revision tags: netbsd-7-base tls-earlyentropy-base tls-maxphys-base
# 1.218 01-Aug-2014 christos

branches: 1.218.2;
PR/49053: Kamil Rytarowski: Import timeout(1) from FreeBSD


Revision tags: yamt-pagecache-base9
# 1.217 15-Apr-2014 ginsbach

Hook getaddrinfo(1) into the build. Hi riastradh!


Revision tags: riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3
# 1.216 16-Jan-2014 pooka

branches: 1.216.2;
Add rump_wmd, a utility to resolve rump kernel component dependencies.


# 1.215 28-Dec-2013 rjs

Only build shmif_dumpbus when rump is available.


# 1.214 22-Nov-2013 christos

switch to the nv in external/bsd


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base
# 1.213 11-Feb-2013 christos

put back soelim, if MKGROFF is no so that we don't break the sets.


# 1.212 11-Feb-2013 christos

Don't build and install soelim anymore, because it got overwritten
anyway by the groff one and messed up the mtree unprived sets. If
we want to switch back to ours, we should probably add the extra
flags GNU added first.


Revision tags: yamt-pagecache-base8 yamt-pagecache-base7
# 1.211 01-Nov-2012 christos

Add an flock program inspired by the linux one with the same name.


Revision tags: yamt-pagecache-base6
# 1.210 08-Aug-2012 christos

branches: 1.210.2;
exclude programs for MKRUMP = no


# 1.209 04-Aug-2012 christos

fix bogus test.


Revision tags: yamt-pagecache-base5 yamt-pagecache-base4
# 1.208 16-Feb-2012 jmmv

Remove window(1).

window(1) was replaced by tmux(1) on March 2011. The source code has
been reimported into othersrc/usr.bin/window and an up-to-date package
is available in pkgsrc/misc/window.

This removal was approved by core@, with the condition that it be done
once netbsd-6 had been brached. And the branching has just happened!


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-0-5-RELEASE netbsd-6-0-4-RELEASE netbsd-6-0-3-RELEASE netbsd-6-0-2-RELEASE netbsd-6-0-1-RELEASE matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 netbsd-6-base
# 1.207 07-Feb-2012 joerg

branches: 1.207.2;
Import the new apropos/whatis.

This code has been developed by Abhinav Upadhyay as part of Google's Summer
of Code 2011. It uses libmandoc to parse man pages and builds a Full
Text Index in a SQLite database. The combination of indexing the full
manual page, filtering out stop words and ranking individual matches
based on the section gives a much improved user experience.

The old makewhatis and friends are kept under MKMAKEMANDB=no for now.


# 1.206 04-Jan-2012 yamt

install tprof related commands and man pages.


# 1.205 04-Jan-2012 yamt

install fincore.


Revision tags: yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.204 08-Oct-2011 christos

branches: 1.204.2;
descend into cleantags


# 1.203 06-Oct-2011 mrg

enable building/installing audiocfg(1). ok jmcneill.


# 1.202 03-Jul-2011 tron

Remove the old version of "less".


Revision tags: cherry-xenmp-base
# 1.201 21-Apr-2011 joerg

Add MKBSDGREP switch for easy testing of the GNU grep
replacement/alternative.


# 1.200 15-Apr-2011 elric

Upgrade Heimdal to 1.5pre1 by switching the build from crypto/dist/heimdal
to crypto/external/bsd/heimdal. The latter was just imported as the head
of the Heimdal tree as of a few days ago.


Revision tags: bouyer-quota2-nbase bouyer-quota2-base
# 1.199 20-Jan-2011 pooka

Add a simple dhcp client for rump kernels. It uses code from dhcpcd
for talking to the server and for setting the interface address
and route. However, otherwise it is quite different, since we need
to be working under the assumptions that there is no stable storage
on a rump instance, and that there are n networking stacks on a
given host.


# 1.198 12-Jan-2011 pooka

branches: 1.198.2;
shmif(4) bus dumping utility


Revision tags: matt-mips64-premerge-20101231
# 1.197 26-Dec-2010 jmcneill

hook videoctl into build


# 1.196 13-Dec-2010 pooka

Add rump_server which is just like rump_allserver with the exception
that it links in only -lrump instead of everything. The startup
time difference (especially when attaching a debugger) is noticeable.


# 1.195 12-Dec-2010 pooka

utility to halt a rump kernel


# 1.194 05-Dec-2010 pooka

dumdidumdum, fix name in previous


# 1.193 05-Dec-2010 pooka

Add a rump server which comes with all the drivers currently
available. In terms of modules it maps to:

golem> rump.modstat
NAME CLASS SOURCE REFS SIZE REQUIRES
bpf driver builtin 0 - -
cd9660 vfs builtin 0 - -
cgd driver builtin 0 - -
dm driver builtin 0 - -
efs vfs builtin 0 - -
ext2fs vfs builtin 0 - ffs
fdesc vfs builtin 0 - -
ffs vfs builtin 3 - -
fss driver builtin 0 - -
hfs vfs builtin 0 - -
kernfs vfs builtin 0 - -
ksem misc builtin 0 - -
layerfs misc builtin 2 - -
lfs vfs builtin 0 - ffs
mfs vfs builtin 0 - ffs
msdos vfs builtin 0 - -
nfs vfs builtin 1 - -
nfsserver misc builtin 0 - nfs
nilfs vfs builtin 0 - -
ntfs vfs builtin 0 - -
null vfs builtin 0 - layerfs
pad driver builtin 0 - -
ptyfs vfs builtin 0 - -
puffs vfs builtin 0 - putter
putter driver builtin 1 - -
scsiverbose misc builtin 0 - -
smbfs vfs builtin 0 - -
suser secmodel builtin 0 - -
swsensor driver builtin 0 - -
sysvbfs vfs builtin 0 - -
tmpfs vfs builtin 0 - -
udf vfs builtin 0 - -
umap vfs builtin 0 - layerfs
union vfs builtin 0 - -
usbverbose misc builtin 0 - -
wapbl vfs builtin 0 - -


In terms of interfaces:
golem> rump.ifconfig -C
shmif virt lo carp


and dmesg:
NetBSD 5.99.41 (RUMP-ROAST) #0: Tue Nov 30 15:35:05 CET 2010
pooka@pain-rustique.localhost:/usr/allsrc/src/sys/rump/librump/rumpkern
total memory = unlimited (host limit)
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "rumpclk" frequency 100 Hz quality 0
cpu0 at thinair0: rump virtual cpu
cpu1 at thinair0: rump virtual cpu
root file system type: rumpfs
mainbus0 (root)
ugenhc0 at mainbus0
usb0 at ugenhc0: USB revision 2.0
uhub0 at usb0: vendor 0x7275 product 0x6d70, class 9/0, rev 0.00/0.00, addr 1
uhub0: 1 port with 1 removable, self powered
ugenhc1 at mainbus0
usb1 at ugenhc1: USB revision 2.0
uhub1 at usb1: vendor 0x7275 product 0x6d70, class 9/0, rev 0.00/0.00, addr 1
uhub1: 1 port with 1 removable, self powered
ugenhc2 at mainbus0
usb2 at ugenhc2: USB revision 2.0
uhub2 at usb2: vendor 0x7275 product 0x6d70, class 9/0, rev 0.00/0.00, addr 1
uhub2: 1 port with 1 removable, self powered
ugenhc3 at mainbus0
usb3 at ugenhc3: USB revision 2.0
uhub3 at usb3: vendor 0x7275 product 0x6d70, class 9/0, rev 0.00/0.00, addr 1
uhub3: 1 port with 1 removable, self powered
scsitest0 at mainbus0
scsibus0 at scsitest0: 2 targets, 1 lun per target
cd0 at scsibus0 target 1 lun 0: <RUMPHOBO, It's a LIE, 0.00> cdrom removable
Chicony Electronics Chicony Electronics, class 0/0, rev 2.00/1.00, addr 2, uhub0 port 1 not configured
AuthenTec AuthenTec, class 255/255, rev 1.10/6.21, addr 2, uhub1 port 1 not configured
swwdog0: software watchdog initialized
Kernelized RAIDframe activated
pad0: outputs: 44100Hz, 16-bit, stereo
audio0 at pad0: half duplex, playback, capture


There a bunch of other stuff which doesn't show up as any of the
above, plus of course the usb drivers which are probed only if I
have the appropriate hardware plugged into my workstation.


# 1.192 27-Aug-2010 christos

unhook awk again


# 1.191 27-Aug-2010 christos

switch back to the old awk till I fixed the problem.


# 1.190 26-Aug-2010 christos

Unglue awk.


# 1.189 19-Jun-2010 mrg

- always install pigz. hooary!
- kill MKPIGZ.
- add MKPIGZGZIP. if it is "no", then only install pigz as pigz. if it is
not "no", don't install mrgzip, install pigz as gzip.

in all cases, the z* scripts.


i don't like the name MKPIGZGZIP so if anyone has a better name, feel free
to replace it. i don't care enough since killing the ugly name is just
more incentive to get pigz doing .bz2, .Z and .z.


# 1.188 18-Jun-2010 jmcneill

hook mkubootimage into the build


# 1.187 17-Jun-2010 mrg

if MKPIGZ != no, build gzip, otherwise build pigz.


# 1.186 07-May-2010 christos

unhook old cron, hook new one.


# 1.185 03-Feb-2010 roy

Userland now builds and uses terminfo instead of termcap.

OK: core@, jdc@


# 1.184 16-Jan-2010 roy

Remove tn3270 from base system.
If anyone really needs it then it can be put into pkgsrc.
Importing c3270 into pkgsrc is probably a better option though.


Revision tags: matt-premerge-20091211
# 1.183 29-Oct-2009 christos

unhook yacc


# 1.182 26-Oct-2009 christos

unhook lex


# 1.181 26-Oct-2009 christos

put back lex


# 1.180 26-Oct-2009 christos

unhook old flex.


# 1.179 03-Sep-2009 joerg

Enable libarchive-based unzip frontend.


# 1.178 15-Aug-2009 joerg

Add nbperf(1), a minimal perfect hash function generator.
Implemented are the 3-graph BDZ algorithm as well as the
2-graph and 3-graph CHM algorithms. All algorithms have expected
linear run time and the smallest functions need around 2.85 bit/key.


# 1.177 20-Jul-2009 christos

openssl has moved


# 1.176 07-Jun-2009 christos

unhook ssh


Revision tags: jym-xensuspend-nbase jym-xensuspend-base
# 1.175 08-May-2009 christos

unhook file


# 1.174 19-Jan-2009 jmmv

branches: 1.174.2;
Remove ATF 0.5 from dist/atf and all of the reachover Makefiles used to
build it. 0.6 is going to be imported in external/bsd/atf, with all the
necessary Makefiles in that same hierarchy.


# 1.173 11-Dec-2008 roy

Add the tabs utility, conforming to IEEE Std 1003.1 (``POSIX.1'').
Fixes PR bin/11227

No objection on tech-userland, ok: martin


# 1.172 12-Nov-2008 ad

Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.


Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 netbsd-5-base
# 1.171 29-Oct-2008 christos

branches: 1.171.6; 1.171.10;
bye old vi!


Revision tags: matt-mips64-base2 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2
# 1.170 31-Aug-2008 christos

For now descend into old vi for virecover and doc. Unfortunately the
new vi vi.ref is now texinfo and our makeinfo is too old to deal with it.


# 1.169 31-Aug-2008 christos

nvi is now default


# 1.168 16-Aug-2008 gmcgarry

Dont build atf tools with (${MKATF} == no).


# 1.167 22-Jul-2008 dyoung

Per discussion on tech-userlevel@, do not compile and install nvi
if MKNVI=no.

The default is MKNVI=yes, so that this amounts to no change for
most users, but the default may change.


# 1.166 16-Jul-2008 christos

top is now in dist/bsd


Revision tags: wrstuden-revivesa-base-1 yamt-pf42-base4 wrstuden-revivesa-base
# 1.165 10-Jun-2008 aymeric

enable the wcurses-enabled vi as 'nvi', 'nex', and 'nview'.
Will be put in place of the default "non-n" variants when they are stable.


Revision tags: yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-base2
# 1.164 11-May-2008 joerg

Add nbsvtool to the build.


Revision tags: yamt-pf42-baseX yamt-pf42-base
# 1.163 22-Mar-2008 mlelstv

branches: 1.163.2; 1.163.4;
Import Heimdal-1.1


Revision tags: keiichi-mipv6-nbase keiichi-mipv6-base matt-armv6-nbase hpcarm-cleanup-base
# 1.162 10-Feb-2008 jmmv

Always test MKMODULAR with != "no". Requested by mrg@.


# 1.161 09-Feb-2008 jmmv

Do not descend into modstat if MKMODULAR is set.


Revision tags: cube-autoconf-base matt-armv6-base
# 1.160 12-Nov-2007 jmmv

Add the atf tools

This adds reachover Makefiles to build and install the atf tools.
Some are public, thus installed in /usr/bin, and others are internal
and therefore installed in /usr/libexec.


# 1.159 09-Nov-2007 plunky

Add a new utility 'btkey' for managment of Bluetooth Link Keys stored
in the NetBSD key cache (/var/db/bthcid.keys) and Bluetooth controller
memory.


Revision tags: matt-armv6-prevmlocking matt-mips64-base
# 1.158 21-Jun-2007 ginsbach

branches: 1.158.4;
Add the newgrp(1) utility, which changes effective group ID. This
is a POSIX (IEEE Std 1003.1, 2004 / Open Group Base Specifications
Issue 6) User Portability Utility.


# 1.157 18-Feb-2007 rmind

Enable sdiff(1) in usr.bin, disable GNU sdiff(1).
lists seems to be compatible.


# 1.156 30-Jan-2007 elad

Move paxctl from usr.bin/paxctl to usr.sbin/paxctl, and make it an admin
tool (man-page moved from section 1 to section 8).


Revision tags: netbsd-4-base
# 1.155 07-Oct-2006 tron

branches: 1.155.2;
Fix broken line continuation, probably caused by editor word wrap.


# 1.154 07-Oct-2006 elad

PR/18126: jnilsson at ludd dot luth dot se: add the revoke program

I have commited a different version than in the PR, it lacks a license
but if it warrants one we can stick the TNF standard on it. It's just
a main() routine that calls revoke(2).


# 1.153 25-Sep-2006 christos

PR/34599: Mindaugas: csplit(1) utility port


Revision tags: abandoned-netbsd-4-base
# 1.152 19-Jun-2006 gdamore

Initial import of bluetooth stack on behalf of Iain Hibbert. (plunky@,
NetBSD Foundation Membership still pending.) This stack was written by
Iain under sponsorship from Itronix Inc.

The stack includes support for rfcomm networking (networking via your
bluetooth enabled cell phone), hid devices (keyboards/mice), and headsets.

Drivers for both PCMCIA and USB bluetooth controllers are included.


Revision tags: chap-midi-nbase chap-midi-base
# 1.151 16-May-2006 elad

Introduce PaX MPROTECT -- mprotect(2) restrictions used to strengthen
W^X mappings.

Disabled by default.

First proposed in:

http://mail-index.netbsd.org/tech-security/2005/12/18/0000.html

More information in:

http://pax.grsecurity.net/docs/mprotect.txt

Read relevant parts of options(4) and sysctl(3) before using!

Lots of thanks to the PaX author and Matt Thomas.


# 1.150 03-Apr-2006 scw

Add a kernel driver and userland program for the Topfield TF5000PVR range
of digital video recorders popular in Europe and Australia.

These devices have a USB client port which can be used to upload and
download recordings (and other files, such as MIPS binaries for execution
on the DVR's CPU) to/from their internal hard disk, in addition to some
other operations on files and directories.


# 1.149 24-Jan-2006 elad

moduli utils moved from games to usr.bin.


# 1.148 25-Jul-2005 hubertf

Add vndcompress


# 1.147 29-Jun-2005 perry

add deroff and spell


# 1.146 05-Jun-2005 thorpej

config and genassym are not sysadmin tools, they are development tools.
As such, they don't belong in /usr/sbin, but rather /usr/bin. Move them
there.


Revision tags: netbsd-3-base
# 1.145 09-Mar-2005 atatat

branches: 1.145.2;
Add a sockstat(1) command that can list open sockets and the processes
that own them. The implementation concept and man page came largely
from FreeBSD, but the program is fresh.


# 1.144 20-Jan-2005 ginsbach

add seq(1)


# 1.143 02-Jan-2005 thorpej

Add a getextattr(1)/setextattr(1)/rmextattr(1)/lsextattr(1) utility
that gets, sets, removes, and lists file system extended attributes.

From FreeBSD.


# 1.142 23-Nov-2004 lukem

add getent(1)


# 1.141 13-Sep-2004 thorpej

Add the uuidgen(1) command, adapted from FreeBSD. While here, also add
a DCE-compatible -s flag, which causes uuidgen(1) to output C code for
the UUIDs rather than the standard string representation.

PR 23470.


# 1.140 25-May-2004 lha

Add kgetcred, a tool that fetches a credential from the KDC
Useful when debugging service and cross-realm problems.


# 1.139 01-Apr-2004 martin

Remove which (the csh script installed in /usr/bin).
It was docuemented to work for *csh users only, and all *csh have a builtin
of that name, which works even better. All other shells have similar
builtins, and this led to confusion several times. Fixes PR 13462.


Revision tags: netbsd-2-0-3-RELEASE netbsd-2-1-RELEASE netbsd-2-1-RC6 netbsd-2-1-RC5 netbsd-2-1-RC4 netbsd-2-1-RC3 netbsd-2-1-RC2 netbsd-2-1-RC1 netbsd-2-0-2-RELEASE netbsd-2-0-1-RELEASE netbsd-2-base netbsd-2-0-RELEASE netbsd-2-0-RC5 netbsd-2-0-RC4 netbsd-2-0-RC3 netbsd-2-0-RC2 netbsd-2-0-RC1 netbsd-2-0-base
# 1.138 26-Mar-2004 mrg

switch over to mrg gzip.


# 1.137 13-Mar-2004 jdolecek

switch awk to nawk; gawk sources will be removed after some grace period
change blessed by core@


# 1.136 04-Jul-2003 tshiozak

add locale(1) utility.
Originally written by Alexey Zelkin <phantom@FreeBSD.org>.
So, obtained from FreeBSD with gratitude. (suggested by wiz.)


# 1.135 27-Jun-2003 tshiozak

Citrus iconv support(4)
add iconv external I/F (iconv.h - iconv_open()/iconv()/iconv_close()) and
iconv(1) utility.
TODO:
- bump libc minor.
- add iconv data files.
- create manpages: iconv_open(3)/iconv(3)/iconv_close(3)/iconv(1)/
mkesdb(1)/mkcsmapper(1).


# 1.134 26-Jun-2003 tshiozak

Citrus iconv support(3)
add host tools : mkcsmapper and mkesdb
mkcsmapper - coded character set mapping table compiler
mkesdb - encoding scheme database compiler


# 1.133 16-Apr-2003 salo

add pathchk(1) (hi jdolecek!)


# 1.132 06-Apr-2003 lha

Don't build a separate kpasswd program, passwd can handle Kerberos
password changing. Fixes last part of bin/14988.


# 1.131 23-Jan-2003 christos

bring back gcore from the dead.


# 1.130 22-Jan-2003 jhawk

make progress(1)


Revision tags: fvdl_fs64_base
# 1.129 11-Dec-2002 lukem

add db(1)


# 1.128 08-Dec-2002 perry

add qsubst
re-sort and re-format SUBDIRs


# 1.127 01-Oct-2002 provos

add pwhash


# 1.126 10-Sep-2002 joda

don't build kf; there are security issues with heimdal 0.4e, and we
don't actually need it


# 1.125 01-Sep-2002 atatat

Move pmap(1) to /usr/bin (from /usr/sbin) where it belongs.


Revision tags: netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base
# 1.124 27-Apr-2002 atatat

branches: 1.124.2;
Add a stat(1) program to /usr/bin. It provides a simple formatting
interface, with reasonable defaults, to the information provided by
stat(2) so that scripts can use the data therein much more easily.


# 1.123 22-Mar-2002 thorpej

Split the notion of building Hesiod, Kerberos, S/key, and YP
infrastructure and using that infrastructure in programs.

* MKHESIOD, MKKERBEROS, MKSKEY, and MKYP control building
of the infratsructure (libraries, support programs, etc.)

* USE_HESIOD, USE_KERBEROS, USE_SKEY, and USE_YP control
building of support for using the corresponding API
in various libraries/programs that can use it.

As discussed on tech-toolchain.


# 1.122 01-Mar-2002 ad

Descend into pkill/.


# 1.121 01-Jan-2002 augustss

Add a program for controlling radio(4) devices. Written by Maxim Tsyplakov
and Vladimir Popov for OpenBSD.


# 1.120 03-Dec-2001 martin

Back out replacing gawk by nawk - James Chacon already fixed gawk for
sparc64.

Sorry, next time I'll catch up with mails first.


# 1.119 03-Dec-2001 martin

HACK: Build awk (replacing gawk) on sparc64, since this is the only one
known to work with the -current toolchain.


# 1.118 13-Jan-2001 jdolecek

put back sort, it's fixed now


# 1.117 13-Jan-2001 simonb

Disable sort for now, it has a corruption problem.


# 1.116 13-Jan-2001 jdolecek

Switch from GNU to BSD sort. Approved by the Core.


# 1.115 30-Dec-2000 augustss

Add a command to perform commands when USB HID items take on certain
values.
Some sample uses: controlling USB speakers with the HID buttons on them,
invoking the proper programs from the HID buttons on modern USB
keyboards.


# 1.114 22-Dec-2000 itojun

populate citrus xpg4dl locale definitions into /usr/share.
if there are any mistakes, please report (i only speak English/Japanese).
currently, only singlebyte locales are usable.

TODO: enable multibyte handler in libc - there still are few design
discussions, but we are almost ready.


# 1.113 24-Oct-2000 thorpej

Add pmc(1).


# 1.112 25-Jul-2000 thorpej

Add a build-framework for an SSH implementation which is not
yet part of the NetBSD source tree. These Makefiles are a
noop until such time as that implementation is committed.


# 1.111 01-Jul-2000 he

Under MKCRYPTO != no, also build bdes.


# 1.110 23-Jun-2000 thorpej

Add MK... variables to enable/disable various aspects of building
crypto support into the system. See share/mk/bsd.README for more
a full description.


Revision tags: netbsd-1-5-base
# 1.109 20-Jun-2000 thorpej

branches: 1.109.2;
Merge a bunch of things from crypto-us and crypto-intl into basesrc,
adding support for Heimdal/KTH Kerberos where easy to do so. Eliminate
bsd.crypto.mk.

There is still a bunch more work to do, but crypto is now more-or-less
fully merged into the base NetBSD distribution.


# 1.108 16-Jun-2000 thorpej

Build openssl.


Revision tags: minoura-xpg4dl-base wrstuden-devbsize-19991221 wrstuden-devbsize-base comdex-fall-1999-base
# 1.107 02-Sep-1999 tron

branches: 1.107.6;
Build and install "mktemp".


# 1.106 20-Jul-1999 mrg

optionally include CRYPTOPATH Makefile.frag files.


# 1.105 12-Jul-1999 thorpej

Use bsd.crypto.mk.


# 1.104 12-Jul-1999 darrenr

build ktruss


# 1.103 09-Jun-1999 simonb

Always descend into the elf2aout and elf2ecoff directories, now that
they check at that level whether or not to build binaries.

A reference to telnet was also here (protected by .if make(obj)...,
but since A) it's already referenced in the main SUBDIR list and b)
the telnet Makefile does this checking as well, it's gone too.


# 1.102 05-Jun-1999 ad

'cdplay', a simple utility for playing compact disks with both a command line
and an interactive mode.


Revision tags: netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.101 26-Mar-1999 tron

branches: 1.101.2;
Replace "audioctl" with "audio" in sub directory list.


# 1.100 03-Mar-1999 jonathan

Makefile ${MACHINE_ARCH} changes for mips{eb,el}, as suggested by
Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>


# 1.99 02-Mar-1999 christos

Add netgroup and innetgr


# 1.98 15-Feb-1999 kleink

Add an implementation of the XPG4.2 nl(1) utility.


# 1.97 15-Feb-1999 simonb

Add top.


# 1.96 25-Jan-1999 lukem

add hesinfo


# 1.95 03-Jan-1999 cjs

Descend on obj, as well as clean, etc.


# 1.94 19-Dec-1998 kristerw

Disable strip


# 1.93 17-Dec-1998 pk

Remove ldd from special clean list


# 1.92 15-Dec-1998 pk

Move ldd special case one level down.


# 1.91 11-Nov-1998 mrg

add fgen


# 1.90 10-Nov-1998 simonb

Remove elfstrip - not used now that we have an ELF-aware strip and it
isn't in the distrib-lists anyway.


# 1.89 25-Oct-1998 jonathan

usr.bin/Makefile: recurse into fdformat on all ports
usr.bin/fdformat/Makefile: build manpages on all ports
distrib/sets/lists/man/mi: add fdformat manpages
distrib/sets/lists/man/md.{arm32,atari,i386,sparc}:
only listed fdformat manpegs. remove.
distrib/sets/lists/man/md.mvem68k:
duplicate entry of mvme68k installboot. remove.


# 1.88 29-Sep-1998 jonathan

Add bzip2, bzip2recover to SUBDIRS.


# 1.87 23-Sep-1998 perry

add shuffle


# 1.86 05-Sep-1998 lukem

distclean is a synonym for cleandir


# 1.85 12-Aug-1998 augustss

Add a very simple MIDI player. No features, no fluff.


# 1.84 22-Jul-1998 scottr

Unlike other domestic bits, telnet and telnetd are never built as a part
of the domestic build process. No domestic program actually builds its
own man pages but instead relies on those built in the exportable tree.
The result is missing telnet(1) and telnet(8) pages.

Fix this problem descending into the telnet and telnetd directories
regardless of whether we're doing an exportable build or not. Once there,
we generate only the man pages if we're building a non-exportable system.


# 1.83 13-Jul-1998 augustss

Add usbhidctl(1) a program for manipulating USB HID devices.


# 1.82 25-May-1998 tv

Disable Berkeley ar, nm, ranlib, size, and strings, and enable binutils.


# 1.81 23-Feb-1998 jonathan

More table-driven changes for different toolchains:
* new bsd.own.mk variable OBJECT_FMT with values "a.out" or "ELF".
* use OBJECT_FMT in Makefile tests that depend on toolchain.
* Add new bsd.own.mk variable NOSHLIB that, if set indicates a given
port doesnt yet do shared libraries. Set on powerpc.
* Document new feature-test variables in src/share/mk/bsd.README.
Tested on i386, mips, fakedup Alpha environment.


# 1.80 23-Feb-1998 jonathan

Descend into gprof on all ports to build doc/psd/18.gprof.
Don't define PROG in gprof on ELF or powerpc.
Put back WARNS= 0 for compatibility with 1.3.1.


# 1.79 11-Nov-1997 scottr

Fix tyop in last commit.


# 1.78 10-Nov-1997 fair

build fdformat on sparc per PR#4459


Revision tags: netbsd-1-3-base
# 1.77 26-Sep-1997 phil

branches: 1.77.2;
Add msgc and menuc to subdirs.


# 1.76 10-Aug-1997 fair

add shlock


# 1.75 02-Aug-1997 perry

add crunch, and re-sort/format SUBDIR


# 1.74 16-Jul-1997 mark

Build fdformat on arm32 systems.


# 1.73 22-Jun-1997 christos

Add skeyinfo


# 1.72 04-Jun-1997 leo

Use MACHINE instead of MACHINE_ARCH to make fdformat on the atari.


# 1.71 13-May-1997 augustss

Add audio utility programs.
The audio device can be inspected and changed by audioctl,
and the mixer device by mixerctl. The command syntax was
inspired by sysctl.


# 1.70 19-Apr-1997 thorpej

Don't build the BSD toolchain on the PowerPC.


# 1.69 09-Apr-1997 mikel

descend unconditionally for clean and cleandir targets


# 1.68 07-Mar-1997 mikel

merge lite2 changes (just SCCS ids)


# 1.67 08-Jan-1997 leo

The atari-Hades can use fdformat too.


# 1.66 17-Dec-1996 jonathan

Build elf ldd and elf-to-xxx tools on mips ports.


# 1.65 16-Dec-1996 cgd

on the alpha, add 'ldd' to the subdirs list


# 1.64 29-Nov-1996 jtk

add fdformat


# 1.63 14-Jun-1996 cgd

include bsd.own.mk at the top, so checks of EXPORTABLE_SYSTEM work as
intended.


Revision tags: netbsd-1-2-base
# 1.62 10-Mar-1996 thorpej

branches: 1.62.4;
Only build exportable telnet/libtelnet if the domestic version doesn't
exist in the source tree or defined(EXPORTABLE_SYSTEM). This works around
the fact that telnet(1) will break during a "make build" because the
exportable libtelnet will get installed while the domestic telnet(1) binary
is still in place. (XXX)


# 1.61 22-Jan-1996 mrg

more -> less


# 1.60 28-Nov-1995 jtc

merge in changes from 1.1 release branch


# 1.59 17-Nov-1995 thorpej

New-style RCS id.


# 1.58 22-Oct-1995 pk

fdeject -> eject.


Revision tags: netbsd-1-1-base
# 1.57 09-Oct-1995 pk

branches: 1.57.2;
Build `fdeject' on sparc.


# 1.56 28-Sep-1995 tls

Add 'rs' from 4.4BSD-Lite2


# 1.55 05-Sep-1995 jtc

Include /usr/bin/banner (different from /usr/games/banner)


# 1.54 05-Sep-1995 tls

unsurprisingly, I guess, gcore does not work. oops


# 1.53 05-Sep-1995 tls

add gcore


# 1.52 24-Jul-1995 cgd

add (dummy) bdes, alphabetize


# 1.51 03-Jul-1995 cgd

add 'xlint' for lint


# 1.50 26-Apr-1995 cgd

oops; forgot to remove the first ranlib.


# 1.49 25-Apr-1995 cgd

gah; forgot missing close-paren


# 1.48 24-Apr-1995 cgd

don't use standard tool chain on the alpha


# 1.47 25-Jan-1995 jtc

added systat


# 1.46 14-Nov-1994 jtc

added chflags, jot, and lam


# 1.45 21-Sep-1994 glass

add 'apply'


Revision tags: netbsd-1-0-PATCH06 netbsd-1-0-PATCH05 netbsd-1-0-PATCH04 netbsd-1-0-PATCH03 netbsd-1-0-PATCH02 netbsd-1-0-PATCH1 netbsd-1-0-PATCH0 netbsd-1-0-RELEASE netbsd-1-0-base
# 1.44 30-May-1994 jtc

compile gencat (for message catalogs)


# 1.43 24-May-1994 deraadt

add skey & friends


# 1.42 11-May-1994 cgd

add kdump


# 1.41 05-May-1994 cgd

die!


# 1.40 27-Apr-1994 jtc

Added POSIX.2 getconf utility; although It won't be really useful until
we get sysconf() & pathconf().


# 1.39 16-Apr-1994 cgd

kill symorder


# 1.38 18-Feb-1994 cgd

break out yp stuff


# 1.37 28-Jan-1994 mycroft

No more sccs.


# 1.36 24-Jan-1994 cgd

UNREF(ref)


# 1.35 24-Jan-1994 cgd

all hail the risen vi


# 1.34 24-Jan-1994 cgd

ELVIS IS DEAD, DAMNIT!


# 1.33 06-Jan-1994 cgd

add berkeley pr


# 1.32 21-Dec-1993 cgd

add apropos and whatis


# 1.31 12-Dec-1993 cgd

lex is in here now


# 1.30 05-Dec-1993 cgd

add at, by Thomas Koenig, ig25@rz.uni-karlsruhe.de


# 1.29 14-Nov-1993 cgd

add ipcs and ipcrm


# 1.28 03-Nov-1993 mycroft

Build units(1).


# 1.27 23-Sep-1993 jtc

Added asa utility.


# 1.26 13-Aug-1993 cgd

get rid of AT&T's cpio. we shouldn't be distributing it. see
note in 'source' archive for further clarification.


# 1.25 30-Jul-1993 mycroft

Add RCS identifiers.


Revision tags: netbsd-0-9-ALPHA2 netbsd-0-9-ALPHA netbsd-0-9-base
# 1.24 21-Jun-1993 brezak

branches: 1.24.2;
Add getopt(1) from ref public sources.


# 1.23 07-Jun-1993 cgd

add support for terry lambert's loadable kernel modules.
needs a bit of cleanup, but overall: SLICK!


# 1.22 03-Jun-1993 brezak

Add rup and rusers. Changes to rwall


# 1.21 27-May-1993 cgd

add "rev" -- it was in /usr/old in net/2, but is back in /usr/bin for 4.4...


# 1.20 22-May-1993 cgd

do cap_mkdb, too


# 1.19 21-May-1993 cgd

add entry for "newsyslog"


# 1.18 06-May-1993 cgd

diffs for uname (posix!) system call, provided by John Brezak <brezak@osf.org>


# 1.17 30-Apr-1993 glass

tail, and join from ftp.uu.net:bsd-sources integrated


# 1.16 29-Apr-1993 cgd

move egrep into /usr/src/gnu/usr.bin


# 1.15 29-Apr-1993 cgd

ld groff grep g++ -> usr.gnubin


# 1.14 29-Apr-1993 cgd

update for stuff moved to usr.gnubin:
tar tail sort pr lex join gdb gcc gas fgrep diff3 diff awk


# 1.13 26-Apr-1993 mycroft

tn3270 works now.


# 1.12 26-Apr-1993 mycroft

RCS is no longer broken (I think).


Revision tags: netbsd-0-8 netbsd-alpha-1
# 1.11 09-Apr-1993 cgd

added the following dirs from net/2 (patch 119):
error fpr fsplit indent lastcomm
look quota sccs tcopy tset
vgrind vmstat window


# 1.10 09-Apr-1993 cgd

added msgs


# 1.9 09-Apr-1993 cgd

added entry for `patch'


# 1.8 08-Apr-1993 cgd

incorporated alm's update of elvis to 1.7


# 1.7 04-Apr-1993 cgd

added support for rwall


# 1.6 03-Apr-1993 glass

Added rpcinfo(8), rpcgen(1)


# 1.5 01-Apr-1993 cgd

added rcs to the "old and broken" list


# 1.4 31-Mar-1993 cgd

added support for gprof


# 1.3 23-Mar-1993 cgd

noted tn3270 as broken, because its makefile doesn't work.


Revision tags: patchkit-0-2-2
# 1.2 21-Mar-1993 cgd

after 0.2.2 "stable" patches applied


# 1.1 21-Mar-1993 cgd

branches: 1.1.1;
Initial revision


Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base
# 1.242 27-Jan-2025 christos

PR/57953: Attaullah Ansari: Add getnameinfo program


# 1.241 28-Oct-2024 nia

Add c17(1) wrapper script for gcc with the ISO 2017 C standard.

Not much reason to use this over c11(1), but it's expected to be
required by upcoming POSIX revisions.


# 1.240 02-Sep-2024 ozaki-r

Add shmif_pcapin(1) utility program

It can send any frames that are stored in a pcap(3) file format to
shmif(4) Ethernet interface via the bus of it. If you want to write
some tests for networking with rump kernels and the tests need to send
frames that are difficult to generate by stock programs, shmif_pcapin
can be helpful.

The author of shmif_pcapin is k-goda@IIJ and the man page is written
by ozaki-r.


Revision tags: perseant-exfatfs-base-20240630 perseant-exfatfs-base
# 1.239 24-May-2023 lukem

branches: 1.239.2;
obsolete mkstr(1) and xstr(1)

These were only used on PDP-11 for two programs we don't ship,
and have been obsolete since the VAX days.

xstr never worked in the build.sh cross-build environment (22 years), or
parallel make environment (nearly 28 years), didn't work in the orignal 386bsd
import, and has never been needed in NetBSD as we don't have the older BSD
programs (pascal, pre-nvi ex) that needed mkstr/xstr on PDP-11.

PR toolchain/35964


Revision tags: netbsd-10-0-RELEASE netbsd-10-0-RC6 netbsd-10-0-RC5 netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 netbsd-10-0-RC1 netbsd-10-base
# 1.238 06-Jun-2022 nia

branches: 1.238.2;
build system: Revert all the recent additions of MK[...] knobs that
allow conditionally disabling the building of certain user space
programs in the 'base' set.

There is not enough consensus that this is the right way and a few
people had strong objections, see source-changes-d@.


# 1.237 28-May-2022 nia

mk: Add MKFINGER, MKTALK flags for not building
talk, talkd, finger, fingerd.


# 1.236 07-Dec-2021 brad

A driver and user land utility for the Sparkfun Serial Controlled Motor
Driver module as illustrated here:

https://www.sparkfun.com/products/13911

A SCMD module is a ARM SOC simular to a Arduino in front of a motor
driver chip. The single SCMD module can control two motors and up to
16 additional modules can be chained together using an internal I2C
bus. One can interface with the SCMD using tty uart commands, SPI or
I2C. The driver in this commit adds a kernel driver for the I2C and
SPI interfaces. The command line utility provides a set of
convenience commands that support most of the functions of the SCMD
and is able to use the tty uart mode, SPI user land or the included
kernel driver in a uniform manor.

The use of the SCMD module is mostly for small robots and the like,
but it can control anything that is controllable by voltage.


Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
# 1.235 07-May-2021 nia

hook up aiomixer


# 1.234 28-Dec-2020 htodd

Go into the resize directory to build/install the files since they're in the sets.


Revision tags: phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406
# 1.233 02-Feb-2020 kamil

Port realpath(1) from FreeBSD

realpath(1) wraps realpath(3) and returns resolved physical path.

This utility shipped with GNU and FreeBSD is sometimes
used in scripts in the wild.


Revision tags: netbsd-9-4-RELEASE netbsd-9-3-RELEASE netbsd-9-2-RELEASE netbsd-9-1-RELEASE netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728
# 1.232 24-Jul-2018 christos

Tiny base64 encoder/decoder command patterned after the linux and the macosx
ones with the same name,.


# 1.231 13-Jul-2018 maxv

Remove tpfmt(1). Its code was merged into tprof(8).


# 1.230 13-Jul-2018 mrg

don't try to decend into remove 'pmc' subdir.


Revision tags: netbsd-8-3-RELEASE netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base
# 1.229 21-May-2017 riastradh

branches: 1.229.4; 1.229.8; 1.229.10;
Remove MKCRYPTO option.

Originally, MKCRYPTO was introduced because the United States
classified cryptography as a munition and restricted its export. The
export controls were substantially relaxed fifteen years ago, and are
essentially irrelevant for software with published source code.

In the intervening time, nobody bothered to remove the option after
its motivation -- the US export restriction -- was eliminated. I'm
not aware of any other operating system that has a similar option; I
expect it is mainly out of apathy for churn that we still have it.
Today, cryptography is an essential part of modern computing -- you
can't use the internet responsibly without cryptography.

The position of the TNF board of directors is that TNF makes no
representation that MKCRYPTO=no satisfies any country's cryptography
regulations.

My personal position is that the availability of cryptography is a
basic human right; that any local laws restricting it to a privileged
few are fundamentally immoral; and that it is wrong for developers to
spend effort crippling cryptography to work around such laws.

As proposed on tech-crypto, tech-security, and tech-userlevel to no
objections:

https://mail-index.netbsd.org/tech-crypto/2017/05/06/msg000719.html
https://mail-index.netbsd.org/tech-security/2017/05/06/msg000928.html
https://mail-index.netbsd.org/tech-userlevel/2017/05/06/msg010547.html

P.S. Reviewing all the uses of MKCRYPTO in src revealed a lot of
*bad* crypto that was conditional on it, e.g. DES in telnet... That
should probably be removed too, but on the grounds that it is bad,
not on the grounds that it is (nominally) crypto.


Revision tags: prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
# 1.228 10-Apr-2017 christos

switch to the OpenBSD dc


Revision tags: pgoyette-localcount-20170320
# 1.227 06-Feb-2017 christos

Add nc.


Revision tags: bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104
# 1.226 03-Oct-2016 kamil

branches: 1.226.2;
Import c11(1) - a cc -std=c11 wrapper

This script is similar to c89(1) and c99(1).

It's a NetBSD extension. The c89(1) and c99(1) scripts are part of POSIX.


Revision tags: localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
# 1.225 04-Jun-2016 agc

branches: 1.225.2;
Following positive feedback on tech-userlevel, move the sys_info
script from othersrc to usr.bin/sys_info

The sys_info script is a small script which will show the version
information for installed utilities. It also works on the kernel, and
on most libraries.

Its use is as follow:

[19:41:13] agc@netbsd-002 ...external/bsd/sys_info [4568] > ./sys_info -a
awk-20121220
bind-9.10.3pl3
bzip2-1.0.6
calendar-20160601
ftpd-20110904
g++-4.8.5
gcc-4.8.5
grep-2.5.1anb1
gzip-20150113
bozohttpd-20151231
NetBSD-7.99.26
netpgp-3.99.17
netpgpverify-20160214
ntp-4.2.8pl5
openssl-1.0.1r
sqlite3-3.12.2
openssh-7.1
opensshd-7.1
tcsh-6.19.00
xz-5.2.1
[19:41:20] agc@netbsd-002 ...external/bsd/sys_info [4569] > ./sys_info ntp ssh netpgp
ntp-4.2.8pl5
openssh-7.1
netpgp-3.99.17
[19:41:31] agc@netbsd-002 ...external/bsd/sys_info [4570] > ./sys_info ntp ssh netbsd
ntp-4.2.8pl5
openssh-7.1
NetBSD-7.99.26
[19:41:38] agc@netbsd-002 ...external/bsd/sys_info [4571] >

The -a option can be given to the script to print out the information
on all known components.

The sys_info script also works on libraries, returning their
"versions" as given by the shared object version numbers.

[19:45:06] agc@netbsd-002 ...external/bsd/sys_info [4572] > ./sys_info libevent libXfont libc netbsd
libevent-4.0
libXfont-3.0
libc-12.200
NetBSD-7.99.26
[19:45:27] agc@netbsd-002 ...external/bsd/sys_info [4573] >

Alistair Crooks
Wed Jun 1 19:44:01 PDT 2016


# 1.224 24-Jan-2016 christos

Add a program to find the latest timestamp in a cvs repository


# 1.223 14-Jan-2016 christos

this are our's not gnu


# 1.222 18-Dec-2015 christos

add sortinfo


# 1.221 03-Jun-2015 christos

Add a gettext implementation from William Orr.


# 1.220 02-Mar-2015 christos

add pwait


# 1.219 30-Dec-2014 mrg

install midirecord.


Revision tags: netbsd-7-base tls-earlyentropy-base tls-maxphys-base
# 1.218 01-Aug-2014 christos

branches: 1.218.2;
PR/49053: Kamil Rytarowski: Import timeout(1) from FreeBSD


Revision tags: yamt-pagecache-base9
# 1.217 15-Apr-2014 ginsbach

Hook getaddrinfo(1) into the build. Hi riastradh!


Revision tags: riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3
# 1.216 16-Jan-2014 pooka

branches: 1.216.2;
Add rump_wmd, a utility to resolve rump kernel component dependencies.


# 1.215 28-Dec-2013 rjs

Only build shmif_dumpbus when rump is available.


# 1.214 22-Nov-2013 christos

switch to the nv in external/bsd


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base
# 1.213 11-Feb-2013 christos

put back soelim, if MKGROFF is no so that we don't break the sets.


# 1.212 11-Feb-2013 christos

Don't build and install soelim anymore, because it got overwritten
anyway by the groff one and messed up the mtree unprived sets. If
we want to switch back to ours, we should probably add the extra
flags GNU added first.


Revision tags: yamt-pagecache-base8 yamt-pagecache-base7
# 1.211 01-Nov-2012 christos

Add an flock program inspired by the linux one with the same name.


Revision tags: yamt-pagecache-base6
# 1.210 08-Aug-2012 christos

branches: 1.210.2;
exclude programs for MKRUMP = no


# 1.209 04-Aug-2012 christos

fix bogus test.


Revision tags: yamt-pagecache-base5 yamt-pagecache-base4
# 1.208 16-Feb-2012 jmmv

Remove window(1).

window(1) was replaced by tmux(1) on March 2011. The source code has
been reimported into othersrc/usr.bin/window and an up-to-date package
is available in pkgsrc/misc/window.

This removal was approved by core@, with the condition that it be done
once netbsd-6 had been brached. And the branching has just happened!


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-0-5-RELEASE netbsd-6-0-4-RELEASE netbsd-6-0-3-RELEASE netbsd-6-0-2-RELEASE netbsd-6-0-1-RELEASE matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 netbsd-6-base
# 1.207 07-Feb-2012 joerg

branches: 1.207.2;
Import the new apropos/whatis.

This code has been developed by Abhinav Upadhyay as part of Google's Summer
of Code 2011. It uses libmandoc to parse man pages and builds a Full
Text Index in a SQLite database. The combination of indexing the full
manual page, filtering out stop words and ranking individual matches
based on the section gives a much improved user experience.

The old makewhatis and friends are kept under MKMAKEMANDB=no for now.


# 1.206 04-Jan-2012 yamt

install tprof related commands and man pages.


# 1.205 04-Jan-2012 yamt

install fincore.


Revision tags: yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.204 08-Oct-2011 christos

branches: 1.204.2;
descend into cleantags


# 1.203 06-Oct-2011 mrg

enable building/installing audiocfg(1). ok jmcneill.


# 1.202 03-Jul-2011 tron

Remove the old version of "less".


Revision tags: cherry-xenmp-base
# 1.201 21-Apr-2011 joerg

Add MKBSDGREP switch for easy testing of the GNU grep
replacement/alternative.


# 1.200 15-Apr-2011 elric

Upgrade Heimdal to 1.5pre1 by switching the build from crypto/dist/heimdal
to crypto/external/bsd/heimdal. The latter was just imported as the head
of the Heimdal tree as of a few days ago.


Revision tags: bouyer-quota2-nbase bouyer-quota2-base
# 1.199 20-Jan-2011 pooka

Add a simple dhcp client for rump kernels. It uses code from dhcpcd
for talking to the server and for setting the interface address
and route. However, otherwise it is quite different, since we need
to be working under the assumptions that there is no stable storage
on a rump instance, and that there are n networking stacks on a
given host.


# 1.198 12-Jan-2011 pooka

branches: 1.198.2;
shmif(4) bus dumping utility


Revision tags: matt-mips64-premerge-20101231
# 1.197 26-Dec-2010 jmcneill

hook videoctl into build


# 1.196 13-Dec-2010 pooka

Add rump_server which is just like rump_allserver with the exception
that it links in only -lrump instead of everything. The startup
time difference (especially when attaching a debugger) is noticeable.


# 1.195 12-Dec-2010 pooka

utility to halt a rump kernel


# 1.194 05-Dec-2010 pooka

dumdidumdum, fix name in previous


# 1.193 05-Dec-2010 pooka

Add a rump server which comes with all the drivers currently
available. In terms of modules it maps to:

golem> rump.modstat
NAME CLASS SOURCE REFS SIZE REQUIRES
bpf driver builtin 0 - -
cd9660 vfs builtin 0 - -
cgd driver builtin 0 - -
dm driver builtin 0 - -
efs vfs builtin 0 - -
ext2fs vfs builtin 0 - ffs
fdesc vfs builtin 0 - -
ffs vfs builtin 3 - -
fss driver builtin 0 - -
hfs vfs builtin 0 - -
kernfs vfs builtin 0 - -
ksem misc builtin 0 - -
layerfs misc builtin 2 - -
lfs vfs builtin 0 - ffs
mfs vfs builtin 0 - ffs
msdos vfs builtin 0 - -
nfs vfs builtin 1 - -
nfsserver misc builtin 0 - nfs
nilfs vfs builtin 0 - -
ntfs vfs builtin 0 - -
null vfs builtin 0 - layerfs
pad driver builtin 0 - -
ptyfs vfs builtin 0 - -
puffs vfs builtin 0 - putter
putter driver builtin 1 - -
scsiverbose misc builtin 0 - -
smbfs vfs builtin 0 - -
suser secmodel builtin 0 - -
swsensor driver builtin 0 - -
sysvbfs vfs builtin 0 - -
tmpfs vfs builtin 0 - -
udf vfs builtin 0 - -
umap vfs builtin 0 - layerfs
union vfs builtin 0 - -
usbverbose misc builtin 0 - -
wapbl vfs builtin 0 - -


In terms of interfaces:
golem> rump.ifconfig -C
shmif virt lo carp


and dmesg:
NetBSD 5.99.41 (RUMP-ROAST) #0: Tue Nov 30 15:35:05 CET 2010
pooka@pain-rustique.localhost:/usr/allsrc/src/sys/rump/librump/rumpkern
total memory = unlimited (host limit)
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "rumpclk" frequency 100 Hz quality 0
cpu0 at thinair0: rump virtual cpu
cpu1 at thinair0: rump virtual cpu
root file system type: rumpfs
mainbus0 (root)
ugenhc0 at mainbus0
usb0 at ugenhc0: USB revision 2.0
uhub0 at usb0: vendor 0x7275 product 0x6d70, class 9/0, rev 0.00/0.00, addr 1
uhub0: 1 port with 1 removable, self powered
ugenhc1 at mainbus0
usb1 at ugenhc1: USB revision 2.0
uhub1 at usb1: vendor 0x7275 product 0x6d70, class 9/0, rev 0.00/0.00, addr 1
uhub1: 1 port with 1 removable, self powered
ugenhc2 at mainbus0
usb2 at ugenhc2: USB revision 2.0
uhub2 at usb2: vendor 0x7275 product 0x6d70, class 9/0, rev 0.00/0.00, addr 1
uhub2: 1 port with 1 removable, self powered
ugenhc3 at mainbus0
usb3 at ugenhc3: USB revision 2.0
uhub3 at usb3: vendor 0x7275 product 0x6d70, class 9/0, rev 0.00/0.00, addr 1
uhub3: 1 port with 1 removable, self powered
scsitest0 at mainbus0
scsibus0 at scsitest0: 2 targets, 1 lun per target
cd0 at scsibus0 target 1 lun 0: <RUMPHOBO, It's a LIE, 0.00> cdrom removable
Chicony Electronics Chicony Electronics, class 0/0, rev 2.00/1.00, addr 2, uhub0 port 1 not configured
AuthenTec AuthenTec, class 255/255, rev 1.10/6.21, addr 2, uhub1 port 1 not configured
swwdog0: software watchdog initialized
Kernelized RAIDframe activated
pad0: outputs: 44100Hz, 16-bit, stereo
audio0 at pad0: half duplex, playback, capture


There a bunch of other stuff which doesn't show up as any of the
above, plus of course the usb drivers which are probed only if I
have the appropriate hardware plugged into my workstation.


# 1.192 27-Aug-2010 christos

unhook awk again


# 1.191 27-Aug-2010 christos

switch back to the old awk till I fixed the problem.


# 1.190 26-Aug-2010 christos

Unglue awk.


# 1.189 19-Jun-2010 mrg

- always install pigz. hooary!
- kill MKPIGZ.
- add MKPIGZGZIP. if it is "no", then only install pigz as pigz. if it is
not "no", don't install mrgzip, install pigz as gzip.

in all cases, the z* scripts.


i don't like the name MKPIGZGZIP so if anyone has a better name, feel free
to replace it. i don't care enough since killing the ugly name is just
more incentive to get pigz doing .bz2, .Z and .z.


# 1.188 18-Jun-2010 jmcneill

hook mkubootimage into the build


# 1.187 17-Jun-2010 mrg

if MKPIGZ != no, build gzip, otherwise build pigz.


# 1.186 07-May-2010 christos

unhook old cron, hook new one.


# 1.185 03-Feb-2010 roy

Userland now builds and uses terminfo instead of termcap.

OK: core@, jdc@


# 1.184 16-Jan-2010 roy

Remove tn3270 from base system.
If anyone really needs it then it can be put into pkgsrc.
Importing c3270 into pkgsrc is probably a better option though.


Revision tags: matt-premerge-20091211
# 1.183 29-Oct-2009 christos

unhook yacc


# 1.182 26-Oct-2009 christos

unhook lex


# 1.181 26-Oct-2009 christos

put back lex


# 1.180 26-Oct-2009 christos

unhook old flex.


# 1.179 03-Sep-2009 joerg

Enable libarchive-based unzip frontend.


# 1.178 15-Aug-2009 joerg

Add nbperf(1), a minimal perfect hash function generator.
Implemented are the 3-graph BDZ algorithm as well as the
2-graph and 3-graph CHM algorithms. All algorithms have expected
linear run time and the smallest functions need around 2.85 bit/key.


# 1.177 20-Jul-2009 christos

openssl has moved


# 1.176 07-Jun-2009 christos

unhook ssh


Revision tags: jym-xensuspend-nbase jym-xensuspend-base
# 1.175 08-May-2009 christos

unhook file


# 1.174 19-Jan-2009 jmmv

branches: 1.174.2;
Remove ATF 0.5 from dist/atf and all of the reachover Makefiles used to
build it. 0.6 is going to be imported in external/bsd/atf, with all the
necessary Makefiles in that same hierarchy.


# 1.173 11-Dec-2008 roy

Add the tabs utility, conforming to IEEE Std 1003.1 (``POSIX.1'').
Fixes PR bin/11227

No objection on tech-userland, ok: martin


# 1.172 12-Nov-2008 ad

Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.


Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 netbsd-5-base
# 1.171 29-Oct-2008 christos

branches: 1.171.6; 1.171.10;
bye old vi!


Revision tags: matt-mips64-base2 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2
# 1.170 31-Aug-2008 christos

For now descend into old vi for virecover and doc. Unfortunately the
new vi vi.ref is now texinfo and our makeinfo is too old to deal with it.


# 1.169 31-Aug-2008 christos

nvi is now default


# 1.168 16-Aug-2008 gmcgarry

Dont build atf tools with (${MKATF} == no).


# 1.167 22-Jul-2008 dyoung

Per discussion on tech-userlevel@, do not compile and install nvi
if MKNVI=no.

The default is MKNVI=yes, so that this amounts to no change for
most users, but the default may change.


# 1.166 16-Jul-2008 christos

top is now in dist/bsd


Revision tags: wrstuden-revivesa-base-1 yamt-pf42-base4 wrstuden-revivesa-base
# 1.165 10-Jun-2008 aymeric

enable the wcurses-enabled vi as 'nvi', 'nex', and 'nview'.
Will be put in place of the default "non-n" variants when they are stable.


Revision tags: yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-base2
# 1.164 11-May-2008 joerg

Add nbsvtool to the build.


Revision tags: yamt-pf42-baseX yamt-pf42-base
# 1.163 22-Mar-2008 mlelstv

branches: 1.163.2; 1.163.4;
Import Heimdal-1.1


Revision tags: keiichi-mipv6-nbase keiichi-mipv6-base matt-armv6-nbase hpcarm-cleanup-base
# 1.162 10-Feb-2008 jmmv

Always test MKMODULAR with != "no". Requested by mrg@.


# 1.161 09-Feb-2008 jmmv

Do not descend into modstat if MKMODULAR is set.


Revision tags: cube-autoconf-base matt-armv6-base
# 1.160 12-Nov-2007 jmmv

Add the atf tools

This adds reachover Makefiles to build and install the atf tools.
Some are public, thus installed in /usr/bin, and others are internal
and therefore installed in /usr/libexec.


# 1.159 09-Nov-2007 plunky

Add a new utility 'btkey' for managment of Bluetooth Link Keys stored
in the NetBSD key cache (/var/db/bthcid.keys) and Bluetooth controller
memory.


Revision tags: matt-armv6-prevmlocking matt-mips64-base
# 1.158 21-Jun-2007 ginsbach

branches: 1.158.4;
Add the newgrp(1) utility, which changes effective group ID. This
is a POSIX (IEEE Std 1003.1, 2004 / Open Group Base Specifications
Issue 6) User Portability Utility.


# 1.157 18-Feb-2007 rmind

Enable sdiff(1) in usr.bin, disable GNU sdiff(1).
lists seems to be compatible.


# 1.156 30-Jan-2007 elad

Move paxctl from usr.bin/paxctl to usr.sbin/paxctl, and make it an admin
tool (man-page moved from section 1 to section 8).


Revision tags: netbsd-4-base
# 1.155 07-Oct-2006 tron

branches: 1.155.2;
Fix broken line continuation, probably caused by editor word wrap.


# 1.154 07-Oct-2006 elad

PR/18126: jnilsson at ludd dot luth dot se: add the revoke program

I have commited a different version than in the PR, it lacks a license
but if it warrants one we can stick the TNF standard on it. It's just
a main() routine that calls revoke(2).


# 1.153 25-Sep-2006 christos

PR/34599: Mindaugas: csplit(1) utility port


Revision tags: abandoned-netbsd-4-base
# 1.152 19-Jun-2006 gdamore

Initial import of bluetooth stack on behalf of Iain Hibbert. (plunky@,
NetBSD Foundation Membership still pending.) This stack was written by
Iain under sponsorship from Itronix Inc.

The stack includes support for rfcomm networking (networking via your
bluetooth enabled cell phone), hid devices (keyboards/mice), and headsets.

Drivers for both PCMCIA and USB bluetooth controllers are included.


Revision tags: chap-midi-nbase chap-midi-base
# 1.151 16-May-2006 elad

Introduce PaX MPROTECT -- mprotect(2) restrictions used to strengthen
W^X mappings.

Disabled by default.

First proposed in:

http://mail-index.netbsd.org/tech-security/2005/12/18/0000.html

More information in:

http://pax.grsecurity.net/docs/mprotect.txt

Read relevant parts of options(4) and sysctl(3) before using!

Lots of thanks to the PaX author and Matt Thomas.


# 1.150 03-Apr-2006 scw

Add a kernel driver and userland program for the Topfield TF5000PVR range
of digital video recorders popular in Europe and Australia.

These devices have a USB client port which can be used to upload and
download recordings (and other files, such as MIPS binaries for execution
on the DVR's CPU) to/from their internal hard disk, in addition to some
other operations on files and directories.


# 1.149 24-Jan-2006 elad

moduli utils moved from games to usr.bin.


# 1.148 25-Jul-2005 hubertf

Add vndcompress


# 1.147 29-Jun-2005 perry

add deroff and spell


# 1.146 05-Jun-2005 thorpej

config and genassym are not sysadmin tools, they are development tools.
As such, they don't belong in /usr/sbin, but rather /usr/bin. Move them
there.


Revision tags: netbsd-3-base
# 1.145 09-Mar-2005 atatat

branches: 1.145.2;
Add a sockstat(1) command that can list open sockets and the processes
that own them. The implementation concept and man page came largely
from FreeBSD, but the program is fresh.


# 1.144 20-Jan-2005 ginsbach

add seq(1)


# 1.143 02-Jan-2005 thorpej

Add a getextattr(1)/setextattr(1)/rmextattr(1)/lsextattr(1) utility
that gets, sets, removes, and lists file system extended attributes.

From FreeBSD.


# 1.142 23-Nov-2004 lukem

add getent(1)


# 1.141 13-Sep-2004 thorpej

Add the uuidgen(1) command, adapted from FreeBSD. While here, also add
a DCE-compatible -s flag, which causes uuidgen(1) to output C code for
the UUIDs rather than the standard string representation.

PR 23470.


# 1.140 25-May-2004 lha

Add kgetcred, a tool that fetches a credential from the KDC
Useful when debugging service and cross-realm problems.


# 1.139 01-Apr-2004 martin

Remove which (the csh script installed in /usr/bin).
It was docuemented to work for *csh users only, and all *csh have a builtin
of that name, which works even better. All other shells have similar
builtins, and this led to confusion several times. Fixes PR 13462.


Revision tags: netbsd-2-0-3-RELEASE netbsd-2-1-RELEASE netbsd-2-1-RC6 netbsd-2-1-RC5 netbsd-2-1-RC4 netbsd-2-1-RC3 netbsd-2-1-RC2 netbsd-2-1-RC1 netbsd-2-0-2-RELEASE netbsd-2-0-1-RELEASE netbsd-2-base netbsd-2-0-RELEASE netbsd-2-0-RC5 netbsd-2-0-RC4 netbsd-2-0-RC3 netbsd-2-0-RC2 netbsd-2-0-RC1 netbsd-2-0-base
# 1.138 26-Mar-2004 mrg

switch over to mrg gzip.


# 1.137 13-Mar-2004 jdolecek

switch awk to nawk; gawk sources will be removed after some grace period
change blessed by core@


# 1.136 04-Jul-2003 tshiozak

add locale(1) utility.
Originally written by Alexey Zelkin <phantom@FreeBSD.org>.
So, obtained from FreeBSD with gratitude. (suggested by wiz.)


# 1.135 27-Jun-2003 tshiozak

Citrus iconv support(4)
add iconv external I/F (iconv.h - iconv_open()/iconv()/iconv_close()) and
iconv(1) utility.
TODO:
- bump libc minor.
- add iconv data files.
- create manpages: iconv_open(3)/iconv(3)/iconv_close(3)/iconv(1)/
mkesdb(1)/mkcsmapper(1).


# 1.134 26-Jun-2003 tshiozak

Citrus iconv support(3)
add host tools : mkcsmapper and mkesdb
mkcsmapper - coded character set mapping table compiler
mkesdb - encoding scheme database compiler


# 1.133 16-Apr-2003 salo

add pathchk(1) (hi jdolecek!)


# 1.132 06-Apr-2003 lha

Don't build a separate kpasswd program, passwd can handle Kerberos
password changing. Fixes last part of bin/14988.


# 1.131 23-Jan-2003 christos

bring back gcore from the dead.


# 1.130 22-Jan-2003 jhawk

make progress(1)


Revision tags: fvdl_fs64_base
# 1.129 11-Dec-2002 lukem

add db(1)


# 1.128 08-Dec-2002 perry

add qsubst
re-sort and re-format SUBDIRs


# 1.127 01-Oct-2002 provos

add pwhash


# 1.126 10-Sep-2002 joda

don't build kf; there are security issues with heimdal 0.4e, and we
don't actually need it


# 1.125 01-Sep-2002 atatat

Move pmap(1) to /usr/bin (from /usr/sbin) where it belongs.


Revision tags: netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base
# 1.124 27-Apr-2002 atatat

branches: 1.124.2;
Add a stat(1) program to /usr/bin. It provides a simple formatting
interface, with reasonable defaults, to the information provided by
stat(2) so that scripts can use the data therein much more easily.


# 1.123 22-Mar-2002 thorpej

Split the notion of building Hesiod, Kerberos, S/key, and YP
infrastructure and using that infrastructure in programs.

* MKHESIOD, MKKERBEROS, MKSKEY, and MKYP control building
of the infratsructure (libraries, support programs, etc.)

* USE_HESIOD, USE_KERBEROS, USE_SKEY, and USE_YP control
building of support for using the corresponding API
in various libraries/programs that can use it.

As discussed on tech-toolchain.


# 1.122 01-Mar-2002 ad

Descend into pkill/.


# 1.121 01-Jan-2002 augustss

Add a program for controlling radio(4) devices. Written by Maxim Tsyplakov
and Vladimir Popov for OpenBSD.


# 1.120 03-Dec-2001 martin

Back out replacing gawk by nawk - James Chacon already fixed gawk for
sparc64.

Sorry, next time I'll catch up with mails first.


# 1.119 03-Dec-2001 martin

HACK: Build awk (replacing gawk) on sparc64, since this is the only one
known to work with the -current toolchain.


# 1.118 13-Jan-2001 jdolecek

put back sort, it's fixed now


# 1.117 13-Jan-2001 simonb

Disable sort for now, it has a corruption problem.


# 1.116 13-Jan-2001 jdolecek

Switch from GNU to BSD sort. Approved by the Core.


# 1.115 30-Dec-2000 augustss

Add a command to perform commands when USB HID items take on certain
values.
Some sample uses: controlling USB speakers with the HID buttons on them,
invoking the proper programs from the HID buttons on modern USB
keyboards.


# 1.114 22-Dec-2000 itojun

populate citrus xpg4dl locale definitions into /usr/share.
if there are any mistakes, please report (i only speak English/Japanese).
currently, only singlebyte locales are usable.

TODO: enable multibyte handler in libc - there still are few design
discussions, but we are almost ready.


# 1.113 24-Oct-2000 thorpej

Add pmc(1).


# 1.112 25-Jul-2000 thorpej

Add a build-framework for an SSH implementation which is not
yet part of the NetBSD source tree. These Makefiles are a
noop until such time as that implementation is committed.


# 1.111 01-Jul-2000 he

Under MKCRYPTO != no, also build bdes.


# 1.110 23-Jun-2000 thorpej

Add MK... variables to enable/disable various aspects of building
crypto support into the system. See share/mk/bsd.README for more
a full description.


Revision tags: netbsd-1-5-base
# 1.109 20-Jun-2000 thorpej

branches: 1.109.2;
Merge a bunch of things from crypto-us and crypto-intl into basesrc,
adding support for Heimdal/KTH Kerberos where easy to do so. Eliminate
bsd.crypto.mk.

There is still a bunch more work to do, but crypto is now more-or-less
fully merged into the base NetBSD distribution.


# 1.108 16-Jun-2000 thorpej

Build openssl.


Revision tags: minoura-xpg4dl-base wrstuden-devbsize-19991221 wrstuden-devbsize-base comdex-fall-1999-base
# 1.107 02-Sep-1999 tron

branches: 1.107.6;
Build and install "mktemp".


# 1.106 20-Jul-1999 mrg

optionally include CRYPTOPATH Makefile.frag files.


# 1.105 12-Jul-1999 thorpej

Use bsd.crypto.mk.


# 1.104 12-Jul-1999 darrenr

build ktruss


# 1.103 09-Jun-1999 simonb

Always descend into the elf2aout and elf2ecoff directories, now that
they check at that level whether or not to build binaries.

A reference to telnet was also here (protected by .if make(obj)...,
but since A) it's already referenced in the main SUBDIR list and b)
the telnet Makefile does this checking as well, it's gone too.


# 1.102 05-Jun-1999 ad

'cdplay', a simple utility for playing compact disks with both a command line
and an interactive mode.


Revision tags: netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.101 26-Mar-1999 tron

branches: 1.101.2;
Replace "audioctl" with "audio" in sub directory list.


# 1.100 03-Mar-1999 jonathan

Makefile ${MACHINE_ARCH} changes for mips{eb,el}, as suggested by
Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>


# 1.99 02-Mar-1999 christos

Add netgroup and innetgr


# 1.98 15-Feb-1999 kleink

Add an implementation of the XPG4.2 nl(1) utility.


# 1.97 15-Feb-1999 simonb

Add top.


# 1.96 25-Jan-1999 lukem

add hesinfo


# 1.95 03-Jan-1999 cjs

Descend on obj, as well as clean, etc.


# 1.94 19-Dec-1998 kristerw

Disable strip


# 1.93 17-Dec-1998 pk

Remove ldd from special clean list


# 1.92 15-Dec-1998 pk

Move ldd special case one level down.


# 1.91 11-Nov-1998 mrg

add fgen


# 1.90 10-Nov-1998 simonb

Remove elfstrip - not used now that we have an ELF-aware strip and it
isn't in the distrib-lists anyway.


# 1.89 25-Oct-1998 jonathan

usr.bin/Makefile: recurse into fdformat on all ports
usr.bin/fdformat/Makefile: build manpages on all ports
distrib/sets/lists/man/mi: add fdformat manpages
distrib/sets/lists/man/md.{arm32,atari,i386,sparc}:
only listed fdformat manpegs. remove.
distrib/sets/lists/man/md.mvem68k:
duplicate entry of mvme68k installboot. remove.


# 1.88 29-Sep-1998 jonathan

Add bzip2, bzip2recover to SUBDIRS.


# 1.87 23-Sep-1998 perry

add shuffle


# 1.86 05-Sep-1998 lukem

distclean is a synonym for cleandir


# 1.85 12-Aug-1998 augustss

Add a very simple MIDI player. No features, no fluff.


# 1.84 22-Jul-1998 scottr

Unlike other domestic bits, telnet and telnetd are never built as a part
of the domestic build process. No domestic program actually builds its
own man pages but instead relies on those built in the exportable tree.
The result is missing telnet(1) and telnet(8) pages.

Fix this problem descending into the telnet and telnetd directories
regardless of whether we're doing an exportable build or not. Once there,
we generate only the man pages if we're building a non-exportable system.


# 1.83 13-Jul-1998 augustss

Add usbhidctl(1) a program for manipulating USB HID devices.


# 1.82 25-May-1998 tv

Disable Berkeley ar, nm, ranlib, size, and strings, and enable binutils.


# 1.81 23-Feb-1998 jonathan

More table-driven changes for different toolchains:
* new bsd.own.mk variable OBJECT_FMT with values "a.out" or "ELF".
* use OBJECT_FMT in Makefile tests that depend on toolchain.
* Add new bsd.own.mk variable NOSHLIB that, if set indicates a given
port doesnt yet do shared libraries. Set on powerpc.
* Document new feature-test variables in src/share/mk/bsd.README.
Tested on i386, mips, fakedup Alpha environment.


# 1.80 23-Feb-1998 jonathan

Descend into gprof on all ports to build doc/psd/18.gprof.
Don't define PROG in gprof on ELF or powerpc.
Put back WARNS= 0 for compatibility with 1.3.1.


# 1.79 11-Nov-1997 scottr

Fix tyop in last commit.


# 1.78 10-Nov-1997 fair

build fdformat on sparc per PR#4459


Revision tags: netbsd-1-3-base
# 1.77 26-Sep-1997 phil

branches: 1.77.2;
Add msgc and menuc to subdirs.


# 1.76 10-Aug-1997 fair

add shlock


# 1.75 02-Aug-1997 perry

add crunch, and re-sort/format SUBDIR


# 1.74 16-Jul-1997 mark

Build fdformat on arm32 systems.


# 1.73 22-Jun-1997 christos

Add skeyinfo


# 1.72 04-Jun-1997 leo

Use MACHINE instead of MACHINE_ARCH to make fdformat on the atari.


# 1.71 13-May-1997 augustss

Add audio utility programs.
The audio device can be inspected and changed by audioctl,
and the mixer device by mixerctl. The command syntax was
inspired by sysctl.


# 1.70 19-Apr-1997 thorpej

Don't build the BSD toolchain on the PowerPC.


# 1.69 09-Apr-1997 mikel

descend unconditionally for clean and cleandir targets


# 1.68 07-Mar-1997 mikel

merge lite2 changes (just SCCS ids)


# 1.67 08-Jan-1997 leo

The atari-Hades can use fdformat too.


# 1.66 17-Dec-1996 jonathan

Build elf ldd and elf-to-xxx tools on mips ports.


# 1.65 16-Dec-1996 cgd

on the alpha, add 'ldd' to the subdirs list


# 1.64 29-Nov-1996 jtk

add fdformat


# 1.63 14-Jun-1996 cgd

include bsd.own.mk at the top, so checks of EXPORTABLE_SYSTEM work as
intended.


Revision tags: netbsd-1-2-base
# 1.62 10-Mar-1996 thorpej

branches: 1.62.4;
Only build exportable telnet/libtelnet if the domestic version doesn't
exist in the source tree or defined(EXPORTABLE_SYSTEM). This works around
the fact that telnet(1) will break during a "make build" because the
exportable libtelnet will get installed while the domestic telnet(1) binary
is still in place. (XXX)


# 1.61 22-Jan-1996 mrg

more -> less


# 1.60 28-Nov-1995 jtc

merge in changes from 1.1 release branch


# 1.59 17-Nov-1995 thorpej

New-style RCS id.


# 1.58 22-Oct-1995 pk

fdeject -> eject.


Revision tags: netbsd-1-1-base
# 1.57 09-Oct-1995 pk

branches: 1.57.2;
Build `fdeject' on sparc.


# 1.56 28-Sep-1995 tls

Add 'rs' from 4.4BSD-Lite2


# 1.55 05-Sep-1995 jtc

Include /usr/bin/banner (different from /usr/games/banner)


# 1.54 05-Sep-1995 tls

unsurprisingly, I guess, gcore does not work. oops


# 1.53 05-Sep-1995 tls

add gcore


# 1.52 24-Jul-1995 cgd

add (dummy) bdes, alphabetize


# 1.51 03-Jul-1995 cgd

add 'xlint' for lint


# 1.50 26-Apr-1995 cgd

oops; forgot to remove the first ranlib.


# 1.49 25-Apr-1995 cgd

gah; forgot missing close-paren


# 1.48 24-Apr-1995 cgd

don't use standard tool chain on the alpha


# 1.47 25-Jan-1995 jtc

added systat


# 1.46 14-Nov-1994 jtc

added chflags, jot, and lam


# 1.45 21-Sep-1994 glass

add 'apply'


Revision tags: netbsd-1-0-PATCH06 netbsd-1-0-PATCH05 netbsd-1-0-PATCH04 netbsd-1-0-PATCH03 netbsd-1-0-PATCH02 netbsd-1-0-PATCH1 netbsd-1-0-PATCH0 netbsd-1-0-RELEASE netbsd-1-0-base
# 1.44 30-May-1994 jtc

compile gencat (for message catalogs)


# 1.43 24-May-1994 deraadt

add skey & friends


# 1.42 11-May-1994 cgd

add kdump


# 1.41 05-May-1994 cgd

die!


# 1.40 27-Apr-1994 jtc

Added POSIX.2 getconf utility; although It won't be really useful until
we get sysconf() & pathconf().


# 1.39 16-Apr-1994 cgd

kill symorder


# 1.38 18-Feb-1994 cgd

break out yp stuff


# 1.37 28-Jan-1994 mycroft

No more sccs.


# 1.36 24-Jan-1994 cgd

UNREF(ref)


# 1.35 24-Jan-1994 cgd

all hail the risen vi


# 1.34 24-Jan-1994 cgd

ELVIS IS DEAD, DAMNIT!


# 1.33 06-Jan-1994 cgd

add berkeley pr


# 1.32 21-Dec-1993 cgd

add apropos and whatis


# 1.31 12-Dec-1993 cgd

lex is in here now


# 1.30 05-Dec-1993 cgd

add at, by Thomas Koenig, ig25@rz.uni-karlsruhe.de


# 1.29 14-Nov-1993 cgd

add ipcs and ipcrm


# 1.28 03-Nov-1993 mycroft

Build units(1).


# 1.27 23-Sep-1993 jtc

Added asa utility.


# 1.26 13-Aug-1993 cgd

get rid of AT&T's cpio. we shouldn't be distributing it. see
note in 'source' archive for further clarification.


# 1.25 30-Jul-1993 mycroft

Add RCS identifiers.


Revision tags: netbsd-0-9-ALPHA2 netbsd-0-9-ALPHA netbsd-0-9-base
# 1.24 21-Jun-1993 brezak

branches: 1.24.2;
Add getopt(1) from ref public sources.


# 1.23 07-Jun-1993 cgd

add support for terry lambert's loadable kernel modules.
needs a bit of cleanup, but overall: SLICK!


# 1.22 03-Jun-1993 brezak

Add rup and rusers. Changes to rwall


# 1.21 27-May-1993 cgd

add "rev" -- it was in /usr/old in net/2, but is back in /usr/bin for 4.4...


# 1.20 22-May-1993 cgd

do cap_mkdb, too


# 1.19 21-May-1993 cgd

add entry for "newsyslog"


# 1.18 06-May-1993 cgd

diffs for uname (posix!) system call, provided by John Brezak <brezak@osf.org>


# 1.17 30-Apr-1993 glass

tail, and join from ftp.uu.net:bsd-sources integrated


# 1.16 29-Apr-1993 cgd

move egrep into /usr/src/gnu/usr.bin


# 1.15 29-Apr-1993 cgd

ld groff grep g++ -> usr.gnubin


# 1.14 29-Apr-1993 cgd

update for stuff moved to usr.gnubin:
tar tail sort pr lex join gdb gcc gas fgrep diff3 diff awk


# 1.13 26-Apr-1993 mycroft

tn3270 works now.


# 1.12 26-Apr-1993 mycroft

RCS is no longer broken (I think).


Revision tags: netbsd-0-8 netbsd-alpha-1
# 1.11 09-Apr-1993 cgd

added the following dirs from net/2 (patch 119):
error fpr fsplit indent lastcomm
look quota sccs tcopy tset
vgrind vmstat window


# 1.10 09-Apr-1993 cgd

added msgs


# 1.9 09-Apr-1993 cgd

added entry for `patch'


# 1.8 08-Apr-1993 cgd

incorporated alm's update of elvis to 1.7


# 1.7 04-Apr-1993 cgd

added support for rwall


# 1.6 03-Apr-1993 glass

Added rpcinfo(8), rpcgen(1)


# 1.5 01-Apr-1993 cgd

added rcs to the "old and broken" list


# 1.4 31-Mar-1993 cgd

added support for gprof


# 1.3 23-Mar-1993 cgd

noted tn3270 as broken, because its makefile doesn't work.


Revision tags: patchkit-0-2-2
# 1.2 21-Mar-1993 cgd

after 0.2.2 "stable" patches applied


# 1.1 21-Mar-1993 cgd

branches: 1.1.1;
Initial revision


Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base
# 1.242 27-Jan-2025 christos

PR/57953: Attaullah Ansari: Add getnameinfo program


# 1.241 28-Oct-2024 nia

Add c17(1) wrapper script for gcc with the ISO 2017 C standard.

Not much reason to use this over c11(1), but it's expected to be
required by upcoming POSIX revisions.


# 1.240 02-Sep-2024 ozaki-r

Add shmif_pcapin(1) utility program

It can send any frames that are stored in a pcap(3) file format to
shmif(4) Ethernet interface via the bus of it. If you want to write
some tests for networking with rump kernels and the tests need to send
frames that are difficult to generate by stock programs, shmif_pcapin
can be helpful.

The author of shmif_pcapin is k-goda@IIJ and the man page is written
by ozaki-r.


Revision tags: perseant-exfatfs-base-20240630 perseant-exfatfs-base
# 1.239 24-May-2023 lukem

branches: 1.239.2;
obsolete mkstr(1) and xstr(1)

These were only used on PDP-11 for two programs we don't ship,
and have been obsolete since the VAX days.

xstr never worked in the build.sh cross-build environment (22 years), or
parallel make environment (nearly 28 years), didn't work in the orignal 386bsd
import, and has never been needed in NetBSD as we don't have the older BSD
programs (pascal, pre-nvi ex) that needed mkstr/xstr on PDP-11.

PR toolchain/35964


Revision tags: netbsd-10-0-RELEASE netbsd-10-0-RC6 netbsd-10-0-RC5 netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 netbsd-10-0-RC1 netbsd-10-base
# 1.238 06-Jun-2022 nia

branches: 1.238.2;
build system: Revert all the recent additions of MK[...] knobs that
allow conditionally disabling the building of certain user space
programs in the 'base' set.

There is not enough consensus that this is the right way and a few
people had strong objections, see source-changes-d@.


# 1.237 28-May-2022 nia

mk: Add MKFINGER, MKTALK flags for not building
talk, talkd, finger, fingerd.


# 1.236 07-Dec-2021 brad

A driver and user land utility for the Sparkfun Serial Controlled Motor
Driver module as illustrated here:

https://www.sparkfun.com/products/13911

A SCMD module is a ARM SOC simular to a Arduino in front of a motor
driver chip. The single SCMD module can control two motors and up to
16 additional modules can be chained together using an internal I2C
bus. One can interface with the SCMD using tty uart commands, SPI or
I2C. The driver in this commit adds a kernel driver for the I2C and
SPI interfaces. The command line utility provides a set of
convenience commands that support most of the functions of the SCMD
and is able to use the tty uart mode, SPI user land or the included
kernel driver in a uniform manor.

The use of the SCMD module is mostly for small robots and the like,
but it can control anything that is controllable by voltage.


Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
# 1.235 07-May-2021 nia

hook up aiomixer


# 1.234 28-Dec-2020 htodd

Go into the resize directory to build/install the files since they're in the sets.


Revision tags: phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406
# 1.233 02-Feb-2020 kamil

Port realpath(1) from FreeBSD

realpath(1) wraps realpath(3) and returns resolved physical path.

This utility shipped with GNU and FreeBSD is sometimes
used in scripts in the wild.


Revision tags: netbsd-9-4-RELEASE netbsd-9-3-RELEASE netbsd-9-2-RELEASE netbsd-9-1-RELEASE netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728
# 1.232 24-Jul-2018 christos

Tiny base64 encoder/decoder command patterned after the linux and the macosx
ones with the same name,.


# 1.231 13-Jul-2018 maxv

Remove tpfmt(1). Its code was merged into tprof(8).


# 1.230 13-Jul-2018 mrg

don't try to decend into remove 'pmc' subdir.


Revision tags: netbsd-8-3-RELEASE netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base
# 1.229 21-May-2017 riastradh

branches: 1.229.4; 1.229.8; 1.229.10;
Remove MKCRYPTO option.

Originally, MKCRYPTO was introduced because the United States
classified cryptography as a munition and restricted its export. The
export controls were substantially relaxed fifteen years ago, and are
essentially irrelevant for software with published source code.

In the intervening time, nobody bothered to remove the option after
its motivation -- the US export restriction -- was eliminated. I'm
not aware of any other operating system that has a similar option; I
expect it is mainly out of apathy for churn that we still have it.
Today, cryptography is an essential part of modern computing -- you
can't use the internet responsibly without cryptography.

The position of the TNF board of directors is that TNF makes no
representation that MKCRYPTO=no satisfies any country's cryptography
regulations.

My personal position is that the availability of cryptography is a
basic human right; that any local laws restricting it to a privileged
few are fundamentally immoral; and that it is wrong for developers to
spend effort crippling cryptography to work around such laws.

As proposed on tech-crypto, tech-security, and tech-userlevel to no
objections:

https://mail-index.netbsd.org/tech-crypto/2017/05/06/msg000719.html
https://mail-index.netbsd.org/tech-security/2017/05/06/msg000928.html
https://mail-index.netbsd.org/tech-userlevel/2017/05/06/msg010547.html

P.S. Reviewing all the uses of MKCRYPTO in src revealed a lot of
*bad* crypto that was conditional on it, e.g. DES in telnet... That
should probably be removed too, but on the grounds that it is bad,
not on the grounds that it is (nominally) crypto.


Revision tags: prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
# 1.228 10-Apr-2017 christos

switch to the OpenBSD dc


Revision tags: pgoyette-localcount-20170320
# 1.227 06-Feb-2017 christos

Add nc.


Revision tags: bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104
# 1.226 03-Oct-2016 kamil

branches: 1.226.2;
Import c11(1) - a cc -std=c11 wrapper

This script is similar to c89(1) and c99(1).

It's a NetBSD extension. The c89(1) and c99(1) scripts are part of POSIX.


Revision tags: localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
# 1.225 04-Jun-2016 agc

branches: 1.225.2;
Following positive feedback on tech-userlevel, move the sys_info
script from othersrc to usr.bin/sys_info

The sys_info script is a small script which will show the version
information for installed utilities. It also works on the kernel, and
on most libraries.

Its use is as follow:

[19:41:13] agc@netbsd-002 ...external/bsd/sys_info [4568] > ./sys_info -a
awk-20121220
bind-9.10.3pl3
bzip2-1.0.6
calendar-20160601
ftpd-20110904
g++-4.8.5
gcc-4.8.5
grep-2.5.1anb1
gzip-20150113
bozohttpd-20151231
NetBSD-7.99.26
netpgp-3.99.17
netpgpverify-20160214
ntp-4.2.8pl5
openssl-1.0.1r
sqlite3-3.12.2
openssh-7.1
opensshd-7.1
tcsh-6.19.00
xz-5.2.1
[19:41:20] agc@netbsd-002 ...external/bsd/sys_info [4569] > ./sys_info ntp ssh netpgp
ntp-4.2.8pl5
openssh-7.1
netpgp-3.99.17
[19:41:31] agc@netbsd-002 ...external/bsd/sys_info [4570] > ./sys_info ntp ssh netbsd
ntp-4.2.8pl5
openssh-7.1
NetBSD-7.99.26
[19:41:38] agc@netbsd-002 ...external/bsd/sys_info [4571] >

The -a option can be given to the script to print out the information
on all known components.

The sys_info script also works on libraries, returning their
"versions" as given by the shared object version numbers.

[19:45:06] agc@netbsd-002 ...external/bsd/sys_info [4572] > ./sys_info libevent libXfont libc netbsd
libevent-4.0
libXfont-3.0
libc-12.200
NetBSD-7.99.26
[19:45:27] agc@netbsd-002 ...external/bsd/sys_info [4573] >

Alistair Crooks
Wed Jun 1 19:44:01 PDT 2016


# 1.224 24-Jan-2016 christos

Add a program to find the latest timestamp in a cvs repository


# 1.223 14-Jan-2016 christos

this are our's not gnu


# 1.222 18-Dec-2015 christos

add sortinfo


# 1.221 03-Jun-2015 christos

Add a gettext implementation from William Orr.


# 1.220 02-Mar-2015 christos

add pwait


# 1.219 30-Dec-2014 mrg

install midirecord.


Revision tags: netbsd-7-base tls-earlyentropy-base tls-maxphys-base
# 1.218 01-Aug-2014 christos

branches: 1.218.2;
PR/49053: Kamil Rytarowski: Import timeout(1) from FreeBSD


Revision tags: yamt-pagecache-base9
# 1.217 15-Apr-2014 ginsbach

Hook getaddrinfo(1) into the build. Hi riastradh!


Revision tags: riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3
# 1.216 16-Jan-2014 pooka

branches: 1.216.2;
Add rump_wmd, a utility to resolve rump kernel component dependencies.


# 1.215 28-Dec-2013 rjs

Only build shmif_dumpbus when rump is available.


# 1.214 22-Nov-2013 christos

switch to the nv in external/bsd


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base
# 1.213 11-Feb-2013 christos

put back soelim, if MKGROFF is no so that we don't break the sets.


# 1.212 11-Feb-2013 christos

Don't build and install soelim anymore, because it got overwritten
anyway by the groff one and messed up the mtree unprived sets. If
we want to switch back to ours, we should probably add the extra
flags GNU added first.


Revision tags: yamt-pagecache-base8 yamt-pagecache-base7
# 1.211 01-Nov-2012 christos

Add an flock program inspired by the linux one with the same name.


Revision tags: yamt-pagecache-base6
# 1.210 08-Aug-2012 christos

branches: 1.210.2;
exclude programs for MKRUMP = no


# 1.209 04-Aug-2012 christos

fix bogus test.


Revision tags: yamt-pagecache-base5 yamt-pagecache-base4
# 1.208 16-Feb-2012 jmmv

Remove window(1).

window(1) was replaced by tmux(1) on March 2011. The source code has
been reimported into othersrc/usr.bin/window and an up-to-date package
is available in pkgsrc/misc/window.

This removal was approved by core@, with the condition that it be done
once netbsd-6 had been brached. And the branching has just happened!


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-0-5-RELEASE netbsd-6-0-4-RELEASE netbsd-6-0-3-RELEASE netbsd-6-0-2-RELEASE netbsd-6-0-1-RELEASE matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 netbsd-6-base
# 1.207 07-Feb-2012 joerg

branches: 1.207.2;
Import the new apropos/whatis.

This code has been developed by Abhinav Upadhyay as part of Google's Summer
of Code 2011. It uses libmandoc to parse man pages and builds a Full
Text Index in a SQLite database. The combination of indexing the full
manual page, filtering out stop words and ranking individual matches
based on the section gives a much improved user experience.

The old makewhatis and friends are kept under MKMAKEMANDB=no for now.


# 1.206 04-Jan-2012 yamt

install tprof related commands and man pages.


# 1.205 04-Jan-2012 yamt

install fincore.


Revision tags: yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.204 08-Oct-2011 christos

branches: 1.204.2;
descend into cleantags


# 1.203 06-Oct-2011 mrg

enable building/installing audiocfg(1). ok jmcneill.


# 1.202 03-Jul-2011 tron

Remove the old version of "less".


Revision tags: cherry-xenmp-base
# 1.201 21-Apr-2011 joerg

Add MKBSDGREP switch for easy testing of the GNU grep
replacement/alternative.


# 1.200 15-Apr-2011 elric

Upgrade Heimdal to 1.5pre1 by switching the build from crypto/dist/heimdal
to crypto/external/bsd/heimdal. The latter was just imported as the head
of the Heimdal tree as of a few days ago.


Revision tags: bouyer-quota2-nbase bouyer-quota2-base
# 1.199 20-Jan-2011 pooka

Add a simple dhcp client for rump kernels. It uses code from dhcpcd
for talking to the server and for setting the interface address
and route. However, otherwise it is quite different, since we need
to be working under the assumptions that there is no stable storage
on a rump instance, and that there are n networking stacks on a
given host.


# 1.198 12-Jan-2011 pooka

branches: 1.198.2;
shmif(4) bus dumping utility


Revision tags: matt-mips64-premerge-20101231
# 1.197 26-Dec-2010 jmcneill

hook videoctl into build


# 1.196 13-Dec-2010 pooka

Add rump_server which is just like rump_allserver with the exception
that it links in only -lrump instead of everything. The startup
time difference (especially when attaching a debugger) is noticeable.


# 1.195 12-Dec-2010 pooka

utility to halt a rump kernel


# 1.194 05-Dec-2010 pooka

dumdidumdum, fix name in previous


# 1.193 05-Dec-2010 pooka

Add a rump server which comes with all the drivers currently
available. In terms of modules it maps to:

golem> rump.modstat
NAME CLASS SOURCE REFS SIZE REQUIRES
bpf driver builtin 0 - -
cd9660 vfs builtin 0 - -
cgd driver builtin 0 - -
dm driver builtin 0 - -
efs vfs builtin 0 - -
ext2fs vfs builtin 0 - ffs
fdesc vfs builtin 0 - -
ffs vfs builtin 3 - -
fss driver builtin 0 - -
hfs vfs builtin 0 - -
kernfs vfs builtin 0 - -
ksem misc builtin 0 - -
layerfs misc builtin 2 - -
lfs vfs builtin 0 - ffs
mfs vfs builtin 0 - ffs
msdos vfs builtin 0 - -
nfs vfs builtin 1 - -
nfsserver misc builtin 0 - nfs
nilfs vfs builtin 0 - -
ntfs vfs builtin 0 - -
null vfs builtin 0 - layerfs
pad driver builtin 0 - -
ptyfs vfs builtin 0 - -
puffs vfs builtin 0 - putter
putter driver builtin 1 - -
scsiverbose misc builtin 0 - -
smbfs vfs builtin 0 - -
suser secmodel builtin 0 - -
swsensor driver builtin 0 - -
sysvbfs vfs builtin 0 - -
tmpfs vfs builtin 0 - -
udf vfs builtin 0 - -
umap vfs builtin 0 - layerfs
union vfs builtin 0 - -
usbverbose misc builtin 0 - -
wapbl vfs builtin 0 - -


In terms of interfaces:
golem> rump.ifconfig -C
shmif virt lo carp


and dmesg:
NetBSD 5.99.41 (RUMP-ROAST) #0: Tue Nov 30 15:35:05 CET 2010
pooka@pain-rustique.localhost:/usr/allsrc/src/sys/rump/librump/rumpkern
total memory = unlimited (host limit)
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "rumpclk" frequency 100 Hz quality 0
cpu0 at thinair0: rump virtual cpu
cpu1 at thinair0: rump virtual cpu
root file system type: rumpfs
mainbus0 (root)
ugenhc0 at mainbus0
usb0 at ugenhc0: USB revision 2.0
uhub0 at usb0: vendor 0x7275 product 0x6d70, class 9/0, rev 0.00/0.00, addr 1
uhub0: 1 port with 1 removable, self powered
ugenhc1 at mainbus0
usb1 at ugenhc1: USB revision 2.0
uhub1 at usb1: vendor 0x7275 product 0x6d70, class 9/0, rev 0.00/0.00, addr 1
uhub1: 1 port with 1 removable, self powered
ugenhc2 at mainbus0
usb2 at ugenhc2: USB revision 2.0
uhub2 at usb2: vendor 0x7275 product 0x6d70, class 9/0, rev 0.00/0.00, addr 1
uhub2: 1 port with 1 removable, self powered
ugenhc3 at mainbus0
usb3 at ugenhc3: USB revision 2.0
uhub3 at usb3: vendor 0x7275 product 0x6d70, class 9/0, rev 0.00/0.00, addr 1
uhub3: 1 port with 1 removable, self powered
scsitest0 at mainbus0
scsibus0 at scsitest0: 2 targets, 1 lun per target
cd0 at scsibus0 target 1 lun 0: <RUMPHOBO, It's a LIE, 0.00> cdrom removable
Chicony Electronics Chicony Electronics, class 0/0, rev 2.00/1.00, addr 2, uhub0 port 1 not configured
AuthenTec AuthenTec, class 255/255, rev 1.10/6.21, addr 2, uhub1 port 1 not configured
swwdog0: software watchdog initialized
Kernelized RAIDframe activated
pad0: outputs: 44100Hz, 16-bit, stereo
audio0 at pad0: half duplex, playback, capture


There a bunch of other stuff which doesn't show up as any of the
above, plus of course the usb drivers which are probed only if I
have the appropriate hardware plugged into my workstation.


# 1.192 27-Aug-2010 christos

unhook awk again


# 1.191 27-Aug-2010 christos

switch back to the old awk till I fixed the problem.


# 1.190 26-Aug-2010 christos

Unglue awk.


# 1.189 19-Jun-2010 mrg

- always install pigz. hooary!
- kill MKPIGZ.
- add MKPIGZGZIP. if it is "no", then only install pigz as pigz. if it is
not "no", don't install mrgzip, install pigz as gzip.

in all cases, the z* scripts.


i don't like the name MKPIGZGZIP so if anyone has a better name, feel free
to replace it. i don't care enough since killing the ugly name is just
more incentive to get pigz doing .bz2, .Z and .z.


# 1.188 18-Jun-2010 jmcneill

hook mkubootimage into the build


# 1.187 17-Jun-2010 mrg

if MKPIGZ != no, build gzip, otherwise build pigz.


# 1.186 07-May-2010 christos

unhook old cron, hook new one.


# 1.185 03-Feb-2010 roy

Userland now builds and uses terminfo instead of termcap.

OK: core@, jdc@


# 1.184 16-Jan-2010 roy

Remove tn3270 from base system.
If anyone really needs it then it can be put into pkgsrc.
Importing c3270 into pkgsrc is probably a better option though.


Revision tags: matt-premerge-20091211
# 1.183 29-Oct-2009 christos

unhook yacc


# 1.182 26-Oct-2009 christos

unhook lex


# 1.181 26-Oct-2009 christos

put back lex


# 1.180 26-Oct-2009 christos

unhook old flex.


# 1.179 03-Sep-2009 joerg

Enable libarchive-based unzip frontend.


# 1.178 15-Aug-2009 joerg

Add nbperf(1), a minimal perfect hash function generator.
Implemented are the 3-graph BDZ algorithm as well as the
2-graph and 3-graph CHM algorithms. All algorithms have expected
linear run time and the smallest functions need around 2.85 bit/key.


# 1.177 20-Jul-2009 christos

openssl has moved


# 1.176 07-Jun-2009 christos

unhook ssh


Revision tags: jym-xensuspend-nbase jym-xensuspend-base
# 1.175 08-May-2009 christos

unhook file


# 1.174 19-Jan-2009 jmmv

branches: 1.174.2;
Remove ATF 0.5 from dist/atf and all of the reachover Makefiles used to
build it. 0.6 is going to be imported in external/bsd/atf, with all the
necessary Makefiles in that same hierarchy.


# 1.173 11-Dec-2008 roy

Add the tabs utility, conforming to IEEE Std 1003.1 (``POSIX.1'').
Fixes PR bin/11227

No objection on tech-userland, ok: martin


# 1.172 12-Nov-2008 ad

Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.


Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 netbsd-5-base
# 1.171 29-Oct-2008 christos

branches: 1.171.6; 1.171.10;
bye old vi!


Revision tags: matt-mips64-base2 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2
# 1.170 31-Aug-2008 christos

For now descend into old vi for virecover and doc. Unfortunately the
new vi vi.ref is now texinfo and our makeinfo is too old to deal with it.


# 1.169 31-Aug-2008 christos

nvi is now default


# 1.168 16-Aug-2008 gmcgarry

Dont build atf tools with (${MKATF} == no).


# 1.167 22-Jul-2008 dyoung

Per discussion on tech-userlevel@, do not compile and install nvi
if MKNVI=no.

The default is MKNVI=yes, so that this amounts to no change for
most users, but the default may change.


# 1.166 16-Jul-2008 christos

top is now in dist/bsd


Revision tags: wrstuden-revivesa-base-1 yamt-pf42-base4 wrstuden-revivesa-base
# 1.165 10-Jun-2008 aymeric

enable the wcurses-enabled vi as 'nvi', 'nex', and 'nview'.
Will be put in place of the default "non-n" variants when they are stable.


Revision tags: yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-base2
# 1.164 11-May-2008 joerg

Add nbsvtool to the build.


Revision tags: yamt-pf42-baseX yamt-pf42-base
# 1.163 22-Mar-2008 mlelstv

branches: 1.163.2; 1.163.4;
Import Heimdal-1.1


Revision tags: keiichi-mipv6-nbase keiichi-mipv6-base matt-armv6-nbase hpcarm-cleanup-base
# 1.162 10-Feb-2008 jmmv

Always test MKMODULAR with != "no". Requested by mrg@.


# 1.161 09-Feb-2008 jmmv

Do not descend into modstat if MKMODULAR is set.


Revision tags: cube-autoconf-base matt-armv6-base
# 1.160 12-Nov-2007 jmmv

Add the atf tools

This adds reachover Makefiles to build and install the atf tools.
Some are public, thus installed in /usr/bin, and others are internal
and therefore installed in /usr/libexec.


# 1.159 09-Nov-2007 plunky

Add a new utility 'btkey' for managment of Bluetooth Link Keys stored
in the NetBSD key cache (/var/db/bthcid.keys) and Bluetooth controller
memory.


Revision tags: matt-armv6-prevmlocking matt-mips64-base
# 1.158 21-Jun-2007 ginsbach

branches: 1.158.4;
Add the newgrp(1) utility, which changes effective group ID. This
is a POSIX (IEEE Std 1003.1, 2004 / Open Group Base Specifications
Issue 6) User Portability Utility.


# 1.157 18-Feb-2007 rmind

Enable sdiff(1) in usr.bin, disable GNU sdiff(1).
lists seems to be compatible.


# 1.156 30-Jan-2007 elad

Move paxctl from usr.bin/paxctl to usr.sbin/paxctl, and make it an admin
tool (man-page moved from section 1 to section 8).


Revision tags: netbsd-4-base
# 1.155 07-Oct-2006 tron

branches: 1.155.2;
Fix broken line continuation, probably caused by editor word wrap.


# 1.154 07-Oct-2006 elad

PR/18126: jnilsson at ludd dot luth dot se: add the revoke program

I have commited a different version than in the PR, it lacks a license
but if it warrants one we can stick the TNF standard on it. It's just
a main() routine that calls revoke(2).


# 1.153 25-Sep-2006 christos

PR/34599: Mindaugas: csplit(1) utility port


Revision tags: abandoned-netbsd-4-base
# 1.152 19-Jun-2006 gdamore

Initial import of bluetooth stack on behalf of Iain Hibbert. (plunky@,
NetBSD Foundation Membership still pending.) This stack was written by
Iain under sponsorship from Itronix Inc.

The stack includes support for rfcomm networking (networking via your
bluetooth enabled cell phone), hid devices (keyboards/mice), and headsets.

Drivers for both PCMCIA and USB bluetooth controllers are included.


Revision tags: chap-midi-nbase chap-midi-base
# 1.151 16-May-2006 elad

Introduce PaX MPROTECT -- mprotect(2) restrictions used to strengthen
W^X mappings.

Disabled by default.

First proposed in:

http://mail-index.netbsd.org/tech-security/2005/12/18/0000.html

More information in:

http://pax.grsecurity.net/docs/mprotect.txt

Read relevant parts of options(4) and sysctl(3) before using!

Lots of thanks to the PaX author and Matt Thomas.


# 1.150 03-Apr-2006 scw

Add a kernel driver and userland program for the Topfield TF5000PVR range
of digital video recorders popular in Europe and Australia.

These devices have a USB client port which can be used to upload and
download recordings (and other files, such as MIPS binaries for execution
on the DVR's CPU) to/from their internal hard disk, in addition to some
other operations on files and directories.


# 1.149 24-Jan-2006 elad

moduli utils moved from games to usr.bin.


# 1.148 25-Jul-2005 hubertf

Add vndcompress


# 1.147 29-Jun-2005 perry

add deroff and spell


# 1.146 05-Jun-2005 thorpej

config and genassym are not sysadmin tools, they are development tools.
As such, they don't belong in /usr/sbin, but rather /usr/bin. Move them
there.


Revision tags: netbsd-3-base
# 1.145 09-Mar-2005 atatat

branches: 1.145.2;
Add a sockstat(1) command that can list open sockets and the processes
that own them. The implementation concept and man page came largely
from FreeBSD, but the program is fresh.


# 1.144 20-Jan-2005 ginsbach

add seq(1)


# 1.143 02-Jan-2005 thorpej

Add a getextattr(1)/setextattr(1)/rmextattr(1)/lsextattr(1) utility
that gets, sets, removes, and lists file system extended attributes.

From FreeBSD.


# 1.142 23-Nov-2004 lukem

add getent(1)


# 1.141 13-Sep-2004 thorpej

Add the uuidgen(1) command, adapted from FreeBSD. While here, also add
a DCE-compatible -s flag, which causes uuidgen(1) to output C code for
the UUIDs rather than the standard string representation.

PR 23470.


# 1.140 25-May-2004 lha

Add kgetcred, a tool that fetches a credential from the KDC
Useful when debugging service and cross-realm problems.


# 1.139 01-Apr-2004 martin

Remove which (the csh script installed in /usr/bin).
It was docuemented to work for *csh users only, and all *csh have a builtin
of that name, which works even better. All other shells have similar
builtins, and this led to confusion several times. Fixes PR 13462.


Revision tags: netbsd-2-0-3-RELEASE netbsd-2-1-RELEASE netbsd-2-1-RC6 netbsd-2-1-RC5 netbsd-2-1-RC4 netbsd-2-1-RC3 netbsd-2-1-RC2 netbsd-2-1-RC1 netbsd-2-0-2-RELEASE netbsd-2-0-1-RELEASE netbsd-2-base netbsd-2-0-RELEASE netbsd-2-0-RC5 netbsd-2-0-RC4 netbsd-2-0-RC3 netbsd-2-0-RC2 netbsd-2-0-RC1 netbsd-2-0-base
# 1.138 26-Mar-2004 mrg

switch over to mrg gzip.


# 1.137 13-Mar-2004 jdolecek

switch awk to nawk; gawk sources will be removed after some grace period
change blessed by core@


# 1.136 04-Jul-2003 tshiozak

add locale(1) utility.
Originally written by Alexey Zelkin <phantom@FreeBSD.org>.
So, obtained from FreeBSD with gratitude. (suggested by wiz.)


# 1.135 27-Jun-2003 tshiozak

Citrus iconv support(4)
add iconv external I/F (iconv.h - iconv_open()/iconv()/iconv_close()) and
iconv(1) utility.
TODO:
- bump libc minor.
- add iconv data files.
- create manpages: iconv_open(3)/iconv(3)/iconv_close(3)/iconv(1)/
mkesdb(1)/mkcsmapper(1).


# 1.134 26-Jun-2003 tshiozak

Citrus iconv support(3)
add host tools : mkcsmapper and mkesdb
mkcsmapper - coded character set mapping table compiler
mkesdb - encoding scheme database compiler


# 1.133 16-Apr-2003 salo

add pathchk(1) (hi jdolecek!)


# 1.132 06-Apr-2003 lha

Don't build a separate kpasswd program, passwd can handle Kerberos
password changing. Fixes last part of bin/14988.


# 1.131 23-Jan-2003 christos

bring back gcore from the dead.


# 1.130 22-Jan-2003 jhawk

make progress(1)


Revision tags: fvdl_fs64_base
# 1.129 11-Dec-2002 lukem

add db(1)


# 1.128 08-Dec-2002 perry

add qsubst
re-sort and re-format SUBDIRs


# 1.127 01-Oct-2002 provos

add pwhash


# 1.126 10-Sep-2002 joda

don't build kf; there are security issues with heimdal 0.4e, and we
don't actually need it


# 1.125 01-Sep-2002 atatat

Move pmap(1) to /usr/bin (from /usr/sbin) where it belongs.


Revision tags: netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base
# 1.124 27-Apr-2002 atatat

branches: 1.124.2;
Add a stat(1) program to /usr/bin. It provides a simple formatting
interface, with reasonable defaults, to the information provided by
stat(2) so that scripts can use the data therein much more easily.


# 1.123 22-Mar-2002 thorpej

Split the notion of building Hesiod, Kerberos, S/key, and YP
infrastructure and using that infrastructure in programs.

* MKHESIOD, MKKERBEROS, MKSKEY, and MKYP control building
of the infratsructure (libraries, support programs, etc.)

* USE_HESIOD, USE_KERBEROS, USE_SKEY, and USE_YP control
building of support for using the corresponding API
in various libraries/programs that can use it.

As discussed on tech-toolchain.


# 1.122 01-Mar-2002 ad

Descend into pkill/.


# 1.121 01-Jan-2002 augustss

Add a program for controlling radio(4) devices. Written by Maxim Tsyplakov
and Vladimir Popov for OpenBSD.


# 1.120 03-Dec-2001 martin

Back out replacing gawk by nawk - James Chacon already fixed gawk for
sparc64.

Sorry, next time I'll catch up with mails first.


# 1.119 03-Dec-2001 martin

HACK: Build awk (replacing gawk) on sparc64, since this is the only one
known to work with the -current toolchain.


# 1.118 13-Jan-2001 jdolecek

put back sort, it's fixed now


# 1.117 13-Jan-2001 simonb

Disable sort for now, it has a corruption problem.


# 1.116 13-Jan-2001 jdolecek

Switch from GNU to BSD sort. Approved by the Core.


# 1.115 30-Dec-2000 augustss

Add a command to perform commands when USB HID items take on certain
values.
Some sample uses: controlling USB speakers with the HID buttons on them,
invoking the proper programs from the HID buttons on modern USB
keyboards.


# 1.114 22-Dec-2000 itojun

populate citrus xpg4dl locale definitions into /usr/share.
if there are any mistakes, please report (i only speak English/Japanese).
currently, only singlebyte locales are usable.

TODO: enable multibyte handler in libc - there still are few design
discussions, but we are almost ready.


# 1.113 24-Oct-2000 thorpej

Add pmc(1).


# 1.112 25-Jul-2000 thorpej

Add a build-framework for an SSH implementation which is not
yet part of the NetBSD source tree. These Makefiles are a
noop until such time as that implementation is committed.


# 1.111 01-Jul-2000 he

Under MKCRYPTO != no, also build bdes.


# 1.110 23-Jun-2000 thorpej

Add MK... variables to enable/disable various aspects of building
crypto support into the system. See share/mk/bsd.README for more
a full description.


Revision tags: netbsd-1-5-base
# 1.109 20-Jun-2000 thorpej

branches: 1.109.2;
Merge a bunch of things from crypto-us and crypto-intl into basesrc,
adding support for Heimdal/KTH Kerberos where easy to do so. Eliminate
bsd.crypto.mk.

There is still a bunch more work to do, but crypto is now more-or-less
fully merged into the base NetBSD distribution.


# 1.108 16-Jun-2000 thorpej

Build openssl.


Revision tags: minoura-xpg4dl-base wrstuden-devbsize-19991221 wrstuden-devbsize-base comdex-fall-1999-base
# 1.107 02-Sep-1999 tron

branches: 1.107.6;
Build and install "mktemp".


# 1.106 20-Jul-1999 mrg

optionally include CRYPTOPATH Makefile.frag files.


# 1.105 12-Jul-1999 thorpej

Use bsd.crypto.mk.


# 1.104 12-Jul-1999 darrenr

build ktruss


# 1.103 09-Jun-1999 simonb

Always descend into the elf2aout and elf2ecoff directories, now that
they check at that level whether or not to build binaries.

A reference to telnet was also here (protected by .if make(obj)...,
but since A) it's already referenced in the main SUBDIR list and b)
the telnet Makefile does this checking as well, it's gone too.


# 1.102 05-Jun-1999 ad

'cdplay', a simple utility for playing compact disks with both a command line
and an interactive mode.


Revision tags: netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.101 26-Mar-1999 tron

branches: 1.101.2;
Replace "audioctl" with "audio" in sub directory list.


# 1.100 03-Mar-1999 jonathan

Makefile ${MACHINE_ARCH} changes for mips{eb,el}, as suggested by
Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>


# 1.99 02-Mar-1999 christos

Add netgroup and innetgr


# 1.98 15-Feb-1999 kleink

Add an implementation of the XPG4.2 nl(1) utility.


# 1.97 15-Feb-1999 simonb

Add top.


# 1.96 25-Jan-1999 lukem

add hesinfo


# 1.95 03-Jan-1999 cjs

Descend on obj, as well as clean, etc.


# 1.94 19-Dec-1998 kristerw

Disable strip


# 1.93 17-Dec-1998 pk

Remove ldd from special clean list


# 1.92 15-Dec-1998 pk

Move ldd special case one level down.


# 1.91 11-Nov-1998 mrg

add fgen


# 1.90 10-Nov-1998 simonb

Remove elfstrip - not used now that we have an ELF-aware strip and it
isn't in the distrib-lists anyway.


# 1.89 25-Oct-1998 jonathan

usr.bin/Makefile: recurse into fdformat on all ports
usr.bin/fdformat/Makefile: build manpages on all ports
distrib/sets/lists/man/mi: add fdformat manpages
distrib/sets/lists/man/md.{arm32,atari,i386,sparc}:
only listed fdformat manpegs. remove.
distrib/sets/lists/man/md.mvem68k:
duplicate entry of mvme68k installboot. remove.


# 1.88 29-Sep-1998 jonathan

Add bzip2, bzip2recover to SUBDIRS.


# 1.87 23-Sep-1998 perry

add shuffle


# 1.86 05-Sep-1998 lukem

distclean is a synonym for cleandir


# 1.85 12-Aug-1998 augustss

Add a very simple MIDI player. No features, no fluff.


# 1.84 22-Jul-1998 scottr

Unlike other domestic bits, telnet and telnetd are never built as a part
of the domestic build process. No domestic program actually builds its
own man pages but instead relies on those built in the exportable tree.
The result is missing telnet(1) and telnet(8) pages.

Fix this problem descending into the telnet and telnetd directories
regardless of whether we're doing an exportable build or not. Once there,
we generate only the man pages if we're building a non-exportable system.


# 1.83 13-Jul-1998 augustss

Add usbhidctl(1) a program for manipulating USB HID devices.


# 1.82 25-May-1998 tv

Disable Berkeley ar, nm, ranlib, size, and strings, and enable binutils.


# 1.81 23-Feb-1998 jonathan

More table-driven changes for different toolchains:
* new bsd.own.mk variable OBJECT_FMT with values "a.out" or "ELF".
* use OBJECT_FMT in Makefile tests that depend on toolchain.
* Add new bsd.own.mk variable NOSHLIB that, if set indicates a given
port doesnt yet do shared libraries. Set on powerpc.
* Document new feature-test variables in src/share/mk/bsd.README.
Tested on i386, mips, fakedup Alpha environment.


# 1.80 23-Feb-1998 jonathan

Descend into gprof on all ports to build doc/psd/18.gprof.
Don't define PROG in gprof on ELF or powerpc.
Put back WARNS= 0 for compatibility with 1.3.1.


# 1.79 11-Nov-1997 scottr

Fix tyop in last commit.


# 1.78 10-Nov-1997 fair

build fdformat on sparc per PR#4459


Revision tags: netbsd-1-3-base
# 1.77 26-Sep-1997 phil

branches: 1.77.2;
Add msgc and menuc to subdirs.


# 1.76 10-Aug-1997 fair

add shlock


# 1.75 02-Aug-1997 perry

add crunch, and re-sort/format SUBDIR


# 1.74 16-Jul-1997 mark

Build fdformat on arm32 systems.


# 1.73 22-Jun-1997 christos

Add skeyinfo


# 1.72 04-Jun-1997 leo

Use MACHINE instead of MACHINE_ARCH to make fdformat on the atari.


# 1.71 13-May-1997 augustss

Add audio utility programs.
The audio device can be inspected and changed by audioctl,
and the mixer device by mixerctl. The command syntax was
inspired by sysctl.


# 1.70 19-Apr-1997 thorpej

Don't build the BSD toolchain on the PowerPC.


# 1.69 09-Apr-1997 mikel

descend unconditionally for clean and cleandir targets


# 1.68 07-Mar-1997 mikel

merge lite2 changes (just SCCS ids)


# 1.67 08-Jan-1997 leo

The atari-Hades can use fdformat too.


# 1.66 17-Dec-1996 jonathan

Build elf ldd and elf-to-xxx tools on mips ports.


# 1.65 16-Dec-1996 cgd

on the alpha, add 'ldd' to the subdirs list


# 1.64 29-Nov-1996 jtk

add fdformat


# 1.63 14-Jun-1996 cgd

include bsd.own.mk at the top, so checks of EXPORTABLE_SYSTEM work as
intended.


Revision tags: netbsd-1-2-base
# 1.62 10-Mar-1996 thorpej

branches: 1.62.4;
Only build exportable telnet/libtelnet if the domestic version doesn't
exist in the source tree or defined(EXPORTABLE_SYSTEM). This works around
the fact that telnet(1) will break during a "make build" because the
exportable libtelnet will get installed while the domestic telnet(1) binary
is still in place. (XXX)


# 1.61 22-Jan-1996 mrg

more -> less


# 1.60 28-Nov-1995 jtc

merge in changes from 1.1 release branch


# 1.59 17-Nov-1995 thorpej

New-style RCS id.


# 1.58 22-Oct-1995 pk

fdeject -> eject.


Revision tags: netbsd-1-1-base
# 1.57 09-Oct-1995 pk

branches: 1.57.2;
Build `fdeject' on sparc.


# 1.56 28-Sep-1995 tls

Add 'rs' from 4.4BSD-Lite2


# 1.55 05-Sep-1995 jtc

Include /usr/bin/banner (different from /usr/games/banner)


# 1.54 05-Sep-1995 tls

unsurprisingly, I guess, gcore does not work. oops


# 1.53 05-Sep-1995 tls

add gcore


# 1.52 24-Jul-1995 cgd

add (dummy) bdes, alphabetize


# 1.51 03-Jul-1995 cgd

add 'xlint' for lint


# 1.50 26-Apr-1995 cgd

oops; forgot to remove the first ranlib.


# 1.49 25-Apr-1995 cgd

gah; forgot missing close-paren


# 1.48 24-Apr-1995 cgd

don't use standard tool chain on the alpha


# 1.47 25-Jan-1995 jtc

added systat


# 1.46 14-Nov-1994 jtc

added chflags, jot, and lam


# 1.45 21-Sep-1994 glass

add 'apply'


Revision tags: netbsd-1-0-PATCH06 netbsd-1-0-PATCH05 netbsd-1-0-PATCH04 netbsd-1-0-PATCH03 netbsd-1-0-PATCH02 netbsd-1-0-PATCH1 netbsd-1-0-PATCH0 netbsd-1-0-RELEASE netbsd-1-0-base
# 1.44 30-May-1994 jtc

compile gencat (for message catalogs)


# 1.43 24-May-1994 deraadt

add skey & friends


# 1.42 11-May-1994 cgd

add kdump


# 1.41 05-May-1994 cgd

die!


# 1.40 27-Apr-1994 jtc

Added POSIX.2 getconf utility; although It won't be really useful until
we get sysconf() & pathconf().


# 1.39 16-Apr-1994 cgd

kill symorder


# 1.38 18-Feb-1994 cgd

break out yp stuff


# 1.37 28-Jan-1994 mycroft

No more sccs.


# 1.36 24-Jan-1994 cgd

UNREF(ref)


# 1.35 24-Jan-1994 cgd

all hail the risen vi


# 1.34 24-Jan-1994 cgd

ELVIS IS DEAD, DAMNIT!


# 1.33 06-Jan-1994 cgd

add berkeley pr


# 1.32 21-Dec-1993 cgd

add apropos and whatis


# 1.31 12-Dec-1993 cgd

lex is in here now


# 1.30 05-Dec-1993 cgd

add at, by Thomas Koenig, ig25@rz.uni-karlsruhe.de


# 1.29 14-Nov-1993 cgd

add ipcs and ipcrm


# 1.28 03-Nov-1993 mycroft

Build units(1).


# 1.27 23-Sep-1993 jtc

Added asa utility.


# 1.26 13-Aug-1993 cgd

get rid of AT&T's cpio. we shouldn't be distributing it. see
note in 'source' archive for further clarification.


# 1.25 30-Jul-1993 mycroft

Add RCS identifiers.


Revision tags: netbsd-0-9-ALPHA2 netbsd-0-9-ALPHA netbsd-0-9-base
# 1.24 21-Jun-1993 brezak

branches: 1.24.2;
Add getopt(1) from ref public sources.


# 1.23 07-Jun-1993 cgd

add support for terry lambert's loadable kernel modules.
needs a bit of cleanup, but overall: SLICK!


# 1.22 03-Jun-1993 brezak

Add rup and rusers. Changes to rwall


# 1.21 27-May-1993 cgd

add "rev" -- it was in /usr/old in net/2, but is back in /usr/bin for 4.4...


# 1.20 22-May-1993 cgd

do cap_mkdb, too


# 1.19 21-May-1993 cgd

add entry for "newsyslog"


# 1.18 06-May-1993 cgd

diffs for uname (posix!) system call, provided by John Brezak <brezak@osf.org>


# 1.17 30-Apr-1993 glass

tail, and join from ftp.uu.net:bsd-sources integrated


# 1.16 29-Apr-1993 cgd

move egrep into /usr/src/gnu/usr.bin


# 1.15 29-Apr-1993 cgd

ld groff grep g++ -> usr.gnubin


# 1.14 29-Apr-1993 cgd

update for stuff moved to usr.gnubin:
tar tail sort pr lex join gdb gcc gas fgrep diff3 diff awk


# 1.13 26-Apr-1993 mycroft

tn3270 works now.


# 1.12 26-Apr-1993 mycroft

RCS is no longer broken (I think).


Revision tags: netbsd-0-8 netbsd-alpha-1
# 1.11 09-Apr-1993 cgd

added the following dirs from net/2 (patch 119):
error fpr fsplit indent lastcomm
look quota sccs tcopy tset
vgrind vmstat window


# 1.10 09-Apr-1993 cgd

added msgs


# 1.9 09-Apr-1993 cgd

added entry for `patch'


# 1.8 08-Apr-1993 cgd

incorporated alm's update of elvis to 1.7


# 1.7 04-Apr-1993 cgd

added support for rwall


# 1.6 03-Apr-1993 glass

Added rpcinfo(8), rpcgen(1)


# 1.5 01-Apr-1993 cgd

added rcs to the "old and broken" list


# 1.4 31-Mar-1993 cgd

added support for gprof


# 1.3 23-Mar-1993 cgd

noted tn3270 as broken, because its makefile doesn't work.


Revision tags: patchkit-0-2-2
# 1.2 21-Mar-1993 cgd

after 0.2.2 "stable" patches applied


# 1.1 21-Mar-1993 cgd

branches: 1.1.1;
Initial revision