The NetBSD Project

CVS log for pkgsrc/pkgtools/pkg_comp/Makefile

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / pkgtools / pkg_comp

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.62 / (download) - annotate - [select for diffs], Sun May 8 20:26:52 2022 UTC (19 months ago) by schmonz
Branch: MAIN
CVS Tags: pkgsrc-2023Q3-base, pkgsrc-2023Q3, pkgsrc-2023Q2-base, pkgsrc-2023Q2, pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2, HEAD
Changes since 1.61: +7 -1 lines
Diff to previous 1.61 (colored)

Avoid finding pkgsrc-installed bash, as it won't be in the sandbox. Bump
PKGREVISION.

Revision 1.61 / (download) - annotate - [select for diffs], Mon Jan 14 10:53:37 2019 UTC (4 years, 10 months ago) by jmmv
Branch: MAIN
CVS Tags: pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1
Changes since 1.60: +4 -5 lines
Diff to previous 1.60 (colored)

Update pkg_comp to 2.1:

Changes in version 2.1
======================

**Released on 2019-01-14.**

* Issue 3: Added a new `PBULK_LOG` setting to point at a location that
  holds all build logs, and made the `build` command print out details
  about such logs on success and failure.

* Issue 4: Fixed the installable bootstrap kit generated during a build
  to not leak pkg_comp-internal paths.

* Issue 10: Fixed generation of pkg_summary so that it includes all
  packages and not only those that were explicitly given to the `auto`
  or `build` commands after a clean rebuild of the sandbox.

* PR 20: Fixed the default Git repository from jsonn's to NetBSD's as
  it has moved upstream.

* Added a new `PKG_DEVELOPER` setting to enable pkgsrc development
  from within the sandbox.

Revision 1.60 / (download) - annotate - [select for diffs], Sat Sep 2 16:18:56 2017 UTC (6 years, 3 months ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3
Changes since 1.59: +12 -4 lines
Diff to previous 1.59 (colored)

pkgtools/pkg_comp: Correct usage of ${PKG_SYSCONFDIR}.

Package configuration files should be found in ${PKG_SYSCONFDIR},
which can be modified by a user-settable variable.  Look for the
default sandboxctl(8) configuration files in
${PKG_SYSCONFDIR.sandboxctl} if that variable is set, or else in
${PKG_SYSCONFBASE}/sandboxctl.

Fixes problem noted by Iain Hibbert on tech-pkg@.

Bump the PKGREVISION to 2 due to changes in the binary package if
PKG_SYSCONFDIR.pkg_comp is set to a non-default value.

Revision 1.58.2.1 / (download) - annotate - [select for diffs], Mon May 1 09:08:57 2017 UTC (6 years, 7 months ago) by bsiegert
Branch: pkgsrc-2017Q1
Changes since 1.58: +4 -3 lines
Diff to previous 1.58 (colored) next main 1.59 (colored)

Pullup ticket #5371 - requested by sevan
pkgtools/pkg_comp: build fix

Revisions pulled up:
- pkgtools/pkg_comp/Makefile                                    1.59

---
   Module Name:    pkgsrc
   Committed By:   jmmv
   Date:           Wed Apr 26 00:48:14 UTC 2017

   Modified Files:
           pkgsrc/pkgtools/pkg_comp: Makefile

   Log Message:
   Fix sysconfdir settings for pkg_comp.

   This allows the default configuration in pkg_comp to properly find the
   default configuration of sandboxctl.

   Bump PKGREVISION to 1.

Revision 1.59 / (download) - annotate - [select for diffs], Wed Apr 26 00:48:14 2017 UTC (6 years, 7 months ago) by jmmv
Branch: MAIN
CVS Tags: pkgsrc-2017Q2-base, pkgsrc-2017Q2
Changes since 1.58: +4 -3 lines
Diff to previous 1.58 (colored)

Fix sysconfdir settings for pkg_comp.

This allows the default configuration in pkg_comp to properly find the
default configuration of sandboxctl.

Bump PKGREVISION to 1.

Revision 1.58 / (download) - annotate - [select for diffs], Mon Feb 20 11:15:19 2017 UTC (6 years, 9 months ago) by jmmv
Branch: MAIN
CVS Tags: pkgsrc-2017Q1-base
Branch point for: pkgsrc-2017Q1
Changes since 1.57: +2 -1 lines
Diff to previous 1.57 (colored)

Hardcode the location of sandboxctl to not rely on the PATH.

Should fix the problems observed in:
http://ftp.netbsd.org/pub/pkgsrc/misc/joerg/20170219.1406/meta/report.html

Revision 1.57 / (download) - annotate - [select for diffs], Fri Feb 17 21:25:46 2017 UTC (6 years, 9 months ago) by jmmv
Branch: MAIN
Changes since 1.56: +38 -15 lines
Diff to previous 1.56 (colored)

Readd pkg_comp, now at version 2.0:

**Released on 2017-02-17.**

This is the first release of the pkg_comp project as a standalone
package.  This new release shares no code with previous versions and is
not compatible with them.

The following are the major differences between pkg_comp 2.0 and all
previous releases, which incidentally are the reasons that triggered
this rewrite:

* Support for multiple platforms.

* Use of pbulk to (re)build packages within the sandbox.  This results
  in more reliable incremental builds after pkgsrc updates.

* Support for bootstrap, generating binary kits as part of the builds.

* Better scriptability to allow running from cron(8) trivially.

Revision 1.56, Sun Feb 12 10:48:55 2017 UTC (6 years, 9 months ago) by jmmv
Branch: MAIN
Changes since 1.55: +1 -1 lines
FILE REMOVED

Move pkgtools/pkg_comp to pkgtools/pkg_comp1.

This is to make room for pkg_comp 2.0, which is coming soon.  The new release
is significantly different from the 1.x series in features (supports multiple
platforms, bootstrap, and pbulk) but also comes with a different configuration
syntax.

Revision 1.54.2.1 / (download) - annotate - [select for diffs], Mon Nov 23 18:46:45 2015 UTC (8 years ago) by bsiegert
Branch: pkgsrc-2015Q3
Changes since 1.54: +2 -1 lines
Diff to previous 1.54 (colored) next main 1.55 (colored)

Pullup ticket #4859 - requested by agc
pkgtools/pkg_comp: bugfix

Revisions pulled up:
- pkgtools/pkg_comp/Makefile                                    1.55
- pkgtools/pkg_comp/files/pkg_comp.8                            1.41
- pkgtools/pkg_comp/files/pkg_comp.sh                           1.43

---
   Module Name:    pkgsrc
   Committed By:   agc
   Date:           Sat Nov 21 23:10:27 UTC 2015

   Modified Files:
           pkgsrc/pkgtools/pkg_comp: Makefile
           pkgsrc/pkgtools/pkg_comp/files: pkg_comp.8 pkg_comp.sh

   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

Revision 1.55 / (download) - annotate - [select for diffs], Sat Nov 21 23:10:27 2015 UTC (8 years ago) by agc
Branch: MAIN
CVS Tags: pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4
Changes since 1.54: +2 -1 lines
Diff to previous 1.54 (colored)

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

Revision 1.54 / (download) - annotate - [select for diffs], Mon Aug 17 08:18:31 2015 UTC (8 years, 3 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2015Q3-base
Branch point for: pkgsrc-2015Q3
Changes since 1.53: +2 -2 lines
Diff to previous 1.53 (colored)

Remove references to xpkgwedge and USE_XPKGWEDGE flag.
Bump version.

Revision 1.53 / (download) - annotate - [select for diffs], Thu Oct 9 14:06:49 2014 UTC (9 years, 2 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4
Changes since 1.52: +1 -3 lines
Diff to previous 1.52 (colored)

Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles.

Revision 1.52 / (download) - annotate - [select for diffs], Mon Mar 3 04:40:47 2014 UTC (9 years, 9 months ago) by obache
Branch: MAIN
CVS Tags: pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1
Changes since 1.51: +2 -1 lines
Diff to previous 1.51 (colored)

LICENSE=modified-bsd

Revision 1.51 / (download) - annotate - [select for diffs], Mon Mar 3 03:30:54 2014 UTC (9 years, 9 months ago) by obache
Branch: MAIN
Changes since 1.50: +2 -4 lines
Diff to previous 1.50 (colored)

Just define PKGNAME and use it.

Revision 1.50 / (download) - annotate - [select for diffs], Tue Sep 11 23:19:36 2012 UTC (11 years, 2 months ago) by asau
Branch: MAIN
CVS Tags: pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2, pkgsrc-2013Q1-base, pkgsrc-2013Q1, pkgsrc-2012Q4-base, pkgsrc-2012Q4, pkgsrc-2012Q3-base, pkgsrc-2012Q3
Changes since 1.49: +1 -2 lines
Diff to previous 1.49 (colored)

"user-destdir" is default these days

Revision 1.49 / (download) - annotate - [select for diffs], Sat May 19 10:54:39 2012 UTC (11 years, 6 months ago) by jmmv
Branch: MAIN
CVS Tags: pkgsrc-2012Q2-base, pkgsrc-2012Q2
Changes since 1.48: +2 -2 lines
Diff to previous 1.48 (colored)

Update to pkg_comp 1.37:

- Add the GENERATE_PKG_SUMMARY option to tell pkg_comp to generate a
  pkg_summary.gz file in the packages directory.  Useful to later be
  able to run a packaging tool like pkgin against new binary packages.

Revision 1.48 / (download) - annotate - [select for diffs], Mon Feb 27 22:42:26 2012 UTC (11 years, 9 months ago) by jmmv
Branch: MAIN
CVS Tags: pkgsrc-2012Q1-base, pkgsrc-2012Q1
Changes since 1.47: +2 -2 lines
Diff to previous 1.47 (colored)

Update to 1.36:

- Allow specifying packages by their basename, without a category.  This
  affects the arguments to the 'build' command as well as the list of
  packages provided to AUTO_PACKAGES and BUILD_PACKAGES.

Revision 1.47 / (download) - annotate - [select for diffs], Sat Nov 13 16:23:22 2010 UTC (13 years ago) by jmmv
Branch: MAIN
CVS Tags: pkgsrc-2011Q4-base, pkgsrc-2011Q4, pkgsrc-2011Q3-base, pkgsrc-2011Q3, pkgsrc-2011Q2-base, pkgsrc-2011Q2, pkgsrc-2011Q1-base, pkgsrc-2011Q1, pkgsrc-2010Q4-base, pkgsrc-2010Q4
Changes since 1.46: +2 -2 lines
Diff to previous 1.46 (colored)

Update to 1.35:

* Fix BUILD_PACKAGES to really support multiple packages.  Reported by
  Ian D. Leroux in private mail.

Revision 1.46 / (download) - annotate - [select for diffs], Tue Jul 20 16:50:25 2010 UTC (13 years, 4 months ago) by jmmv
Branch: MAIN
CVS Tags: pkgsrc-2010Q3-base, pkgsrc-2010Q3
Changes since 1.45: +2 -2 lines
Diff to previous 1.45 (colored)

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.

Revision 1.45 / (download) - annotate - [select for diffs], Thu Apr 15 09:42:45 2010 UTC (13 years, 7 months ago) by jmmv
Branch: MAIN
CVS Tags: pkgsrc-2010Q2-base, pkgsrc-2010Q2
Changes since 1.44: +2 -2 lines
Diff to previous 1.44 (colored)

Update to 1.33:

* Make PKG_DBDIR customizable.  This sets the variable in mk.conf, in
  pkg_install.conf and in the environment.

Revision 1.44 / (download) - annotate - [select for diffs], Tue Apr 13 16:46:01 2010 UTC (13 years, 7 months ago) by jmmv
Branch: MAIN
Changes since 1.43: +2 -2 lines
Diff to previous 1.43 (colored)

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.

Revision 1.43 / (download) - annotate - [select for diffs], Thu Apr 9 00:48:12 2009 UTC (14 years, 8 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2010Q1-base, pkgsrc-2010Q1, pkgsrc-2009Q4-base, pkgsrc-2009Q4, pkgsrc-2009Q3-base, pkgsrc-2009Q3, pkgsrc-2009Q2-base, pkgsrc-2009Q2
Changes since 1.42: +1 -3 lines
Diff to previous 1.42 (colored)

Remove redundant NO_CHECKSUM and EXTRACT_ONLY definitions.

Revision 1.42 / (download) - annotate - [select for diffs], Fri Oct 10 15:56:31 2008 UTC (15 years, 2 months ago) by sborrill
Branch: MAIN
CVS Tags: pkgsrc-2009Q1-base, pkgsrc-2009Q1, pkgsrc-2008Q4-base, pkgsrc-2008Q4
Changes since 1.41: +2 -2 lines
Diff to previous 1.41 (colored)

Version 1.31 - make chroot target return its exit status

Revision 1.41 / (download) - annotate - [select for diffs], Mon Jun 16 13:19:57 2008 UTC (15 years, 5 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2008Q3-base, pkgsrc-2008Q3, pkgsrc-2008Q2-base, pkgsrc-2008Q2, cwrapper-base, cwrapper, cube-native-xorg-base, cube-native-xorg
Changes since 1.40: +3 -3 lines
Diff to previous 1.40 (colored)

Fix DESTDIR.

Revision 1.40 / (download) - annotate - [select for diffs], Thu Jun 12 02:14:42 2008 UTC (15 years, 5 months ago) by joerg
Branch: MAIN
Changes since 1.39: +3 -1 lines
Diff to previous 1.39 (colored)

Add DESTDIR support.

Revision 1.39 / (download) - annotate - [select for diffs], Sat Oct 27 17:11:24 2007 UTC (16 years, 1 month ago) by seb
Branch: MAIN
CVS Tags: pkgsrc-2008Q1-base, pkgsrc-2008Q1, pkgsrc-2007Q4-base, pkgsrc-2007Q4
Changes since 1.38: +2 -2 lines
Diff to previous 1.38 (colored)

Update to version 1.30.

Approved by MAINTAINER, jmmv@.

Add option -N: with the expection of pkgtools/libkver (see manual
page about NETBSD_RELEASE) avoid installation of default packages as well as
INSTALL_PACKAGES and BUILD_PACKAGES during the creation of the chroot.

Note: This is useful for running pbulk in a sandbox created by
pkg_comp as binary packages , possibly very low in the build
dependencies tree like pkgtools/digest, won't be built by pkg_comp
while creating the sandbox hence pbulk won't have to rebuild nearly
all packages otherwise already up-to-date.

The maintainer notes that this seems like abusing pkg_comp to just
create sandboxes. And well... yes indeed!

Revision 1.38 / (download) - annotate - [select for diffs], Sun Jan 7 09:14:08 2007 UTC (16 years, 11 months ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2007Q3-base, pkgsrc-2007Q3, pkgsrc-2007Q2-base, pkgsrc-2007Q2, pkgsrc-2007Q1-base, pkgsrc-2007Q1
Changes since 1.37: +3 -3 lines
Diff to previous 1.37 (colored)

Mechanically replaced man/* with ${PKGMANDIR}/* in the definition of
INSTALLATION_DIRS, as well as all occurrences of ${PREFIX}/man with
${PREFIX}/${PKGMANDIR}.

Fixes PR 35265, although I did not use the patch provided therein.

Revision 1.37 / (download) - annotate - [select for diffs], Sat Jun 17 12:18:24 2006 UTC (17 years, 5 months ago) by seb
Branch: MAIN
CVS Tags: pkgsrc-2006Q4-base, pkgsrc-2006Q4, pkgsrc-2006Q3-base, pkgsrc-2006Q3, pkgsrc-2006Q2-base, pkgsrc-2006Q2
Changes since 1.36: +2 -2 lines
Diff to previous 1.36 (colored)

Update to version 1.29

Ensure that libkver.so is loaded if needed via LD_PRELOAD
for all kind of commands run via the chroot target.

This fix PR pkg/32921.

Approved by MAINTAINER.

Revision 1.36 / (download) - annotate - [select for diffs], Sun Mar 12 19:36:01 2006 UTC (17 years, 9 months ago) by jmmv
Branch: MAIN
CVS Tags: pkgsrc-2006Q1-base, pkgsrc-2006Q1
Changes since 1.35: +2 -2 lines
Diff to previous 1.35 (colored)

Update to 1.28:
- PKG_SYSCONFDIR cannot be set by mk.conf; it is PKG_SYSCONFBASE.  This was
  correct in one place but incorrect in another.  Fixes PR pkg/33061 by
  Yoshito Komatsu.

Revision 1.35 / (download) - annotate - [select for diffs], Thu Feb 16 13:25:43 2006 UTC (17 years, 9 months ago) by jmmv
Branch: MAIN
Changes since 1.34: +2 -2 lines
Diff to previous 1.34 (colored)

Update to 1.27:
- Allow empty variables to be added to the mk.conf file (useful for,
  e.g., BINPKG_SITES).  Requested by Lans Nordlund in private mail.

Revision 1.34 / (download) - annotate - [select for diffs], Fri Feb 10 23:41:20 2006 UTC (17 years, 9 months ago) by salo
Branch: MAIN
Changes since 1.33: +2 -2 lines
Diff to previous 1.33 (colored)

Welcome to 1.26:

- add MAKEROOT_HOOKS, a whitespace separated list of functions
  or external scripts to be executed after the sandbox is created,
- be more verbose about hooks execution,
- run hooks only when they are defined.

ok <jmmv>

Revision 1.32.2.1 / (download) - annotate - [select for diffs], Sat Jan 7 14:21:15 2006 UTC (17 years, 11 months ago) by salo
Branch: pkgsrc-2005Q4
Changes since 1.32: +2 -2 lines
Diff to previous 1.32 (colored) next main 1.33 (colored)

Pullup ticket 1004 - requested by Stoned Elipot
bugfix update for pkg_comp

Revisions pulled up:
- pkgsrc/pkgtools/pkg_comp/Makefile		1.33
- pkgsrc/pkgtools/pkg_comp/files/pkg_comp.8	1.29
- pkgsrc/pkgtools/pkg_comp/files/pkg_comp.sh	1.27

   Module Name:		pkgsrc
   Committed By:	seb
   Date:		Fri Jan  6 23:08:51 UTC 2006

   Modified Files:
   	pkgsrc/pkgtools/pkg_comp: Makefile
   	pkgsrc/pkgtools/pkg_comp/files: pkg_comp.8 pkg_comp.sh

   Log Message:
   Update to version 1.25.

   Fix libkver support for pkg_comp's build, auto and install targets,
   Reported broken and fix tested by salo@.

   Also ensure libkver is built, if needed, even before digest.

   Approved by jmmv@

Revision 1.33 / (download) - annotate - [select for diffs], Fri Jan 6 23:08:51 2006 UTC (17 years, 11 months ago) by seb
Branch: MAIN
Changes since 1.32: +2 -2 lines
Diff to previous 1.32 (colored)

Update to version 1.25.

Fix libkver support for pkg_comp's build, auto and install targets,
Reported broken and fix tested by salo@.

Also ensure libkver is built, if needed, even before digest.

Approved by jmmv@

Revision 1.32 / (download) - annotate - [select for diffs], Wed Nov 16 01:31:35 2005 UTC (18 years ago) by seb
Branch: MAIN
CVS Tags: pkgsrc-2005Q4-base
Branch point for: pkgsrc-2005Q4
Changes since 1.31: +2 -2 lines
Diff to previous 1.31 (colored)

Update to version 1.24.

When installing libkver, as required when NETBSD_RELEASE is set
in a pkg_comp configuration, do so in a special purpose prefix and use
it from there.
This is useful when running a bulk build in the chroot or simply
removing all installed packages in it: the libkver package won't
be removed hence the chroot will still be usable.

Approved by MAINTAINER.

Revision 1.31 / (download) - annotate - [select for diffs], Sun Oct 2 09:38:39 2005 UTC (18 years, 2 months ago) by jmmv
Branch: MAIN
Changes since 1.30: +2 -2 lines
Diff to previous 1.30 (colored)

Update to 1.23:
- Sync SETS_X11's default value with recent NetBSD versions: xcontrib.tgz
  and xmisc.tgz disappeared while xetc.tgz was added, starting in NetBSD 2.0.

Revision 1.30 / (download) - annotate - [select for diffs], Tue Aug 23 14:52:58 2005 UTC (18 years, 3 months ago) by jmmv
Branch: MAIN
CVS Tags: pkgsrc-2005Q3-base, pkgsrc-2005Q3
Changes since 1.29: +2 -2 lines
Diff to previous 1.29 (colored)

Update to 1.22:
- Honour INSTALL_PACKAGES during the 'auto' target.  Found by jwise@.

Revision 1.29 / (download) - annotate - [select for diffs], Mon Jun 6 18:50:07 2005 UTC (18 years, 6 months ago) by jmmv
Branch: MAIN
CVS Tags: pkgsrc-2005Q2-base, pkgsrc-2005Q2
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored)

Update to 1.21:
- Make the EXTRA_MK variable be a list of files rather a single one.
  From brook at biology.nmsu.edu in PR pkg/30099.
- Directly recognize pkg_* commands to be executed within the sandbox
  (i.e., no need to use the chroot keyword).
  From Robert Elz in PR pkg/29749.
- Fix a typo in the manual page.

Revision 1.28 / (download) - annotate - [select for diffs], Mon Apr 11 21:47:05 2005 UTC (18 years, 8 months ago) by tv
Branch: MAIN
Changes since 1.27: +1 -2 lines
Diff to previous 1.27 (colored)

Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.

Revision 1.27 / (download) - annotate - [select for diffs], Sun Dec 12 01:04:27 2004 UTC (18 years, 11 months ago) by grant
Branch: MAIN
CVS Tags: pkgsrc-2005Q1-base, pkgsrc-2005Q1, pkgsrc-2004Q4-base, pkgsrc-2004Q4
Changes since 1.26: +2 -2 lines
Diff to previous 1.26 (colored)

fix X tarball names, we no longer have xcontrib.tgz.

fixes PR pkg/28608 from Ulrich Heilmann.

Revision 1.26 / (download) - annotate - [select for diffs], Thu Jun 10 09:16:48 2004 UTC (19 years, 6 months ago) by jmmv
Branch: MAIN
CVS Tags: pkgsrc-2004Q3-base, pkgsrc-2004Q3, pkgsrc-2004Q2-base, pkgsrc-2004Q2
Changes since 1.25: +2 -2 lines
Diff to previous 1.25 (colored)

Update to 1.19 (ok'ed by agc@, as we are in a freeze):

- Ensure that the first attempt to build pkgtools/digest inside the
  chroot works by explicitly setting PKGSRC_COMPILER to gcc (pkg_comp
  assumes NetBSD in lots of places, so this assumption is acceptable).

  It was failing because it set PKGSRC_COMPILER to the empty string in
  the environment, which breaks the build.

Revision 1.25 / (download) - annotate - [select for diffs], Fri Apr 2 18:03:01 2004 UTC (19 years, 8 months ago) by jmmv
Branch: MAIN
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored)

Update to 1.18:
- Make kern-GENERIC.tgz part of the default SETS value, so that we get a kernel
  inside the chroot.  If the user removes it from the list, and no /netbsd file
  exists after extraction, create an empty /netbsd kernel.
  This fixes packages that look for a kernel during compilation, like net-snmp.
  Found by cube@.

Revision 1.24 / (download) - annotate - [select for diffs], Wed Mar 10 13:32:39 2004 UTC (19 years, 9 months ago) by xtraeme
Branch: MAIN
CVS Tags: pkgsrc-2004Q1-base, pkgsrc-2004Q1
Changes since 1.23: +2 -1 lines
Diff to previous 1.23 (colored)

pkg_comp just works on NetBSD, so use ONLY_FOR_PLATFORM= NetBSD-*-*.

Revision 1.23 / (download) - annotate - [select for diffs], Sat Feb 21 13:08:31 2004 UTC (19 years, 9 months ago) by jmmv
Branch: MAIN
Changes since 1.22: +2 -2 lines
Diff to previous 1.22 (colored)

Update to 1.17:
- Recognize the PKGSRC_COMPILER variable and set it automatically in mk.conf.
- Add the REAL_CCACHE variable: if set, the directory pointed by it will be
  null-mounted inside the chroot in a place known by ccache to store the
  cache.  This is useful to keep it across rebuilds of the sandbox.
  Idea suggested by gavan@.

Revision 1.22 / (download) - annotate - [select for diffs], Wed Feb 11 22:53:18 2004 UTC (19 years, 9 months ago) by jmmv
Branch: MAIN
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (colored)

Update to 1.16:
- Use WRKDIR_BASENAME instead of OBJMACHINE to get a unique name of object
  directories.  This way, multiple jails can use the same pkgsrc tree with
  write access and get the right obj links.
- Fix COPYROOTCFG.

Revision 1.21 / (download) - annotate - [select for diffs], Fri Jan 23 09:48:53 2004 UTC (19 years, 10 months ago) by jmmv
Branch: MAIN
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored)

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

Revision 1.20 / (download) - annotate - [select for diffs], Tue Jan 20 12:23:57 2004 UTC (19 years, 10 months ago) by agc
Branch: MAIN
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored)

Move WRKSRC definition away from the first paragraph in a Makefile.

Revision 1.19 / (download) - annotate - [select for diffs], Thu Jan 8 14:06:15 2004 UTC (19 years, 11 months ago) by jmmv
Branch: MAIN
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored)

Update to 1.14:
- Add the AUTO_TARGET variable.  This specifies the BUILD_TARGET used during
  an automated build of packages (i.e., pkg_comp auto), so that one can use
  'bin-install'.  Suggested by gavan@.
- Fix minor bug so that a libkver package is built during makeroot.

Revision 1.18 / (download) - annotate - [select for diffs], Tue Jan 6 19:49:24 2004 UTC (19 years, 11 months ago) by jmmv
Branch: MAIN
Changes since 1.17: +6 -1 lines
Diff to previous 1.17 (colored)

Allow pkgviews installation.

Revision 1.17 / (download) - annotate - [select for diffs], Sat Jan 3 10:45:50 2004 UTC (19 years, 11 months ago) by jmmv
Branch: MAIN
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)

Update to 1.13:
- Fix detection of outdated pkg_install.  The 'grep' failed because the error
  message shown was recently changed in pkgsrc.

Revision 1.16 / (download) - annotate - [select for diffs], Fri Dec 19 09:51:55 2003 UTC (19 years, 11 months ago) by jmmv
Branch: MAIN
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

Update to 1.12:
* Add the -n flag.  When specified, do not install INSTALL_PACKAGES nor
  MAKE_PACKAGES during the creation of the chroot.

Revision 1.15 / (download) - annotate - [select for diffs], Sat Dec 13 18:29:47 2003 UTC (19 years, 11 months ago) by seb
Branch: MAIN
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

Update to version 1.11

Support pathname to configuration files, support latest libkver and
emit the usual BSD_PKG_MK ifdef protection in the generated /etc/mk.conf.

Approved by jmmv@.

Revision 1.14 / (download) - annotate - [select for diffs], Sun Sep 7 22:31:18 2003 UTC (20 years, 3 months ago) by jmmv
Branch: MAIN
CVS Tags: pkgsrc-2003Q4-base, pkgsrc-2003Q4
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

Update to 1.10:
* Sync with audit-packages: use the new pkg-vulnerabilities file.
* Check if the version of pkg_install inside the chroot is up to date before
  building anything.  If not, force a rebuild automatically.
* Disable all those ugly sync's after fsumount (were added because I had
  some strange problems, IIRC).  You can reenabled them by setting
  SYNC_UMOUNT=yes in the configuration file.

Revision 1.13 / (download) - annotate - [select for diffs], Sat Aug 30 21:11:30 2003 UTC (20 years, 3 months ago) by jmmv
Branch: MAIN
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

Update to 1.9:
- Introduce two new variables, MOUNT_SCRIPT and UMOUNT_SCRIPT, that let the
  user specify a script file run after mounting known filesystems and before
  unmounting them, respectively.  Patch by seb@, thanks!

Revision 1.12 / (download) - annotate - [select for diffs], Sun Jul 20 15:54:46 2003 UTC (20 years, 4 months ago) by jmmv
Branch: MAIN
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

Update to 1.8:
- Add the NETBSD_RELEASE variable.  This is used to automatically configure
  pkgtools/libkver inside the chroot so that packages see the right kernel
  version when issuing calls to sysctl(8).  Suggested by seb@.
- Turn on emacs editing mode by default in sh/ksh.

Revision 1.11 / (download) - annotate - [select for diffs], Fri Jul 18 12:21:38 2003 UTC (20 years, 4 months ago) by jmmv
Branch: MAIN
Changes since 1.10: +2 -4 lines
Diff to previous 1.10 (colored)

Update to 1.7:
- Added support for audit-packages.  pkg_comp will now automatically setup
  the vulnerabilities file inside the chroot so that pkgsrc can check for
  security flaws before building packages.  See the USE_AUDIT_PACKAGES
  variable in the manpage.
- Added support for gcc3.  pkg_comp will now automatically install the gcc3
  compiler inside the chroot and build all packages using it.  See the
  USE_GCC3 variable in the manpage.
- The new MKCONF_VARS variable lets you add any variable to the generated
  mk.conf file from the configuration file (no need for EXTRAMK in most
  cases).
- Deprecated the removepkgs target.  It was buggy and difficult to adapt to
  the new changes.  removeroot+makeroot should produce the same effect.
- Some code cleanup, specially regarding to template file generation and
  default values for variables.  (See next change item)
- Configuration file semantics have changed.  Variables are now set to their
  default value if they are NOT set in the configuration file.  This changes
  the behaviour of SETS_X11 specially, which needs to be explicitly set to
  "no" to disable X11.
- Fixed shell profile configuration.  Now PS1 is properly set when using the
  "chroot" target.

Revision 1.10 / (download) - annotate - [select for diffs], Thu Jul 17 22:52:14 2003 UTC (20 years, 4 months ago) by grant
Branch: MAIN
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

s/netbsd.org/NetBSD.org/

Revision 1.9 / (download) - annotate - [select for diffs], Sat Mar 29 12:42:10 2003 UTC (20 years, 8 months ago) by jmmv
Branch: MAIN
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

Place WRKSRC where it belongs, to make pkglint happy; ok'ed by wiz.

Revision 1.8 / (download) - annotate - [select for diffs], Fri Mar 28 21:14:27 2003 UTC (20 years, 8 months ago) by wiz
Branch: MAIN
Changes since 1.7: +1 -2 lines
Diff to previous 1.7 (colored)

NO_PATCH is deprecated, says pkglint. Remove it.

Revision 1.7 / (download) - annotate - [select for diffs], Fri Jan 24 09:41:27 2003 UTC (20 years, 10 months ago) by jmmv
Branch: MAIN
CVS Tags: netbsd-1-6-1-base, netbsd-1-6-1
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

Update pkg_comp to 1.6:

- Allow the user to issue any command inside the chroot environment using the
  "chroot" target, instead of only running ROOTSHELL. Patch provided by seb.

Revision 1.6 / (download) - annotate - [select for diffs], Wed Jan 8 17:57:42 2003 UTC (20 years, 11 months ago) by jmmv
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

Update pkg_comp to 1.5. Fixes:

- Check if all sets exist before extracting any of them.
- Treat EXTRAMK properly: only process the variable if it is non-empty.

Revision 1.5 / (download) - annotate - [select for diffs], Tue Dec 24 16:28:33 2002 UTC (20 years, 11 months ago) by jmmv
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

Update pkg_comp to 1.4:

- Added an EXTRAMK variable to allow the addition of any kind of stuff
  into the generated mk.conf.
- While creating the template, quote ${LOCALBASE} so it does not get
  replaced. Reported by Douglas Brebner in PR pkg/19509.

Revision 1.4 / (download) - annotate - [select for diffs], Thu Dec 19 14:47:04 2002 UTC (20 years, 11 months ago) by jmmv
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

Update pkg_comp to 1.3:

- Added ability to tune LOCALBASE and PKG_SYSCONFBASE.
- Deprecated PTHREAD_TYPE variable, not useful any more.
- Multiple error checking (directory presence) added.
- Several bugfixes (specially in removepkgs target).
- Replaced "echo -n" with "printf" (more portable).
- Replaced "! -z" with "-n" when doing tests.
- Changed my email address to the NetBSD one.

Revision 1.3 / (download) - annotate - [select for diffs], Sat Dec 14 23:27:50 2002 UTC (20 years, 11 months ago) by jmmv
Branch: MAIN
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored)

Quote $? variable in a here document, so it is not expanded during its
generation. Pointed out by Stoned Elipot. Bump version to 1.2.

Revision 1.2 / (download) - annotate - [select for diffs], Wed Sep 25 18:57:49 2002 UTC (21 years, 2 months ago) by wiz
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

Bump version number for man page fix.

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sat Sep 7 00:08:35 2002 UTC (21 years, 3 months ago) by rh
Branch: TNF
CVS Tags: pkgsrc-base
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

Initial import of pkg_comp-1.0, a utility that allows retargetable package
building in chrooted environments.
Provided in PR pkg/17986 by Julio Merino <jmmv@hispabsd.org>

Revision 1.1 / (download) - annotate - [select for diffs], Sat Sep 7 00:08:35 2002 UTC (21 years, 3 months ago) by rh
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>