The NetBSD Project

CVS log for pkgsrc/sysutils/sysbuild/Makefile

[BACK] Up to [] / pkgsrc / sysutils / sysbuild

Request diff between arbitrary revisions

Default branch: MAIN
Current tag: MAIN

Revision 1.30 / (download) - annotate - [select for diffs], Sat Dec 31 09:39:31 2016 UTC (17 months, 3 weeks ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-, HEAD
Changes since 1.29: +2 -2 lines
Diff to previous 1.29 (colored)

Use standard way to test for options.

Revision 1.29 / (download) - annotate - [select for diffs], Mon Feb 1 03:21:30 2016 UTC (2 years, 4 months ago) by jmmv
Branch: MAIN
CVS Tags: pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored)

Fix path to sysbuild in sysbuild4cron.

This is a pull-up of upstream 1eb74a64b213d0e4e6a98955169fae76b1c563e0
which was committed on 2014-07-01 but never checked in here (nor I have
released another distfile yet).

Bump PKGREVISION to 2 for this fix.

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

Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles.

Revision 1.27 / (download) - annotate - [select for diffs], Sat Feb 8 15:59:30 2014 UTC (4 years, 4 months ago) by jmmv
Branch: MAIN
CVS Tags: pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1
Changes since 1.26: +3 -3 lines
Diff to previous 1.26 (colored)

Depend on atf 0.20 (not atf-libs) and bump PKGREVISION.

Revision 1.26 / (download) - annotate - [select for diffs], Sun Jul 28 23:32:58 2013 UTC (4 years, 10 months ago) by jmmv
Branch: MAIN
CVS Tags: pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3
Changes since 1.25: +13 -67 lines
Diff to previous 1.25 (colored)

Update to 2.7:

Released on 2013-07-28.

* Sources migrated to a GitHub project from the previous copy in
  the pkgsrc repository.  sysbuild is now a first-class package and
  includes a traditional build system based on automake and autoconf.

Revision 1.25 / (download) - annotate - [select for diffs], Tue Jun 18 13:24:55 2013 UTC (5 years ago) by jmmv
Branch: MAIN
CVS Tags: pkgsrc-2013Q2-base, pkgsrc-2013Q2
Changes since 1.24: +3 -3 lines
Diff to previous 1.24 (colored)

Update to 2.6:

- Fix the default configuration file to populate CVSTAG correctly when
  using a CVS/Tag file.
- Ensure that errors from CVS stop execution.

Problem reported by Nathan Arthur in private mail.  Change OKed by pmc.

Revision 1.24 / (download) - annotate - [select for diffs], Fri Mar 8 17:47:25 2013 UTC (5 years, 3 months ago) by jmmv
Branch: MAIN
CVS Tags: pkgsrc-2013Q1-base, pkgsrc-2013Q1
Changes since 1.23: +3 -2 lines
Diff to previous 1.23 (colored)

Update to 2.5:

- Added support for pre/post fetch/build hooks so that, for example, rsync
  can be used to push the results of a successful build to a remote server.

Revision 1.23 / (download) - annotate - [select for diffs], Tue Oct 23 19:51:25 2012 UTC (5 years, 7 months ago) by asau
Branch: MAIN
CVS Tags: pkgsrc-2012Q4-base, pkgsrc-2012Q4
Changes since 1.22: +1 -2 lines
Diff to previous 1.22 (colored)

Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.

Revision 1.22 / (download) - annotate - [select for diffs], Sat Oct 13 18:40:33 2012 UTC (5 years, 8 months ago) by jmmv
Branch: MAIN
Changes since 1.21: +6 -4 lines
Diff to previous 1.21 (colored)

Update to 2.4:

- Add a MKVARS variable to pass arbitrary variables to through -V.
  E.g. MKVARS="MKDEBUG=yes".
- Move the documentation of the configuration file to a new sysbuild.conf(5).

Revision 1.21 / (download) - annotate - [select for diffs], Sat Aug 25 19:20:53 2012 UTC (5 years, 9 months ago) by jmmv
Branch: MAIN
CVS Tags: pkgsrc-2012Q3-base, pkgsrc-2012Q3
Changes since 1.20: +10 -4 lines
Diff to previous 1.20 (colored)

Update to 2.3:

- Added the 'env' command.  This prints a small shell snippet that can be
  imported into the current shell.  The printed code defines a set of
  convenience global variables and functions to work with the source tree.

Revision 1.20 / (download) - annotate - [select for diffs], Thu Aug 23 02:26:56 2012 UTC (5 years, 10 months ago) by jmmv
Branch: MAIN
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored)

Update to 2.2:

- Add support to specify per-machine targets by prefixing the targets in
  BUILD_TARGETS by the machine they correspond to.  Useful, for example,
  to build different kernels depending on the machine type.

Revision 1.19 / (download) - annotate - [select for diffs], Wed Aug 15 21:20:14 2012 UTC (5 years, 10 months ago) by jmmv
Branch: MAIN
Changes since 1.18: +11 -14 lines
Diff to previous 1.18 (colored)

Update to 2.1:

- Use shtk for the common utilities and configuration file parsing
  functionality.  The local copies of the "config" and "utils" modules
  are gone.

Revision 1.18 / (download) - annotate - [select for diffs], Wed Jul 25 12:18:22 2012 UTC (5 years, 10 months ago) by jmmv
Branch: MAIN
Changes since 1.17: +74 -53 lines
Diff to previous 1.17 (colored)

Initial (re)addition of sysbuild, version 2.0:

sysbuild is a tool to automate the maintenance of the NetBSD sources and
the build of releases by means of a single command and a configuration
file that tells sysbuild what to do.

Since NetBSD 1.6 (released on July 2011), the source tree has included a
very flexible script ( to build a full NetBSD release for the
current platform or to cross-build for any of the supported platforms.

The flipside of the flexibility is that the script is inconvenient to use
on a daily basis because of the myriad of options it takes.  Furthermore,
managing the source trees that make up NetBSD is not in the scope of the user must fetch these trees and keep them up to date by hand.

While these details are all fine on their own, rebuilding NetBSD frequently
(to keep a system up to date, or just for development tasks) is convoluted.
Developers and users usually find themselves writing their own wrapper
scripts over to simplify their daily tasks.

sysbuild extends by adding support for configuration files and
source tree management, allowing NetBSD rebuilds with a single and simple
command.  Make sure to check the sysbuild-user package for a way to
trivially set up periodic NetBSD rebuilds under an dedicated, unprivileged

This is version 2.0 because sysbuild already existed 10 years ago.  It
served the same purpose, but it was removed because it stopped working
with NetBSD 2.0 (can't remember why though).  Also, I'm convinced the
previous implementation was quite bad.

Revision 1.17, Tue Jun 1 21:51:46 2004 UTC (14 years ago) by kristerw
Branch: MAIN
CVS Tags: pkgsrc-2011Q4-base, pkgsrc-2011Q4, pkgsrc-2011Q2-base, pkgsrc-2011Q2, pkgsrc-2009Q4-base, pkgsrc-2009Q4, pkgsrc-2008Q4-base, pkgsrc-2008Q4, pkgsrc-2008Q3-base, pkgsrc-2008Q3, pkgsrc-2008Q2-base, pkgsrc-2008Q2, pkgsrc-2008Q1-base, pkgsrc-2008Q1, pkgsrc-2007Q4-base, pkgsrc-2007Q4, pkgsrc-2007Q3-base, pkgsrc-2007Q3, pkgsrc-2007Q2-base, pkgsrc-2007Q2, pkgsrc-2007Q1-base, pkgsrc-2007Q1, pkgsrc-2006Q4-base, pkgsrc-2006Q4, pkgsrc-2006Q3-base, pkgsrc-2006Q3, pkgsrc-2006Q2-base, pkgsrc-2006Q2, pkgsrc-2006Q1-base, pkgsrc-2006Q1, pkgsrc-2005Q4-base, pkgsrc-2005Q4, pkgsrc-2005Q3-base, pkgsrc-2005Q3, pkgsrc-2005Q2-base, pkgsrc-2005Q2, pkgsrc-2005Q1-base, pkgsrc-2005Q1, pkgsrc-2004Q4-base, pkgsrc-2004Q4, pkgsrc-2004Q3-base, pkgsrc-2004Q3, pkgsrc-2004Q2-base, pkgsrc-2004Q2, cube-native-xorg-base, cube-native-xorg
Changes since 1.16: +1 -1 lines

Remove obsolete package, per discussion on tech-pkg.

Revision 1.16 / (download) - annotate - [select for diffs], Tue Jan 20 12:26:16 2004 UTC (14 years, 5 months ago) by agc
Branch: MAIN
CVS Tags: pkgsrc-2004Q1-base, pkgsrc-2004Q1
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

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

Revision 1.15 / (download) - annotate - [select for diffs], Thu Jul 17 22:53:53 2003 UTC (14 years, 11 months ago) by grant
Branch: MAIN
CVS Tags: pkgsrc-2003Q4-base, pkgsrc-2003Q4
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)


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

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

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

NO_PATCH is deprecated, says pkglint. Remove it.

Revision 1.12 / (download) - annotate - [select for diffs], Tue Jan 28 22:04:18 2003 UTC (15 years, 4 months ago) by jlam
Branch: MAIN
CVS Tags: netbsd-1-6-1-base, netbsd-1-6-1
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

Instead of including directly in a package Makefile,
have it be automatically included by if USE_PKGINSTALL is set
to "YES".  This enforces the requirement that be
included at the end of a package Makefile.  Idea suggested by Julio M.
Merino Vidal <jmmv at>.

Revision 1.11 / (download) - annotate - [select for diffs], Wed Jan 8 17:45:09 2003 UTC (15 years, 5 months ago) by jmmv
Branch: MAIN
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

Update sysbuild to 1.9. Changes include:

- Addition of a new variable, MACHINE, which is used to tell the program
  the machine name. This is needed since NetBSD-current now automatically
  adds this value to RELEASEDIR.
- Properly pass RELEASEDIR's value to make when building an X release
  (pointed out by Douglas Brebner in private mail).
- Update the TODO list in the manpage: remove the X11R6 item and add a new
  one about using to create and use a nbmake wrapper.

Revision 1.10 / (download) - annotate - [select for diffs], Wed Jan 1 21:16:52 2003 UTC (15 years, 5 months ago) by jmmv
Branch: MAIN
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

Update sysbuild to 1.8:

- When calling MOUNT_PRECMD, do not quote its arguments, so the pre-command
  can determine which is the program that needs to be executed. Pointed out
  by Douglas Brebner in private mail.

Revision 1.9 / (download) - annotate - [select for diffs], Sat Dec 28 14:58:31 2002 UTC (15 years, 5 months ago) by jmmv
Branch: MAIN
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

Update sysbuild to 1.7:

- Set DESTDIR properly while building toolchain.
- Create HOMEDIR if not exists when copying the sample configuration file
  (by the config target).

Revision 1.8 / (download) - annotate - [select for diffs], Thu Dec 19 14:23:00 2002 UTC (15 years, 6 months ago) by jmmv
Branch: MAIN
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

Fix typo: NO_PATH -> NO_PATCH

Revision 1.7 / (download) - annotate - [select for diffs], Thu Dec 19 12:55:56 2002 UTC (15 years, 6 months ago) by jmmv
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

Update sysbuild to 1.6:

- When running install-kernel, unset DESTDIR variable so kernel is placed
  in the right location.

Revision 1.6 / (download) - annotate - [select for diffs], Wed Dec 18 11:28:08 2002 UTC (15 years, 6 months ago) by jmmv
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

Update sysbuild to 1.5. Changes in this version:

- Added build-x-release target to build a full X11R6 binary snapshot. The
  process works as an unprivileged user, keeping sources clean (using
- Added install-x-sets target to install the sets built by build-x-release.

Revision 1.5 / (download) - annotate - [select for diffs], Sat Dec 14 23:23:08 2002 UTC (15 years, 6 months ago) by jmmv
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

Update sysbuild to 1.4.

Change since 1.3: Set BSDSRCDIR, OBJMACHINE and MKOBJDIRS when calling and nbmake, so object directories are created in the right place,
not inside the sources.

Revision 1.4 / (download) - annotate - [select for diffs], Sun Dec 8 11:37:18 2002 UTC (15 years, 6 months ago) by jmmv
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

Update sysbuild to 1.3.

Changes since 1.2:
- Fixed several bugs in fast mode `-f' (directories were cleaned even if
  this flag was given, so it was of no use).
- Ability to keep tools while cleaning (KEEP_TOOLS variable); rebuild them
  only when necessary (not found).
- When directly calling "make" or "config", use the binaries in the TOOLDIR
  directory, not the ones of the current system.
- Fixed a typo in usage (pointed by Sergio Jiménez).

Revision 1.3 / (download) - annotate - [select for diffs], Sun Dec 1 19:39:50 2002 UTC (15 years, 6 months ago) by jmmv
Branch: MAIN
Changes since 1.2: +5 -2 lines
Diff to previous 1.2 (colored)

Update sysbuild to 1.2.

Changes in this version include:
* New flag `-f' (fast mode). This allows setting the UPDATE variable
  during builds (`-u' option of and also makes kernel builds
* New target config-kernel. This makes it easy to modify kernel
  configuration files interactively.
* Do not create sysbuild user's home directory during installation, to
  avoid hardcoding the /etc/skel path in the INSTALL script. Instead,
  provide a sample (and simple) `profile' file that is installed in
  the examples directory and is copied to the right place during the
  `init' target (suggested by jlam).
* Use `printf' instead of `echo -n' (the later is not well supported
  under some systems, like Solaris).

Revision 1.2 / (download) - annotate - [select for diffs], Sat Nov 30 15:50:16 2002 UTC (15 years, 6 months ago) by jmmv
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

During the build-sets target, sysbuild directly calls `make sets' inside
distrib/sets. This call requires TOOLDIR to be set accordingly so that
make can find sysbuild compiled tools. Reported by Sergio Jiménez (sjr at
hispabsd dot org).

Also add a note in the manpage telling the user to use ?= in his mk.conf,
so that sysbuild can override the values there (specially for things like

Bump version to 1.1.

Revision 1.1 / (download) - annotate - [select for diffs], Thu Nov 28 19:57:28 2002 UTC (15 years, 6 months ago) by jmmv
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 <>