2016-01-05 18:29:19 +01:00
|
|
|
#
|
|
|
|
# spec file for package libsass
|
|
|
|
#
|
2020-08-05 14:43:29 +02:00
|
|
|
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
|
2016-01-05 18:29:19 +01: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.
|
|
|
|
|
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 09:43:57 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2016-01-05 18:29:19 +01:00
|
|
|
#
|
|
|
|
|
2016-07-07 17:48:55 +02:00
|
|
|
|
2020-08-05 14:43:29 +02:00
|
|
|
%define libname libsass-3_6_4-1
|
2016-01-05 18:29:19 +01:00
|
|
|
Name: libsass
|
2020-08-05 14:43:29 +02:00
|
|
|
Version: 3.6.4
|
2016-01-05 18:29:19 +01:00
|
|
|
Release: 0
|
2016-11-24 15:35:30 +01:00
|
|
|
Summary: Compiler library for A CSS preprocessor language
|
2016-07-07 17:48:55 +02:00
|
|
|
License: MIT
|
2016-01-05 18:29:19 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
2016-07-07 17:48:55 +02:00
|
|
|
Url: https://github.com/sass/libsass
|
2016-11-23 18:04:07 +01:00
|
|
|
Source: https://github.com/sass/libsass/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
2016-07-18 10:18:37 +02:00
|
|
|
Patch1: libsass-am.diff
|
|
|
|
Patch2: libsass-vers.diff
|
2016-01-05 18:29:19 +01:00
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: automake
|
|
|
|
BuildRequires: gcc-c++
|
2016-07-07 17:48:55 +02:00
|
|
|
BuildRequires: libtool
|
|
|
|
BuildRequires: pkgconfig
|
2016-01-05 18:29:19 +01:00
|
|
|
|
|
|
|
%description
|
2016-07-18 10:18:37 +02:00
|
|
|
Sass is a CSS pre-processor language to add new features to CSS.
|
|
|
|
LibSass is a C/C++ port of the Sass CSS precompiler.
|
2016-01-05 18:29:19 +01:00
|
|
|
|
2016-07-07 17:48:55 +02:00
|
|
|
%package -n %{libname}
|
2016-11-24 15:35:30 +01:00
|
|
|
Summary: Compiler library for A CSS preprocessor language
|
|
|
|
Group: System/Libraries
|
2016-07-07 17:48:55 +02:00
|
|
|
|
|
|
|
%description -n %{libname}
|
2016-11-24 15:35:30 +01:00
|
|
|
This package provides the shared library object for libsass.
|
2016-07-07 17:48:55 +02:00
|
|
|
|
2016-01-05 18:29:19 +01:00
|
|
|
%package devel
|
2016-11-24 15:35:30 +01:00
|
|
|
Summary: Development files for libsass, a library for a CSS preprocessor language
|
2016-01-05 18:29:19 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
2016-07-07 17:48:55 +02:00
|
|
|
Requires: %{libname} = %{version}
|
2016-01-05 18:29:19 +01:00
|
|
|
|
|
|
|
%description devel
|
2016-11-24 15:35:30 +01:00
|
|
|
This package provides development header files for libsass.
|
2016-01-05 18:29:19 +01:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2016-07-18 10:18:37 +02:00
|
|
|
%patch -P 1 -P 2 -p1
|
2016-01-05 18:29:19 +01:00
|
|
|
|
|
|
|
%build
|
2016-07-18 10:18:37 +02:00
|
|
|
if [ ! -f VERSION ]; then
|
|
|
|
echo "%{version}" >VERSION
|
|
|
|
fi
|
2016-01-05 18:29:19 +01:00
|
|
|
autoreconf -fi
|
2016-07-18 10:18:37 +02:00
|
|
|
%configure --disable-static
|
2016-01-05 18:29:19 +01:00
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
2016-07-07 17:48:55 +02:00
|
|
|
%check
|
|
|
|
make check %{?_smp_mflags}
|
|
|
|
|
2016-07-18 10:18:37 +02:00
|
|
|
%install
|
|
|
|
%make_install
|
2016-11-23 18:04:07 +01:00
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
2016-07-18 10:18:37 +02:00
|
|
|
|
2016-07-07 17:48:55 +02:00
|
|
|
%post -n %{libname} -p /sbin/ldconfig
|
|
|
|
%postun -n %{libname} -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files -n %{libname}
|
2018-03-09 14:04:39 +01:00
|
|
|
%license LICENSE
|
2016-07-18 10:18:37 +02:00
|
|
|
%{_libdir}/libsass*.so.*
|
2016-07-07 17:48:55 +02:00
|
|
|
|
|
|
|
%files devel
|
2016-07-18 10:18:37 +02:00
|
|
|
%{_includedir}/sass*
|
2016-01-05 18:29:19 +01:00
|
|
|
%{_libdir}/pkgconfig/libsass.pc
|
2016-07-18 10:18:37 +02:00
|
|
|
%{_libdir}/libsass*.so
|
2016-01-05 18:29:19 +01:00
|
|
|
|
|
|
|
%changelog
|