The NetBSD Project

CVS log for pkgsrc/sysutils/sysupgrade/Makefile

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / sysutils / sysupgrade

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.20 / (download) - annotate - [select for diffs], Fri Apr 15 09:10:56 2022 UTC (2 years ago) by nia
Branch: MAIN
CVS Tags: pkgsrc-2024Q1-base, pkgsrc-2024Q1, pkgsrc-2023Q4-base, pkgsrc-2023Q4, 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.19: +2 -2 lines
Diff to previous 1.19 (colored)

sysupgrade: Infer default archive extension based on the CPU architecture.

Revision 1.19 / (download) - annotate - [select for diffs], Fri Apr 15 08:07:25 2022 UTC (2 years ago) by nia
Branch: MAIN
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored)

sysupgrade: protect against failures when /usr/sbin is not in PATH

Revision 1.18 / (download) - annotate - [select for diffs], Sun Mar 14 08:44:01 2021 UTC (3 years, 1 month ago) by nia
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
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

sysupgrade: More useful example URLs.

Revision 1.17 / (download) - annotate - [select for diffs], Wed Oct 21 21:34:21 2020 UTC (3 years, 5 months ago) by kamil
Branch: MAIN
CVS Tags: pkgsrc-2020Q4-base, pkgsrc-2020Q4
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)

sysupgrade: Switch the default case to .tar.xz sets

The .tgz users can tune it setting ARCHIVE_EXTENSION.

Revision 1.16 / (download) - annotate - [select for diffs], Wed Oct 14 09:50:49 2020 UTC (3 years, 6 months ago) by maya
Branch: MAIN
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

sysupgrade: rm *${arch_ext} as well as *gz, not in place of.

PKGREVISION++

Revision 1.15 / (download) - annotate - [select for diffs], Tue Oct 13 00:50:08 2020 UTC (3 years, 6 months ago) by maya
Branch: MAIN
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

sysupgrade: PKGREVISION->5, handle ARCHIVE_EXTENSION also in sysupgrade clean

From Sunil Nimmagadda in PR pkg/55713

Revision 1.14 / (download) - annotate - [select for diffs], Mon Jun 3 20:35:55 2019 UTC (4 years, 10 months ago) by triaxx
Branch: MAIN
CVS Tags: 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
Changes since 1.13: +3 -4 lines
Diff to previous 1.13 (colored)

Add variable for archive file extension

Fix PR pkg/53697

Revision 1.13 / (download) - annotate - [select for diffs], Mon May 29 23:07:49 2017 UTC (6 years, 10 months ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2019Q1-base, pkgsrc-2019Q1, 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, pkgsrc-2017Q2-base, pkgsrc-2017Q2
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 (6 years, 10 months 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
root:wheel.

Bump PKGREVISION for fixes that changed binary package.

Revision 1.11 / (download) - annotate - [select for diffs], Mon Mar 20 00:25:35 2017 UTC (7 years 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 (7 years, 3 months 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 (9 years, 6 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 (10 years, 2 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 (10 years, 8 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 (11 years, 5 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 (11 years, 6 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 (11 years, 7 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 (11 years, 7 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 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).

Revision 1.2 / (download) - annotate - [select for diffs], Wed Aug 15 21:21:15 2012 UTC (11 years, 8 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 (11 years, 8 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 <webmaster@jp.NetBSD.org>