|
@@ -1,6 +1,6 @@
|
|
Name: jansson
|
|
Name: jansson
|
|
Version: 2.7
|
|
Version: 2.7
|
|
-Release: 1%{?_dist_release}
|
|
+Release: 2%{?_dist_release}
|
|
Summary: C library for encoding, decoding and manipulating JSON data
|
|
Summary: C library for encoding, decoding and manipulating JSON data
|
|
Summary(ja): JSONデータをエンコード・デコード・操作するためのライブラリ
|
|
Summary(ja): JSONデータをエンコード・デコード・操作するためのライブラリ
|
|
|
|
|
|
@@ -12,6 +12,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
|
|
|
|
BuildRequires: python-sphinx
|
|
BuildRequires: python-sphinx
|
|
|
|
|
|
|
|
+Patch1000: CVE-2016-4425.patch
|
|
|
|
+
|
|
%description
|
|
%description
|
|
Small library for parsing and writing JSON documents.
|
|
Small library for parsing and writing JSON documents.
|
|
|
|
|
|
@@ -27,6 +29,7 @@ Header files for developing applications making use of jansson.
|
|
|
|
|
|
%prep
|
|
%prep
|
|
%setup -q
|
|
%setup -q
|
|
|
|
+%patch1000 -p1 -b .CVE-2016-4425
|
|
|
|
|
|
%build
|
|
%build
|
|
%configure --disable-static
|
|
%configure --disable-static
|
|
@@ -44,9 +47,11 @@ rm "$RPM_BUILD_ROOT%{_libdir}"/*.la
|
|
%clean
|
|
%clean
|
|
rm -rf "$RPM_BUILD_ROOT"
|
|
rm -rf "$RPM_BUILD_ROOT"
|
|
|
|
|
|
-%post -p /sbin/ldconfig
|
|
+%post
|
|
|
|
+/sbin/ldconfig
|
|
|
|
|
|
-%postun -p /sbin/ldconfig
|
|
+%postun
|
|
|
|
+/sbin/ldconfig
|
|
|
|
|
|
%files
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%defattr(-,root,root,-)
|
|
@@ -61,6 +66,9 @@ rm -rf "$RPM_BUILD_ROOT"
|
|
%{_includedir}/*
|
|
%{_includedir}/*
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Fri May 20 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.7-2
|
|
|
|
+- added Patch1000 to fix CVE-2016-4425.
|
|
|
|
+
|
|
* Wed Jul 8 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.7-1
|
|
* Wed Jul 8 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.7-1
|
|
- new upstream release.
|
|
- new upstream release.
|
|
|
|
|