pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [pkgsrc-2023Q2] pkgsrc/lang



Module Name:    pkgsrc
Committed By:   bsiegert
Date:           Tue Aug 15 18:52:58 UTC 2023

Modified Files:
        pkgsrc/lang/php [pkgsrc-2023Q2]: phpversion.mk
        pkgsrc/lang/php82 [pkgsrc-2023Q2]: distinfo
        pkgsrc/lang/php82/patches [pkgsrc-2023Q2]: patch-configure
Removed Files:
        pkgsrc/lang/php82/patches [pkgsrc-2023Q2]: patch-build_libtool.m4

Log Message:
Pullup ticket #6787 - requested by taca
lang/php82: security fix

Revisions pulled up:
- lang/php/phpversion.mk                                        1.402,1.405
- lang/php82/distinfo                                           1.9-1.11
- lang/php82/patches/patch-build_libtool.m4                     deleted
- lang/php82/patches/patch-configure                            1.9

---
   Module Name: pkgsrc
   Committed By:        taca
   Date:                Fri Jul  7 12:49:17 UTC 2023

   Modified Files:
        pkgsrc/lang/php: phpversion.mk
        pkgsrc/lang/php82: distinfo
        pkgsrc/lang/php82/patches: patch-configure

   Log Message:
   lang/php82: update to 8.2.8

   PHP 8.2.8 (2023-07-06)

   - CLI:
     . Fixed bug GH-11246 (cli/get_set_process_title fails on MacOS).
       (James Lucas)

   - Core:
     . Fixed build for the riscv64 architecture/GCC 12. (Daniil Gentili)

   - Curl:
     . Fixed bug GH-11433 (Unable to set CURLOPT_ACCEPT_ENCODING to NULL).
       (nielsdos)

   - Date:
     . Fixed bug GH-11455 (Segmentation fault with custom object date properties).
       (nielsdos)

   - DOM:
     . Fixed bugs GH-11288 and GH-11289 and GH-11290 and GH-9142 (DOMExceptions
       and segfaults with replaceWith). (nielsdos)
     . Fixed bug GH-10234 (Setting DOMAttr::textContent results in an empty
       attribute value). (nielsdos)
     . Fix return value in stub file for DOMNodeList::item. (divinity76)
     . Fix spec compliance error with '*' namespace for
       DOMDocument::getElementsByTagNameNS. (nielsdos)
     . Fix DOMElement::append() and DOMElement::prepend() hierarchy checks.
       (nielsdos)
     . Fixed bug GH-11347 (Memory leak when calling a static method inside an
       xpath query). (nielsdos)
     . Fixed bug #67440 (append_node of a DOMDocumentFragment does not reconcile
       namespaces). (nielsdos)
     . Fixed bug #81642 (DOMChildNode::replaceWith() bug when replacing a node
       with itself). (nielsdos)
     . Fixed bug #77686 (Removed elements are still returned by getElementById).
       (nielsdos)
     . Fixed bug #70359 (print_r() on DOMAttr causes Segfault in
       php_libxml_node_free_list()). (nielsdos)
     . Fixed bug #78577 (Crash in DOMNameSpace debug info handlers). (nielsdos)
     . Fix lifetime issue with getAttributeNodeNS(). (nielsdos)
     . Fix "invalid state error" with cloned namespace declarations. (nielsdos)
     . Fixed bug #55294 and #47530 and #47847 (various namespace reconciliation
       issues). (nielsdos)
     . Fixed bug #80332 (Completely broken array access functionality with
       DOMNamedNodeMap). (nielsdos)

   - Opcache:
     . Fix allocation loop in zend_shared_alloc_startup(). (nielsdos)
     . Access violation on smm_shared_globals with ALLOC_FALLBACK. (KoudelkaB)
     . Fixed bug GH-11336 (php still tries to unlock the shared memory ZendSem
       with opcache.file_cache_only=1 but it was never locked). (nielsdos)

   - 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. (ilutov)

   - PGSQL:
     . Fixed intermittent segfault with pg_trace. (David Carlier)

   - Phar:
     . Fix cross-compilation check in phar generation for FreeBSD. (peter279k)

   - SPL:
     . Fixed bug GH-11338 (SplFileInfo empty getBasename with more than one
       slash). (nielsdos)

   - Standard:
     . Fix access on NULL pointer in array_merge_recursive(). (ilutov)
     . Fix exception handling in array_multisort(). (ilutov)

   - SQLite3:
     . Fixed bug GH-11451 (Invalid associative array containing duplicate
       keys). (nielsdos)

---
   Module Name: pkgsrc
   Committed By:        taca
   Date:                Sat Aug  5 08:45:39 UTC 2023

   Modified Files:
        pkgsrc/lang/php: phpversion.mk
        pkgsrc/lang/php82: distinfo
   Removed Files:
        pkgsrc/lang/php82/patches: patch-build_libtool.m4

   Log Message:
   lang/php82: update to 8.2.9

   03 Aug 2023, PHP 8.2.9

   - Build:
     . Fixed bug GH-11522 (PHP version check fails with '-' separator).
       (SVGAnimate)

   - CLI:
     . Fix interrupted CLI output causing the process to exit. (nielsdos)

   - Core:
     . Fixed oss-fuzz #60011 (Mis-compilation of by-reference nullsafe operator).
       (ilutov)
     . Fixed line number of JMP instruction over else block. (ilutov)
     . Fixed use-of-uninitialized-value with ??= on assert. (ilutov)
     . Fixed oss-fuzz #60411 (Fix double-compilation of arrow-functions). (ilutov)
     . Fixed build for FreeBSD before the 11.0 releases. (David Carlier)

   - Curl:
     . Fix crash when an invalid callback function is passed to
       CURLMOPT_PUSHFUNCTION. (nielsdos)

   - Date:
     . Fixed bug GH-11368 (Date modify returns invalid datetime). (Derick)
     . Fixed bug GH-11600 (Can't parse time strings which include (narrow)
       non-breaking space characters). (Derick)

   - DOM:
     . Fixed bug GH-11625 (DOMElement::replaceWith() doesn't replace node with
       DOMDocumentFragment but just deletes node or causes wrapping <></>
       depending on libxml2 version). (nielsdos)

   - Fileinfo:
     . Fixed bug GH-11298 (finfo returns wrong mime type for xz files). (Anatol)

   - FTP:
     . Fix context option check for "overwrite". (JonasQuinten)
     . Fixed bug GH-10562 (Memory leak and invalid state with consecutive
       ftp_nb_fget). (nielsdos)

   - GD:
     . Fix most of the external libgd test failures. (Michael Orlitzky)

   - Intl:
     . Fix memory leak in MessageFormatter::format() on failure. (Girgias)

   - Libxml:
     . Fixed bug GHSA-3qrf-m4j2-pcrr (Security issue with external entity loading
       in XML without enabling it). (CVE-2023-3823) (nielsdos, ilutov)

   - MBString:
     . Fix GH-11300 (license issue: restricted unicode license headers).
       (nielsdos)

   - Opcache:
     . Fixed bug GH-10914 (OPCache with Enum and Callback functions results in
       segmentation fault). (nielsdos)
     . Prevent potential deadlock if accelerated globals cannot be allocated.
       (nielsdos)

   - PCNTL:
     . Fixed bug GH-11498 (SIGCHLD is not always returned from proc_open).
       (nielsdos)

   - PDO:
     . Fix      GH-11587 (After php8.1, when PDO::ATTR_EMULATE_PREPARES is true
       and PDO::ATTR_STRINGIFY_FETCHES is true, decimal zeros are no longer
       filled). (SakiTakamachi)

   - PDO SQLite:
     . Fix GH-11492 (Make test failure: ext/pdo_sqlite/tests/bug_42589.phpt).
       (KapitanOczywisty, CViniciusSDias)

   - Phar:
     . Add missing check on EVP_VerifyUpdate() in phar util. (nielsdos)
     . Fixed bug GHSA-jqcx-ccgc-xwhv (Buffer mismanagement in phar_dir_read()).
       (CVE-2023-3824) (nielsdos)

   - PHPDBG:
     . Fixed bug GH-9669 (phpdbg -h options doesn't list the -z option). (adsr)

   - Session:
     . Removed broken url support for transferring session ID. (ilutov)

   - Standard:
     . Fix serialization of RC1 objects appearing in object graph twice. (ilutov)

   - Streams:
     . Fixed bug GH-11735 (Use-after-free when unregistering user stream wrapper
       from itself). (ilutov)

   - SQLite3:
     . Fix replaced error handling in SQLite3Stmt::__construct. (nielsdos)

   - XMLReader:
     . Fix GH-11548 (Argument corruption when calling XMLReader::open or
       XMLReader::XML non-statically with observer active). (Bob)

---
   Module Name: pkgsrc
   Committed By:        taca
   Date:                Sun Aug  6 04:05:06 UTC 2023

   Modified Files:
        pkgsrc/lang/php82: distinfo

   Log Message:
   lang/php82: fix distinfo

   Fix distinfo.  Maybe, I fetched pre-install version.

   No DIST_SUBDIR update with expecting no one fetched pre-official distinfo
   file.


To generate a diff of this commit:
cvs rdiff -u -r1.401.2.2 -r1.401.2.3 pkgsrc/lang/php/phpversion.mk
cvs rdiff -u -r1.8 -r1.8.2.1 pkgsrc/lang/php82/distinfo
cvs rdiff -u -r1.1 -r0 pkgsrc/lang/php82/patches/patch-build_libtool.m4
cvs rdiff -u -r1.8 -r1.8.2.1 pkgsrc/lang/php82/patches/patch-configure

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/php/phpversion.mk
diff -u pkgsrc/lang/php/phpversion.mk:1.401.2.2 pkgsrc/lang/php/phpversion.mk:1.401.2.3
--- pkgsrc/lang/php/phpversion.mk:1.401.2.2     Tue Aug 15 18:42:53 2023
+++ pkgsrc/lang/php/phpversion.mk       Tue Aug 15 18:52:58 2023
@@ -1,4 +1,4 @@
-# $NetBSD: phpversion.mk,v 1.401.2.2 2023/08/15 18:42:53 bsiegert Exp $
+# $NetBSD: phpversion.mk,v 1.401.2.3 2023/08/15 18:52:58 bsiegert Exp $
 #
 # This file selects a PHP version, based on the user's preferences and
 # the installed packages. It does not add a dependency on the PHP
@@ -91,7 +91,7 @@ PHP56_VERSION=        5.6.40
 PHP74_VERSION= 7.4.33
 PHP80_VERSION= 8.0.30
 PHP81_VERSION= 8.1.22
-PHP82_VERSION= 8.2.7
+PHP82_VERSION= 8.2.9
 
 # Define API version or initial release of major version.
 PHP56_RELDATE= 20140828

Index: pkgsrc/lang/php82/distinfo
diff -u pkgsrc/lang/php82/distinfo:1.8 pkgsrc/lang/php82/distinfo:1.8.2.1
--- pkgsrc/lang/php82/distinfo:1.8      Fri Jun  9 13:16:03 2023
+++ pkgsrc/lang/php82/distinfo  Tue Aug 15 18:52:58 2023
@@ -1,10 +1,9 @@
-$NetBSD: distinfo,v 1.8 2023/06/09 13:16:03 taca Exp $
+$NetBSD: distinfo,v 1.8.2.1 2023/08/15 18:52:58 bsiegert Exp $
 
-BLAKE2s (php-8.2.7.tar.xz) = e31531a7856586707df35d8d997b8cca8179b54fd42d8bfad71e35f06e52ac6f
-SHA512 (php-8.2.7.tar.xz) = 8533c0d7b6b0cbca8d01238342edebe1f123b093ab8f3cf5efab40b133989c3288214176b9e2a213b260b07b6bf140711f9b9580c2515a093f586bedc81d8a44
-Size (php-8.2.7.tar.xz) = 12016940 bytes
-SHA1 (patch-build_libtool.m4) = e58a2bcebe9e9d7dc7255354fd9fe57878e3f8a6
-SHA1 (patch-configure) = 9e41843c0ba0420eba8974c6a5a78de314e5c988
+BLAKE2s (php-8.2.9.tar.xz) = 7156a5143373e5fc257676e8494c2a6da346b0189360831acffcd268a19471da
+SHA512 (php-8.2.9.tar.xz) = 26c53dc737d6144cc0a3ce9134f92f59eb29f62c44b7d6159b92a25bdb0fa80239d7f6b6b663adfe444e57e98b202381df9b35532f40168ea093ac56d4bced19
+Size (php-8.2.9.tar.xz) = 12035468 bytes
+SHA1 (patch-configure) = 614c907a17adb6d8145e2d6c8ab25d2e4ff8bace
 SHA1 (patch-ext_enchant_enchant.c) = 7d999de1b2fde2ea11e4a6e16e7b59c085924b9b
 SHA1 (patch-ext_phar_Makefile.frag) = 53ea5c58b0bc27d236118d5750a74b1cba43e5dd
 SHA1 (patch-ext_standard_php__fopen__wrapper.c) = 0a2c19c18f089448a8d842e99738b292ab9e5640

Index: pkgsrc/lang/php82/patches/patch-configure
diff -u pkgsrc/lang/php82/patches/patch-configure:1.8 pkgsrc/lang/php82/patches/patch-configure:1.8.2.1
--- pkgsrc/lang/php82/patches/patch-configure:1.8       Fri Jun  9 13:16:03 2023
+++ pkgsrc/lang/php82/patches/patch-configure   Tue Aug 15 18:52:58 2023
@@ -1,12 +1,12 @@
-$NetBSD: patch-configure,v 1.8 2023/06/09 13:16:03 taca Exp $
+$NetBSD: patch-configure,v 1.8.2.1 2023/08/15 18:52:58 bsiegert Exp $
 
 * Do not include "PKG_CONFIG*" in CONFIGURE_OPTIONS.
 * Don't autodetect maintainer-zts.
 * Shell portability.
 
---- configure.orig     2023-06-06 21:28:56.000000000 +0000
+--- configure.orig     2023-05-09 06:25:31.000000000 +0000
 +++ configure
-@@ -3732,6 +3732,10 @@ EOF
+@@ -4323,6 +4323,10 @@ EOF
     else
      break
     fi
@@ -14,10 +14,10 @@ $NetBSD: patch-configure,v 1.8 2023/06/0
 +       \'PKG_CONFIG\=*)       CURRENT_ARG="'PKG_CONFIG=@TOOLS_PATH.pkg-config@'";;
 +       \'PKG_CONFIG_LIBDIR\=*)        CURRENT_ARG="'PKG_CONFIG_LIBDIR=@PHP_PKGCONFIG_PATH@'";;
 +   esac
-    $as_echo "$CURRENT_ARG \\" >>config.nice
+    printf "%s\n" "$CURRENT_ARG \\" >>config.nice
     CONFIGURE_OPTIONS="$CONFIGURE_OPTIONS $CURRENT_ARG"
    done
-@@ -7022,30 +7026,6 @@ EOF
+@@ -7553,30 +7557,6 @@ EOF
      ;;
    esac
  
@@ -42,18 +42,18 @@ $NetBSD: patch-configure,v 1.8 2023/06/0
 -
 -    fi
 -  fi
--  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
--$as_echo "yes" >&6; }
+-  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+-printf "%s\n" "yes" >&6; }
 -
    PHP_VAR_SUBST="$PHP_VAR_SUBST APXS"
  
  else
-@@ -78373,7 +78353,7 @@ $as_echo "#define HAVE_TIDYBUFFIO_H 1" >
+@@ -81017,7 +80997,7 @@ printf "%s\n" "#define HAVE_TIDYBUFFIO_H
    fi
  
    TIDY_LIBDIR=$TIDY_DIR/$PHP_LIBDIR
 -  if test "$TIDY_LIB_NAME" == 'tidyp'; then
 +  if test "$TIDY_LIB_NAME" = 'tidyp'; then
  
- $as_echo "#define HAVE_TIDYP_H 1" >>confdefs.h
+ printf "%s\n" "#define HAVE_TIDYP_H 1" >>confdefs.h
  



Home | Main Index | Thread Index | Old Index