| History log of /src/distrib/sets/regpkg |
| Revision | | Date | Author | Comments |
| 1.26 |
| 11-Feb-2023 |
uki | Fix annotation checksum in +CONTENTS of syspkg
- Fix bug that file in DESTDIR is not referenced correctly. - Change checksum algorithm to SHA256 from MD5. - Remove invalid option of cksum(1) in regpkg.
|
| 1.25 |
| 18-Oct-2021 |
uki | Replace @dirrm to @pkgdir in packing list of syspkg
|
| 1.24 |
| 24-Oct-2019 |
rhialto | Solve [ vs. \133 in join.awk which replaces fix in r1.23 of regpkg. Ok uki@.
|
| 1.23 |
| 11-Apr-2019 |
uki | Fix "build.sh syspkgs" error when creating base-util-root package
|
| 1.22 |
| 30-May-2014 |
uebayasi | branches: 1.22.24; Convert mtree spec path characters with sed(1) to avoid tool'ifying vis(1).
|
| 1.21 |
| 24-May-2014 |
uebayasi | Unbreak syspkg by escaping '[' by vis(1) to match the new mtree(8) format.
|
| 1.20 |
| 03-Nov-2012 |
mbalmer | branches: 1.20.8; Remove duplicate word (the the -> the)
|
| 1.19 |
| 02-Dec-2009 |
apb | branches: 1.19.6; 1.19.12; 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.18 |
| 01-Dec-2009 |
apb | There's no point in adding _PKGTOOLS_VER=$(${PKG_CREATE} -V) to any syspkg +BUILD_INFO files, since we don't use the pkg_* tools to create syspkgs. Also remove the definition of PKG_CREATE from sets.subr, since nothing uses it now.
|
| 1.17 |
| 17-Oct-2009 |
agc | Move to a 2-clause BSD license
|
| 1.16 |
| 03-Apr-2009 |
perry | Consistently use gzip with the -n flag so dates are not embedded.
Not tested on all platforms.
|
| 1.15 |
| 05-Feb-2007 |
apb | branches: 1.15.12; 1.15.22; Whenever we try to parse the output from make, run make with the -B flag. This ensures that -j<N> isn't accidentally inherited from the environment, because the "--- foo ---" headers printed with -j<N> would interfere with parsing the output.
|
| 1.14 |
| 28-Jan-2006 |
apb | branches: 1.14.4; No space in "function()", "command;" or "$(command)". Requested by christos.
|
| 1.13 |
| 28-Jan-2006 |
apb | During an "update" build, if previous versions of a syspkg were already registered, or if previous versions of the syspkg .tgz file already existed, then delete them. Previously, this was a fatal error.
Approved by christos
|
| 1.12 |
| 08-Jan-2006 |
apb | Use TARGET_ENDIANNESS (from bsd.endian.mk) to decide whether to add "-E B" or "-E L" options to ${db_opts}.
Approved by christos.
|
| 1.11 |
| 08-Jan-2006 |
apb | In the case where there is no metalog, when converting the PLIST to specfile format, add type=dir for directories. Fixes a build problem with non-METALOG builds.
|
| 1.10 |
| 08-Jan-2006 |
apb | When printing messages to stderr, always use echo >&2 "${prog}: ..."
Approved by christos
|
| 1.9 |
| 04-Jan-2006 |
apb | * Give regpkg the ability to create binary syspkg packages (*.tgz files). The new "-t binpkgdir" option requests this action. * Make it pay attention to DESTDIR. * Make it work for unprivileged builds using METALOG. * Add "force" and "update" modes. * Add "quiet" mode. There was already a "verbose" mode. * Add several new command line args in support of the above. * Make much more use of shell functions. * Replace the old way of choosing syspkg version numbers. The new way gives numbers derived from concatenating the OS version [from osrelease.sh or $(uname -r)], a "tiny" version [from distrib/sets/versions, default 0], and a date [from RCS time stamps or file system time stamps]. * Add @blddep lines to the PLIST (in addition to the @pkgdep lines that were previously added). * Use host tools such as pax, cksum, and db, to do more or less the same work that was previously done by pkg_create (which is not a host tool). No longer attempt to use pkg_create.
Reviewed by agc
|
| 1.8 |
| 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.7 |
| 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.6 |
| 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.5 |
| 16-Jan-2004 |
dyoung | Cache build info. Makes regpkgset more tolerable on my slow 500MHz AMD K6-2 workstation with its slow IDE disks.
|
| 1.4 |
| 23-Jun-2003 |
dyoung | Optimization: invoke make fewer times.
Fix typo: osreleasese -> osreleases.
Write @pkgdep directives, drawing package dependencies from distrib/sets/deps.
When regpkg is finished, now it removes the packing list temporary file from /tmp.
|
| 1.3 |
| 18-Jun-2003 |
agc | Clean up editing of the original regpkg script in the previous.
+ use "uname -r" if osrelease.sh isn't available
+ if SYSPKG_DATES is set in the environment, use the date for the version. For some reason, this is controversial, so the default is to use NetBSD kernel versions. Re-instate the code to calculate the date, but only use it if the date cannot be gleaned from the RCS Ids of the constituent parts.
+ re-work the versions file, since it was committed in an incomplete state - there were version numbers without package names in there. Instead, get the version number by exception - i.e. assume it's "0" unless specified in the versions file. This means less independent maintenance when a kernel version number is bumped, and less duplication of work (since any new system packages will now have the correct version number by default)
+ lose the section which duplicated the calculation of "tiny version" which was never used (and which didn't work correctly)
|
| 1.2 |
| 13-Jun-2003 |
jwise | Recreate the ability, which has existed in syspkg since first implementation, to explicitly version syspkgs. See discussion on source-changes@netbsd.org.
If we want to lose this functionality, we should discuss this on the appropriate lists...
|
| 1.1 |
| 12-Jun-2003 |
agc | Add the comments file, which is a single file containing all the COMMENT file entries from the syspkg hierarchy, brought up to date to include some that had been missed out.
Add the descrs file, which is a single file containing all the DESCR file entries from the syspkg hierarchy, brought up to date to include some that had been missed out.
Thanks to Jim Wise for all the work that went into the syspkg sets.
Add the attrs file, which is a single file to which can be added attributes (like preserve).
Add a regpkg script, which allows a single system package to be registered, based simply on its setname and syspkg name. All the information is gleaned from the lists files by means of scripts, no source tree is needed. The version number for the system package is calculated automatically, based on the most recent mtime of the files that constitute a system package.
Add a regpkgset script, to register all the system packages in a set. The set names recognised are "all", "base", "comp", "etc", "games", "man", "misc", "text".
|
| 1.14.4.1 |
| 06-Mar-2007 |
bouyer | Pull up following revision(s) (requested by apb in ticket #491): distrib/sets/regpkg: revision 1.15 tools/gcc/mknative.common: revision 1.9 distrib/sets/sets.subr: revision 1.56 distrib/sets/regpkgset: revision 1.9 build.sh: revision 1.161 via patch Whenever we try to parse the output from make, run make with the -B flag. This ensures that -j<N> isn't accidentally inherited from the environment, because the "--- foo ---" headers printed with -j<N> would interfere with parsing the output.
|
| 1.15.22.1 |
| 13-May-2009 |
jym | Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
|
| 1.15.12.1 |
| 05-Oct-2008 |
mjf | Sync with HEAD.
|
| 1.19.12.2 |
| 19-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
| 1.19.12.1 |
| 20-Nov-2012 |
tls | Resync to 2012-11-19 00:00:00 UTC
|
| 1.19.6.1 |
| 16-Jan-2013 |
yamt | sync with (a bit old) head
|
| 1.20.8.1 |
| 10-Aug-2014 |
tls | Rebase.
|
| 1.22.24.2 |
| 13-Apr-2020 |
martin | Mostly merge changes from HEAD upto 20200411
|
| 1.22.24.1 |
| 10-Jun-2019 |
christos | Sync with HEAD
|