From 1adb2f751ca98939ccc71fc4e5fd4a235252f0f0 Mon Sep 17 00:00:00 2001 From: msycn <85003651+msycn@users.noreply.github.com> Date: Sat, 12 Aug 2023 00:46:07 +0800 Subject: [PATCH 1/5] Update MySQL to 8.0.34 Update MySQL to 8.0.34 --- plugins/mysql/info.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/mysql/info.json b/plugins/mysql/info.json index a87adc262..6aa74c020 100755 --- a/plugins/mysql/info.json +++ b/plugins/mysql/info.json @@ -11,7 +11,7 @@ "path": "server/mysql/VERSION", "todo_versions":["5.6","5.7","8.0"], "versions":["5.5", "5.6", "5.7","8.0"], - "updates":["5.5.62","5.6.50", "5.7.32","8.0.30"], + "updates":["5.5.62","5.6.50", "5.7.32","8.0.34"], "shell":"install.sh", "checks":"server/mysql", "path":"server/mysql", @@ -19,4 +19,4 @@ "home":"https://dev.mysql.com/downloads/mysql", "date":"2017-11-24", "pid": "2" -} \ No newline at end of file +} From d35bf118ffeec0d0cd4283e8097b7caf8e928a99 Mon Sep 17 00:00:00 2001 From: msycn <85003651+msycn@users.noreply.github.com> Date: Sat, 12 Aug 2023 00:48:17 +0800 Subject: [PATCH 2/5] Update install.sh to 8.0.34 --- plugins/mysql/versions/8.0/install.sh | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/plugins/mysql/versions/8.0/install.sh b/plugins/mysql/versions/8.0/install.sh index c199d5aa7..da67efa54 100755 --- a/plugins/mysql/versions/8.0/install.sh +++ b/plugins/mysql/versions/8.0/install.sh @@ -57,7 +57,7 @@ fi VERSION_ID=`cat /etc/*-release | grep VERSION_ID | awk -F = '{print $2}' | awk -F "\"" '{print $2}'` -VERSION=8.0.30 +VERSION=8.0.34 Install_mysql() { mkdir -p ${mysqlDir} @@ -109,11 +109,12 @@ Install_mysql() fi if [ ! -f ${mysqlDir}/mysql-boost-${VERSION}.tar.gz ];then - wget --no-check-certificate -O ${mysqlDir}/mysql-boost-${VERSION}.tar.gz --tries=3 https://cdn.mysql.com/archives/mysql-8.0/mysql-boost-${VERSION}.tar.gz + #wget --no-check-certificate -O ${mysqlDir}/mysql-boost-${VERSION}.tar.gz --tries=3 https://dev.mysql.com/get/Downloads/MySQL-8.0/mysql-boost-${VERSION}.tar.gz + wget --no-check-certificate -O ${mysqlDir}/mysql-boost-${VERSION}.tar.gz --tries=3 https://cdn.mysql.com/archives/mysql-8.0/mysql-boost-${VERSION}.tar.gz fi #检测文件是否损坏. - md5_mysql_ok=313d625fcaa932bd87b48f0cf9b40f1c + md5_mysql_ok=c8cfab52fbde1cca55accb3113c235eb if [ -f ${mysqlDir}/mysql-boost-${VERSION}.tar.gz ];then md5_mysql=`md5sum ${mysqlDir}/mysql-boost-${VERSION}.tar.gz | awk '{print $1}'` if [ "${md5_mysql_ok}" == "${md5_mysql}" ]; then @@ -121,7 +122,7 @@ Install_mysql() else # 重新下载 rm -rf ${mysqlDir}/mysql-${VERSION} - wget --no-check-certificate -O ${mysqlDir}/mysql-boost-${VERSION}.tar.gz --tries=3 https://cdn.mysql.com/archives/mysql-8.0/mysql-boost-${VERSION}.tar.gz + wget --no-check-certificate -O ${mysqlDir}/mysql-boost-${VERSION}.tar.gz --tries=3 https://dev.mysql.com/get/Downloads/MySQL-8.0/mysql-boost-${VERSION}.tar.gz fi fi @@ -162,10 +163,10 @@ Install_mysql() add-apt-repository ppa:ubuntu-toolchain-r/test LIBTIRPC_VER=`pkg-config libtirpc --modversion` - if [ ! -f ${mysqlDir}/libtirpc_1.2.5.orig.tar.bz2 ];then - wget --no-check-certificate -O ${mysqlDir}/libtirpc_1.2.5.orig.tar.bz2 https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/libtirpc/1.2.5-1ubuntu0.1/libtirpc_1.2.5.orig.tar.bz2 - cd ${mysqlDir} && tar -jxvf libtirpc_1.2.5.orig.tar.bz2 - cd libtirpc-1.2.5 && ./configure + if [ ! -f ${mysqlDir}/libtirpc_1.3.3.orig.tar.bz2 ];then + wget --no-check-certificate -O ${mysqlDir}/libtirpc_1.3.3.orig.tar.bz2 https://downloads.sourceforge.net/libtirpc/libtirpc-1.3.3.tar.bz2 + cd ${mysqlDir} && tar -jxvf libtirpc_1.3.3.orig.tar.bz2 + cd libtirpc-1.3.3 && ./configure fi export PKG_CONFIG_PATH=/usr/lib/pkgconfig From 22d266e710746fe023e2ad66948630a2a4590aab Mon Sep 17 00:00:00 2001 From: msycn <85003651+msycn@users.noreply.github.com> Date: Sat, 12 Aug 2023 00:50:36 +0800 Subject: [PATCH 3/5] Update redis 7.0.4 to 7.0.12 --- plugins/redis/info.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/redis/info.json b/plugins/redis/info.json index 3dd3afe2f..0967b8f48 100755 --- a/plugins/redis/info.json +++ b/plugins/redis/info.json @@ -4,8 +4,8 @@ "name": "redis", "title": "Redis", "shell": "install.sh", - "versions":["4.0.11","5.0.8","6.0.4","6.2.7","7.0.4"], - "updates":["4.0.11","5.0.8","6.0.4","6.2.7","7.0.4"], + "versions":["4.0.11","5.0.8","6.0.4","6.2.7","7.0.12"], + "updates":["4.0.11","5.0.8","6.0.4","6.2.7","7.0.12"], "tip": "soft", "checks": "server/redis", "path": "server/redis", @@ -15,4 +15,4 @@ "home": "https://redis.io", "type": 0, "pid": "2" -} \ No newline at end of file +} From 9c4ceca41fb747f16dae0f66621c4dda5bacff77 Mon Sep 17 00:00:00 2001 From: msycn <85003651+msycn@users.noreply.github.com> Date: Sat, 12 Aug 2023 00:52:40 +0800 Subject: [PATCH 4/5] Update install.sh 8.2.7 to 8.2.8 Version 8.2.8 06 Jul 2023 CLI: Fixed bug GH-11246 (cli/get_set_process_title fails on MacOS). Core: Fixed build for the riscv64 architecture/GCC 12. Curl: Fixed bug GH-11433 (Unable to set CURLOPT_ACCEPT_ENCODING to NULL). Date: Fixed bug GH-11455 (Segmentation fault with custom object date properties). DOM: Fixed bugs GH-11288 and GH-11289 and GH-11290 and GH-9142 (DOMExceptions and segfaults with replaceWith). Fixed bug GH-10234 (Setting DOMAttr::textContent results in an empty attribute value). Fix return value in stub file for DOMNodeList::item. Fix spec compliance error with '*' namespace for DOMDocument::getElementsByTagNameNS. Fix DOMElement::append() and DOMElement::prepend() hierarchy checks. Fixed bug GH-11347 (Memory leak when calling a static method inside an xpath query). Fixed bug #67440 (append_node of a DOMDocumentFragment does not reconcile namespaces). Fixed bug #81642 (DOMChildNode::replaceWith() bug when replacing a node with itself). Fixed bug #77686 (Removed elements are still returned by getElementById). Fixed bug #70359 (print_r() on DOMAttr causes Segfault in php_libxml_node_free_list()). Fixed bug #78577 (Crash in DOMNameSpace debug info handlers). Fix lifetime issue with getAttributeNodeNS(). Fix "invalid state error" with cloned namespace declarations. Fixed bug #55294 and #47530 and #47847 (various namespace reconciliation issues). Fixed bug #80332 (Completely broken array access functionality with DOMNamedNodeMap). Opcache: Fix allocation loop in zend_shared_alloc_startup(). Access violation on smm_shared_globals with ALLOC_FALLBACK. Fixed bug GH-11336 (php still tries to unlock the shared memory ZendSem with opcache.file_cache_only=1 but it was never locked). OpenSSL: Fixed bug GH-9356 Incomplete validation of IPv6 Address fields in subjectAltNames (James Lucas, Jakub Zelenka). PCRE: Fix preg_replace_callback_array() pattern validation. PGSQL: Fixed intermittent segfault with pg_trace. Phar: Fix cross-compilation check in phar generation for FreeBSD. SPL: Fixed bug GH-11338 (SplFileInfo empty getBasename with more than one slash). Standard: Fix access on NULL pointer in array_merge_recursive(). Fix exception handling in array_multisort(). SQLite3: Fixed bug GH-11451 (Invalid associative array containing duplicate keys). --- plugins/php/versions/82/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/php/versions/82/install.sh b/plugins/php/versions/82/install.sh index be8a475a3..e2b8957c4 100755 --- a/plugins/php/versions/82/install.sh +++ b/plugins/php/versions/82/install.sh @@ -16,7 +16,7 @@ function version_lt() { test "$(echo "$@" | tr " " "\n" | sort -rV | head -n 1)" function version_ge() { test "$(echo "$@" | tr " " "\n" | sort -rV | head -n 1)" == "$1"; } -version=8.2.7 +version=8.2.8 PHP_VER=82 Install_php() { From b731868e06872d56fdc95cc6897bab0d0d46c674 Mon Sep 17 00:00:00 2001 From: msycn <85003651+msycn@users.noreply.github.com> Date: Sat, 12 Aug 2023 00:57:04 +0800 Subject: [PATCH 5/5] Update openssl.sh 1.1.1 to 3.0.10 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 最新的稳定版本是 3.1 系列,支持到 2025 年 3 月 14 日。还提供 3.0 系列,它是长期支持 (LTS) 版本,支持到 2026 年 9 月 7 日。之前的 LTS 版本(1.1.1 系列)是 也可用并支持到 2023 年 9 月 11 日。所有旧版本(包括 1.1.0、1.0.2、1.0.0 和 0.9.8)现已不再支持,不应使用。 我们鼓励这些旧版本的用户尽快升级到3.1或3.0。 提供了对 1.0.2 的扩展支持,以获取该版本的安全修复程序。 The latest stable version is the 3.1 series supported until 14th March 2025. Also available is the 3.0 series which is a Long Term Support (LTS) version and is supported until 7th September 2026. The previous LTS version (the 1.1.1 series) is also available and is supported until 11th September 2023. All older versions (including 1.1.0, 1.0.2, 1.0.0 and 0.9.8) are now out of support and should not be used. Users of these older versions are encouraged to upgrade to 3.1 or 3.0 as soon as possible. Extended support for 1.0.2 to gain access to security fixes for that version is available. --- plugins/php/lib/openssl.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/plugins/php/lib/openssl.sh b/plugins/php/lib/openssl.sh index 1d34d9dc8..537db02af 100644 --- a/plugins/php/lib/openssl.sh +++ b/plugins/php/lib/openssl.sh @@ -7,7 +7,7 @@ rootPath=$(dirname "$curPath") rootPath=$(dirname "$rootPath") rootPath=$(dirname "$rootPath") rootPath=$(dirname "$rootPath") - +opensslVersion="3.0.10" # echo $rootPath SERVER_ROOT=$rootPath/lib @@ -15,11 +15,11 @@ SOURCE_ROOT=$rootPath/source/lib if [ ! -d ${SERVER_ROOT}/openssl ];then cd ${SOURCE_ROOT} - if [ ! -f ${SOURCE_ROOT}/openssl-1.1.1p.tar.gz ];then - wget --no-check-certificate -O ${SOURCE_ROOT}/openssl-1.1.1p.tar.gz https://www.openssl.org/source/openssl-1.1.1p.tar.gz + if [ ! -f ${SOURCE_ROOT}/openssl-${opensslVersion}.tar.gz ];then + wget --no-check-certificate -O ${SOURCE_ROOT}/openssl-${opensslVersion}.tar.gz https://www.openssl.org/source/openssl-${opensslVersion}.tar.gz fi - tar -zxvf openssl-1.1.1p.tar.gz - cd openssl-1.1.1p + tar -zxvf openssl-${opensslVersion}.tar.gz + cd openssl-${opensslVersion} ./config --prefix=${SERVER_ROOT}/openssl zlib-dynamic shared make && make install fi