0059ea0f8b
- New upstream version 2.13.02: * Fix generation of PEXTRW instruction. * Fix smartalign package which could trigger an error during optimization if the alignment code expanded too much due to optimization of the previous code. * Fix a case where negative value in TIMES directive causes panic instead of an error. * Fix the incorrect generation of VEX-encoded instruction when static mode decorators are specified on scalar instructions, losing the decorators as they require EVEX encoding. * Fix generation of dependency lists. * Fixes macro calls that have the wrong number of arguments (bsc#1073796, CVE-2017-17810) * Fixes Heap-based buffer overflow allows related to a strcpy in paste_tokens (bsc#1073798, CVE-2017-17811) * Fixes Heap-based buffer over-read in the function detoken() (bsc#1073799, CVE-2017-17812) * Fixes Use-after-free in the pp_list_one_macro function (bsc#1073803, CVE-2017-17813) * Fixes Use-after-free in do_directive (bsc#1073808, CVE-2017-17814) * Fixes Illegal address access in is_mmacro() (bsc#1073818, CVE-2017-17815) * Fixes Use-after-free in pp_getline (bsc#1073823, CVE-2017-17816) * Fixes Use-after-free in pp_verror (bsc#1073829, CVE-2017-17817) * Fixes Heap-based buffer over-read related to a while loop in paste_tokens (bsc#1073830, CVE-2017-17818) * Fixes Illegal address access in the function find_cc (bsc#1073832, CVE-2017-17819) * Fixes Use-after-free in pp_list_one_macro (bsc#1073846, CVE-2017-17820) * Fixes illegal address access in thefunction paste_tokens() (bsc#1058013, CVE-2017-14228) - memory_fixes.patch: changes upstreamed and removed. OBS-URL: https://build.opensuse.org/request/show/569247 OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/nasm?expand=0&rev=34
78 lines
2.2 KiB
RPMSpec
78 lines
2.2 KiB
RPMSpec
#
|
|
# spec file for package nasm
|
|
#
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# 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/
|
|
#
|
|
|
|
|
|
Name: nasm
|
|
Version: 2.13.02
|
|
Release: 0
|
|
Summary: Netwide Assembler (An x86 Assembler)
|
|
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
|
|
BuildRequires: fdupes
|
|
|
|
%description
|
|
NASM is a prototype general-purpose x86 assembler. It can currently output
|
|
several binary formats, including ELF, a.out, Win32, and OS/2.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
touch -r ./version.h ./version.h.stamp
|
|
TS=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%b %%e %%Y')
|
|
sed -i "s/__DATE__/\"$TS\"/g" version.h
|
|
touch -r ./version.h.stamp ./version.h
|
|
%configure
|
|
make %{?_smp_mflags} all
|
|
|
|
%install
|
|
make INSTALLROOT=%{buildroot} install rdf_install
|
|
%fdupes %{buildroot}%{_mandir}
|
|
|
|
%check
|
|
make test
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc AUTHORS CHANGES ChangeLog LICENSE README
|
|
%{_bindir}/ldrdf
|
|
%{_bindir}/nasm
|
|
%{_bindir}/ndisasm
|
|
%{_bindir}/rdf2bin
|
|
%{_bindir}/rdf2com
|
|
%{_bindir}/rdf2ihx
|
|
%{_bindir}/rdf2ith
|
|
%{_bindir}/rdf2srec
|
|
%{_bindir}/rdfdump
|
|
%{_bindir}/rdflib
|
|
%{_bindir}/rdx
|
|
%{_mandir}/man1/ldrdf.1%{ext_man}
|
|
%{_mandir}/man1/nasm.1%{ext_man}
|
|
%{_mandir}/man1/ndisasm.1%{ext_man}
|
|
%{_mandir}/man1/rdf2bin.1%{ext_man}
|
|
%{_mandir}/man1/rdf2com.1%{ext_man}
|
|
%{_mandir}/man1/rdf2ihx.1%{ext_man}
|
|
%{_mandir}/man1/rdf2ith.1%{ext_man}
|
|
%{_mandir}/man1/rdf2srec.1%{ext_man}
|
|
%{_mandir}/man1/rdfdump.1%{ext_man}
|
|
%{_mandir}/man1/rdflib.1%{ext_man}
|
|
%{_mandir}/man1/rdx.1%{ext_man}
|
|
|
|
%changelog
|