Accepting request 970902 from home:dirkmueller:Factory
- add libbs2b-security.patch to prevent format-security issues - spec-cleaner fixes OBS-URL: https://build.opensuse.org/request/show/970902 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libbs2b?expand=0&rev=7
This commit is contained in:
parent
410d520390
commit
170867606b
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
|
||||
|
||||
|
18
libbs2b.spec
18
libbs2b.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# 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
|
||||
# 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)
|
||||
# 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
|
||||
|
||||
Name: libbs2b
|
||||
Version: 3.1.0
|
||||
Release: 0
|
||||
Summary: The Bauer stereophonic-to-binaural DSP library
|
||||
License: MIT
|
||||
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
|
||||
Patch0: libbs2b-security.patch
|
||||
Source99: baselibs.conf
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: pkgconfig(sndfile)
|
||||
|
||||
%description
|
||||
@ -66,22 +65,23 @@ DSP.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch -p1
|
||||
|
||||
%build
|
||||
%configure --disable-static
|
||||
make %{?_smp_mflags}
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
rm -f '%{buildroot}%{_libdir}/libbs2b.la'
|
||||
|
||||
%post -n libbs2b%{soname} -p /sbin/ldconfig
|
||||
|
||||
%postun -n libbs2b%{soname} -p /sbin/ldconfig
|
||||
|
||||
%files -n libbs2b%{soname}
|
||||
%defattr(0644, root, root, 0755)
|
||||
%doc AUTHORS ChangeLog COPYING README
|
||||
%license COPYING
|
||||
%doc AUTHORS ChangeLog README
|
||||
%{_libdir}/libbs2b.so.%{soname}*
|
||||
|
||||
%files -n libbs2b-devel
|
||||
|
Loading…
Reference in New Issue
Block a user