./pkgtools/pkg_comp, Build packages inside a chroot jail

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.34, Package name: pkg_comp-1.34, Maintainer: jmmv

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.
* Schedule builds of package sets for several different machines.


Version history: (Expand)


CVS history: (Expand)


   2010-07-20 18:50:26 by Julio Merino | Files touched by this commit (2) | Package updated
Log message:
Update to 1.34:

- Remove pkg_install version check and rebuild if outdated.  pkgsrc is
  supposed to do that for us.  Addresses PR pkg/38323.

- Don't bother to explicitly builddigest.  pkgsrc DTRT nowadays when
  PKGSRC_COMPILER includes ccache/distcc.
   2010-04-15 11:42:45 by Julio M. Merino Vidal | Files touched by this commit (3) | Package updated
Log message:
Update to 1.33:

* Make PKG_DBDIR customizable.  This sets the variable in mk.conf, in
  pkg_install.conf and in the environment.
   2010-04-13 22:59:20 by Thomas Klausner | Files touched by this commit (1)
Log message:
Remove trailing space.
   2010-04-13 18:46:01 by Julio M. Merino Vidal | Files touched by this commit (3) | Package updated
Log message:
Update to 1.32:

* Do not force the install target to take a full package name.  pkg_add will
  automatically pick the latest version.

* When building a package as part of makeroot, make sure it actually gets
  installed.  This is to fix a regression with the switch to USE_DESTDIR=yes.
  Otherwise these packages will get rebuilt later on when needed.

* It is common for calls to mktemp to have 6 placeholders in the template,
  not 4.  Make it so.
   2009-05-13 12:40:24 by Thomas Klausner | Files touched by this commit (1)
Log message:
More closely match man page.
   2009-05-13 12:39:52 by Thomas Klausner | Files touched by this commit (1) | Package updated
Log message:
Sort options. Update example NetBSD versions. Use Nx.
Fix xref.
   2009-04-09 02:48:18 by Joerg Sonnenberger | Files touched by this commit (109)
Log message:
Remove redundant NO_CHECKSUM and EXTRACT_ONLY definitions.
   2008-10-10 17:56:31 by Stephen Borrill | Files touched by this commit (2)
Log message:
Version 1.31 - make chroot target return its exit status