2007-01-16 00:26:27 +01:00
|
|
|
#
|
2012-09-08 13:24:11 +02:00
|
|
|
# spec file for package nasm
|
2007-01-16 00:26:27 +01:00
|
|
|
#
|
Accepting request 569247 from home:adamm:branches:devel:tools:compiler
- 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
2018-01-24 17:35:18 +01:00
|
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
2007-01-16 00:26:27 +01:00
|
|
|
#
|
2008-09-13 05:56:32 +02:00
|
|
|
# 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.
|
|
|
|
|
2007-01-26 17:44:59 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
2007-01-16 00:26:27 +01:00
|
|
|
#
|
|
|
|
|
2008-04-09 00:34:29 +02:00
|
|
|
|
2007-01-26 17:44:59 +01:00
|
|
|
Name: nasm
|
Accepting request 569247 from home:adamm:branches:devel:tools:compiler
- 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
2018-01-24 17:35:18 +01:00
|
|
|
Version: 2.13.02
|
2012-09-08 13:24:11 +02:00
|
|
|
Release: 0
|
2007-01-26 17:44:59 +01:00
|
|
|
Summary: Netwide Assembler (An x86 Assembler)
|
2012-09-08 13:24:11 +02:00
|
|
|
License: BSD-2-Clause
|
|
|
|
Group: Development/Languages/Other
|
2015-02-22 21:58:53 +01:00
|
|
|
Url: http://www.nasm.us/
|
|
|
|
Source: http://www.nasm.us/pub/nasm/releasebuilds/%{version}/nasm-%{version}.tar.xz
|
2015-02-24 09:52:18 +01:00
|
|
|
BuildRequires: fdupes
|
2007-01-16 00:26:27 +01:00
|
|
|
|
|
|
|
%description
|
2017-05-23 13:32:48 +02:00
|
|
|
NASM is a prototype general-purpose x86 assembler. It can currently output
|
|
|
|
several binary formats, including ELF, a.out, Win32, and OS/2.
|
2007-01-16 00:26:27 +01:00
|
|
|
|
|
|
|
%prep
|
2009-01-15 00:41:50 +01:00
|
|
|
%setup -q
|
2007-01-16 00:26:27 +01:00
|
|
|
|
|
|
|
%build
|
2017-05-23 13:32:48 +02:00
|
|
|
touch -r ./version.h ./version.h.stamp
|
2011-03-22 17:44:08 +01:00
|
|
|
TS=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%b %%e %%Y')
|
2017-05-23 13:32:48 +02:00
|
|
|
sed -i "s/__DATE__/\"$TS\"/g" version.h
|
|
|
|
touch -r ./version.h.stamp ./version.h
|
2010-09-10 15:00:11 +02:00
|
|
|
%configure
|
2015-02-22 21:58:53 +01:00
|
|
|
make %{?_smp_mflags} all
|
2007-01-16 00:26:27 +01:00
|
|
|
|
|
|
|
%install
|
2017-05-23 13:32:48 +02:00
|
|
|
make INSTALLROOT=%{buildroot} install rdf_install
|
2017-07-25 14:08:19 +02:00
|
|
|
%fdupes %{buildroot}%{_mandir}
|
|
|
|
|
|
|
|
%check
|
|
|
|
make test
|
2007-01-16 00:26:27 +01:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2017-05-23 13:32:48 +02:00
|
|
|
%doc AUTHORS CHANGES ChangeLog LICENSE README
|
2016-03-01 09:42:59 +01:00
|
|
|
%{_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}
|
2008-04-09 00:34:29 +02:00
|
|
|
|
2008-01-12 03:03:07 +01:00
|
|
|
%changelog
|