]> git.pld-linux.org Git - packages/libzip.git/commitdiff
- updated to 1.0.1 (note: new soname, removed ziptorrent) auto/th/libzip-1.0.1-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 10 May 2015 06:49:50 +0000 (08:49 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 10 May 2015 06:49:50 +0000 (08:49 +0200)
- removed obsolete CVE-2015-2331 patch

libzip-CVE-2015-2331.patch [deleted file]
libzip.spec

diff --git a/libzip-CVE-2015-2331.patch b/libzip-CVE-2015-2331.patch
deleted file mode 100644 (file)
index 6aa8943..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-changeset:   1718:9f11d54f692e
-user:        Thomas Klausner <tk@giga.or.at>
-date:        Sat Mar 21 12:28:42 2015 +0100
-summary:     Avoid integer overflow. Addresses CVE-2015-2331.
-
-diff -r fa78ab51417f -r 9f11d54f692e lib/zip_dirent.c
---- a/lib/zip_dirent.c Wed Mar 11 18:17:53 2015 +0100
-+++ b/lib/zip_dirent.c Sat Mar 21 12:28:42 2015 +0100
-@@ -105,7 +105,7 @@
-     if (nentry == 0)
-       cd->entry = NULL;
--    else if ((cd->entry=(struct zip_entry *)malloc(sizeof(*(cd->entry))*(size_t)nentry)) == NULL) {
-+    else if ((nentry > SIZE_MAX/sizeof(*(cd->entry))) || (cd->entry=(struct zip_entry_t *)malloc(sizeof(*(cd->entry))*(size_t)nentry)) == NULL) {
-       _zip_error_set(error, ZIP_ER_MEMORY, 0);
-       free(cd);
-       return NULL;
index 95f326c5c9371ea3ff18c00ea5c3cbf661199656..e6601abdf606b889656d4360e3bbb2062a5371aa 100644 (file)
@@ -1,20 +1,20 @@
 Summary:       C library for reading, creating, and modifying zip archives
 Summary(pl.UTF-8):     Biblioteka C do odczytu, zapisu i modyfikacji archiwów zip
 Name:          libzip
-Version:       0.11.2
-Release:       3
+Version:       1.0.1
+Release:       1
 License:       BSD
 Group:         Libraries
 Source0:       http://www.nih.at/libzip/%{name}-%{version}.tar.xz
-# Source0-md5: 44c99b67dca34707b5728e5f8434fe91
-Patch0:                %{name}-CVE-2015-2331.patch
+# Source0-md5: e2371fc6f04a46efdaf8cbf4118ffafd
 URL:           http://www.nih.at/libzip/
-BuildRequires: autoconf >= 2.57
+BuildRequires: autoconf >= 2.60
 BuildRequires: automake
-BuildRequires: libtool
+BuildRequires: libtool >= 2:2
 BuildRequires: tar >= 1:1.22
 BuildRequires: xz
 BuildRequires: zlib-devel >= 1.1.2
+Requires:      zlib >= 1.1.2
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -56,7 +56,6 @@ Statyczna biblioteka libzip.
 
 %prep
 %setup -q
-%patch0 -p1
 
 %build
 %{__libtoolize}
@@ -85,20 +84,20 @@ rm -rf $RPM_BUILD_ROOT
 %doc AUTHORS LICENSE NEWS README THANKS TODO
 %attr(755,root,root) %{_bindir}/zipcmp
 %attr(755,root,root) %{_bindir}/zipmerge
-%attr(755,root,root) %{_bindir}/ziptorrent
 %attr(755,root,root) %{_libdir}/libzip.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libzip.so.2
+%attr(755,root,root) %ghost %{_libdir}/libzip.so.4
 %{_mandir}/man1/zipcmp.1*
 %{_mandir}/man1/zipmerge.1*
-%{_mandir}/man1/ziptorrent.1*
 
 %files devel
 %defattr(644,root,root,755)
+%doc API-CHANGES
 %attr(755,root,root) %{_libdir}/libzip.so
 %dir %{_libdir}/libzip
 %{_libdir}/libzip/include
 %{_includedir}/zip.h
 %{_pkgconfigdir}/libzip.pc
+%{_mandir}/man3/ZIP_SOURCE_GET_ARGS.3*
 %{_mandir}/man3/libzip.3*
 %{_mandir}/man3/zip_*.3*
 
This page took 0.101474 seconds and 4 git commands to generate.