History log of /netbsd-current/distrib/sets/makesums
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.19 08-Nov-2023 christos

More conservative umask


# 1.18 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-0-RC1 netbsd-10-base netbsd-9-3-RELEASE 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.17 28-Sep-2018 martin

Prepare for .tar.xz sets


Revision tags: netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-0906 netbsd-7-2-RELEASE 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 netbsd-7-1-2-RELEASE pgoyette-compat-base netbsd-7-1-1-RELEASE 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 pgoyette-localcount-20170320 netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 bouyer-socketcan-base pgoyette-localcount-20170107 netbsd-7-1-RC1 pgoyette-localcount-20161104 netbsd-7-0-2-RELEASE localcount-20160914 netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-7-base yamt-pagecache-base9 yamt-pagecache-tag8 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 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 tls-maxphys-base 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.16 19-Sep-2009 snj

branches: 1.16.46; 1.16.48;
Only generate SHA512 and MD5 checksums for releases.


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 jym-xensuspend-nbase netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 jym-xensuspend-base netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 netbsd-4-0-1-RELEASE wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 wrstuden-fixsa-newbase 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 mjf-devfs-base matt-armv6-nbase matt-armv6-prevmlocking wrstuden-fixsa-base-1 netbsd-4-0-RELEASE cube-autoconf-base netbsd-4-0-RC5 netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 matt-armv6-base matt-mips64-base hpcarm-cleanup-base wrstuden-fixsa-base abandoned-netbsd-4-base netbsd-4-base
# 1.15 08-Jan-2006 apb

branches: 1.15.4; 1.15.14; 1.15.20; 1.15.28; 1.15.32; 1.15.34;
When printing messages to stderr, always use
echo >&2 "${prog}: ..."

Approved by christos


# 1.14 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.13 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.12 03-Jan-2006 apb

Move default values for several shell variables into sets.subr.

Reviewed by agc


# 1.11 21-Oct-2005 jmc

Set default vars so blank and unset both end up w. a reasonable default


# 1.10 07-Oct-2005 jmc

Add option to append to existing checksum files


# 1.9 06-Oct-2005 jmc

Correct comments to line up with SHA512 generation now


# 1.8 13-Sep-2005 elad

- cksum -m -> cksum -a md5.
- Generate SHA512 checksums too.

Is there any reason to still generate MD5 checksums?


Revision tags: netbsd-3-base
# 1.7 20-Apr-2004 lukem

branches: 1.7.2;
clean up to operate similar to other scripts in this directory, including:
* separate usage function
* use getopts (replacing '-all' with '-a')


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.6 03-Jan-2003 lukem

improve description of -t


Revision tags: fvdl_fs64_base
# 1.5 15-Sep-2002 lukem

Also sum symlinks (as well as files) which match, as we often replace
common sets with a symlink to a shared copy, and this change ensures
that all the appropriate entries have sums generated.


# 1.4 23-Jul-2002 lukem

set MAKE="${MAKE:-make} -j 1" to prevent problems where the output
of make -j N>1 would result in junk in various shell variables


Revision tags: netbsd-1-6-base
# 1.3 31-Mar-2002 bjh21

branches: 1.3.2;
Use ${CKSUM} rather than cksum if the former's defined.


# 1.2 20-Aug-2000 toddpw

Enhance script. Add -all option and improve intelligence about which files to
sum (and whether to do sums at all!). Describe script in comments at the top.


Revision tags: netbsd-1-5-ALPHA2 netbsd-1-5-base minoura-xpg4dl-base wrstuden-devbsize-19991221 wrstuden-devbsize-base comdex-fall-1999-base
# 1.1 22-Jul-1999 is

branches: 1.1.8; 1.1.10;
Provide a script to compute the distribution set checksums.
Make the Makefile use it, instead of calling cksum manually.


Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930
# 1.17 28-Sep-2018 martin

Prepare for .tar.xz sets


Revision tags: pgoyette-compat-0906 netbsd-7-2-RELEASE 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 netbsd-7-1-2-RELEASE pgoyette-compat-base netbsd-7-1-1-RELEASE 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 pgoyette-localcount-20170320 netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 bouyer-socketcan-base pgoyette-localcount-20170107 netbsd-7-1-RC1 pgoyette-localcount-20161104 netbsd-7-0-2-RELEASE localcount-20160914 netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-7-base yamt-pagecache-base9 yamt-pagecache-tag8 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 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 tls-maxphys-base 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.16 19-Sep-2009 snj

branches: 1.16.46;
Only generate SHA512 and MD5 checksums for releases.


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 jym-xensuspend-nbase netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 jym-xensuspend-base netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 netbsd-4-0-1-RELEASE wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 wrstuden-fixsa-newbase 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 mjf-devfs-base matt-armv6-nbase matt-armv6-prevmlocking wrstuden-fixsa-base-1 netbsd-4-0-RELEASE cube-autoconf-base netbsd-4-0-RC5 netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 matt-armv6-base matt-mips64-base hpcarm-cleanup-base wrstuden-fixsa-base abandoned-netbsd-4-base netbsd-4-base
# 1.15 08-Jan-2006 apb

branches: 1.15.4; 1.15.14; 1.15.20; 1.15.28; 1.15.32; 1.15.34;
When printing messages to stderr, always use
echo >&2 "${prog}: ..."

Approved by christos


# 1.14 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.13 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.12 03-Jan-2006 apb

Move default values for several shell variables into sets.subr.

Reviewed by agc


# 1.11 21-Oct-2005 jmc

Set default vars so blank and unset both end up w. a reasonable default


# 1.10 07-Oct-2005 jmc

Add option to append to existing checksum files


# 1.9 06-Oct-2005 jmc

Correct comments to line up with SHA512 generation now


# 1.8 13-Sep-2005 elad

- cksum -m -> cksum -a md5.
- Generate SHA512 checksums too.

Is there any reason to still generate MD5 checksums?


Revision tags: netbsd-3-base
# 1.7 20-Apr-2004 lukem

branches: 1.7.2;
clean up to operate similar to other scripts in this directory, including:
* separate usage function
* use getopts (replacing '-all' with '-a')


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.6 03-Jan-2003 lukem

improve description of -t


Revision tags: fvdl_fs64_base
# 1.5 15-Sep-2002 lukem

Also sum symlinks (as well as files) which match, as we often replace
common sets with a symlink to a shared copy, and this change ensures
that all the appropriate entries have sums generated.


# 1.4 23-Jul-2002 lukem

set MAKE="${MAKE:-make} -j 1" to prevent problems where the output
of make -j N>1 would result in junk in various shell variables


Revision tags: netbsd-1-6-base
# 1.3 31-Mar-2002 bjh21

branches: 1.3.2;
Use ${CKSUM} rather than cksum if the former's defined.


# 1.2 20-Aug-2000 toddpw

Enhance script. Add -all option and improve intelligence about which files to
sum (and whether to do sums at all!). Describe script in comments at the top.


Revision tags: netbsd-1-5-ALPHA2 netbsd-1-5-base minoura-xpg4dl-base wrstuden-devbsize-19991221 wrstuden-devbsize-base comdex-fall-1999-base
# 1.1 22-Jul-1999 is

branches: 1.1.8; 1.1.10;
Provide a script to compute the distribution set checksums.
Make the Makefile use it, instead of calling cksum manually.


# 1.16 19-Sep-2009 snj

Only generate SHA512 and MD5 checksums for releases.


# 1.15 08-Jan-2006 apb

branches: 1.15.4; 1.15.14; 1.15.20; 1.15.28; 1.15.32; 1.15.34;
When printing messages to stderr, always use
echo >&2 "${prog}: ..."

Approved by christos


# 1.14 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.13 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.12 03-Jan-2006 apb

Move default values for several shell variables into sets.subr.

Reviewed by agc


# 1.11 20-Oct-2005 jmc

Set default vars so blank and unset both end up w. a reasonable default


# 1.10 07-Oct-2005 jmc

Add option to append to existing checksum files


# 1.9 05-Oct-2005 jmc

Correct comments to line up with SHA512 generation now


# 1.8 12-Sep-2005 elad

- cksum -m -> cksum -a md5.
- Generate SHA512 checksums too.

Is there any reason to still generate MD5 checksums?


# 1.7 19-Apr-2004 lukem

branches: 1.7.2;
clean up to operate similar to other scripts in this directory, including:
* separate usage function
* use getopts (replacing '-all' with '-a')


# 1.6 03-Jan-2003 lukem

improve description of -t


# 1.5 15-Sep-2002 lukem

Also sum symlinks (as well as files) which match, as we often replace
common sets with a symlink to a shared copy, and this change ensures
that all the appropriate entries have sums generated.


# 1.4 23-Jul-2002 lukem

set MAKE="${MAKE:-make} -j 1" to prevent problems where the output
of make -j N>1 would result in junk in various shell variables


# 1.3 31-Mar-2002 bjh21

branches: 1.3.2;
Use ${CKSUM} rather than cksum if the former's defined.


# 1.2 20-Aug-2000 toddpw

Enhance script. Add -all option and improve intelligence about which files to
sum (and whether to do sums at all!). Describe script in comments at the top.


# 1.1 22-Jul-1999 is

branches: 1.1.8; 1.1.10;
Provide a script to compute the distribution set checksums.
Make the Makefile use it, instead of calling cksum manually.


# 1.1.10.3 20-Aug-2000 toddpw

Pull up version 1.2 (requested by toddpw), for use in building release snaps.


# 1.1.10.2 09-Jul-2000 he

Pull up revision 1.1 (new, requested by he):
Enhance the "make release" process:
o Use a separate script to compute checksums


# 1.1.10.1 22-Jul-1999 he

file makesums was added on branch netbsd-1-4 on 2000-07-09 21:30:43 +0000


# 1.1.8.1 20-Aug-2000 toddpw

Pull up version 1.2 (requested by toddpw), for use in building release snaps.


# 1.3.2.2 30-Sep-2002 lukem

Pull up revision 1.5 (requested by lukem in ticket #822):
Also sum symlinks (as well as files) which match, as we often replace
common sets with a symlink to a shared copy, and this change ensures
that all the appropriate entries have sums generated.


# 1.3.2.1 23-Jul-2002 lukem

Pull up revision 1.4 (requested by lukem):
set MAKE="${MAKE:-make} -j 1" to prevent problems where the output
of make -j N>1 would result in junk in various shell variables


# 1.7.2.2 15-Dec-2005 tron

Pull up following revision(s) (requested by jmc in ticket #1049):
distrib/sets/makesums: revision 1.9
Correct comments to line up with SHA512 generation now


# 1.7.2.1 30-Sep-2005 tron

Pull up following revision(s) (requested by elad in ticket #827):
distrib/sets/makesums: revision 1.8
- cksum -m -> cksum -a md5.
- Generate SHA512 checksums too.
Is there any reason to still generate MD5 checksums?


# 1.15.34.1 20-Apr-2010 matt

sync to netbsd-5


# 1.15.32.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.15.28.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.15.20.1 05-Oct-2008 mjf

Sync with HEAD.


# 1.15.14.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.15.4.1 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.