libsass/libsass.spec
Cédric Bosdonnat 599fa9d451 Accepting request 714780 from home:cbosdonnat:branches:devel:libraries:c_c++
- Update version to 3.6.1:
  * Fix use-after-free vulnerability in sass_context.cpp:handle_error 
    bsc#1096894, CVE-2018-11499
  * Disallow parent selector in selector_fns arguments
    bsc#1118301, CVE-2018-19797
  * Fix use-after-free vulnerability exists in the SharedPtr class 
    bsc#1118346, CVE-2018-19827
  * Fix stack-overflow in Eval::operator()
    bsc#1118348, CVE-2018-19837
  * Fix stack-overflow at IMPLEMENT_AST_OPERATORS expansion
    bsc#1118349, CVE-2018-19838
  * Fix buffer-overflow (OOB read) against some invalid input
    bsc#1118351, CVE-2018-19839
  * Fix Null pointer dereference in Sass::Eval::operator()(Sass::Supports_Operator*)
    bsc#1119789, CVE-2018-20190
  * Fix heap-buffer-overflow in Sass::Prelexer::parenthese_scope(char const*)
    bsc#1121943, CVE-2019-6283
  * Fix heap-based buffer over-read exists in Sass:Prelexer:alternatives
    bsc#1121944, CVE-2019-6284
  * Fix heap-based buffer over-read exists in Sass:Prelexer:skip_over_scopes
    bsc#1121945, CVE-2019-6286
  * Fix uncontrolled recursion in Sass:Parser:parse_css_variable_value
    bsc#1133200, CVE-2018-20821
  * Fix stack-overflow at Sass::Inspect::operator()
    bsc#1133201, CVE-2018-20822

OBS-URL: https://build.opensuse.org/request/show/714780
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libsass?expand=0&rev=22
2019-07-12 07:43:57 +00:00

87 lines
2.4 KiB
RPMSpec

#
# spec file for package libsass
#
# Copyright (c) 2019 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 https://bugs.opensuse.org/
#
%define libname libsass-3_6_1-1
Name: libsass
Version: 3.6.1
Release: 0
Summary: Compiler library for A CSS preprocessor language
License: MIT
Group: Development/Libraries/C and C++
Url: https://github.com/sass/libsass
Source: https://github.com/sass/libsass/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
Patch1: libsass-am.diff
Patch2: libsass-vers.diff
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gcc-c++
BuildRequires: libtool
BuildRequires: pkgconfig
%description
Sass is a CSS pre-processor language to add new features to CSS.
LibSass is a C/C++ port of the Sass CSS precompiler.
%package -n %{libname}
Summary: Compiler library for A CSS preprocessor language
Group: System/Libraries
%description -n %{libname}
This package provides the shared library object for libsass.
%package devel
Summary: Development files for libsass, a library for a CSS preprocessor language
Group: Development/Libraries/C and C++
Requires: %{libname} = %{version}
%description devel
This package provides development header files for libsass.
%prep
%setup -q
%patch -P 1 -P 2 -p1
%build
if [ ! -f VERSION ]; then
echo "%{version}" >VERSION
fi
autoreconf -fi
%configure --disable-static
make %{?_smp_mflags}
%check
make check %{?_smp_mflags}
%install
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
%post -n %{libname} -p /sbin/ldconfig
%postun -n %{libname} -p /sbin/ldconfig
%files -n %{libname}
%license LICENSE
%{_libdir}/libsass*.so.*
%files devel
%{_includedir}/sass*
%{_libdir}/pkgconfig/libsass.pc
%{_libdir}/libsass*.so
%changelog