2002-09-07 02:08:35 +02:00
|
|
|
pkg_comp is a small utility designed to build packages inside a
|
|
|
|
clean chroot tree.
|
|
|
|
|
|
|
|
Some ideas about what to use it for (taken from manpage):
|
|
|
|
* Build packages for other system versions. For example, build
|
|
|
|
packages for NetBSD 1.5 while you are running NetBSD current.
|
|
|
|
* Build packages using different options than your current system
|
|
|
|
like changing the threading library, COPTS, placement of
|
|
|
|
configuration files, etc.
|
|
|
|
* Debug the build process of a package, checking if buildlinks
|
|
|
|
work properly.
|
|
|
|
* Avoid autoconf's side effects by keeping a separate chroot for
|
|
|
|
each project, like one for GNOME2 and another one for KDE3.
|
Update to 1.15:
- Automatic builds can now be interrupted at any time with CTRL+C and then
resumed! (with 'auto resume' from the command line).
- MAKE_PACKAGES has been deprecated in favour of two new variables:
BUILD_PACKAGES, which tells which packages to build after a 'makeroot'
and AUTO_PACKAGES, used during the 'auto' target.
- MOUNT_SCRIPT and UMOUNT_SCRIPT have been deprecated in favour of MOUNT_HOOKS
and UMOUNT_HOOKS, which take a list of shell functions or external commands
to be executed.
- /pkg_comp is now symlinked to /p inside the chroot, to make paths simpler
when working inside it (i.e., with the 'chroot' target).
- security/audit-packages is not installed any more inside the chroot by
default. This is not needed to get pkgsrc security checks working.
The user can add it to BUILD_PACKAGES for a regular build.
- pkgtools/xpkgwedge is not installed any more during a 'makeroot'. pkgsrc
handles this automatically when needed, so we let it install the package
for us.
- Ensure that libkver's library is preloaded when doing builds inside the
chroot, so that packages get the right version number in them.
- When creating a template file, sort all variables alphabetically.
- Several miscellaneous changes in the code: simplification of syntax,
addition of comments to functions, cleanup of messages...
2004-01-23 10:48:53 +01:00
|
|
|
* Schedule builds of package sets for several different machines.
|