[packages/vorbis-tools] - updated to 1.4.2 (fixes CVE-2014-9638 CVE-2014-9639 CVE-2015-6749) - added gettext patch (fixes bu

qboosh qboosh at pld-linux.org
Mon Feb 22 22:37:34 CET 2021


commit aefc3168b9d8f95757b0b74f3ac405a347606908
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Feb 22 22:38:17 2021 +0100

    - updated to 1.4.2 (fixes CVE-2014-9638 CVE-2014-9639 CVE-2015-6749)
    - added gettext patch (fixes build with gettext 0.20+)

 vorbis-tools-gettext.patch | 126 +++++++++++++++++++++++++++++++++++++++++++++
 vorbis-tools.spec          |  22 +++++---
 2 files changed, 140 insertions(+), 8 deletions(-)
---
diff --git a/vorbis-tools.spec b/vorbis-tools.spec
index 4a691db..8f05005 100644
--- a/vorbis-tools.spec
+++ b/vorbis-tools.spec
@@ -3,16 +3,17 @@ Summary(es.UTF-8):	Utensilios Ogg Vorbis
 Summary(pl.UTF-8):	Narzędzia do obsługi plików w formacie Ogg Vorbis
 Summary(pt_BR.UTF-8):	Ferramentas Ogg Vorbis
 Name:		vorbis-tools
-Version:	1.4.0
-Release:	2
+Version:	1.4.2
+Release:	1
 Epoch:		1
 License:	GPL v2
 Group:		Development/Libraries
-Source0:	http://downloads.xiph.org/releases/vorbis/%{name}-%{version}.tar.gz
-# Source0-md5:	567e0fb8d321b2cd7124f8208b8b90e6
+Source0:	https://downloads.xiph.org/releases/vorbis/%{name}-%{version}.tar.gz
+# Source0-md5:	998fca293bd4e4bdc2b96fb70f952f4e
 Patch0:		%{name}-ac_fixes.patch
 Patch1:		%{name}-nolibnsl.patch
-URL:		http://www.vorbis.com/
+Patch2:		%{name}-gettext.patch
+URL:		https://xiph.org/vorbis/
 BuildRequires:	autoconf >= 2.53
 BuildRequires:	automake
 BuildRequires:	curl-devel
@@ -51,15 +52,17 @@ de alta qualidade.
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 %{__gettextize}
 %{__libtoolize}
-%{__aclocal}
+%{__aclocal} -I m4
 %{__autoconf}
 %{__autoheader}
 %{__automake}
-%configure
+%configure \
+	--disable-silent-rules
 %{__make}
 
 %install
@@ -68,6 +71,9 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+# packaged as %doc
+%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
+
 %find_lang %{name}
 
 %clean
@@ -75,7 +81,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc AUTHORS CHANGES README
+%doc AUTHORS CHANGES README ogg123/ogg123rc-example
 %attr(755,root,root) %{_bindir}/ogg123
 %attr(755,root,root) %{_bindir}/oggdec
 %attr(755,root,root) %{_bindir}/oggenc
diff --git a/vorbis-tools-gettext.patch b/vorbis-tools-gettext.patch
new file mode 100644
index 0000000..5d6c7fc
--- /dev/null
+++ b/vorbis-tools-gettext.patch
@@ -0,0 +1,126 @@
+--- vorbis-tools-1.4.2/configure.ac.orig	2021-02-22 19:19:35.132876726 +0100
++++ vorbis-tools-1.4.2/configure.ac	2021-02-22 19:20:30.112578875 +0100
+@@ -30,7 +30,7 @@
+ AC_PROG_LIBTOOL
+ 
+ ALL_LINGUAS="be cs da en_GB eo es fr hr hu nl pl ro ru sk sv uk vi"
+-AM_GNU_GETTEXT
++AM_GNU_GETTEXT([external])
+ 
+ dnl --------------------------------------------------
+ dnl System checks
+@@ -129,9 +129,6 @@
+ SHARE_LIBS='$(top_builddir)/share/libutf8.a $(top_builddir)/share/libgetopt.a'
+ SHARE_CFLAGS='-I$(top_srcdir)/include'
+ 
+-I18N_CFLAGS='-I$(top_srcdir)/intl'
+-I18N_LIBS=$INTLLIBS
+-
+ SOCKET_LIBS=
+ AC_CHECK_FUNC(socket, , [
+ AC_CHECK_LIB(socket, socket, SOCKET_LIBS="-lsocket")
+@@ -341,15 +338,12 @@
+ AC_SUBST(SHARE_LIBS)
+ AC_SUBST(CURL_CFLAGS)
+ AC_SUBST(CURL_LIBS)
+-AC_SUBST(I18N_CFLAGS)
+-AC_SUBST(I18N_LIBS)
+ 
+ 
+ AC_CONFIG_FILES([
+ Makefile
+ m4/Makefile
+ po/Makefile.in
+-intl/Makefile
+ include/Makefile
+ share/Makefile
+ win32/Makefile
+--- vorbis-tools-1.4.2/ogg123/Makefile.am.orig	2021-01-03 22:35:16.000000000 +0100
++++ vorbis-tools-1.4.2/ogg123/Makefile.am	2021-02-22 19:39:09.833179495 +0100
+@@ -31,12 +31,12 @@
+ bin_PROGRAMS = ogg123
+ 
+ AM_CPPFLAGS = @OGG_CFLAGS@ @VORBIS_CFLAGS@ @OPUSFILE_CFLAGS@ @AO_CFLAGS@ @CURL_CFLAGS@ \
+-              @PTHREAD_CFLAGS@ @SHARE_CFLAGS@ @I18N_CFLAGS@
++              @PTHREAD_CFLAGS@ @SHARE_CFLAGS@
+ 
+ ogg123_LDADD = @SHARE_LIBS@ $(top_builddir)/share/libpicture.a $(top_builddir)/share/libbase64.a \
+ 	       @VORBISFILE_LIBS@ @VORBIS_LIBS@ @OGG_LIBS@ @AO_LIBS@ \
+                @SOCKET_LIBS@ @LIBICONV@ @CURL_LIBS@ @PTHREAD_CFLAGS@ \
+-               @PTHREAD_LIBS@ @I18N_LIBS@ @FLAC_LIBS@ @SPEEX_LIBS@ @OPUSFILE_LIBS@ \
++               @PTHREAD_LIBS@ @INTLLIBS@ @FLAC_LIBS@ @SPEEX_LIBS@ @OPUSFILE_LIBS@ \
+ 	       -lm
+ 
+ ogg123_DEPENDENCIES = @SHARE_LIBS@ $(top_builddir)/share/libpicture.a $(top_builddir)/share/libbase64.a
+--- vorbis-tools-1.4.2/oggenc/Makefile.am.orig	2020-12-18 15:49:34.000000000 +0100
++++ vorbis-tools-1.4.2/oggenc/Makefile.am	2021-02-22 20:52:03.496151995 +0100
+@@ -19,11 +19,11 @@
+ 
+ bin_PROGRAMS = oggenc
+ 
+-AM_CPPFLAGS = @SHARE_CFLAGS@ @OGG_CFLAGS@ @VORBIS_CFLAGS@ @KATE_CFLAGS@ @I18N_CFLAGS@
++AM_CPPFLAGS = @SHARE_CFLAGS@ @OGG_CFLAGS@ @VORBIS_CFLAGS@ @KATE_CFLAGS@
+ 
+ oggenc_LDADD = @SHARE_LIBS@ \
+ 	       @VORBISENC_LIBS@ @VORBIS_LIBS@ @KATE_LIBS@ @OGG_LIBS@ \
+-	       @LIBICONV@ @I18N_LIBS@ @FLAC_LIBS@ -lm
++	       @LIBICONV@ @INTLLIBS@ @FLAC_LIBS@ -lm
+ 
+ oggenc_DEPENDENCIES = @SHARE_LIBS@
+ 
+--- vorbis-tools-1.4.2/oggdec/Makefile.am.orig	2020-12-18 15:49:34.000000000 +0100
++++ vorbis-tools-1.4.2/oggdec/Makefile.am	2021-02-22 20:56:42.011309816 +0100
+@@ -9,9 +9,9 @@
+ 
+ bin_PROGRAMS = oggdec
+ 
+-AM_CPPFLAGS = @OGG_CFLAGS@ @VORBIS_CFLAGS@ @SHARE_CFLAGS@ @I18N_CFLAGS@
++AM_CPPFLAGS = @OGG_CFLAGS@ @VORBIS_CFLAGS@ @SHARE_CFLAGS@
+ 
+-oggdec_LDADD = @LIBICONV@ @SHARE_LIBS@ @VORBISFILE_LIBS@ @VORBIS_LIBS@ @OGG_LIBS@ @I18N_LIBS@
++oggdec_LDADD = @LIBICONV@ @SHARE_LIBS@ @VORBISFILE_LIBS@ @VORBIS_LIBS@ @OGG_LIBS@ @INTLLIBS@
+ oggdec_DEPENDENCIES = @SHARE_LIBS@
+ 
+ oggdec_SOURCES = $(oggdecsources)
+--- vorbis-tools-1.4.2/ogginfo/Makefile.am.orig	2021-01-08 11:26:00.000000000 +0100
++++ vorbis-tools-1.4.2/ogginfo/Makefile.am	2021-02-22 20:59:48.440299843 +0100
+@@ -27,9 +27,9 @@
+ mandir = @MANDIR@
+ man_MANS = $(mans)
+ 
+-AM_CPPFLAGS = @SHARE_CFLAGS@ @OGG_CFLAGS@ @VORBIS_CFLAGS@ @KATE_CFLAGS@ @I18N_CFLAGS@
++AM_CPPFLAGS = @SHARE_CFLAGS@ @OGG_CFLAGS@ @VORBIS_CFLAGS@ @KATE_CFLAGS@
+ 
+-ogginfo_LDADD = @SHARE_LIBS@ @VORBIS_LIBS@ @KATE_LIBS@ @OGG_LIBS@ @LIBICONV@ @I18N_LIBS@ \
++ogginfo_LDADD = @SHARE_LIBS@ @VORBIS_LIBS@ @KATE_LIBS@ @OGG_LIBS@ @LIBICONV@ @INTLLIBS@ \
+ 		$(top_builddir)/share/libpicture.a $(top_builddir)/share/libbase64.a
+ ogginfo_DEPENDENCIES = @SHARE_LIBS@ \
+ 		       $(top_builddir)/share/libpicture.a $(top_builddir)/share/libbase64.a
+--- vorbis-tools-1.4.2/vcut/Makefile.am.orig	2020-12-18 15:49:34.000000000 +0100
++++ vorbis-tools-1.4.2/vcut/Makefile.am	2021-02-22 21:02:54.509291821 +0100
+@@ -11,9 +11,9 @@
+ mandir = @MANDIR@
+ man_MANS = $(mans)
+ 
+-AM_CPPFLAGS = @OGG_CFLAGS@ @VORBIS_CFLAGS@ @SHARE_CFLAGS@ @I18N_CFLAGS@
++AM_CPPFLAGS = @OGG_CFLAGS@ @VORBIS_CFLAGS@ @SHARE_CFLAGS@
+ 
+-vcut_LDADD = @VORBIS_LIBS@ @OGG_LIBS@ @I18N_LIBS@
++vcut_LDADD = @VORBIS_LIBS@ @OGG_LIBS@ @INTLLIBS@
+ 
+ vcut_SOURCES = $(vcutsources)
+ EXTRA_vcut_SOURCES = $(man_MANS)
+--- vorbis-tools-1.4.2/vorbiscomment/Makefile.am.orig	2020-12-18 15:49:34.000000000 +0100
++++ vorbis-tools-1.4.2/vorbiscomment/Makefile.am	2021-02-22 21:04:13.268865144 +0100
+@@ -11,9 +11,9 @@
+ mandir = @MANDIR@
+ man_MANS = $(mans)
+ 
+-AM_CPPFLAGS = @SHARE_CFLAGS@ @I18N_CFLAGS@ @OGG_CFLAGS@ @VORBIS_CFLAGS@
++AM_CPPFLAGS = @SHARE_CFLAGS@ @OGG_CFLAGS@ @VORBIS_CFLAGS@
+ 
+-vorbiscomment_LDADD = @SHARE_LIBS@ @VORBIS_LIBS@ @OGG_LIBS@ @LIBICONV@ @I18N_LIBS@
++vorbiscomment_LDADD = @SHARE_LIBS@ @VORBIS_LIBS@ @OGG_LIBS@ @LIBICONV@ @INTLLIBS@
+ vorbiscomment_DEPENDENCIES = @SHARE_LIBS@
+ 
+ vorbiscomment_SOURCES = $(vorbiscommentsources)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/vorbis-tools.git/commitdiff/aefc3168b9d8f95757b0b74f3ac405a347606908



More information about the pld-cvs-commit mailing list