The NetBSD Project

CVS log for pkgsrc/sysutils/sysupgrade/Makefile

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

Request diff between arbitrary revisions

Default branch: MAIN
Current tag: MAIN

Revision 1.13 / (download) - annotate - [select for diffs], Mon May 29 23:07:49 2017 UTC (11 months, 3 weeks ago) by jlam
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-, HEAD
Changes since 1.12: +3 -2 lines
Diff to previous 1.12 (colored)

Fix broken build by adding missing directory permissions.

Revision 1.12 / (download) - annotate - [select for diffs], Mon May 29 18:56:49 2017 UTC (11 months, 3 weeks ago) by jlam
Branch: MAIN
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored)

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

Bump PKGREVISION for fixes that changed binary package.

Revision 1.11 / (download) - annotate - [select for diffs], Mon Mar 20 00:25:35 2017 UTC (14 months ago) by maya
Branch: MAIN
CVS Tags: pkgsrc-2017Q1-base, pkgsrc-2017Q1
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

sysupgrade: don't reject https. bump PKGREVISION.

Revision 1.10 / (download) - annotate - [select for diffs], Sat Dec 31 09:39:31 2016 UTC (16 months, 2 weeks ago) by wiz
Branch: MAIN
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

Use standard way to test for options.

Revision 1.9 / (download) - annotate - [select for diffs], Thu Oct 9 14:07:00 2014 UTC (3 years, 7 months ago) by wiz
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, pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4
Changes since 1.8: +1 -3 lines
Diff to previous 1.8 (colored)

Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles.

Revision 1.8 / (download) - annotate - [select for diffs], Sat Feb 8 15:59:30 2014 UTC (4 years, 3 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.7: +3 -3 lines
Diff to previous 1.7 (colored)

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

Revision 1.7 / (download) - annotate - [select for diffs], Sun Jul 28 23:37:14 2013 UTC (4 years, 9 months ago) by jmmv
Branch: MAIN
CVS Tags: pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3
Changes since 1.6: +15 -51 lines
Diff to previous 1.6 (colored)

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.

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

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

Revision 1.5 / (download) - annotate - [select for diffs], Thu Oct 11 00:16:46 2012 UTC (5 years, 7 months ago) by jmmv
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

Update to 1.4:

- Add support to fetch release sets via ssh.

Revision 1.4 / (download) - annotate - [select for diffs], Fri Sep 7 12:48:32 2012 UTC (5 years, 8 months ago) by jmmv
Branch: MAIN
CVS Tags: pkgsrc-2012Q3-base, pkgsrc-2012Q3
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

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.

Revision 1.3 / (download) - annotate - [select for diffs], Sat Aug 25 01:57:27 2012 UTC (5 years, 8 months ago) by jmmv
Branch: MAIN
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

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

Revision 1.2 / (download) - annotate - [select for diffs], Wed Aug 15 21:21:15 2012 UTC (5 years, 9 months ago) by jmmv
Branch: MAIN
Changes since 1.1: +15 -23 lines
Diff to previous 1.1 (colored)

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.

Revision 1.1 / (download) - annotate - [select for diffs], Mon Aug 6 17:06:17 2012 UTC (5 years, 9 months ago) by jmmv
Branch: MAIN

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.

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