Accepting request 970971 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/970971 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libbs2b?expand=0&rev=8
This commit is contained in:
commit
2d1ee41a5a
11
libbs2b-security.patch
Normal file
11
libbs2b-security.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- libbs2b-3.1.0/src/bs2bconvert.c.orig 2014-05-20 23:09:11.975876646 +0100
|
||||||
|
+++ libbs2b-3.1.0/src/bs2bconvert.c 2014-05-20 23:14:06.047076693 +0100
|
||||||
|
@@ -153,7 +153,7 @@
|
||||||
|
if( ( infile = sf_open( infilename, SFM_READ, &sfinfo ) ) == NULL )
|
||||||
|
{
|
||||||
|
printf( "Not able to open input file %s.\n", infilename );
|
||||||
|
- printf( sf_strerror( NULL ) );
|
||||||
|
+ printf( "%s", sf_strerror( NULL ) );
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Apr 19 20:34:01 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- add libbs2b-security.patch to prevent format-security issues
|
||||||
|
- spec-cleaner fixes
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Aug 18 09:35:10 UTC 2016 - zaitor@opensuse.org
|
Thu Aug 18 09:35:10 UTC 2016 - zaitor@opensuse.org
|
||||||
|
|
||||||
|
18
libbs2b.spec
18
libbs2b.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libbs2b
|
# spec file for package libbs2b
|
||||||
#
|
#
|
||||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2022 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -12,24 +12,23 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define soname 0
|
%define soname 0
|
||||||
|
|
||||||
Name: libbs2b
|
Name: libbs2b
|
||||||
Version: 3.1.0
|
Version: 3.1.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: The Bauer stereophonic-to-binaural DSP library
|
Summary: The Bauer stereophonic-to-binaural DSP library
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Url: http://bs2b..sourceforge.net/
|
URL: http://bs2b.sourceforge.net/
|
||||||
Source0: https://downloads.sourceforge.net/project/bs2b/libbs2b/%{version}/libbs2b-%{version}.tar.bz2
|
Source0: https://downloads.sourceforge.net/project/bs2b/libbs2b/%{version}/libbs2b-%{version}.tar.bz2
|
||||||
|
Patch0: libbs2b-security.patch
|
||||||
Source99: baselibs.conf
|
Source99: baselibs.conf
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: pkgconfig(sndfile)
|
BuildRequires: pkgconfig(sndfile)
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -66,22 +65,23 @@ DSP.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-static
|
%configure --disable-static
|
||||||
make %{?_smp_mflags}
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
rm -f '%{buildroot}%{_libdir}/libbs2b.la'
|
rm -f '%{buildroot}%{_libdir}/libbs2b.la'
|
||||||
|
|
||||||
%post -n libbs2b%{soname} -p /sbin/ldconfig
|
%post -n libbs2b%{soname} -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n libbs2b%{soname} -p /sbin/ldconfig
|
%postun -n libbs2b%{soname} -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -n libbs2b%{soname}
|
%files -n libbs2b%{soname}
|
||||||
%defattr(0644, root, root, 0755)
|
%defattr(0644, root, root, 0755)
|
||||||
%doc AUTHORS ChangeLog COPYING README
|
%license COPYING
|
||||||
|
%doc AUTHORS ChangeLog README
|
||||||
%{_libdir}/libbs2b.so.%{soname}*
|
%{_libdir}/libbs2b.so.%{soname}*
|
||||||
|
|
||||||
%files -n libbs2b-devel
|
%files -n libbs2b-devel
|
||||||
|
Loading…
x
Reference in New Issue
Block a user