#
1.23 |
|
08-Nov-2023 |
christos |
More conservative umask
|
#
1.22 |
|
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
|
#
1.21 |
|
18-Oct-2021 |
uki |
Replace @dirrm to @pkgdir in packing list of syspkg
|
Revision tags: 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-8-2-RELEASE netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 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.20 |
|
02-Dec-2009 |
apb |
Patches from Lloyd Parkes in PR 41684, plus my changes: * ${HOSTNAME} is special to bash, so rename the variable to HOSTNAME_CMD. * Don't use "cd -". * Don't use only comments in the else part of an if statement.
|
Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE 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.19 |
|
04-Jan-2006 |
apb |
branches: 1.19.20; Add a new "-I realprefix" arg. When making syspkgs, we need to use "-P ${DESTDIR} -I /". ("-I" chosen for similarity to pkg_create.)
XXX: makeplist seems to be quite broken, in that it looks at the files and directories that are actually present in DESTDIR, whereas I thought its job was to provide an list of what *should* be there, regardless of what is *actually* there. Fixing this seems to require a change to the format of the "lists" files, so that they can unambiguously identify directories.
Reviewed by agc
|
#
1.18 |
|
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.17 |
|
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.
|
Revision tags: netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-3-0-1-RELEASE netbsd-3-0-RELEASE netbsd-3-0-RC6 netbsd-3-0-RC5 netbsd-3-0-RC4 netbsd-3-0-RC3 netbsd-3-0-RC2 netbsd-3-0-RC1 netbsd-3-base
|
#
1.16 |
|
12-Jan-2005 |
dyoung |
One of my users stumbled over a bug: src/distrib/sets/makeplist uses find(1) in a non-POSIX way. The trouble is that -maxdepth is not an option for POSIX find(1). His NetBSD 1.6.2 system tripped over that. I converted the -maxdepth uses to -prune, which is POSIX-compatible.
While I was in makeplist, I wrote a comment about the xargs/find/read cleverness that I use to generate the @dirrm directives.
|
#
1.15 |
|
23-Jul-2004 |
erh |
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.
|
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.14 |
|
23-Jan-2004 |
dyoung |
`-p' takes an argument, so fix the getopts optstring.
|
#
1.13 |
|
03-Jan-2004 |
lukem |
rename all the <bsd.own.mk> derived variables to uppercase, and export them to the environment.
|
#
1.12 |
|
29-Dec-2003 |
lukem |
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).
|
#
1.11 |
|
25-Nov-2003 |
dyoung |
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.
|
#
1.10 |
|
17-Oct-2003 |
dyoung |
Awk prefers regex escapes to look like \\ instead of \. Go figure. This patch squashes hundreds of annoying warning messages:
awk: cmd. line:1: warning: escape sequence `\.' treated as plain `.'
|
#
1.9 |
|
04-Aug-2003 |
mrg |
add initial support for gcc3
|
#
1.8 |
|
23-Jun-2003 |
dyoung |
Fix typo: osreleasese -> osreleases.
Optimizations: do not re-invoke make(1) unnecessarily, it takes a full second to bootstrap it on my on my anemic PC. Also, use xargs/find instead of awk/system()/shell to classify each package path as a file or directory.
For consistency, adopt similar variables names as makeflist uses.
Use the set-list routines in sets.subr instead of duplicating code.
|
#
1.7 |
|
12-Jun-2003 |
agc |
Bring the machine and arch-level decision of shared libs vs none up to date, and also bring up to date the ELF vs a.out knowledge.
Also, sort the directories into reverse alphabetical order, and add them to the generated PLIST file after any file entries.
Grab the comments into a single file from the individual syspkg set entries.
Grab the descriptions into a single file from the individual syspkg set entries.
Add an attributes file to which can be added attributes for system packages. The "preserve" attribute has been implemented.
Add extra comments and descriptions for system packages which were missing.
|
#
1.6 |
|
05-Jun-2003 |
agc |
Remove the leading "./" from all entries in the generated PLIST.
Make awk do more of the work - remove two egrep invocations.
|
#
1.5 |
|
31-May-2003 |
dyoung |
Fix typo to show correct prefix for PLIST, s/\$plist/\$prefix/.
|
#
1.4 |
|
31-May-2003 |
dyoung |
Spelling fix, s/makeflist/makeplist/
|
Revision tags: fvdl_fs64_base
|
#
1.3 |
|
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.2 |
|
24-Mar-2002 |
bjh21 |
branches: 1.2.2; Rename arm26 -> acorn26.
|
#
1.1 |
|
26-Dec-2001 |
jwise |
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
|
#
1.21 |
|
18-Oct-2021 |
uki |
Replace @dirrm to @pkgdir in packing list of syspkg
|
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-8-2-RELEASE netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 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.20 |
|
02-Dec-2009 |
apb |
Patches from Lloyd Parkes in PR 41684, plus my changes: * ${HOSTNAME} is special to bash, so rename the variable to HOSTNAME_CMD. * Don't use "cd -". * Don't use only comments in the else part of an if statement.
|
Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE 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.19 |
|
04-Jan-2006 |
apb |
branches: 1.19.20; Add a new "-I realprefix" arg. When making syspkgs, we need to use "-P ${DESTDIR} -I /". ("-I" chosen for similarity to pkg_create.)
XXX: makeplist seems to be quite broken, in that it looks at the files and directories that are actually present in DESTDIR, whereas I thought its job was to provide an list of what *should* be there, regardless of what is *actually* there. Fixing this seems to require a change to the format of the "lists" files, so that they can unambiguously identify directories.
Reviewed by agc
|
#
1.18 |
|
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.17 |
|
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.
|
Revision tags: netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-3-0-1-RELEASE netbsd-3-0-RELEASE netbsd-3-0-RC6 netbsd-3-0-RC5 netbsd-3-0-RC4 netbsd-3-0-RC3 netbsd-3-0-RC2 netbsd-3-0-RC1 netbsd-3-base
|
#
1.16 |
|
12-Jan-2005 |
dyoung |
One of my users stumbled over a bug: src/distrib/sets/makeplist uses find(1) in a non-POSIX way. The trouble is that -maxdepth is not an option for POSIX find(1). His NetBSD 1.6.2 system tripped over that. I converted the -maxdepth uses to -prune, which is POSIX-compatible.
While I was in makeplist, I wrote a comment about the xargs/find/read cleverness that I use to generate the @dirrm directives.
|
#
1.15 |
|
23-Jul-2004 |
erh |
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.
|
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.14 |
|
23-Jan-2004 |
dyoung |
`-p' takes an argument, so fix the getopts optstring.
|
#
1.13 |
|
03-Jan-2004 |
lukem |
rename all the <bsd.own.mk> derived variables to uppercase, and export them to the environment.
|
#
1.12 |
|
29-Dec-2003 |
lukem |
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).
|
#
1.11 |
|
25-Nov-2003 |
dyoung |
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.
|
#
1.10 |
|
17-Oct-2003 |
dyoung |
Awk prefers regex escapes to look like \\ instead of \. Go figure. This patch squashes hundreds of annoying warning messages:
awk: cmd. line:1: warning: escape sequence `\.' treated as plain `.'
|
#
1.9 |
|
04-Aug-2003 |
mrg |
add initial support for gcc3
|
#
1.8 |
|
23-Jun-2003 |
dyoung |
Fix typo: osreleasese -> osreleases.
Optimizations: do not re-invoke make(1) unnecessarily, it takes a full second to bootstrap it on my on my anemic PC. Also, use xargs/find instead of awk/system()/shell to classify each package path as a file or directory.
For consistency, adopt similar variables names as makeflist uses.
Use the set-list routines in sets.subr instead of duplicating code.
|
#
1.7 |
|
12-Jun-2003 |
agc |
Bring the machine and arch-level decision of shared libs vs none up to date, and also bring up to date the ELF vs a.out knowledge.
Also, sort the directories into reverse alphabetical order, and add them to the generated PLIST file after any file entries.
Grab the comments into a single file from the individual syspkg set entries.
Grab the descriptions into a single file from the individual syspkg set entries.
Add an attributes file to which can be added attributes for system packages. The "preserve" attribute has been implemented.
Add extra comments and descriptions for system packages which were missing.
|
#
1.6 |
|
05-Jun-2003 |
agc |
Remove the leading "./" from all entries in the generated PLIST.
Make awk do more of the work - remove two egrep invocations.
|
#
1.5 |
|
31-May-2003 |
dyoung |
Fix typo to show correct prefix for PLIST, s/\$plist/\$prefix/.
|
#
1.4 |
|
31-May-2003 |
dyoung |
Spelling fix, s/makeflist/makeplist/
|
Revision tags: fvdl_fs64_base
|
#
1.3 |
|
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.2 |
|
24-Mar-2002 |
bjh21 |
branches: 1.2.2; Rename arm26 -> acorn26.
|
#
1.1 |
|
26-Dec-2001 |
jwise |
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
|
#
1.20 |
|
02-Dec-2009 |
apb |
Patches from Lloyd Parkes in PR 41684, plus my changes: * ${HOSTNAME} is special to bash, so rename the variable to HOSTNAME_CMD. * Don't use "cd -". * Don't use only comments in the else part of an if statement.
|
#
1.19 |
|
04-Jan-2006 |
apb |
branches: 1.19.20; Add a new "-I realprefix" arg. When making syspkgs, we need to use "-P ${DESTDIR} -I /". ("-I" chosen for similarity to pkg_create.)
XXX: makeplist seems to be quite broken, in that it looks at the files and directories that are actually present in DESTDIR, whereas I thought its job was to provide an list of what *should* be there, regardless of what is *actually* there. Fixing this seems to require a change to the format of the "lists" files, so that they can unambiguously identify directories.
Reviewed by agc
|
#
1.18 |
|
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.17 |
|
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.16 |
|
11-Jan-2005 |
dyoung |
One of my users stumbled over a bug: src/distrib/sets/makeplist uses find(1) in a non-POSIX way. The trouble is that -maxdepth is not an option for POSIX find(1). His NetBSD 1.6.2 system tripped over that. I converted the -maxdepth uses to -prune, which is POSIX-compatible.
While I was in makeplist, I wrote a comment about the xargs/find/read cleverness that I use to generate the @dirrm directives.
|
#
1.15 |
|
23-Jul-2004 |
erh |
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.
|
#
1.14 |
|
22-Jan-2004 |
dyoung |
`-p' takes an argument, so fix the getopts optstring.
|
#
1.13 |
|
02-Jan-2004 |
lukem |
rename all the <bsd.own.mk> derived variables to uppercase, and export them to the environment.
|
#
1.12 |
|
28-Dec-2003 |
lukem |
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).
|
#
1.11 |
|
25-Nov-2003 |
dyoung |
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.
|
#
1.10 |
|
17-Oct-2003 |
dyoung |
Awk prefers regex escapes to look like \\ instead of \. Go figure. This patch squashes hundreds of annoying warning messages:
awk: cmd. line:1: warning: escape sequence `\.' treated as plain `.'
|
#
1.9 |
|
03-Aug-2003 |
mrg |
add initial support for gcc3
|
#
1.8 |
|
23-Jun-2003 |
dyoung |
Fix typo: osreleasese -> osreleases.
Optimizations: do not re-invoke make(1) unnecessarily, it takes a full second to bootstrap it on my on my anemic PC. Also, use xargs/find instead of awk/system()/shell to classify each package path as a file or directory.
For consistency, adopt similar variables names as makeflist uses.
Use the set-list routines in sets.subr instead of duplicating code.
|
#
1.7 |
|
12-Jun-2003 |
agc |
Bring the machine and arch-level decision of shared libs vs none up to date, and also bring up to date the ELF vs a.out knowledge.
Also, sort the directories into reverse alphabetical order, and add them to the generated PLIST file after any file entries.
Grab the comments into a single file from the individual syspkg set entries.
Grab the descriptions into a single file from the individual syspkg set entries.
Add an attributes file to which can be added attributes for system packages. The "preserve" attribute has been implemented.
Add extra comments and descriptions for system packages which were missing.
|
#
1.6 |
|
05-Jun-2003 |
agc |
Remove the leading "./" from all entries in the generated PLIST.
Make awk do more of the work - remove two egrep invocations.
|
#
1.5 |
|
31-May-2003 |
dyoung |
Fix typo to show correct prefix for PLIST, s/\$plist/\$prefix/.
|
#
1.4 |
|
31-May-2003 |
dyoung |
Spelling fix, s/makeflist/makeplist/
|
#
1.3 |
|
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.2 |
|
24-Mar-2002 |
bjh21 |
branches: 1.2.2; Rename arm26 -> acorn26.
|
#
1.1 |
|
26-Dec-2001 |
jwise |
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
|
#
1.2.2.1 |
|
23-Jul-2002 |
lukem |
Pull up revision 1.3 (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.19.20.1 |
|
05-Oct-2008 |
mjf |
Sync with HEAD.
|