aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-11-24 13:10:26 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-11-26 19:57:51 +0000
commit6e3887a5d3ce3430e460efabaa4d7f3af22bab02 (patch)
tree9429b79bb84580df8ed9b46a69419ff214874e66
parentc64d62c1b4fd8269cc57c35d28682b8babfc91b5 (diff)
downloadports-6e3887a5d3ce3430e460efabaa4d7f3af22bab02.tar.gz
ports-6e3887a5d3ce3430e460efabaa4d7f3af22bab02.zip
lang/php* : Change default to 8.2
As active support of php81 ends on 25th November, 2023 it's time to switch the default version to 8.2. See https://www.php.net/supported-versions.php for more details. PR: 274463 Approved by: portmgr (exp-run)
-rw-r--r--Mk/Uses/php.mk4
-rw-r--r--Mk/bsd.default-versions.mk2
-rw-r--r--UPDATING16
3 files changed, 19 insertions, 3 deletions
diff --git a/Mk/Uses/php.mk b/Mk/Uses/php.mk
index fa474064b649..02799c592945 100644
--- a/Mk/Uses/php.mk
+++ b/Mk/Uses/php.mk
@@ -193,8 +193,8 @@ PHP_EXT_DIR= 20200930
PHP_EXT_INC= hash json openssl pcre spl
. else
# (rene) default to DEFAULT_VERSIONS
-PHP_EXT_DIR= 20210902
-PHP_EXT_INC= hash json openssl pcre spl
+PHP_EXT_DIR= 20220829
+PHP_EXT_INC= hash json openssl pcre random spl
. endif
# Try to figure out what the PHP_EXT_DIR should be WRT the
diff --git a/Mk/bsd.default-versions.mk b/Mk/bsd.default-versions.mk
index 9fd89bc71fb7..580a5be8c7c8 100644
--- a/Mk/bsd.default-versions.mk
+++ b/Mk/bsd.default-versions.mk
@@ -131,7 +131,7 @@ PERL5_DEFAULT:= ${_PERL5_FROM_BIN:R}
# Possible values: 11, 12, 13, 14, 15, 16
PGSQL_DEFAULT?= 15
# Possible values: 8.0, 8.1, 8.2, 8.3
-PHP_DEFAULT?= 8.1
+PHP_DEFAULT?= 8.2
# Possible values: rust, legacy
. if empty(ARCH:Naarch64:Namd64:Narmv7:Ni386:Npowerpc64:Npowerpc64le:Npowerpc:Nriscv64)
PYCRYPTOGRAPHY_DEFAULT?= rust
diff --git a/UPDATING b/UPDATING
index a915163923b5..8f466fb757ee 100644
--- a/UPDATING
+++ b/UPDATING
@@ -5,6 +5,22 @@ 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.
+20231125:
+ AFFECTS: users of lang/php81
+ AUTHOR: bofh@FreeBSD.org
+
+ The default version of PHP has been switched from 8.1 to 8.2.
+
+ If you use binary packages you should make a list of php packages
+ before running 'pkg upgrade':
+
+ # pkg info \*php81\* > ~/installed-php-ports-list
+
+ After the upgrade, check with such list if all your php extensions
+ are still installed, and reinstall them if needed.
+
+ If you use mod_php81 you need to deinstall it and install mod_php82.
+
20231104:
AFFECTS: users of security/libressl
AUTHOR: brnrd@FreeBSD.org