SHA256
1
0
forked from pool/nasm

Accepting request 512491 from home:adamm:branches:devel:tools:compiler

- memory_fixes.patch: Fix usage-after-free and buffer overflow
  bugs (bsc#1047925, bsc#1047936, CVE-2017-11111, CVE-2017-10686)
- Restrict %fdupes to manpage directory
- Enable unit tests in %check target

OBS-URL: https://build.opensuse.org/request/show/512491
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/nasm?expand=0&rev=31
This commit is contained in:
Martin Pluskal
2017-07-25 12:08:19 +00:00
committed by Git OBS Bridge
parent 655310f4f7
commit edf3e306c6
3 changed files with 66 additions and 1 deletions

View File

@@ -24,6 +24,7 @@ License: BSD-2-Clause
Group: Development/Languages/Other
Url: http://www.nasm.us/
Source: http://www.nasm.us/pub/nasm/releasebuilds/%{version}/nasm-%{version}.tar.xz
Patch: memory_fixes.patch
BuildRequires: fdupes
%description
@@ -32,6 +33,7 @@ several binary formats, including ELF, a.out, Win32, and OS/2.
%prep
%setup -q
%patch -p1
%build
touch -r ./version.h ./version.h.stamp
@@ -43,7 +45,10 @@ make %{?_smp_mflags} all
%install
make INSTALLROOT=%{buildroot} install rdf_install
%fdupes -s %{buildroot}
%fdupes %{buildroot}%{_mandir}
%check
make test
%files
%defattr(-,root,root)