* [ptxdist] [PATCH v2] libsndfile: Version bump 1.0.25 -> 1.0.31.
@ 2022-01-28 12:56 Christian Melki
2022-02-04 10:15 ` Michael Olbrich
0 siblings, 1 reply; 2+ messages in thread
From: Christian Melki @ 2022-01-28 12:56 UTC (permalink / raw)
To: ptxdist
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.
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [ptxdist] [PATCH v2] libsndfile: Version bump 1.0.25 -> 1.0.31.
2022-01-28 12:56 [ptxdist] [PATCH v2] libsndfile: Version bump 1.0.25 -> 1.0.31 Christian Melki
@ 2022-02-04 10:15 ` Michael Olbrich
0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2022-02-04 10:15 UTC (permalink / raw)
To: Christian Melki; +Cc: ptxdist
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-02-04 10:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-28 12:56 [ptxdist] [PATCH v2] libsndfile: Version bump 1.0.25 -> 1.0.31 Christian Melki
2022-02-04 10:15 ` Michael Olbrich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox