Commit graph

36 commits

Author SHA1 Message Date
wiz
43aa7db263 Use standard way to test for options. 2016-12-31 09:39:31 +00:00
jmmv
32c18ca4cf 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.
2016-02-01 03:21:30 +00:00
agc
17886c78da Add SHA512 digests for distfiles for sysutils category
Problems found with existing digests:
	Package memconf distfile memconf-2.16/memconf.gz
	b6f4b736cac388dddc5070670351cf7262aba048 [recorded]
	95748686a5ad8144232f4d4abc9bf052721a196f [calculated]

Problems found locating distfiles:
	Package dc-tools: missing distfile dc-tools/abs0-dc-burn-netbsd-1.5-0-gae55ec9
	Package ipw-firmware: missing distfile ipw2100-fw-1.2.tgz
	Package iwi-firmware: missing distfile ipw2200-fw-2.3.tgz
	Package nvnet: missing distfile nvnet-netbsd-src-20050620.tgz
	Package syslog-ng: missing distfile syslog-ng-3.7.2.tar.gz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-04 01:32:05 +00:00
wiz
cda18437be Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles. 2014-10-09 14:05:50 +00:00
jmmv
48d213c936 Depend on atf 0.20 (not atf-libs) and bump PKGREVISION. 2014-02-08 15:59:30 +00:00
reed
64370e8b19 fix date of NetBSD 1.6 release 2014-01-30 20:23:54 +00:00
jmmv
141ac73130 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.
2013-07-28 23:32:58 +00:00
jmmv
238ad98661 Fix comment: configuration variables were moved to sysbuild.conf(5). 2013-06-19 02:11:24 +00:00
jmmv
d085b94480 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.
2013-06-18 13:24:55 +00:00
jmmv
339f37e01b 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.
2013-03-08 17:47:25 +00:00
asau
54c5cd959e Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-23 19:50:50 +00:00
jmmv
dc3395ffa8 Update to 2.4:
- Add a MKVARS variable to pass arbitrary variables to build.sh through -V.
  E.g. MKVARS="MKDEBUG=yes".
- Move the documentation of the configuration file to a new sysbuild.conf(5).
2012-10-13 18:40:33 +00:00
jmmv
b056a4db6c 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.
2012-08-25 19:20:53 +00:00
jmmv
a65b2254d9 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.
2012-08-23 02:26:56 +00:00
jmmv
9430168fbe 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.
2012-08-15 21:20:14 +00:00
wiz
736976121b Use Nx for NetBSD. Add RCS Id. Remove dot at end of SEE ALSO. 2012-08-11 19:32:50 +00:00
jmmv
b54fe7f6cb Minor mdoc fix. 2012-08-11 17:33:27 +00:00
jmmv
49f4ea5dba 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 (build.sh) 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
build.sh: 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 build.sh to simplify their daily tasks.

sysbuild extends build.sh 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
user.

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.
2012-07-25 12:18:22 +00:00
kristerw
404fd457e6 Remove obsolete package, per discussion on tech-pkg. 2004-06-01 21:51:46 +00:00
agc
3ad1bdbf06 Move WRKSRC definition away from the first paragraph in a Makefile. 2004-01-20 12:18:15 +00:00
grant
ca3be631f2 s/netbsd.org/NetBSD.org/ 2003-07-17 22:50:55 +00:00
jmmv
0916498c1b Place WRKSRC where it belongs, to make pkglint happy; ok'ed by wiz. 2003-03-29 12:40:00 +00:00
wiz
28a4483bc7 NO_PATCH is deprecated, says pkglint. Remove it. 2003-03-28 21:14:10 +00:00
jlam
d7f69e47ce Instead of including bsd.pkg.install.mk directly in a package Makefile,
have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set
to "YES".  This enforces the requirement that bsd.pkg.install.mk be
included at the end of a package Makefile.  Idea suggested by Julio M.
Merino Vidal <jmmv at menta.net>.
2003-01-28 22:03:00 +00:00
wiz
b82840a358 Remove superfluous Ns. 2003-01-08 17:48:16 +00:00
jmmv
66c99d3a13 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 build.sh to create and use a nbmake wrapper.
2003-01-08 17:45:09 +00:00
jmmv
7b0d65dece 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.
2003-01-01 21:16:52 +00:00
jmmv
fad8adc322 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).
2002-12-28 14:58:31 +00:00
jmmv
97998d0bce Fix typo: NO_PATH -> NO_PATCH 2002-12-19 14:23:00 +00:00
jmmv
f27242496f Update sysbuild to 1.6:
- When running install-kernel, unset DESTDIR variable so kernel is placed
  in the right location.
2002-12-19 12:55:56 +00:00
jmmv
5e13ca1257 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
  mount_union(8)).
- Added install-x-sets target to install the sets built by build-x-release.
2002-12-18 11:28:08 +00:00
jmmv
bcb2e0c6bc Update sysbuild to 1.4.
Change since 1.3: Set BSDSRCDIR, OBJMACHINE and MKOBJDIRS when calling
build.sh and nbmake, so object directories are created in the right place,
not inside the sources.
2002-12-14 23:23:08 +00:00
jmmv
c8c69a55da 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).
2002-12-08 11:37:18 +00:00
jmmv
9c07130745 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 build.sh) and also makes kernel builds
  faster.
* 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).
2002-12-01 19:39:49 +00:00
jmmv
d6833f77dc 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
TOOLDIR).

Bump version to 1.1.
2002-11-30 15:50:16 +00:00
jmmv
b8aab8e1f0 Initial import of sysbuild-1.0. Description follows:
sysbuild is a script that simplifies the process of building NetBSD
releases and kernels as an unprivileged user. It should be clear enough
that it does not add any kind of magic to the NetBSD build system. It
just automates boring steps, like setup of permissions, directories,
execution of the build process, etc. It also provides enough
functionality to automatically update CVS source trees.

sysbuild can be easily used from command line or as a cron job, so
you can schedule most of the build jobs (really, it has been designed
to run perfectly from cron).

Approved by wiz.
2002-11-28 19:57:28 +00:00