[vlc-commits] [Git][videolan/vlc][3.0.x] 6 commits: Contribs: update mpg123 to 1.30.1

Jean-Baptiste Kempf (@jbk) gitlab at videolan.org
Sun Jul 24 13:00:35 UTC 2022



Jean-Baptiste Kempf pushed to branch 3.0.x at VideoLAN / VLC


Commits:
b9952013 by Jean-Baptiste Kempf at 2022-07-24T12:15:04+00:00
Contribs: update mpg123 to 1.30.1

(cherry picked from commit 3a1a8d1d2466007b3a7bcab2e96e907d03afb2f7)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

- - - - -
c9ebb18b by Jean-Baptiste Kempf at 2022-07-24T12:15:04+00:00
Contribs: update libarchive to 3.6.1

Multiple OOB-read, heap buffer overflow and user after frees

(cherry picked from commit 8ba00fbeaa8d8338e6d66ed662f08709d11c5128)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

- - - - -
0c1a0885 by Tristan Matthews at 2022-07-24T12:15:04+00:00
contrib: speex: update to 1.2.1

(cherry picked from commit 8ded42d7754161ea8968ff5659c12866ccd60024)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

- - - - -
b101db15 by Tristan Matthews at 2022-07-24T12:15:04+00:00
contrib: update to SpeexDSP 1.2.0

(cherry picked from commit 01297f16723e0fa70778d4e7fca376a9c115195d)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

- - - - -
f036e743 by Tristan Matthews at 2022-07-24T12:15:04+00:00
contrib: speexdsp: update to 1.2.1

(cherry picked from commit 989a6ac84a412e2cbda289a851876561544f028f)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

- - - - -
af6a5e0c by Jean-Baptiste Kempf at 2022-07-24T12:15:04+00:00
Contribs: update ssh2 to 1.10.0

See #26921

(cherry picked from commit aecaaec7fa874a2f3c76f4c99142b1bee4697bae)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

- - - - -


14 changed files:

- contrib/src/libarchive/SHA512SUMS
- contrib/src/libarchive/rules.mak
- contrib/src/mpg123/SHA512SUMS
- contrib/src/mpg123/rules.mak
- contrib/src/speex/SHA512SUMS
- contrib/src/speex/rules.mak
- contrib/src/speexdsp/SHA512SUMS
- contrib/src/speexdsp/rules.mak
- − contrib/src/ssh2/0001-Add-lgpg-error-to-.pc-to-facilitate-static-linking.patch
- + contrib/src/ssh2/0001-fix-gcrypt-linking.patch
- contrib/src/ssh2/SHA512SUMS
- − contrib/src/ssh2/ced924b78a40126606797ef57a74066eb3b4b83f.patch
- contrib/src/ssh2/rules.mak
- contrib/src/ssh2/winrt-no-agent.patch


Changes:

=====================================
contrib/src/libarchive/SHA512SUMS
=====================================
@@ -1 +1 @@
-700579c5dd15b61333cc4dbf01ebfbd26d6e8c20d5cbe6525683634418fec5c87a5a1e28a81cc59ad7c94218682e406aa3b55d81036bd9fa31d83d989c6d764c  libarchive-3.6.0.tar.gz
+58f7ac0c52116f73326a07dec10ff232be33b318862078785dc39f1fb2f8773b5194eabfa14764bb51ce6a5a1aa8820526e7f4c76087a6f4fcbe7789a22275b4  libarchive-3.6.1.tar.gz


=====================================
contrib/src/libarchive/rules.mak
=====================================
@@ -1,5 +1,5 @@
 # LIBARCHIVE
-LIBARCHIVE_VERSION := 3.6.0
+LIBARCHIVE_VERSION := 3.6.1
 LIBARCHIVE_URL := http://www.libarchive.org/downloads/libarchive-$(LIBARCHIVE_VERSION).tar.gz
 
 PKGS += libarchive


=====================================
contrib/src/mpg123/SHA512SUMS
=====================================
@@ -1 +1 @@
-0d8db63f9bae1507887bc5241a56abccfeb767b7ba8362eb0fce9de2f63369e57fdd6f25a953f8ef5f9ead4f400237db51914816e278566fdf8e6f205ebca5d6  mpg123-1.29.3.tar.bz2
+098fcecc6a570e32ccd164b62428417186265905d148d009ea592c948a02027d67fc43e015ece21cf900008f31bbe35b3ec770faba5ae0b914db0022cb6b37fd  mpg123-1.30.1.tar.bz2


=====================================
contrib/src/mpg123/rules.mak
=====================================
@@ -1,5 +1,5 @@
 # mpg123
-MPG123_VERSION := 1.29.3
+MPG123_VERSION := 1.30.1
 MPG123_URL := $(SF)/mpg123/mpg123/$(MPG123_VERSION)/mpg123-$(MPG123_VERSION).tar.bz2
 
 PKGS += mpg123


=====================================
contrib/src/speex/SHA512SUMS
=====================================
@@ -1 +1 @@
-7fe10838c7d1bafcbe42295b82b79262420dba793b8a4388e2f73a3007850b5572face1b5308d9f4e8d7dfc9cb1c016cbad88cd65b2892667986107ed946836b  speex-1.2.0.tar.gz
+52e00300df82e1c7fb527b245af02b99a1f37faef74d004b7cd981052f1aa22a412cb18f5c7a5618df4c958f727c97eb7385beec99d68548d5b02e76192d4e0a  speex-1.2.1.tar.gz


=====================================
contrib/src/speex/rules.mak
=====================================
@@ -1,6 +1,6 @@
 # speex
 
-SPEEX_VERSION := 1.2.0
+SPEEX_VERSION := 1.2.1
 SPEEX_URL := http://downloads.us.xiph.org/releases/speex/speex-$(SPEEX_VERSION).tar.gz
 
 PKGS += speex


=====================================
contrib/src/speexdsp/SHA512SUMS
=====================================
@@ -1 +1 @@
-29dfa8345df025eeb076561648a9b5c0485692be699b6da3c2a3734b4329187a1c2eb181252f4df12b21f1309ecdf59797437dfb123d160fd723491ab216e858  speexdsp-1.2rc3.tar.gz
+41b5f37b48db5cb8c5a0f6437a4a8266d2627a5b7c1088de8549fe0bf0bb3105b7df8024fe207eef194096e0726ea73e2b53e0a4293d8db8e133baa0f8a3bad3  speexdsp-1.2.1.tar.gz


=====================================
contrib/src/speexdsp/rules.mak
=====================================
@@ -1,6 +1,6 @@
 # speexdsp
 
-SPEEXDSP_VERSION := 1.2rc3
+SPEEXDSP_VERSION := 1.2.1
 SPEEXDSP_URL := http://downloads.us.xiph.org/releases/speex/speexdsp-$(SPEEXDSP_VERSION).tar.gz
 
 PKGS += speexdsp


=====================================
contrib/src/ssh2/0001-Add-lgpg-error-to-.pc-to-facilitate-static-linking.patch deleted
=====================================
@@ -1,30 +0,0 @@
-From 2fc4ef54ec61e98e757a49719b859d8ee59af952 Mon Sep 17 00:00:00 2001
-From: Mikhail Gusarov <dottedmag at dottedmag.net>
-Date: Wed, 3 Sep 2014 15:47:19 +0200
-Subject: [PATCH] Add -lgpg-error to .pc to facilitate static linking
-
-Note that this patch is Debian-specific as we know that libssh2 is linked
-to gcrypt.
-
-Patching configure.ac to add gpg-error as a dependent library is not good, as it
-would cause overlinking of libssh2, and there is no separate variable for
-"static dependencies".
-
-All this mess ought to be solved in gcrypt inself by providing .pc file,
-but it is not.
-
----
- libssh2.pc.in | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-Index: libssh2/libssh2.pc.in
-===================================================================
---- libssh2.orig/libssh2.pc.in
-+++ libssh2/libssh2.pc.in
-@@ -13,5 +13,5 @@ Description: Library for SSH-based commu
- Version: @LIBSSH2VER@
- Requires.private: @LIBSREQUIRED@
- Libs: -L${libdir} -lssh2 @LIBS@
--Libs.private: @LIBS@
-+Libs.private: @LIBS@ -lgpg-error
- Cflags: -I${includedir}


=====================================
contrib/src/ssh2/0001-fix-gcrypt-linking.patch
=====================================
@@ -0,0 +1,10 @@
+--- ssh2/acinclude.m4.orig	2022-05-08 22:01:39.704273920 +0200
++++ ssh2/acinclude.m4	2022-05-27 15:24:17.697253672 +0200
+@@ -434,6 +434,7 @@
+ [libgcrypt], [
+   LIBSSH2_LIB_HAVE_LINKFLAGS([gcrypt], [], [#include <gcrypt.h>], [
+     AC_DEFINE(LIBSSH2_LIBGCRYPT, 1, [Use $1])
++    LIBS="$LIBS -lgcrypt -lgpg-error"
+     found_crypto="$1"
+   ])
+ ],


=====================================
contrib/src/ssh2/SHA512SUMS
=====================================
@@ -1 +1 @@
-289aa45c4f99653bebf5f99565fe9c519abc204feb2084b47b7cc3badc8bf4ecdedd49ea6acdce8eb902b3c00995d5f92a3ca77b2508b92f04ae0e7de7287558  libssh2-1.8.0.tar.gz
+e064ee1089eb8e6cd5fa2617f4fd8ff56c2721c5476775a98bdb68c6c4ee4d05c706c3bb0eb479a27a8ec0b17a8a5ef43e1d028ad3f134519aa582d3981a3a30  libssh2-1.10.0.tar.gz


=====================================
contrib/src/ssh2/ced924b78a40126606797ef57a74066eb3b4b83f.patch deleted
=====================================
@@ -1,49 +0,0 @@
-From ced924b78a40126606797ef57a74066eb3b4b83f Mon Sep 17 00:00:00 2001
-From: Sergei Trofimovich <siarheit at google.com>
-Date: Mon, 31 Oct 2016 09:04:33 +0000
-Subject: [PATCH] acinclude.m4: fix ./configure --with-libgcrypt
-
-The change fixes passing of bogus gcrypt prefix.
-Reproducible as:
-
-    $ ./configure --with-libgcrypt
-    $ make V=1
-    ...
-    /bin/sh ../libtool  --tag=CC   --mode=link gcc  -g -O2 -Iyes/include -version-info 1:1:0 -no-undefined -export-symbols-regex '^libssh2_.*' -lgcrypt  -lz -Lyes/lib -o libssh2.la -rpath /usr/local/lib channel.lo comp.lo crypt.lo hostkey.lo kex.lo mac.lo misc.lo packet.lo publickey.lo scp.lo session.lo sftp.lo userauth.lo transport.lo version.lo knownhost.lo agent.lo libgcrypt.lo pem.lo keepalive.lo global.lo   -lgcrypt
-    ../libtool: line 7475: cd: yes/lib: No such file or directory
-    libtool:   error: cannot determine absolute directory name of 'yes/lib'
-
-These
-    -Iyes/include
-    -Lyes/lib
-come from libgcrypt code autodetection:
-  if test -n "$use_libgcrypt" && test "$use_libgcrypt" != "no"; then
-     LDFLAGS="$LDFLAGS -L$use_libgcrypt/lib"
-     CFLAGS="$CFLAGS -I$use_libgcrypt/include"
-
-I assume it's a typo to use yes/no flag as a prefix and changed
-it to '$with_libgcrypt_prefix'.
-
-Reported-by: Mikhail Pukhlikov <cynede at gentoo.org>
-Signed-off-by: Sergei Trofimovich <siarheit at google.com>
----
- acinclude.m4 | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/acinclude.m4 b/acinclude.m4
-index 734ef07..c78260c 100644
---- a/acinclude.m4
-+++ b/acinclude.m4
-@@ -412,9 +412,9 @@ AC_DEFUN([LIBSSH2_CHECKFOR_GCRYPT], [
- 
-   old_LDFLAGS=$LDFLAGS
-   old_CFLAGS=$CFLAGS
--  if test -n "$use_libgcrypt" && test "$use_libgcrypt" != "no"; then
--    LDFLAGS="$LDFLAGS -L$use_libgcrypt/lib"
--    CFLAGS="$CFLAGS -I$use_libgcrypt/include"
-+  if test -n "$with_libgcrypt_prefix" && test "$use_libgcrypt" != "no"; then
-+    LDFLAGS="$LDFLAGS -L$with_libgcrypt_prefix/lib"
-+    CFLAGS="$CFLAGS -I$with_libgcrypt_prefix/include"
-   fi
-   AC_LIB_HAVE_LINKFLAGS([gcrypt], [], [
-     #include <gcrypt.h>


=====================================
contrib/src/ssh2/rules.mak
=====================================
@@ -1,6 +1,6 @@
 # ssh2
 
-LIBSSH2_VERSION := 1.8.0
+LIBSSH2_VERSION := 1.10.0
 LIBSSH2_URL := http://www.libssh2.org/download/libssh2-$(LIBSSH2_VERSION).tar.gz
 
 ifdef BUILD_NETWORK
@@ -22,8 +22,7 @@ $(TARBALLS)/libssh2-$(LIBSSH2_VERSION).tar.gz:
 ssh2: libssh2-$(LIBSSH2_VERSION).tar.gz .sum-ssh2
 	$(UNPACK)
 	$(APPLY) $(SRC)/ssh2/no-tests.patch
-	$(APPLY) $(SRC)/ssh2/ced924b78a40126606797ef57a74066eb3b4b83f.patch
-	$(APPLY) $(SRC)/ssh2/0001-Add-lgpg-error-to-.pc-to-facilitate-static-linking.patch
+	$(APPLY) $(SRC)/ssh2/0001-fix-gcrypt-linking.patch
 	$(call pkg_static,"libssh2.pc.in")
 ifdef HAVE_WINSTORE
 	$(APPLY) $(SRC)/ssh2/winrt-no-agent.patch


=====================================
contrib/src/ssh2/winrt-no-agent.patch
=====================================
@@ -18,3 +18,14 @@
      {"Pageant", &agent_ops_pageant},
  #endif  /* WIN32 */
  #ifdef PF_UNIX
+--- ssh2/src/agent_win.c.orig	2022-05-27 20:17:14.311901449 +0200
++++ ssh2/src/agent_win.c	2022-05-27 20:16:25.851861610 +0200
+@@ -55,7 +55,7 @@
+ #include <stdlib.h>
+ #endif
+ 
+-#ifdef WIN32
++#if defined(WIN32) && WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
+ /* Code to talk to OpenSSH was taken and modified from the Win32 port of
+  * Portable OpenSSH by the PowerShell team. Commit
+  * 8ab565c53f3619d6a1f5ac229e212cad8a52852c of



View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/97244141017e4f1cf8ee5f7943d571f4ee951c28...af6a5e0c985dd40495a385e7397397fdcdcb775a

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/97244141017e4f1cf8ee5f7943d571f4ee951c28...af6a5e0c985dd40495a385e7397397fdcdcb775a
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list