Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dc8ace807e |
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
|||||||
|
1
|
||||||
3
.gitignore
vendored
3
.gitignore
vendored
@ -1 +1,2 @@
|
|||||||
flac-1.4.3.tar.xz
|
SOURCES/flac-1.3.2.tar.xz
|
||||||
|
/flac-1.3.2.tar.xz
|
||||||
|
|||||||
31
flac-cflags.patch
Normal file
31
flac-cflags.patch
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
diff -up flac-1.3.2/configure.ac.cflags flac-1.3.2/configure.ac
|
||||||
|
--- flac-1.3.2/configure.ac.cflags 2017-01-02 14:02:15.663046237 +0100
|
||||||
|
+++ flac-1.3.2/configure.ac 2017-01-02 14:04:20.718046015 +0100
|
||||||
|
@@ -390,7 +390,7 @@ if test "x$debug" = xtrue; then
|
||||||
|
else
|
||||||
|
CPPFLAGS="-DNDEBUG $CPPFLAGS"
|
||||||
|
CFLAGS=$(echo "$CFLAGS" | sed 's/-O2//')
|
||||||
|
- CFLAGS="-O3 -funroll-loops $CFLAGS"
|
||||||
|
+ CFLAGS="$user_cflags"
|
||||||
|
fi
|
||||||
|
|
||||||
|
XIPH_GCC_VERSION
|
||||||
|
@@ -400,7 +400,6 @@ if test x$ac_cv_c_compiler_gnu = xyes ;
|
||||||
|
CXXFLAGS="$CXXFLAGS -Wall -Wextra -Wcast-align -Wshadow -Wwrite-strings -Wctor-dtor-privacy -Wnon-virtual-dtor -Wreorder -Wsign-promo -Wundef " # -Wcast-qual -Wbad-function-cast -Wwrite-strings -Woverloaded-virtual -Wmissing-declarations
|
||||||
|
|
||||||
|
XIPH_ADD_CFLAGS([-Wdeclaration-after-statement])
|
||||||
|
- XIPH_ADD_CFLAGS([-D_FORTIFY_SOURCE=2])
|
||||||
|
|
||||||
|
AC_LANG_PUSH([C++])
|
||||||
|
XIPH_ADD_CXXFLAGS([-Weffc++])
|
||||||
|
@@ -426,10 +425,6 @@ if test x$ac_cv_c_compiler_gnu = xyes ;
|
||||||
|
XIPH_ADD_CFLAGS([-fno-inline-small-functions])
|
||||||
|
fi
|
||||||
|
|
||||||
|
- if test "x$asm_optimisation$sse_os" = "xyesyes" ; then
|
||||||
|
- XIPH_ADD_CFLAGS([-msse2])
|
||||||
|
- fi
|
||||||
|
-
|
||||||
|
fi
|
||||||
|
|
||||||
|
case "$host_os" in
|
||||||
177
flac-cve-2020-22219.patch
Normal file
177
flac-cve-2020-22219.patch
Normal file
@ -0,0 +1,177 @@
|
|||||||
|
Backported to 1.3.2
|
||||||
|
|
||||||
|
commit 21fe95ee828b0b9b944f6aa0bb02d24fbb981815
|
||||||
|
Author: Martijn van Beurden <mvanb1@gmail.com>
|
||||||
|
Date: Wed Aug 3 13:52:19 2022 +0200
|
||||||
|
|
||||||
|
Add and use _nofree variants of safe_realloc functions
|
||||||
|
|
||||||
|
Parts of the code use realloc like
|
||||||
|
|
||||||
|
x = safe_realloc(x, somesize);
|
||||||
|
|
||||||
|
when this is the case, the safe_realloc variant used must free the
|
||||||
|
old memory block in case it fails, otherwise it will leak. However,
|
||||||
|
there are also instances in the code where handling is different:
|
||||||
|
|
||||||
|
if (0 == (x = safe_realloc(y, somesize)))
|
||||||
|
return false
|
||||||
|
|
||||||
|
in this case, y should not be freed, as y is not set to NULL we
|
||||||
|
could encounter double frees. Here the safe_realloc_nofree
|
||||||
|
functions are used.
|
||||||
|
|
||||||
|
diff -up flac-1.3.2/include/share/alloc.h.cve-2020-22219 flac-1.3.2/include/share/alloc.h
|
||||||
|
--- flac-1.3.2/include/share/alloc.h.cve-2020-22219 2016-12-07 21:10:26.218454157 +0100
|
||||||
|
+++ flac-1.3.2/include/share/alloc.h 2023-08-31 11:32:36.335453612 +0200
|
||||||
|
@@ -161,17 +161,30 @@ static inline void *safe_realloc_(void *
|
||||||
|
free(oldptr);
|
||||||
|
return newptr;
|
||||||
|
}
|
||||||
|
-static inline void *safe_realloc_add_2op_(void *ptr, size_t size1, size_t size2)
|
||||||
|
+static inline void *safe_realloc_nofree_add_2op_(void *ptr, size_t size1, size_t size2)
|
||||||
|
+{
|
||||||
|
+ size2 += size1;
|
||||||
|
+ if(size2 < size1)
|
||||||
|
+ return 0;
|
||||||
|
+ return realloc(ptr, size2);
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
+static inline void *safe_realloc_add_3op_(void *ptr, size_t size1, size_t size2, size_t size3)
|
||||||
|
{
|
||||||
|
size2 += size1;
|
||||||
|
if(size2 < size1) {
|
||||||
|
free(ptr);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
- return realloc(ptr, size2);
|
||||||
|
+ size3 += size2;
|
||||||
|
+ if(size3 < size2) {
|
||||||
|
+ free(ptr);
|
||||||
|
+ return 0;
|
||||||
|
+ }
|
||||||
|
+ return safe_realloc_(ptr, size3);
|
||||||
|
}
|
||||||
|
|
||||||
|
-static inline void *safe_realloc_add_3op_(void *ptr, size_t size1, size_t size2, size_t size3)
|
||||||
|
+static inline void *safe_realloc_nofree_add_3op_(void *ptr, size_t size1, size_t size2, size_t size3)
|
||||||
|
{
|
||||||
|
size2 += size1;
|
||||||
|
if(size2 < size1)
|
||||||
|
@@ -182,7 +195,7 @@ static inline void *safe_realloc_add_3op
|
||||||
|
return realloc(ptr, size3);
|
||||||
|
}
|
||||||
|
|
||||||
|
-static inline void *safe_realloc_add_4op_(void *ptr, size_t size1, size_t size2, size_t size3, size_t size4)
|
||||||
|
+static inline void *safe_realloc_nofree_add_4op_(void *ptr, size_t size1, size_t size2, size_t size3, size_t size4)
|
||||||
|
{
|
||||||
|
size2 += size1;
|
||||||
|
if(size2 < size1)
|
||||||
|
@@ -205,6 +218,15 @@ static inline void *safe_realloc_mul_2op
|
||||||
|
return safe_realloc_(ptr, size1*size2);
|
||||||
|
}
|
||||||
|
|
||||||
|
+static inline void *safe_realloc_nofree_mul_2op_(void *ptr, size_t size1, size_t size2)
|
||||||
|
+{
|
||||||
|
+ if(!size1 || !size2)
|
||||||
|
+ return realloc(ptr, 0); /* preserve POSIX realloc(ptr, 0) semantics */
|
||||||
|
+ if(size1 > SIZE_MAX / size2)
|
||||||
|
+ return 0;
|
||||||
|
+ return realloc(ptr, size1*size2);
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
/* size1 * (size2 + size3) */
|
||||||
|
static inline void *safe_realloc_muladd2_(void *ptr, size_t size1, size_t size2, size_t size3)
|
||||||
|
{
|
||||||
|
@@ -216,4 +238,15 @@ static inline void *safe_realloc_muladd2
|
||||||
|
return safe_realloc_mul_2op_(ptr, size1, size2);
|
||||||
|
}
|
||||||
|
|
||||||
|
+/* size1 * (size2 + size3) */
|
||||||
|
+static inline void *safe_realloc_nofree_muladd2_(void *ptr, size_t size1, size_t size2, size_t size3)
|
||||||
|
+{
|
||||||
|
+ if(!size1 || (!size2 && !size3))
|
||||||
|
+ return realloc(ptr, 0); /* preserve POSIX realloc(ptr, 0) semantics */
|
||||||
|
+ size2 += size3;
|
||||||
|
+ if(size2 < size3)
|
||||||
|
+ return 0;
|
||||||
|
+ return safe_realloc_nofree_mul_2op_(ptr, size1, size2);
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
#endif
|
||||||
|
diff -up flac-1.3.2/src/flac/encode.c.cve-2020-22219 flac-1.3.2/src/flac/encode.c
|
||||||
|
--- flac-1.3.2/src/flac/encode.c.cve-2020-22219 2016-12-07 21:10:26.218454157 +0100
|
||||||
|
+++ flac-1.3.2/src/flac/encode.c 2023-08-31 11:32:36.335453612 +0200
|
||||||
|
@@ -1744,10 +1744,10 @@ static void static_metadata_clear(static
|
||||||
|
static FLAC__bool static_metadata_append(static_metadata_t *m, FLAC__StreamMetadata *d, FLAC__bool needs_delete)
|
||||||
|
{
|
||||||
|
void *x;
|
||||||
|
- if(0 == (x = safe_realloc_muladd2_(m->metadata, sizeof(*m->metadata), /*times (*/m->num_metadata, /*+*/1/*)*/)))
|
||||||
|
+ if(0 == (x = safe_realloc_nofree_muladd2_(m->metadata, sizeof(*m->metadata), /*times (*/m->num_metadata, /*+*/1/*)*/)))
|
||||||
|
return false;
|
||||||
|
m->metadata = (FLAC__StreamMetadata**)x;
|
||||||
|
- if(0 == (x = safe_realloc_muladd2_(m->needs_delete, sizeof(*m->needs_delete), /*times (*/m->num_metadata, /*+*/1/*)*/)))
|
||||||
|
+ if(0 == (x = safe_realloc_nofree_muladd2_(m->needs_delete, sizeof(*m->needs_delete), /*times (*/m->num_metadata, /*+*/1/*)*/)))
|
||||||
|
return false;
|
||||||
|
m->needs_delete = (FLAC__bool*)x;
|
||||||
|
m->metadata[m->num_metadata] = d;
|
||||||
|
diff -up flac-1.3.2/src/flac/foreign_metadata.c.cve-2020-22219 flac-1.3.2/src/flac/foreign_metadata.c
|
||||||
|
--- flac-1.3.2/src/flac/foreign_metadata.c.cve-2020-22219 2016-12-07 21:10:26.222454288 +0100
|
||||||
|
+++ flac-1.3.2/src/flac/foreign_metadata.c 2023-08-31 11:32:36.335453612 +0200
|
||||||
|
@@ -75,7 +75,7 @@ static FLAC__bool copy_data_(FILE *fin,
|
||||||
|
|
||||||
|
static FLAC__bool append_block_(foreign_metadata_t *fm, FLAC__off_t offset, FLAC__uint32 size, const char **error)
|
||||||
|
{
|
||||||
|
- foreign_block_t *fb = safe_realloc_muladd2_(fm->blocks, sizeof(foreign_block_t), /*times (*/fm->num_blocks, /*+*/1/*)*/);
|
||||||
|
+ foreign_block_t *fb = safe_realloc_nofree_muladd2_(fm->blocks, sizeof(foreign_block_t), /*times (*/fm->num_blocks, /*+*/1/*)*/);
|
||||||
|
if(fb) {
|
||||||
|
fb[fm->num_blocks].offset = offset;
|
||||||
|
fb[fm->num_blocks].size = size;
|
||||||
|
diff -up flac-1.3.2/src/libFLAC/bitwriter.c.cve-2020-22219 flac-1.3.2/src/libFLAC/bitwriter.c
|
||||||
|
--- flac-1.3.2/src/libFLAC/bitwriter.c.cve-2020-22219 2016-12-07 21:10:26.222454288 +0100
|
||||||
|
+++ flac-1.3.2/src/libFLAC/bitwriter.c 2023-08-31 11:32:36.335453612 +0200
|
||||||
|
@@ -124,7 +124,7 @@ FLAC__bool bitwriter_grow_(FLAC__BitWrit
|
||||||
|
FLAC__ASSERT(new_capacity > bw->capacity);
|
||||||
|
FLAC__ASSERT(new_capacity >= bw->words + ((bw->bits + bits_to_add + FLAC__BITS_PER_WORD - 1) / FLAC__BITS_PER_WORD));
|
||||||
|
|
||||||
|
- new_buffer = safe_realloc_mul_2op_(bw->buffer, sizeof(bwword), /*times*/new_capacity);
|
||||||
|
+ new_buffer = safe_realloc_nofree_mul_2op_(bw->buffer, sizeof(bwword), /*times*/new_capacity);
|
||||||
|
if(new_buffer == 0)
|
||||||
|
return false;
|
||||||
|
bw->buffer = new_buffer;
|
||||||
|
diff -up flac-1.3.2/src/libFLAC/metadata_object.c.cve-2020-22219 flac-1.3.2/src/libFLAC/metadata_object.c
|
||||||
|
--- flac-1.3.2/src/libFLAC/metadata_object.c.cve-2020-22219 2023-08-31 11:32:36.336453612 +0200
|
||||||
|
+++ flac-1.3.2/src/libFLAC/metadata_object.c 2023-08-31 11:34:18.844405405 +0200
|
||||||
|
@@ -98,7 +98,7 @@ static FLAC__bool free_copy_bytes_(FLAC_
|
||||||
|
/* realloc() failure leaves entry unchanged */
|
||||||
|
static FLAC__bool ensure_null_terminated_(FLAC__byte **entry, unsigned length)
|
||||||
|
{
|
||||||
|
- FLAC__byte *x = safe_realloc_add_2op_(*entry, length, /*+*/1);
|
||||||
|
+ FLAC__byte *x = safe_realloc_nofree_add_2op_(*entry, length, /*+*/1);
|
||||||
|
if (x != NULL) {
|
||||||
|
x[length] = '\0';
|
||||||
|
*entry = x;
|
||||||
|
diff -up flac-1.3.2/src/plugin_common/tags.c.cve-2020-22219 flac-1.3.2/src/plugin_common/tags.c
|
||||||
|
--- flac-1.3.2/src/plugin_common/tags.c.cve-2020-22219 2016-12-07 21:10:26.234454678 +0100
|
||||||
|
+++ flac-1.3.2/src/plugin_common/tags.c 2023-08-31 11:32:36.336453612 +0200
|
||||||
|
@@ -317,7 +317,7 @@ FLAC__bool FLAC_plugin__tags_add_tag_utf
|
||||||
|
const size_t value_len = strlen(value);
|
||||||
|
const size_t separator_len = strlen(separator);
|
||||||
|
FLAC__byte *new_entry;
|
||||||
|
- if(0 == (new_entry = safe_realloc_add_4op_(entry->entry, entry->length, /*+*/value_len, /*+*/separator_len, /*+*/1)))
|
||||||
|
+ if(0 == (new_entry = safe_realloc_nofree_add_4op_(entry->entry, entry->length, /*+*/value_len, /*+*/separator_len, /*+*/1)))
|
||||||
|
return false;
|
||||||
|
memcpy(new_entry+entry->length, separator, separator_len);
|
||||||
|
entry->length += separator_len;
|
||||||
|
diff -up flac-1.3.2/src/share/utf8/iconvert.c.cve-2020-22219 flac-1.3.2/src/share/utf8/iconvert.c
|
||||||
|
--- flac-1.3.2/src/share/utf8/iconvert.c.cve-2020-22219 2016-12-07 21:10:26.234454678 +0100
|
||||||
|
+++ flac-1.3.2/src/share/utf8/iconvert.c 2023-08-31 11:32:36.336453612 +0200
|
||||||
|
@@ -149,7 +149,7 @@ int iconvert(const char *fromcode, const
|
||||||
|
iconv_close(cd1);
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
- newbuf = safe_realloc_add_2op_(utfbuf, (ob - utfbuf), /*+*/1);
|
||||||
|
+ newbuf = safe_realloc_nofree_add_2op_(utfbuf, (ob - utfbuf), /*+*/1);
|
||||||
|
if (!newbuf)
|
||||||
|
goto fail;
|
||||||
|
ob = (ob - utfbuf) + newbuf;
|
||||||
22
flac-memleak.patch
Normal file
22
flac-memleak.patch
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
commit 4f47b63e9c971e6391590caf00a0f2a5ed612e67
|
||||||
|
Author: Erik de Castro Lopo <erikd@mega-nerd.com>
|
||||||
|
Date: Sat Apr 8 18:34:49 2017 +1000
|
||||||
|
|
||||||
|
stream_decoder.c: Fix a memory leak
|
||||||
|
|
||||||
|
Leak reported by Secunia Research.
|
||||||
|
|
||||||
|
diff --git a/src/libFLAC/stream_decoder.c b/src/libFLAC/stream_decoder.c
|
||||||
|
index 14d5fe7f..a5527511 100644
|
||||||
|
--- a/src/libFLAC/stream_decoder.c
|
||||||
|
+++ b/src/libFLAC/stream_decoder.c
|
||||||
|
@@ -1753,6 +1753,9 @@ FLAC__bool read_metadata_vorbiscomment_(FLAC__StreamDecoder *decoder, FLAC__Stre
|
||||||
|
}
|
||||||
|
memset (obj->comments[i].entry, 0, obj->comments[i].length) ;
|
||||||
|
if (!FLAC__bitreader_read_byte_block_aligned_no_crc(decoder->private_->input, obj->comments[i].entry, obj->comments[i].length)) {
|
||||||
|
+ /* Current i-th entry is bad, so we delete it. */
|
||||||
|
+ free (obj->comments[i].entry) ;
|
||||||
|
+ obj->comments[i].entry = NULL ;
|
||||||
|
obj->num_comments = i;
|
||||||
|
goto skip;
|
||||||
|
}
|
||||||
12
flac-nonasm.patch
Normal file
12
flac-nonasm.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -up flac-1.3.2/configure.ac.nonasm flac-1.3.2/configure.ac
|
||||||
|
--- flac-1.3.2/configure.ac.nonasm 2018-09-20 18:07:24.511716480 +0200
|
||||||
|
+++ flac-1.3.2/configure.ac 2018-09-20 18:21:18.727824763 +0200
|
||||||
|
@@ -377,7 +377,7 @@ if test x$have_clock_gettime = xyes; the
|
||||||
|
fi
|
||||||
|
|
||||||
|
# only matters for x86
|
||||||
|
-AC_CHECK_PROGS(NASM, nasm)
|
||||||
|
+#AC_CHECK_PROGS(NASM, nasm)
|
||||||
|
AM_CONDITIONAL(FLaC__HAS_NASM, test -n "$NASM")
|
||||||
|
if test -n "$NASM" ; then
|
||||||
|
AC_DEFINE(FLAC__HAS_NASM)
|
||||||
147
flac.spec
147
flac.spec
@ -1,14 +1,24 @@
|
|||||||
Summary: An encoder/decoder for the Free Lossless Audio Codec
|
Summary: An encoder/decoder for the Free Lossless Audio Codec
|
||||||
Name: flac
|
Name: flac
|
||||||
Version: 1.4.3
|
Version: 1.3.2
|
||||||
Release: 6%{?dist}
|
Release: 11%{?dist}
|
||||||
License: BSD-3-Clause AND GPL-2.0-or-later AND GFDL-1.1-or-later
|
License: BSD and GPLv2+ and GFDL
|
||||||
Source0: https://downloads.xiph.org/releases/flac/flac-%{version}.tar.xz
|
Group: Applications/Multimedia
|
||||||
URL: https://www.xiph.org/flac/
|
Source0: http://downloads.xiph.org/releases/flac/flac-%{version}.tar.xz
|
||||||
|
URL: http://www.xiph.org/flac/
|
||||||
|
# use our CFLAGS and don't force SSE intrinsics
|
||||||
|
Patch1: flac-cflags.patch
|
||||||
|
# fix memory leak in parsing of vorbis comments
|
||||||
|
Patch2: flac-memleak.patch
|
||||||
|
# disable nasm detection
|
||||||
|
Patch3: flac-nonasm.patch
|
||||||
|
# don't free memory that is still used after realloc() error
|
||||||
|
Patch4: flac-cve-2020-22219.patch
|
||||||
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||||
BuildRequires: libogg-devel
|
BuildRequires: libogg-devel
|
||||||
BuildRequires: gcc gcc-c++ automake autoconf libtool gettext-devel doxygen
|
BuildRequires: gcc automake autoconf libtool gettext-devel doxygen
|
||||||
BuildRequires: make
|
# xmms-flac subpackage was dropped in 1.3.2-8
|
||||||
|
Obsoletes: xmms-%{name} < 1.3.2-8
|
||||||
|
|
||||||
%description
|
%description
|
||||||
FLAC stands for Free Lossless Audio Codec. Grossly oversimplified, FLAC
|
FLAC stands for Free Lossless Audio Codec. Grossly oversimplified, FLAC
|
||||||
@ -22,9 +32,8 @@ This package contains the command-line tools and documentation.
|
|||||||
|
|
||||||
%package libs
|
%package libs
|
||||||
Summary: Libraries for the Free Lossless Audio Codec
|
Summary: Libraries for the Free Lossless Audio Codec
|
||||||
|
Group: System Environment/Libraries
|
||||||
Obsoletes: flac < 1.2.1-11
|
Obsoletes: flac < 1.2.1-11
|
||||||
# xmms-flac dropped in 1.3.3-8
|
|
||||||
Obsoletes: xmms-flac < 1.3.3-8
|
|
||||||
|
|
||||||
%description libs
|
%description libs
|
||||||
FLAC stands for Free Lossless Audio Codec. Grossly oversimplified, FLAC
|
FLAC stands for Free Lossless Audio Codec. Grossly oversimplified, FLAC
|
||||||
@ -37,6 +46,7 @@ This package contains the FLAC libraries.
|
|||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development libraries and header files from FLAC
|
Summary: Development libraries and header files from FLAC
|
||||||
|
Group: Development/Libraries
|
||||||
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||||
Requires: pkgconfig
|
Requires: pkgconfig
|
||||||
|
|
||||||
@ -46,132 +56,69 @@ will use the Free Lossless Audio Codec.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch1 -p1 -b .cflags
|
||||||
|
%patch2 -p1 -b .memleak
|
||||||
|
%patch3 -p1 -b .nonasm
|
||||||
|
%patch4 -p1 -b .cve-2020-22219
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# use our libtool to avoid problems with RPATH
|
# use our libtool to avoid problems with RPATH
|
||||||
./autogen.sh -V
|
./autogen.sh -V
|
||||||
|
|
||||||
|
# -funroll-loops makes encoding about 10% faster
|
||||||
|
export CFLAGS="%{optflags} -funroll-loops"
|
||||||
%configure \
|
%configure \
|
||||||
--htmldir=%{_docdir}/flac/html \
|
--disable-xmms-plugin \
|
||||||
--disable-silent-rules \
|
--disable-silent-rules \
|
||||||
--disable-thorough-tests
|
--disable-thorough-tests
|
||||||
|
|
||||||
%make_build
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
make install DESTDIR=%{buildroot}
|
||||||
|
|
||||||
|
# split documentation
|
||||||
|
mv %{buildroot}%{_docdir}/flac* ./flac-doc
|
||||||
|
mkdir -p flac-doc-devel
|
||||||
|
mv flac-doc{/html/api,-devel}
|
||||||
|
rm flac-doc/FLAC.tag
|
||||||
|
|
||||||
rm -r %{buildroot}%{_docdir}/flac
|
|
||||||
rm %{buildroot}%{_libdir}/*.la
|
rm %{buildroot}%{_libdir}/*.la
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make check
|
make -C test check FLAC__TEST_LEVEL=0 &> /dev/null
|
||||||
|
|
||||||
%ldconfig_scriptlets libs
|
%ldconfig_scriptlets libs
|
||||||
|
|
||||||
%files
|
%files
|
||||||
|
%doc flac-doc/*
|
||||||
%{_bindir}/flac
|
%{_bindir}/flac
|
||||||
%{_bindir}/metaflac
|
%{_bindir}/metaflac
|
||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
|
|
||||||
%files libs
|
%files libs
|
||||||
%doc AUTHORS README.md CHANGELOG.md
|
%doc AUTHORS COPYING* README
|
||||||
%license COPYING.*
|
%{_libdir}/*.so.*
|
||||||
%{_libdir}/libFLAC.so.12*
|
|
||||||
%{_libdir}/libFLAC++.so.10*
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%doc doc/api
|
%doc flac-doc-devel/*
|
||||||
%{_includedir}/*
|
%{_includedir}/*
|
||||||
%{_libdir}/*.so
|
%{_libdir}/*.so
|
||||||
%{_libdir}/pkgconfig/*
|
%{_libdir}/pkgconfig/*
|
||||||
%{_datadir}/aclocal/*.m4
|
%{_datadir}/aclocal/*.m4
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1.4.3-6
|
* Mon Sep 25 2023 Miroslav Lichvar <mlichvar@redhat.com> 1.3.2-11
|
||||||
- Bump release for October 2024 mass rebuild:
|
- rebuild
|
||||||
Resolves: RHEL-64018
|
|
||||||
|
|
||||||
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.4.3-5
|
* Mon Sep 18 2023 Miroslav Lichvar <mlichvar@redhat.com> 1.3.2-10
|
||||||
- Bump release for June 2024 mass rebuild
|
- don't free memory that is still used after realloc() error (CVE-2020-22219)
|
||||||
|
|
||||||
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.3-4
|
* Thu Sep 20 2018 Miroslav Lichvar <mlichvar@redhat.com> 1.3.2-9
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
- disable nasm to avoid gaps in annobin coverage (#1630561)
|
||||||
|
|
||||||
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.3-3
|
* Wed May 16 2018 Miroslav Lichvar <mlichvar@redhat.com> 1.3.2-8
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
- drop xmms-flac subpackage (#1578806)
|
||||||
|
|
||||||
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.3-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
||||||
|
|
||||||
* Tue Jun 27 2023 Miroslav Lichvar <mlichvar@redhat.com> 1.4.3-1
|
|
||||||
- update to 1.4.3
|
|
||||||
- convert license tag to SPDX
|
|
||||||
|
|
||||||
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
||||||
|
|
||||||
* Mon Oct 24 2022 Miroslav Lichvar <mlichvar@redhat.com> 1.4.2-1
|
|
||||||
- update to 1.4.2
|
|
||||||
|
|
||||||
* Mon Sep 26 2022 Miroslav Lichvar <mlichvar@redhat.com> 1.4.1-1
|
|
||||||
- update to 1.4.1
|
|
||||||
|
|
||||||
* Mon Sep 12 2022 Miroslav Lichvar <mlichvar@redhat.com> 1.4.0-1
|
|
||||||
- update to 1.4.0
|
|
||||||
|
|
||||||
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.4-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
||||||
|
|
||||||
* Thu Feb 24 2022 Miroslav Lichvar <mlichvar@redhat.com> 1.3.4-1
|
|
||||||
- update to 1.3.4 (CVE-2021-0561)
|
|
||||||
|
|
||||||
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.3-10
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.3-9
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
||||||
|
|
||||||
* Mon May 31 2021 Miroslav Lichvar <mlichvar@redhat.com> 1.3.3-8
|
|
||||||
- drop xmms plugin (#1965618)
|
|
||||||
|
|
||||||
* Fri Feb 19 2021 Adam Jackson <ajax@redhat.com> - 1.3.3-7
|
|
||||||
- Fix the previous change to actually build in RHEL
|
|
||||||
|
|
||||||
* Thu Feb 18 2021 Adam Jackson <ajax@redhat.com> - 1.3.3-6
|
|
||||||
- Disable xmms in RHEL
|
|
||||||
|
|
||||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.3-5
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
||||||
|
|
||||||
* Thu Jan 07 2021 Miroslav Lichvar <mlichvar@redhat.com> 1.3.3-4
|
|
||||||
- fix out-of-bounds read in decoder (CVE-2020-0499)
|
|
||||||
|
|
||||||
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.3-3
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
||||||
|
|
||||||
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.3-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
||||||
|
|
||||||
* Tue Aug 06 2019 Miroslav Lichvar <mlichvar@redhat.com> 1.3.3-1
|
|
||||||
- update to 1.3.3
|
|
||||||
- include soname in file list
|
|
||||||
|
|
||||||
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-12
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
||||||
|
|
||||||
* Thu Mar 7 2019 Tim Landscheidt <tim@tim-landscheidt.de> - 1.3.2-11
|
|
||||||
- Remove obsolete requirements for %%post/%%postun scriptlets
|
|
||||||
|
|
||||||
* Tue Feb 05 2019 Miroslav Lichvar <mlichvar@redhat.com> 1.3.2-10
|
|
||||||
- rebuild again
|
|
||||||
- fix indentation in buildrequires
|
|
||||||
|
|
||||||
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-9
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-8
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed May 02 2018 Miroslav Lichvar <mlichvar@redhat.com> 1.3.2-7
|
* Wed May 02 2018 Miroslav Lichvar <mlichvar@redhat.com> 1.3.2-7
|
||||||
- fix memory leak in parsing of vorbis comments (CVE-2017-6888)
|
- fix memory leak in parsing of vorbis comments (CVE-2017-6888)
|
||||||
|
|||||||
25
gating.yaml
Normal file
25
gating.yaml
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
--- !Policy
|
||||||
|
product_versions:
|
||||||
|
- fedora-*
|
||||||
|
decision_context: bodhi_update_push_testing
|
||||||
|
subject_type: koji_build
|
||||||
|
rules:
|
||||||
|
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/tier1-public.functional}
|
||||||
|
|
||||||
|
#Rawhide
|
||||||
|
--- !Policy
|
||||||
|
product_versions:
|
||||||
|
- fedora-*
|
||||||
|
decision_context: bodhi_update_push_stable
|
||||||
|
subject_type: koji_build
|
||||||
|
rules:
|
||||||
|
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/tier1-public.functional}
|
||||||
|
|
||||||
|
#gating rhel
|
||||||
|
--- !Policy
|
||||||
|
product_versions:
|
||||||
|
- rhel-*
|
||||||
|
decision_context: osci_compose_gate
|
||||||
|
rules:
|
||||||
|
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/tier1-public.functional}
|
||||||
|
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/tier1-internal.functional}
|
||||||
36
plans.fmf
Normal file
36
plans.fmf
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
/tier1-internal:
|
||||||
|
plan:
|
||||||
|
import:
|
||||||
|
url: https://gitlab.com/redhat/centos-stream/tests/flac.git
|
||||||
|
name: /plans/tier1/internal
|
||||||
|
|
||||||
|
/tier1-public:
|
||||||
|
plan:
|
||||||
|
import:
|
||||||
|
url: https://gitlab.com/redhat/centos-stream/tests/flac.git
|
||||||
|
name: /plans/tier1/public
|
||||||
|
|
||||||
|
/tier2-tier3-internal:
|
||||||
|
plan:
|
||||||
|
import:
|
||||||
|
url: https://gitlab.com/redhat/centos-stream/tests/flac.git
|
||||||
|
name: /plans/tier2-tier3/internal
|
||||||
|
|
||||||
|
/tier2-tier3-public:
|
||||||
|
plan:
|
||||||
|
import:
|
||||||
|
url: https://gitlab.com/redhat/centos-stream/tests/flac.git
|
||||||
|
name: /plans/tier2-tier3/public
|
||||||
|
|
||||||
|
/others-internal:
|
||||||
|
plan:
|
||||||
|
import:
|
||||||
|
url: https://gitlab.com/redhat/centos-stream/tests/flac.git
|
||||||
|
name: /plans/others/internal
|
||||||
|
|
||||||
|
/others-public:
|
||||||
|
plan:
|
||||||
|
import:
|
||||||
|
url: https://gitlab.com/redhat/centos-stream/tests/flac.git
|
||||||
|
name: /plans/others/public
|
||||||
|
|
||||||
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (flac-1.4.3.tar.xz) = 3cf095720bd590a588be8ccbe187d22e7a1c60ab85b1d510ce5e8a22ab0a51827b9acfeaad59bbd645a17d1f200f559255a640101b0330709a164306c0e9709e
|
SHA512 (flac-1.3.2.tar.xz) = 63910e8ebbe508316d446ffc9eb6d02efbd5f47d29d2ea7864da9371843c8e671854db6e89ba043fe08aef1845b8ece70db80f1cce853f591ca30d56ef7c3a15
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user