| #
a8794953 |
| 04-Jan-2006 |
apb <apb@NetBSD.org> |
Add quotes to some shell variables overlooked in previous commit.
|
| #
0bee96ea |
| 03-Jan-2006 |
apb <apb@NetBSD.org> |
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 con
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
show more ...
|
| #
3a0b5411 |
| 03-Jan-2006 |
apb <apb@NetBSD.org> |
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 a
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.
show more ...
|
| #
10d01732 |
| 23-Jul-2004 |
erh <erh@NetBSD.org> |
Make all the sets scripts work even when not run from the directory that they reside in. Change any uses of dirname to use shell variable substitution instead.
|
| #
6f9a1982 |
| 03-Jan-2004 |
lukem <lukem@NetBSD.org> |
rename all the <bsd.own.mk> derived variables to uppercase, and export them to the environment.
|
| #
b852db83 |
| 29-Dec-2003 |
lukem <lukem@NetBSD.org> |
Significant overhaul of how the sets are used:
* Add an optional third field to the sets file which is a list of comma separated keywords that control if the line is printed. Currently supported
Significant overhaul of how the sets are used:
* Add an optional third field to the sets file which is a list of comma separated keywords that control if the line is printed. Currently supported keywords kerberos4 ${MKKERBEROS4} != no kerberos ${MKKERBEROS} != no lint ${MKLINT} != no obsolete ${obsolete} != 0. In this case, non obsolete files are not printed. (This will allow future support for builds with variables such as MKHESIOD and MKYP set to "no".)
* Use sh(1)'s getopts where appropriate, and otherwise cleanup the various scripts.
* Move defaults for sets.subr from sets.defaults into sets.subr. Move replicated code for determining stuff such as shlibs type from various scripts into sets.subr.
* Merge the obsolete.*, krb.*, krb4.* and lint.* into the appropriate main lists with the relevant third field keyword(s).
show more ...
|
| #
17b5668c |
| 25-Nov-2003 |
dyoung <dyoung@NetBSD.org> |
Factor duplicated code for setting variables such as machine_cpu and machine_arch to their defaults into sets.defaults, and source it at the top of each script.
Also, to be consistent with variable
Factor duplicated code for setting variables such as machine_cpu and machine_arch to their defaults into sets.defaults, and source it at the top of each script.
Also, to be consistent with variable naming, s/arch/machine_arch/.
sets.defaults introduces two new variables, krb and krb4, which will affect whether Kerberos- or Kerberos IV-only files are put into the set lists.
show more ...
|
| #
4b48743a |
| 23-Jun-2003 |
dyoung <dyoung@NetBSD.org> |
Stop duplication of makeflist, regpkg, makeplist code. Use routine in sets.subr, instead.
|
| #
c6495258 |
| 23-Jul-2002 |
lukem <lukem@NetBSD.org> |
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
|
| #
b416cfd2 |
| 24-Mar-2002 |
bjh21 <bjh21@NetBSD.org> |
Rename arm26 -> acorn26.
|
| #
6cfea188 |
| 27-Feb-2002 |
lukem <lukem@NetBSD.org> |
- fix the comment describing what this does - " egrep ... | awk " can be replaced by a smarter bit of awk...
|
| #
25f7c6aa |
| 26-Dec-2001 |
jwise <jwise@NetBSD.org> |
Add two utility scripts used by syspkg from draga.com CVS:
listpkgs -- a utility script for syspkg maintainers. Given a pkgset name, list all packages in that pkgset by parsing the src/distrib
Add two utility scripts used by syspkg from draga.com CVS:
listpkgs -- a utility script for syspkg maintainers. Given a pkgset name, list all packages in that pkgset by parsing the src/distrib set list files. Imported at draga.com revision 1.2.
Usage: ./listpkgs [-a arch] [-m machine] [-s setsdir] [-p prefix] setname -a arch set arch (e.g, m68k, mips, powerpc) -m machine set machine (e.g, amiga, i386, macppc) -s setsdir directory to find sets setname set to list packages for
makeplist -- a script called by <bsd.syspkg.mk>. Given a pkgset name and a pkg name, output a valid PLIST for that package by parsing the src/distrib set list files. Imported at draga.com revision 1.2.
Usage: ./makeplist [-a arch] [-m machine] [-s setsdir] [-p prefix] setname pkgname -a arch set arch (e.g, m68k, mips, powerpc) -m machine set machine (e.g, amiga, i386, macppc) -s setsdir directory to find sets -p prefix prefix for created plist setname pkgname set and package to build plist for
show more ...
|