mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: Christian Melki <christian.melki@t2data.com>
Cc: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH v2] libsndfile: Version bump 1.0.25 -> 1.0.31.
Date: Fri, 4 Feb 2022 11:15:32 +0100	[thread overview]
Message-ID: <Yfz8xBX/aQK3Hoqb@pengutronix.de> (raw)
In-Reply-To: <20220128125618.1872936-1-christian.melki@t2data.com>

On Fri, Jan 28, 2022 at 01:56:18PM +0100, Christian Melki wrote:
> 4+ years worth of fixes. Lot of leaks fixed.
> CVE-2017-12562, CVE-2017-17456, CVE-2017-17457, CVE-2018-19661,
> CVE-2018-19662, CVE-2018-19758, CVE-2019-3832, CVE-2014-9496,
> CVE-2014-9756, CVE-2015-7805 fixed.
> 
> Remove old patch. Source now contains a generated configure,
> drop autogen.sh.
> libsndfile now depends on host-python.

Fails to build with PTXCONF_LIBSNDFILE_TOOLS=y:

No suitable file '/usr/bin/sndfile-regtest' could be found in any of these locations:
.../packages/libsndfile-1.0.31/usr/bin/sndfile-regtest.arm-hf
.../packages/libsndfile-1.0.31/usr/bin/sndfile-regtest

I think you need to update the list of tools.

Michael

> Signed-off-by: Christian Melki <christian.melki@t2data.com>
> ---
>  ...igure.ac-use-default-largefile-macro.patch | 22 -------------------
>  patches/libsndfile-1.0.25/autogen.sh          | 19 ----------------
>  patches/libsndfile-1.0.25/series              |  4 ----
>  rules/libsndfile.in                           |  1 +
>  rules/libsndfile.make                         |  9 ++++----
>  5 files changed, 6 insertions(+), 49 deletions(-)
>  delete mode 100644 patches/libsndfile-1.0.25/0001-configure.ac-use-default-largefile-macro.patch
>  delete mode 100755 patches/libsndfile-1.0.25/autogen.sh
>  delete mode 100644 patches/libsndfile-1.0.25/series
> 
> diff --git a/patches/libsndfile-1.0.25/0001-configure.ac-use-default-largefile-macro.patch b/patches/libsndfile-1.0.25/0001-configure.ac-use-default-largefile-macro.patch
> deleted file mode 100644
> index 7dbc92bc3..000000000
> --- a/patches/libsndfile-1.0.25/0001-configure.ac-use-default-largefile-macro.patch
> +++ /dev/null
> @@ -1,22 +0,0 @@
> -From: Michael Olbrich <m.olbrich@pengutronix.de>
> -Date: Sun, 12 Jan 2014 18:36:22 +0100
> -Subject: [PATCH] configure.ac: use default largefile macro
> -
> -Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> ----
> - configure.ac | 2 +-
> - 1 file changed, 1 insertion(+), 1 deletion(-)
> -
> -diff --git a/configure.ac b/configure.ac
> -index 20ba55a..72dccac 100644
> ---- a/configure.ac
> -+++ b/configure.ac
> -@@ -200,7 +200,7 @@ case "$host_os" in
> - 			pre_largefile_sizeof_off_t=$ac_cv_sizeof_off_t
> - 			unset ac_cv_sizeof_off_t
> - 
> --			AC_SYS_EXTRA_LARGEFILE
> -+			AC_SYS_LARGEFILE
> - 
> - 			if test "x$ac_cv_sys_largefile_CFLAGS" = "xno" ; then
> - 				ac_cv_sys_largefile_CFLAGS=""
> diff --git a/patches/libsndfile-1.0.25/autogen.sh b/patches/libsndfile-1.0.25/autogen.sh
> deleted file mode 100755
> index cf66cf33c..000000000
> --- a/patches/libsndfile-1.0.25/autogen.sh
> +++ /dev/null
> @@ -1,19 +0,0 @@
> -#!/bin/bash
> -
> -set -e
> -
> -aclocal $ACLOCAL_FLAGS
> -
> -libtoolize \
> -	--force \
> -	--copy
> -
> -autoreconf \
> -	--include=M4 \
> -	--force \
> -	--install \
> -	--warnings=cross \
> -	--warnings=syntax \
> -	--warnings=obsolete \
> -	--warnings=unsupported
> -
> diff --git a/patches/libsndfile-1.0.25/series b/patches/libsndfile-1.0.25/series
> deleted file mode 100644
> index 2c7bf05de..000000000
> --- a/patches/libsndfile-1.0.25/series
> +++ /dev/null
> @@ -1,4 +0,0 @@
> -# generated by git-ptx-patches
> -#tag:base --start-number 1
> -0001-configure.ac-use-default-largefile-macro.patch
> -# b26d82dddc9376bd2a2696502b2b4dd2  - git-ptx-patches magic
> diff --git a/rules/libsndfile.in b/rules/libsndfile.in
> index 26cd8cb77..98f8874fd 100644
> --- a/rules/libsndfile.in
> +++ b/rules/libsndfile.in
> @@ -3,6 +3,7 @@
>  menuconfig LIBSNDFILE
>  	tristate
>  	prompt "libsndfile                    "
> +	select HOST_SYSTEM_PYTHON3
>  	select LIBOGG if LIBSNDFILE_EXT_LIBS
>  	select LIBVORBIS if LIBSNDFILE_EXT_LIBS
>  	select FLAC if LIBSNDFILE_EXT_LIBS
> diff --git a/rules/libsndfile.make b/rules/libsndfile.make
> index b8b46e3ab..f0252a1b9 100644
> --- a/rules/libsndfile.make
> +++ b/rules/libsndfile.make
> @@ -14,11 +14,11 @@ PACKAGES-$(PTXCONF_LIBSNDFILE) += libsndfile
>  #
>  # Paths and names
>  #
> -LIBSNDFILE_VERSION	:= 1.0.25
> -LIBSNDFILE_MD5		:= e2b7bb637e01022c7d20f95f9c3990a2
> +LIBSNDFILE_VERSION	:= 1.0.31
> +LIBSNDFILE_MD5		:= 3f3b2a86a032f064ef922a2c8c191f7b
>  LIBSNDFILE		:= libsndfile-$(LIBSNDFILE_VERSION)
> -LIBSNDFILE_SUFFIX	:= tar.gz
> -LIBSNDFILE_URL		:= http://www.mega-nerd.com/libsndfile/files/$(LIBSNDFILE).$(LIBSNDFILE_SUFFIX)
> +LIBSNDFILE_SUFFIX	:= tar.bz2
> +LIBSNDFILE_URL		:= https://github.com/libsndfile/libsndfile/releases/download/$(LIBSNDFILE_VERSION)/$(LIBSNDFILE).$(LIBSNDFILE_SUFFIX)
>  LIBSNDFILE_SOURCE	:= $(SRCDIR)/$(LIBSNDFILE).$(LIBSNDFILE_SUFFIX)
>  LIBSNDFILE_DIR		:= $(BUILDDIR)/$(LIBSNDFILE)
>  LIBSNDFILE_LICENSE	:= LGPL-2.1-only
> @@ -36,6 +36,7 @@ LIBSNDFILE_CONF_OPT := \
>  	$(GLOBAL_LARGE_FILE_OPTION) \
>  	--disable-octave \
>  	--disable-alsa \
> +	--disable-test-coverage \
>  	--$(call ptx/endis,PTXCONF_LIBSNDFILE_EXT_LIBS)-external-libs
>  
>  # ----------------------------------------------------------------------------
> -- 
> 2.30.2
> 
> 
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de
> To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de


      reply	other threads:[~2022-02-04 10:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-28 12:56 Christian Melki
2022-02-04 10:15 ` Michael Olbrich [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Yfz8xBX/aQK3Hoqb@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=christian.melki@t2data.com \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox