Home | History | Annotate | Download | only in sets
History log of /src/distrib/sets/checkflist
RevisionDateAuthorComments
 1.46  21-Aug-2022  lukem Deprecate extsrc/, EXTSRCSRCDIR, MKEXTSRC

Remove support for building extsrc/:
1. Makefile: remove do-extsrc target.
2. build.sh: remove options -y and -Y extsrcdir.
3. distrib/sets: remove support for extsrc in various tools
including the options -L ext and -y, and the extsrc sets.
4. doc/BUILDING.mdoc: remove docs for extsrc/, EXTSRCSRCDIR, MKEXTSRC (etc)
5. bsd.own.mk and various Makefiles: remove support for extsrc/,
EXTSRCSRCDIR, MKEXTSRC.

As proposed on tech-kern and tech-userlevel on 2022-01-07
and followed up on 2022-08-21.
 1.45  01-Mar-2018  snj no more /usr/X11R6
 1.44  10-Jun-2013  mrg also look in ./usr/X11R7/ for x.
 1.43  15-Jan-2013  christos make metalog files trully optional (don't print errors when they don't exist)
 1.42  11-Dec-2009  uebayasi branches: 1.42.6; 1.42.12;
Put intermediate lists on the top of ${DESTDIR} (${DESTDIR}/SETS.*) and leave
them. Teach list generators to ignore them. Always generate metalog
missing/extra lists too, but don't check it (for now). I'll change "flist"
to be generated only when set lists have changed.

No functional changes.
 1.41  10-Dec-2009  uebayasi Thinko; missing/extra are generated differently for metalog/destdir comparison
methods. Fix mistakenly merged generation functions.
 1.40  10-Dec-2009  uebayasi Style. Better variable names.
 1.39  10-Dec-2009  uebayasi Share more code. Call functions in one place.
 1.38  10-Dec-2009  uebayasi Refactor; move generate_* function calls in single place.
 1.37  10-Dec-2009  uebayasi Use more functions. But still no functional changes.
 1.36  10-Dec-2009  uebayasi Use shell function because I like it. No functional changes.
 1.35  30-Nov-2009  uebayasi Support "extsrc", externally added programs and libraries. Users can write
their own reach-overs, cross-build, install, and get set files just like base
and X11 / X.org. (These sets are not included as TNF releases.)
 1.34  23-Apr-2009  apb Simplify the way EXCLUDE_REGEXP is built.
 1.33  11-Sep-2006  dbj branches: 1.33.18; 1.33.28;
fixes for building into case preserving, but case insensitive $DESTDIR
- have checkflist do a second possibly case insensitive check for
files which are missing from DESTDIR
- have postinstall require exact case matches for obsolete files
 1.32  28-Jan-2006  apb No space in "function()", "command;" or "$(command)".
Requested by christos.
 1.31  06-Jan-2006  apb Disable checking of metalog in checkflist. In future,
this checking should be reinstated, but with proper
handling of obsolete files.

Reviewed by christos
 1.30  04-Jan-2006  apb * Add a check for consistency between DESTDIR and METALOG, in addition
to the existing check for consistency between DESTDIR and the output
from makeflist.
* Use egrep instead of awk to ignore differences that are expected.
This should be easier to maintain, and should also make it easier
for users to add their own custom exceptions by editing the
regexp.

Reviewed by agc
 1.29  03-Jan-2006  apb Ensure that (almost) all shell variables in distrib/sets/* scripts are
used with curly braces and quotes, as in "${var}".

Also ensure that command substitution is quoted, as in "$(command)", and
convert `command` to $(command).

Reviewed by agc
 1.28  03-Jan-2006  apb Add shell variables defined in sets.subr for almost all commands used
by scripts in distrib/sets/*. This is intended to be useful when cross
building. Only trivial commands like echo, cat, and rm are excluded
from this treatment.

While I am here, make ${MTREE} and ${DB} follow the pattern used by most
other such variables.

Reviewed by agc.
 1.27  03-Jan-2006  apb Move default values for several shell variables into sets.subr.

Reviewed by agc
 1.26  21-Oct-2005  jmc Set default vars so blank and unset both end up w. a reasonable default
 1.25  08-Jan-2004  lukem show count of missing and extra files. idea from rtr@
 1.24  29-Dec-2003  lukem Significant overhaul of how the sets are used:

* Add an optional third field to the sets file which is a list of
comma separated keywords that control if the line is printed.
Currently supported keywords
kerberos4 ${MKKERBEROS4} != no
kerberos ${MKKERBEROS} != no
lint ${MKLINT} != no
obsolete ${obsolete} != 0.
In this case, non obsolete files are not printed.
(This will allow future support for builds with variables such as
MKHESIOD and MKYP set to "no".)

* Use sh(1)'s getopts where appropriate, and otherwise cleanup the
various scripts.

* Move defaults for sets.subr from sets.defaults into sets.subr.
Move replicated code for determining stuff such as shlibs type
from various scripts into sets.subr.

* Merge the obsolete.*, krb.*, krb4.* and lint.* into the appropriate
main lists with the relevant third field keyword(s).
 1.23  26-Oct-2003  dmcmahill add a -print to the find statement to avoid problems on solaris where
each file/directory/link is printed twice. Fixes PR23270
 1.22  30-Sep-2003  lukem * add -e; extra files are not fatal
* add -m; missing files are not fatal
* use ${MKTEMP} -d instead of home-grown tempdir creation code
 1.21  13-Aug-2003  lukem make "extra files" a fatal error again, based on various feedback.

i'll consider adding an optional switch and associated build infrastructure
to enable the "non fatal extra files" functionality instead.
 1.20  12-Aug-2003  lukem Rework to use comm(1) instead of diff(1),
and separate "missing files in DESTDIR" (which is fatal)
from "extra files in DESTDIR" (which is now non-fatal).
 1.19  10-Jul-2003  lukem change test to skip metalog to be a case,
to easily allow other entries to skip to be added.
 1.18  01-Mar-2003  tron X11 directories and files in "/etc".
 1.17  16-Sep-2002  thorpej -path is an extension to find(1) that not all systems have, so don't
use it. Instead, filter out the metalog file using a separate loop
in the pipeline.
 1.16  29-Aug-2002  lukem improve the description of the key to the output
 1.15  09-Jul-2002  lukem checkflist:
- add "-M metalog". if metalog starts with "${DESTDIR}/", it
will be skipped in the flist check, to prevent unnecessary
warnings about extraneous ./METALOG
- if the diff returned a non-zero exit code, print a warning message,
and for the default diff output, print a blurb describing the
meaning of the output.

Makefile:
- call checkflist with "-M ${METALOG}" if UNPRIVED
- run "${MAKE} checkflist" if ${DESTDIR} != ""

NOTE: this change will prevent maketars from running if the
sets lists are out of date. This is intentional.
Better to fail than to build tar files with missing files.
 1.14  18-Nov-2000  wiz branches: 1.14.2;
fix usage output
 1.13  20-Jun-2000  thorpej branches: 1.13.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.12  06-Jan-2000  abs Allow -u and -c to set diff style (from Todd Whitesel <toddpw@best.com>)
 1.11  27-Nov-1999  mrg add crypto-intl support in the "cryptint" set.
 1.10  22-Jul-1998  perry branches: 1.10.2; 1.10.6;
Add options for including the "domestic" ("secr") sets.
 1.9  04-Jul-1998  ross Make the -x11 case actually work. Make the tempfile symbolic.
 1.8  30-Jun-1998  ross Revert yesterday's change.
 1.7  30-Jun-1998  ross Compensate for the /usr/include/${MACHINE_ARCH} change.
 1.6  15-Jun-1998  lukem * replace '-arch arch' with '-m machine' (as per make(1)'s $MACHINE). e.g, i386
* add '-a arch' - $MACHINE_ARCH. e.g, m68k, powerpc
* replace long -options with short -options (with backward compat)
* ``knf''ify scripts
 1.5  09-Nov-1997  chopps add -both arg for when one puts xsrc and src builds in same DESTDIR
 1.4  28-Oct-1997  veego Add a new option '-x11' for the xsets.
 1.3  18-Feb-1997  mikel branches: 1.3.2;
translate to sh, add RCSID and a comment
 1.2  15-Apr-1995  cgd don't assume that . is in path. pr 964 from Greg Hudson <ghudson@mit.edu>
 1.1  29-Aug-1994  cgd branches: 1.1.1;
Initial revision
 1.1.1.1  29-Aug-1994  cgd branches: 1.1.1.1.2;
distribution sets contents lists
 1.1.1.1.2.2  29-Aug-1994  cgd distribution sets contents lists
 1.1.1.1.2.1  29-Aug-1994  cgd file checkflist was added on branch netbsd-1-0 on 1994-08-29 15:21:04 +0000
 1.3.2.2  09-Nov-1997  mellon Pull rev 1.5 up from trunk (chopps)
 1.3.2.1  28-Oct-1997  mellon Pull rev 1.4 up from trunk
 1.10.6.1  27-Dec-1999  wrstuden Pull up to last week's -current.
 1.10.2.1  08-Jan-2000  he Pull up revision 1.12 (via patch, requested by abs):
Add two new uptions: -u and -c to set diff style.
 1.13.2.2  20-Jun-2000  thorpej 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.13.2.1  20-Jun-2000  thorpej file checkflist was added on branch netbsd-1-5 on 2000-06-20 06:00:29 +0000
 1.14.2.3  20-Jun-2003  grant Pull up revision 1.18 (requested by tron in ticket #1326):

Update X11 sets for XFree86 4.3.0.
 1.14.2.2  01-Dec-2002  he Pull up revision 1.17 (requested by thorpej in ticket #839):
Do not use the -path extension to find. Instead, filter
out the metalog file using a separate loop in the pipeline.
 1.14.2.1  09-Jul-2002  lukem Pull up revision 1.15 (requested by lukem):
checkflist:
- add "-M metalog". if metalog starts with "${DESTDIR}/", it
will be skipped in the flist check, to prevent unnecessary
warnings about extraneous ./METALOG
- if the diff returned a non-zero exit code, print a warning message,
and for the default diff output, print a blurb describing the
meaning of the output.
Makefile:
- call checkflist with "-M ${METALOG}" if UNPRIVED
- run "${MAKE} checkflist" if ${DESTDIR} != ""
NOTE: this change will prevent maketars from running if the
sets lists are out of date. This is intentional.
Better to fail than to build tar files with missing files.
 1.33.28.1  13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.33.18.1  05-Oct-2008  mjf Sync with HEAD.
 1.42.12.2  23-Jun-2013  tls resync from head
 1.42.12.1  25-Feb-2013  tls resync with head
 1.42.6.2  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.42.6.1  23-Jan-2013  yamt sync with head

RSS XML Feed