Commit Graph

32 Commits

Author SHA1 Message Date
tron
8e86c1ab96 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.
2006-09-07 22:03:58 +00:00
hubertf
05524656d1 in src.tgz, set build.sh permissions +x 2006-03-08 19:18:04 +00:00
apb
0bee96eab7 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
2006-01-03 18:31:09 +00:00
apb
3a0b541193 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.
2006-01-03 16:40:16 +00:00
apb
26d8593b50 Move default values for several shell variables into sets.subr.
Reviewed by agc
2006-01-03 15:42:42 +00:00
jmc
f2a2358139 Whitespace/usage cleanup and a proper exit when done 2005-10-21 04:11:49 +00:00
jmc
fe18910528 Remove unneeded set of PASSWD 2005-10-21 03:57:07 +00:00
jmc
b0f7601ff1 Insert some missing backslashes 2005-10-21 02:56:27 +00:00
jmc
d5bf52b805 Set default vars so blank and unset both end up w. a reasonable default 2005-10-21 02:41:14 +00:00
jmc
e7233dd596 Fix path for mtree 2005-10-12 02:11:58 +00:00
jmc
4afc9e5b49 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)
2005-10-07 20:00:54 +00:00
jmc
7c1a989001 Include SHA512 now also 2005-10-07 03:42:47 +00:00
tron
89b7f0c149 Adapt to recent source tree changes:
- usr.sbin/config -> usr.bin/config
- contrib/sys -> sys/contrib
2005-07-05 08:41:16 +00:00
lukem
64863e99af Use "find |sort" instead of "find -s" -- the latter isn't POSIX. 2005-05-22 03:05:15 +00:00
lukem
162bb0f382 Prune obj|obj.* directories/symlinks correctly. Fix from Hubert Feyrer. 2004-05-09 13:46:00 +00:00
lukem
aa5498d450 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}'
2004-04-20 06:36:34 +00:00
lukem
fd4dd26667 Move ./contrib/sys from src.tgz to syssrc.tgz.
Fixes [misc/25251] from Darren Reed.
2004-04-20 03:40:45 +00:00
lukem
ce860f79b6 - 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
2003-05-10 06:07:26 +00:00
lukem
0b16de72ba use gzip -9 instead of --best 2002-04-12 07:08:37 +00:00
lukem
758bcaa9cf use ${CKSUM} instead of cksum/md5 2002-04-11 06:04:42 +00:00
wiz
326c26052c 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)?
2001-12-18 10:19:14 +00:00
fvdl
8b6d807ef1 We don't have seperate secr source sets anymore, so don't try to create
them.
2000-08-06 13:22:16 +00:00
he
6fbd9e0504 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).
1998-11-07 16:59:13 +00:00
mycroft
7338d3490f Include CVS directories in the tar files. Explicitly omit obj.* links and
directories.  Fix some lossage with / being chowned when unpacking src.tgz.
1998-10-28 11:02:37 +00:00
perry
5721ce3806 Fix not to include contents of kernel compile directories
(from Havard.Eidnes@runit.sintef.no)
1998-10-12 16:28:35 +00:00
mycroft
3a609af5ba Make all the sum files. 1998-05-10 16:48:44 +00:00
perry
463816f2d0 make makesrctars make the "correct" flavor of source sets 1997-12-29 23:31:06 +00:00
lukem
6709a268be Don't hardcode in the current release information; generate it
automatically on the fly, by using
	`sh ${BSDSRCDIR}/sys/conf/osrelease.sh -s`
1997-05-10 15:42:53 +00:00
mikel
8a50dcb5df eliminate dangling references to config.old;
from Klaus Klein in PR misc/3295.
1997-03-06 23:41:22 +00:00
mikel
c4dd13d8d0 RCSID police 1997-02-18 07:06:00 +00:00
jtc
34d9f1513d merge in 1.2 branch 1996-10-09 00:13:36 +00:00
jtc
1ceffcf267 Add script I used to make the 1.1 source distribution 1996-02-12 21:58:46 +00:00