Change-Id: Ie81cb7b3607a0adccceaae8694769cb486ffb5fe
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/6703
Tested-by: michellew <michellew@vmware.com>
Reviewed-by: Anish Swaminathan <anishs@vmware.com>
| ... | ... |
@@ -1,25 +1,25 @@ |
| 1 |
-%define sourcever 3220000 |
|
| 1 |
+%define sourcever 3260000 |
|
| 2 | 2 |
Summary: A portable, high level programming interface to various calling conventions |
| 3 | 3 |
Name: sqlite-autoconf |
| 4 |
-Version: 3.22.0 |
|
| 5 |
-Release: 3%{?dist}
|
|
| 4 |
+Version: 3.26.0 |
|
| 5 |
+Release: 1%{?dist}
|
|
| 6 | 6 |
License: Public Domain |
| 7 | 7 |
URL: http://www.sqlite.org |
| 8 | 8 |
Group: System Environment/GeneralLibraries |
| 9 | 9 |
Vendor: VMware, Inc. |
| 10 | 10 |
Distribution: Photon |
| 11 |
-Source0: http://sqlite.org/2018/%{name}-3220000.tar.gz
|
|
| 12 |
-%define sha1 sqlite=2fb24ec12001926d5209d2da90d252b9825366ac |
|
| 13 |
-Patch0: sqlite-3.22.0-CVE-2018-8740.patch |
|
| 11 |
+Source0: http://sqlite.org/2018/%{name}-3260000.tar.gz
|
|
| 12 |
+%define sha1 sqlite=9af2df1a6da5db6e2ecf3f463625f16740e036e9 |
|
| 14 | 13 |
Obsoletes: libsqlite |
| 15 | 14 |
Provides: sqlite3 |
| 15 |
+ |
|
| 16 | 16 |
%description |
| 17 | 17 |
This package contains most of the static files that comprise the |
| 18 | 18 |
www.sqlite.org website including all of the SQL Syntax and the |
| 19 | 19 |
C/C++ interface specs and other miscellaneous documentation. |
| 20 |
+ |
|
| 20 | 21 |
%prep |
| 21 | 22 |
%setup -q -n %{name}-%{sourcever}
|
| 22 |
-%patch0 -p1 |
|
| 23 | 23 |
|
| 24 | 24 |
%build |
| 25 | 25 |
./configure \ |
| ... | ... |
@@ -38,6 +38,7 @@ C/C++ interface specs and other miscellaneous documentation. |
| 38 | 38 |
--libdir=%{_libdir} \
|
| 39 | 39 |
--disable-static |
| 40 | 40 |
make -j1 |
| 41 |
+ |
|
| 41 | 42 |
%install |
| 42 | 43 |
[ %{buildroot} != "/"] && rm -rf %{buildroot}/*
|
| 43 | 44 |
make DESTDIR=%{buildroot} install
|
| ... | ... |
@@ -45,12 +46,16 @@ install -D -m644 sqlite3.1 %{buildroot}/%{_mandir}/man1/sqlite3.1
|
| 45 | 45 |
find %{buildroot}/%{_libdir} -name '*.la' -delete
|
| 46 | 46 |
rm -rf %{buildroot}/%{_infodir}
|
| 47 | 47 |
%{_fixperms} %{buildroot}/*
|
| 48 |
+ |
|
| 48 | 49 |
%check |
| 49 | 50 |
make -k check |& tee %{_specdir}/%{name}-check-log || %{nocheck}
|
| 51 |
+ |
|
| 50 | 52 |
%post -p /sbin/ldconfig |
| 51 | 53 |
%postun -p /sbin/ldconfig |
| 54 |
+ |
|
| 52 | 55 |
%clean |
| 53 | 56 |
rm -rf %{buildroot}/*
|
| 57 |
+ |
|
| 54 | 58 |
%files |
| 55 | 59 |
%defattr(-,root,root) |
| 56 | 60 |
%{_libdir}/*.so*
|
| ... | ... |
@@ -58,7 +63,10 @@ rm -rf %{buildroot}/*
|
| 58 | 58 |
%{_includedir}/*
|
| 59 | 59 |
%{_libdir}/pkgconfig/*
|
| 60 | 60 |
%{_mandir}/man1/*
|
| 61 |
+ |
|
| 61 | 62 |
%changelog |
| 63 |
+* Wed Feb 3 2019 Michelle Wang <michellew@vmware.com> 3.26.0-1 |
|
| 64 |
+- Upgrade to 3.26.0 for a critical Vulnerability named 'Magallan'. |
|
| 62 | 65 |
* Thu May 31 2018 Xiaolin Li <xiaolinl@vmware.com> 3.22.0-3 |
| 63 | 66 |
- Change cflags. |
| 64 | 67 |
* Tue Apr 17 2018 Xiaolin Li <xiaolinl@vmware.com> 3.22.0-2 |