aboutsummaryrefslogtreecommitdiff
path: root/UPDATING
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2017-01-17 15:49:16 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2017-01-17 15:49:16 +0000
commit2357d7357b4558c7f4db06d3bf9ccf4f723ea08f (patch)
tree5a0aca17cf57ad1ab1cc8138b7ccb9d9809d18e7 /UPDATING
parent6733a64703f1bd7df103f91ce34ca607f67507a6 (diff)
downloadports-2357d7357b4558c7f4db06d3bf9ccf4f723ea08f.tar.gz
ports-2357d7357b4558c7f4db06d3bf9ccf4f723ea08f.zip
- Refuse (overridable) to build ports on unsupported system version
Unfortunately, it's not uncommon for FreeBSD users to not update their systems timely and thus end up using unsupported FreeBSD release. These users continue to update ports tree as usual and expect it to work, either unaware of the release EoL, or not clearly understanding the consequences, which results in unexpected build failures, bogus bug reports, attempts to bring back removed legacy support bits and general discontent. This change introduces system version check which makes ports refuse to build anything on unsupported system. This makes users aware of EoL of their system and makes it clear that no port is guaranteed to build. The error message tells how to override the check (by defining ALLOW_UNSUPPORTED_SYSTEM, in which case it's turned into a simple warning), additionally stressing that this configurartion is not supported. Currently outdated are OSVERSION < 1003000 (pre 10.3-RELEASE) and 1100000 <= OSVERSION < 1100122 (from 11-CURRENT'2013 to 11.0-PRERELEASE) I expect these to be kept up to date with base system lifetimes, be updated BEFORE removing any support for outdated release from the tree and also serve as a reference of which OSVERSION checks may be removed. Approved by: portmgr (swills, mat) Differential Revision: D9210
Notes
Notes: svn path=/head/; revision=431746
Diffstat (limited to 'UPDATING')
-rw-r--r--UPDATING10
1 files changed, 10 insertions, 0 deletions
diff --git a/UPDATING b/UPDATING
index c5d05868f517..0a835addf78a 100644
--- a/UPDATING
+++ b/UPDATING
@@ -5,6 +5,16 @@ they are unavoidable.
You should get into the habit of checking this file for changes each time
you update your ports collection, before attempting any port upgrades.
+20170117:
+ AFFECTS: users of EoL'ed FreeBSD versions (<10.3, 11 prior to 11.0)
+ AUTHOR: amdmi3@FreeBSD.org
+
+ The ports system will now refuse to build anything if it's run on
+ outdated system version. This protects users from unexpected build
+ failures after code to support EoL'ed systems is removed from the
+ tree. You may define ALLOW_UNSUPPORTED_SYSTEM to override this and
+ allow builds, but no support will be provided in case of failures.
+
20170116:
AFFECTS: users of java/wildfly10
AUTHOR: olgeni@FreeBSD.org