| History log of /src/distrib/sets/makesrctars | 
    | Revision |  | Date | Author | Comments | 
| 1.46 |  | 08-Nov-2023 | christos | More conservative umask 
 | 
| 1.45 |  | 08-Nov-2023 | christos | Set the file creation mask consistently because the files these scripts create can become part of an iso image.
 
 | 
| 1.44 |  | 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.43 |  | 07-Sep-2021 | martin | PR 56389: do not include top level .git or .hg directories in source sets.
 
 | 
| 1.42 |  | 28-Sep-2018 | martin | branches:  1.42.2; Prepare for .tar.xz sets
 
 | 
| 1.41 |  | 12-Apr-2017 | christos | branches:  1.41.4;  1.41.10;  1.41.12; more gnu directory removal.
 
 | 
| 1.40 |  | 05-Feb-2015 | snj | branches:  1.40.2;  1.40.4; GPL code isn't just in src/gnu these days (i.e., the last 6 years).
 move stuff from src/external/gpl[23] out of the src tarball and into
 gnusrc.
 
 | 
| 1.39 |  | 07-Jan-2014 | christos | branches:  1.39.4; PR/46182: Andreas Gustafsson: Make all files ending in [.-]sh executable.
 The perfect is the enemy of the good.
 
 | 
| 1.38 |  | 30-Nov-2009 | uebayasi | branches:  1.38.6;  1.38.8;  1.38.12;  1.38.14;  1.38.22; 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.37 |  | 19-Sep-2009 | snj | Only generate SHA512 and MD5 checksums for releases. 
 | 
| 1.36 |  | 11-Apr-2009 | apb | In various places that manipulate mtree specs, use "mtree -CS" to sort. Remove some now-redundant standalone sort commands.
 
 | 
| 1.35 |  | 03-Apr-2009 | perry | Consistently use gzip with the -n flag so dates are not embedded. 
 Not tested on all platforms.
 
 | 
| 1.34 |  | 16-Mar-2008 | lukem | branches:  1.34.6;  1.34.8;  1.34.10;  1.34.12; Add '-q' to maketars and makesrctars, to quieten them.
 Improve MAKEVERBOSE support.
 
 | 
| 1.33 |  | 23-Mar-2007 | jnemeth | branches:  1.33.4;  1.33.10;  1.33.12; move common from src.tgz to syssrc.tgz as discussed on tech-install
 
 | 
| 1.32 |  | 07-Sep-2006 | tron | branches:  1.32.2; Make sure that all "move-if-change" scripts in "src/gnu/dist" are
 executable in the source ".tgz" files. This is necessary while
 bootstrapping the toolchain which isn't done using NetBSD makefiles.
 
 This should fix PR toolchain/34489 by Kirk Russell.
 
 | 
| 1.31 |  | 08-Mar-2006 | hubertf | branches:  1.31.2; in src.tgz, set build.sh permissions +x
 
 | 
| 1.30 |  | 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.29 |  | 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.28 |  | 03-Jan-2006 | apb | Move default values for several shell variables into sets.subr. 
 Reviewed by agc
 
 | 
| 1.27 |  | 21-Oct-2005 | jmc | Whitespace/usage cleanup and a proper exit when done 
 | 
| 1.26 |  | 21-Oct-2005 | jmc | Remove unneeded set of PASSWD 
 | 
| 1.25 |  | 21-Oct-2005 | jmc | Insert some missing backslashes 
 | 
| 1.24 |  | 21-Oct-2005 | jmc | Set default vars so blank and unset both end up w. a reasonable default 
 | 
| 1.23 |  | 12-Oct-2005 | jmc | Fix path for mtree 
 | 
| 1.22 |  | 07-Oct-2005 | jmc | Restructure how makesrctars works so it spits out source balls that look like they would from a release (files owned by root:wsrc, perms set, etc)
 
 | 
| 1.21 |  | 07-Oct-2005 | jmc | Include SHA512 now also 
 | 
| 1.20 |  | 05-Jul-2005 | tron | Adapt to recent source tree changes: - usr.sbin/config -> usr.bin/config
 - contrib/sys -> sys/contrib
 
 | 
| 1.19 |  | 22-May-2005 | lukem | Use "find |sort" instead of "find -s" -- the latter isn't POSIX. 
 | 
| 1.18 |  | 09-May-2004 | lukem | branches:  1.18.2; Prune obj|obj.* directories/symlinks correctly.  Fix from Hubert Feyrer.
 
 | 
| 1.17 |  | 20-Apr-2004 | lukem | makesrctars: * Support '-x xsrcdir' to tar up xsrcdir as xsrc.tgz, with the
 contents of the tarfile being relative to xsrcdir and
 prefixed with 'usr/xsrc'
 * Convert to getopts a la the other scripts in this directory
 
 Makefile
 * if ${MKX11} != no, call makesrctars with '-x ${X11SRCDIR}'
 
 | 
| 1.16 |  | 20-Apr-2004 | lukem | Move ./contrib/sys from src.tgz to syssrc.tgz. Fixes [misc/25251] from Darren Reed.
 
 | 
| 1.15 |  | 10-May-2003 | lukem | branches:  1.15.2; - change so that the source directory and sets directory are now
 command-line arguments, rather than ${SRCDIR} and ${DESTDIR}/sets
 - when building syssrc.tgz, only skip subdirs of sys/arch/*/compile
 which are not named "CVS"
 - improve method that sets are built
 - don't bother chmodding results as it makes it difficult to re-run this
 
 | 
| 1.14 |  | 12-Apr-2002 | lukem | branches:  1.14.2; use gzip -9 instead of --best
 
 | 
| 1.13 |  | 11-Apr-2002 | lukem | use ${CKSUM} instead of cksum/md5 
 | 
| 1.12 |  | 18-Dec-2001 | wiz | Address misc/14958: Don't error out if DESTDIR exists.
 Use "find -s" instead of "find | sort"
 While here: Drop syssrc/usr.sbin/dbsym from syssrc.tgz, since it has been
 replaced by gnusrc/gnu/usr.sbin/dbsym.
 XXX: Add gnusrc/gnu/usr.sbin/dbsym (and libbfd)?
 
 | 
| 1.11 |  | 06-Aug-2000 | fvdl | We don't have seperate secr source sets anymore, so don't try to create them.
 
 | 
| 1.10 |  | 07-Nov-1998 | he | branches:  1.10.10; Fix construction of the 'sys' tarball so that compile directories
 really will not be included, but compile/CVS and compile/.keep_me will
 still be (if present).
 
 | 
| 1.9 |  | 28-Oct-1998 | mycroft | Include CVS directories in the tar files.  Explicitly omit obj.* links and directories.  Fix some lossage with / being chowned when unpacking src.tgz.
 
 | 
| 1.8 |  | 12-Oct-1998 | perry | Fix not to include contents of kernel compile directories (from Havard.Eidnes@runit.sintef.no)
 
 | 
| 1.7 |  | 10-May-1998 | mycroft | Make all the sum files. 
 | 
| 1.6 |  | 29-Dec-1997 | perry | make makesrctars make the "correct" flavor of source sets 
 | 
| 1.5 |  | 10-May-1997 | lukem | branches:  1.5.2; Don't hardcode in the current release information; generate it
 automatically on the fly, by using
 `sh ${BSDSRCDIR}/sys/conf/osrelease.sh -s`
 
 | 
| 1.4 |  | 06-Mar-1997 | mikel | eliminate dangling references to config.old; from Klaus Klein in PR misc/3295.
 
 | 
| 1.3 |  | 18-Feb-1997 | mikel | RCSID police 
 | 
| 1.2 |  | 09-Oct-1996 | jtc | merge in 1.2 branch 
 | 
| 1.1 |  | 12-Feb-1996 | jtc | branches:  1.1.4; Add script I used to make the 1.1 source distribution
 
 | 
| 1.1.4.2 |  | 18-Mar-1997 | mycroft | Update the release number here, too. 
 | 
| 1.1.4.1 |  | 23-Sep-1996 | jtc | update version number 
 | 
| 1.5.2.2 |  | 10-May-1998 | mycroft | Make all the sum files. 
 | 
| 1.5.2.1 |  | 29-Dec-1997 | perry | pull up: make makesrctars make the "correct" flavor of source sets 
 | 
| 1.10.10.1 |  | 21-Oct-2000 | tv | Pullup 1.11 [releng]: We don't have seperate secr source sets anymore, so don't try to create
 them.
 
 | 
| 1.14.2.1 |  | 21-Oct-2005 | riz | Apply patch (requested by jmc in ticket #5912): Allow autobuild to create source sets with builds.
 
 | 
| 1.15.2.4 |  | 21-Oct-2005 | riz | Apply patch (requested by jmc in ticket #5935): Allow autobuild to create ready-to-release source tars with builds.
 
 | 
| 1.15.2.3 |  | 11-May-2004 | tron | branches:  1.15.2.3.2; Pull up revision 1.18 (requested by lukem in ticket #295):
 Prune obj|obj.* directories/symlinks correctly.  Fix from Hubert Feyrer.
 
 | 
| 1.15.2.2 |  | 21-Apr-2004 | jmc | Pullup rev 1.17 (requested by lukem in ticket #166) 
 * Support '-x xsrcdir' to tar up xsrcdir as xsrc.tgz, with the
 contents of the tarfile being relative to xsrcdir and
 prefixed with 'usr/xsrc'
 * Convert to getopts a la the other scripts in this directory
 * if ${MKX11} != no, call makesrctars with '-x ${X11SRCDIR}'
 
 | 
| 1.15.2.1 |  | 21-Apr-2004 | jmc | Pullup rev 1.16 (requested by lukem in ticket #165) 
 Move ./contrib/sys from src.tgz to syssrc.tgz. PR#25251
 
 | 
| 1.15.2.3.2.1 |  | 21-Oct-2005 | riz | Apply patch (requested by jmc in ticket #5935): Allow autobuild to create ready-to-release source tars with builds.
 
 | 
| 1.18.2.2 |  | 21-Oct-2005 | riz | Apply patch (requested by jmc in ticket #906): Allow autobuild to create ready-to-release source tars with builds.
 
 | 
| 1.18.2.1 |  | 28-May-2005 | tron | Pull up revision 1.19 (requested by lukem in ticket #333): Use "find |sort" instead of "find -s" -- the latter isn't POSIX.
 
 | 
| 1.31.2.1 |  | 08-Sep-2006 | ghen | Pull up following revision(s) (requested by tron in ticket #141): distrib/sets/makesrctars: revision 1.32
 Make sure that all "move-if-change" scripts in "src/gnu/dist" are
 executable in the source ".tgz" files. This is necessary while
 bootstrapping the toolchain which isn't done using NetBSD makefiles.
 This should fix PR toolchain/34489 by Kirk Russell.
 
 | 
| 1.32.2.2 |  | 09-Oct-2009 | sborrill | Pull up the following revisions(s) (requested by snj in ticket #1365): share/man/man7/release.7	revision 1.31 (via patch)
 distrib/cdrom/hide-hfs.lst	revision 1.5
 distrib/mac68k/stand/Makefile	revision 1.6 (via patch)
 distrib/notes/common/main:	revision 1.451
 distrib/sets/Makefile:	revision 1.70
 distrib/sets/makesrctars:	revision 1.37
 distrib/sets/makesums:	revision 1.16
 
 Only generate SHA512 and MD5 checksums for releases.
 
 | 
| 1.32.2.1 |  | 08-May-2007 | pavel | branches:  1.32.2.1.4; Pull up following revision(s) (requested by jnemeth in ticket #628):
 distrib/sets/makesrctars: revision 1.33
 move common from src.tgz to syssrc.tgz as discussed on tech-install
 
 | 
| 1.32.2.1.4.1 |  | 10-Oct-2009 | sborrill | Pull up the following revisions(s) (requested by snj in ticket #1365): share/man/man7/release7:	revision 1.31 (via patch)
 distrib/cdrom/hide-hfs.lst:	revision 1.5
 distrib/mac68k/stand/Makefile:	revision 1.6 (via patch)
 distrib/notes/common/main:	revision 1.451
 distrib/sets/Makefile:	revision 1.70
 distrib/sets/makesrctars:	revision 1.37
 distrib/sets/makesums:	revision 1.16
 
 Only generate SHA512 and MD5 checksums for releases.
 
 | 
| 1.33.12.2 |  | 05-Oct-2008 | mjf | Sync with HEAD. 
 | 
| 1.33.12.1 |  | 03-Apr-2008 | mjf | Sync with HEAD. 
 | 
| 1.33.10.1 |  | 24-Mar-2008 | keiichi | sync with head. 
 | 
| 1.33.4.1 |  | 23-Mar-2008 | matt | sync with HEAD 
 | 
| 1.34.12.1 |  | 21-Apr-2010 | matt | sync to netbsd-5 
 | 
| 1.34.10.1 |  | 04-Oct-2009 | bouyer | Pull up following revision(s) (requested by snj in ticket #1066): distrib/notes/common/main: revision 1.451
 share/man/man7/release.7: revision 1.31 via patch
 distrib/mac68k/stand/Makefile: revision 1.6
 distrib/sets/makesums: revision 1.16
 distrib/sets/Makefile: revision 1.70
 distrib/sets/makesrctars: revision 1.37
 distrib/cdrom/hide-hfs.lst: revision 1.5
 Sync release(7) with reality.
 Only generate SHA512 and MD5 checksums for releases.
 
 | 
| 1.34.8.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.34.6.1 |  | 04-Oct-2009 | bouyer | Pull up following revision(s) (requested by snj in ticket #1066): distrib/notes/common/main: revision 1.451
 share/man/man7/release.7: revision 1.31 via patch
 distrib/mac68k/stand/Makefile: revision 1.6
 distrib/sets/makesums: revision 1.16
 distrib/sets/Makefile: revision 1.70
 distrib/sets/makesrctars: revision 1.37
 distrib/cdrom/hide-hfs.lst: revision 1.5
 Sync release(7) with reality.
 Only generate SHA512 and MD5 checksums for releases.
 
 | 
| 1.38.22.1 |  | 14-Apr-2015 | msaitoh | Pull up following revision(s) (requested by snj in ticket #1279): distrib/sets/makesrctars: revision 1.40
 GPL code isn't just in src/gnu these days (i.e., the last 6 years).
 move stuff from src/external/gpl[23] out of the src tarball and into
 gnusrc.
 
 | 
| 1.38.14.1 |  | 14-Apr-2015 | msaitoh | Pull up following revision(s) (requested by snj in ticket #1279): distrib/sets/makesrctars: revision 1.40
 GPL code isn't just in src/gnu these days (i.e., the last 6 years).
 move stuff from src/external/gpl[23] out of the src tarball and into
 gnusrc.
 
 | 
| 1.38.12.1 |  | 19-Aug-2014 | tls | Rebase to HEAD as of a few days ago. 
 | 
| 1.38.8.1 |  | 14-Apr-2015 | msaitoh | Pull up following revision(s) (requested by snj in ticket #1279): distrib/sets/makesrctars: revision 1.40
 GPL code isn't just in src/gnu these days (i.e., the last 6 years).
 move stuff from src/external/gpl[23] out of the src tarball and into
 gnusrc.
 
 | 
| 1.38.6.1 |  | 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.39.4.1 |  | 05-Feb-2015 | martin | Pull up following revision(s) (requested by snj in ticket #494): distrib/sets/makesrctars: revision 1.40
 GPL code isn't just in src/gnu these days (i.e., the last 6 years).
 move stuff from src/external/gpl[23] out of the src tarball and into
 gnusrc.
 
 | 
| 1.40.4.1 |  | 21-Apr-2017 | bouyer | Sync with HEAD 
 | 
| 1.40.2.1 |  | 26-Apr-2017 | pgoyette | Sync with HEAD 
 | 
| 1.41.12.1 |  | 10-Jun-2019 | christos | Sync with HEAD 
 | 
| 1.41.10.1 |  | 30-Sep-2018 | pgoyette | Ssync with HEAD 
 | 
| 1.41.4.1 |  | 07-Sep-2021 | snj | Pull up following revision(s) (requested by martin in ticket #1694): distrib/sets/makesrctars: revision 1.43
 PR 56389: do not include top level .git or .hg directories
 in source sets.
 
 | 
| 1.42.2.1 |  | 07-Sep-2021 | snj | Pull up following revision(s) (requested by martin in ticket #1344): distrib/sets/makesrctars: revision 1.43
 PR 56389: do not include top level .git or .hg directories
 in source sets.
 
 |