Commit graph

16 commits

Author SHA1 Message Date
jlam
e27e938083 Fix broken build by adding missing directory permissions. 2017-05-29 23:07:49 +00:00
jlam
3a4639d5e8 Fix ownership of ${VARBASE}/cache/sysupgrade.
Fix case where OWN_DIRS_PERMS obviously was intended instead of OWN_DIRS.
Also use ${REAL_ROOT_USER}:${REAL_ROOT_GROUP} instead of hardcoding
root:wheel.

Bump PKGREVISION for fixes that changed binary package.
2017-05-29 18:56:49 +00:00
maya
6a4ca3c8c9 sysupgrade: don't reject https. bump PKGREVISION. 2017-03-20 00:25:35 +00:00
wiz
43aa7db263 Use standard way to test for options. 2016-12-31 09:39:31 +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
jmmv
c3eef6a9f2 Update to 1.5:
Released on 2013-07-28.

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

* Moved the sysupgrade script from bin to sbin.
2013-07-28 23:37:14 +00:00
jmmv
05d94575a4 Fix typo. Reported by reed@ in private mail. 2013-02-16 11:17:19 +00:00
asau
54c5cd959e Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-23 19:50:50 +00:00
wiz
894908659a Add RCS Id, remove dot at end of SEE ALSO. 2012-10-11 07:56:13 +00:00
jmmv
ee6a10a414 Update to 1.4:
- Add support to fetch release sets via ssh.
2012-10-11 00:16:46 +00:00
jmmv
71848e1392 Update to 1.3:
- ftp(1) in NetBSD 1.5.2 does not support using -R on files that do not
  exist yet.  Avoid using this option unless necessary.
- httpd(8) in NetBSD 1.5.2 does not support the -P option.  Skip the http
  test unless this option is present, as otherwise we cannot easily kill
  the spawned httpd instance on a test failure.
2012-09-07 12:48:32 +00:00
jmmv
1a7b5cf03e Update to 1.2:
- Use netbsd-*.gz files to install the kernel rather than kern-*.tgz sets.
  This lets sysupgrade work in conjunction with the "releasekernel" target
  of build.sh, as this generates the former instead of the latter.

- Preserve timestamps of the kernel when backing it up as onetbsd.

- Fix some tests to not rely on the current state of the system (the cache
  directory and the autodetection of KERNEL).
2012-08-25 01:57:27 +00:00
jmmv
96944d9ddc Update to 1.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:21:15 +00:00
jmmv
49488a9935 Initial addition of sysupgrade, version 1.0:
sysupgrade is a script to automate NetBSD system upgrades.  sysupgrade
works by first fetching distribution sets from a specified site or local
directory, then by upgrading the system using such distribution sets and
later by ensuring that the system configuration is up to date.  All the
process is controlled by a configuration file, and the defaults should
suit the most common NetBSD upgrades.

sysupgrade can be used to perform upgrades across different system major
and/or minor versions, and it can also be used to track a stable or
development branch from the CVS repository.

sysbuild is the perfect companion to sysupgrade in those cases where you
want to roll your own binaries: both utilities share a very similar
command-line and configuration interface, and the default configuration
files provide examples on how to integrate one with the other.

A few notes about the import:

Right after I submitted sysbuild, I was pointed at etcmanage and its
scripts to build and upgrade NetBSD.  I am sending this anyway because
1) it matches sysbuild's behavior closely, 2) it has a detailed manual
page, 3) it has tests... and, well, 4) I had already written most of it
at that time and didn't want to throw it away!

The config and utils modules in this import are a duplicate of the code
in sysbuild, with a few tweaks.  This is really bad and the code should
be deduplicated somehow.  I'm not sure what the best way of doing so is
and can only think about introducing a common base package with the
shared code (which brings its own problems).

I have tested this to upgrade both -current and 6.0_BETA2 to newer
snapshots, both from local and remote release files.
2012-08-06 17:06:17 +00:00