Module Name: src Committed By: christos Date: Wed Nov 8 12:58:04 UTC 2023
Modified Files: src/distrib/sets: makeflist makeobsolete makeplist makesrctars makesums maketars Log Message: Set the file creation mask consistently because the files these scripts create can become part of an iso image. To generate a diff of this commit: cvs rdiff -u -r1.78 -r1.79 src/distrib/sets/makeflist cvs rdiff -u -r1.32 -r1.33 src/distrib/sets/makeobsolete cvs rdiff -u -r1.21 -r1.22 src/distrib/sets/makeplist cvs rdiff -u -r1.44 -r1.45 src/distrib/sets/makesrctars cvs rdiff -u -r1.17 -r1.18 src/distrib/sets/makesums cvs rdiff -u -r1.96 -r1.97 src/distrib/sets/maketars Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/distrib/sets/makeflist diff -u src/distrib/sets/makeflist:1.78 src/distrib/sets/makeflist:1.79 --- src/distrib/sets/makeflist:1.78 Sun Aug 21 03:10:03 2022 +++ src/distrib/sets/makeflist Wed Nov 8 07:58:04 2023 @@ -1,6 +1,6 @@ #!/bin/sh # -# $NetBSD: makeflist,v 1.78 2022/08/21 07:10:03 lukem Exp $ +# $NetBSD: makeflist,v 1.79 2023/11/08 12:58:04 christos Exp $ # # Print out the files in some or all lists. # Usage: makeflist [-bxlo] [-a arch] [-m machine] [-s setsdir] [setname ...] @@ -27,6 +27,7 @@ USAGE exit 1 } +umask 002 # handle args while getopts L:bxloa:m:s: ch; do case ${ch} in Index: src/distrib/sets/makeobsolete diff -u src/distrib/sets/makeobsolete:1.32 src/distrib/sets/makeobsolete:1.33 --- src/distrib/sets/makeobsolete:1.32 Sun Aug 21 03:10:03 2022 +++ src/distrib/sets/makeobsolete Wed Nov 8 07:58:04 2023 @@ -1,6 +1,6 @@ #!/bin/sh # -# $NetBSD: makeobsolete,v 1.32 2022/08/21 07:10:03 lukem Exp $ +# $NetBSD: makeobsolete,v 1.33 2023/11/08 12:58:04 christos Exp $ # # Print out the obsolete files for a set # Usage: makeobsolete [-b] [-x] [-a arch] [-m machine] [-s setsdir] \ @@ -29,6 +29,7 @@ USAGE exit 1 } +umask 002 while getopts L:bxa:m:s:t: ch; do case ${ch} in L) Index: src/distrib/sets/makeplist diff -u src/distrib/sets/makeplist:1.21 src/distrib/sets/makeplist:1.22 --- src/distrib/sets/makeplist:1.21 Mon Oct 18 06:47:44 2021 +++ src/distrib/sets/makeplist Wed Nov 8 07:58:04 2023 @@ -31,6 +31,7 @@ USAGE exit 1 } +umask 002 # handle args while getopts a:I:m:p:s: ch; do case ${ch} in Index: src/distrib/sets/makesrctars diff -u src/distrib/sets/makesrctars:1.44 src/distrib/sets/makesrctars:1.45 --- src/distrib/sets/makesrctars:1.44 Sun Aug 21 03:10:03 2022 +++ src/distrib/sets/makesrctars Wed Nov 8 07:58:04 2023 @@ -1,6 +1,6 @@ #! /bin/sh # -# $NetBSD: makesrctars,v 1.44 2022/08/21 07:10:03 lukem Exp $ +# $NetBSD: makesrctars,v 1.45 2023/11/08 12:58:04 christos Exp $ # # makesrctars srcdir setdir # Create source tarballs in setdir from the source under srcdir. @@ -37,6 +37,7 @@ msg() } +umask 002 # handle args while getopts N:qx: ch; do case ${ch} in Index: src/distrib/sets/makesums diff -u src/distrib/sets/makesums:1.17 src/distrib/sets/makesums:1.18 --- src/distrib/sets/makesums:1.17 Fri Sep 28 11:04:20 2018 +++ src/distrib/sets/makesums Wed Nov 8 07:58:04 2023 @@ -1,6 +1,6 @@ #!/bin/sh # -# $NetBSD: makesums,v 1.17 2018/09/28 15:04:20 martin Exp $ +# $NetBSD: makesums,v 1.18 2023/11/08 12:58:04 christos Exp $ # # Make checksum files for files in ``tardir''. Usage: # makesums [-a] [-t tardir] [setname [...]] @@ -40,6 +40,7 @@ USAGE exit 1 } +umask 002 # handle args while getopts aAt: ch; do case ${ch} in Index: src/distrib/sets/maketars diff -u src/distrib/sets/maketars:1.96 src/distrib/sets/maketars:1.97 --- src/distrib/sets/maketars:1.96 Sat Jun 10 12:08:41 2023 +++ src/distrib/sets/maketars Wed Nov 8 07:58:04 2023 @@ -1,6 +1,6 @@ #!/bin/sh # -# $NetBSD: maketars,v 1.96 2023/06/10 16:08:41 lukem Exp $ +# $NetBSD: maketars,v 1.97 2023/11/08 12:58:04 christos Exp $ # # Make release tar files for some or all lists. Usage: # maketars [-b] [-x] [-i installdir] [-a arch] [-m machine] [-s setsdir] @@ -69,6 +69,7 @@ msg() $quiet || echo $* } +umask 002 # handle args while getopts L:bxi:a:m:qs:F:SM:N:Ud:t:T: ch; do case ${ch} in