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

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


Branch: CURRENT, Version: 1.38nb1, Package name: pkg_comp-1.38nb1, 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)


   2015-11-22 00:10:27 by Alistair G. Crooks | Files touched by this commit (3) | Package updated
Log message:
Update pkg_comp to 1.38nb1

pkgsrc uses the "BUILD_TARGET" definition internally as the primary
target for building in a package's WRKDIR.  It defaults to "all".
So pkgsrc cd's to ${WRKDIR} and does a "make ${BUILD_TARGET}"

pkg_comp also wants to use the same "BUILD_TARGET" definition
internally for itself to guide the builds for making binary packages.
It's done at a higher level than the pkgsrc definition.  It defaults
to "package".

The use of the same name for two different purposes can cause
pkg_comp to fail to build packages. This commit renames the pkg_comp
definition to be "BUILD_PKG_COMP_TARGET".

With this change in place, my pkg_comp builds now complete successfully.

Bump PKGREVISION for the BUILD_PKG_COMP_TARGET fix
   2015-08-17 10:18:31 by Thomas Klausner | Files touched by this commit (3)
Log message:
Remove references to xpkgwedge and USE_XPKGWEDGE flag.
Bump version.
   2014-10-09 16:07:17 by Thomas Klausner | Files touched by this commit (1163)
Log message:
Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles.
   2014-03-03 05:40:47 by OBATA Akio | Files touched by this commit (1)
Log message:
LICENSE=modified-bsd
   2014-03-03 04:30:55 by OBATA Akio | Files touched by this commit (43)
Log message:
Just define PKGNAME and use it.
   2013-12-31 18:22:40 by Thomas Klausner | Files touched by this commit (1)
Log message:
Remove aperture reference. Bump date.
   2013-07-20 23:50:55 by Thomas Klausner | Files touched by this commit (44)
Log message:
Use Mt for email addresses.
   2012-09-12 01:19:40 by Aleksej Saushev | Files touched by this commit (60)
Log message:
"user-destdir" is default these days