History log of /src/distrib/sets/makesrctars
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base perseant-exfatfs-base-20240630 perseant-exfatfs-base
# 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.


Revision tags: netbsd-10-1-RELEASE 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.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.


Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 netbsd-9-2-RELEASE cjep_staticlib_x-base netbsd-9-1-RELEASE phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406 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
# 1.42 28-Sep-2018 martin

branches: 1.42.2;
Prepare for .tar.xz sets


Revision tags: netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-0906 pgoyette-compat-0728 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 prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
# 1.41 12-Apr-2017 christos

branches: 1.41.4; 1.41.10; 1.41.12;
more gnu directory removal.


Revision tags: pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
# 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.


Revision tags: netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 tls-maxphys-base
# 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.


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE yamt-pagecache-tag8 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231 matt-premerge-20091211
# 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.


Revision tags: jym-xensuspend-nbase jym-xensuspend-base
# 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.


Revision tags: 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 matt-mips64-base2 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 wrstuden-revivesa-base yamt-pf42-base mjf-devfs2-base keiichi-mipv6-base matt-armv6-nbase
# 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.


Revision tags: mjf-devfs-base matt-armv6-prevmlocking cube-autoconf-base matt-armv6-base matt-mips64-base hpcarm-cleanup-base
# 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


Revision tags: netbsd-4-base
# 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.


Revision tags: abandoned-netbsd-4-base
# 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.


Revision tags: netbsd-3-base
# 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.


Revision tags: netbsd-2-0-base
# 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


Revision tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 fvdl_fs64_base netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base
# 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.


Revision tags: netbsd-1-5-BETA netbsd-1-4-PATCH003 netbsd-1-5-ALPHA2 netbsd-1-5-base minoura-xpg4dl-base netbsd-1-4-PATCH002 wrstuden-devbsize-19991221 wrstuden-devbsize-base comdex-fall-1999-base netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
# 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


Revision tags: netbsd-1-3-BETA netbsd-1-3-base
# 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


Revision tags: netbsd-1-2-BETA netbsd-1-2-base
# 1.1 12-Feb-1996 jtc

branches: 1.1.4;
Add script I used to make the 1.1 source distribution