Commit Graph

5 Commits

Author SHA1 Message Date
dyoung 624b44bb1b Cache build info. Makes regpkgset more tolerable on my slow 500MHz
AMD K6-2 workstation with its slow IDE disks.
2004-01-16 10:05:10 +00:00
dyoung b8eacf60d4 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.
2003-06-23 09:25:34 +00:00
agc 1802ef39d2 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)
2003-06-18 10:53:52 +00:00
jwise 3ef0e39473 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...
2003-06-13 02:32:26 +00:00
agc 72aa9a9ed1 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".
2003-06-12 20:04:00 +00:00