History log of /netbsd-src/distrib/sets/regpkg (Results 1 – 25 of 26)
Revision Date Author Comments
# f527611a 11-Feb-2023 uki <uki@NetBSD.org>

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 regp

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.

show more ...


# 8d12f8ce 18-Oct-2021 uki <uki@NetBSD.org>

Replace @dirrm to @pkgdir in packing list of syspkg


# e9ed3c66 24-Oct-2019 rhialto <rhialto@NetBSD.org>

Solve [ vs. \133 in join.awk which replaces fix in r1.23 of regpkg. Ok uki@.


# 9b084d16 11-Apr-2019 uki <uki@NetBSD.org>

Fix "build.sh syspkgs" error when creating base-util-root package


# ba7dc1f3 30-May-2014 uebayasi <uebayasi@NetBSD.org>

Convert mtree spec path characters with sed(1) to avoid tool'ifying vis(1).


# bfc7c522 24-May-2014 uebayasi <uebayasi@NetBSD.org>

Unbreak syspkg by escaping '[' by vis(1) to match the new mtree(8) format.


# 2eb9e5d9 03-Nov-2012 mbalmer <mbalmer@NetBSD.org>

Remove duplicate word (the the -> the)


# 26fce401 02-Dec-2009 apb <apb@NetBSD.org>

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

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.

show more ...


# fb5e3559 01-Dec-2009 apb <apb@NetBSD.org>

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

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.

show more ...


# 205394f3 17-Oct-2009 agc <agc@NetBSD.org>

Move to a 2-clause BSD license


# 58e0c54c 03-Apr-2009 perry <perry@NetBSD.org>

Consistently use gzip with the -n flag so dates are not embedded.

Not tested on all platforms.


# f7004b0c 05-Feb-2007 apb <apb@NetBSD.org>

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

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.

show more ...


# d6b37f83 28-Jan-2006 apb <apb@NetBSD.org>

No space in "function()", "command;" or "$(command)".
Requested by christos.


# 13da9028 28-Jan-2006 apb <apb@NetBSD.org>

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 er

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

show more ...


# 6942b0e7 08-Jan-2006 apb <apb@NetBSD.org>

Use TARGET_ENDIANNESS (from bsd.endian.mk) to decide whether
to add "-E B" or "-E L" options to ${db_opts}.

Approved by christos.


# e386c41e 08-Jan-2006 apb <apb@NetBSD.org>

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.


# c32228d4 08-Jan-2006 apb <apb@NetBSD.org>

When printing messages to stderr, always use
echo >&2 "${prog}: ..."

Approved by christos


# 3df0642b 04-Jan-2006 apb <apb@NetBSD.org>

* 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 bui

* 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

show more ...


# 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.


# 624b44bb 16-Jan-2004 dyoung <dyoung@NetBSD.org>

Cache build info. Makes regpkgset more tolerable on my slow 500MHz
AMD K6-2 workstation with its slow IDE disks.


# b8eacf60 23-Jun-2003 dyoung <dyoung@NetBSD.org>

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 t

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.

show more ...


# 1802ef39 18-Jun-2003 agc <agc@NetBSD.org>

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 so

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)

show more ...


# 3ef0e394 13-Jun-2003 jwise <jwise@NetBSD.org>

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 s

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...

show more ...


12