commit libzip for openSUSE:Factory
Hello community, here is the log from the commit of package libzip for openSUSE:Factory checked in at 2020-07-16 12:10:56 Comparing /work/SRC/openSUSE:Factory/libzip (Old) and /work/SRC/openSUSE:Factory/.libzip.new.3592 (New) Package is "libzip" Thu Jul 16 12:10:56 2020 rev:41 rq:821071 version:1.7.3 Changes: --- /work/SRC/openSUSE:Factory/libzip/libzip.changes2020-06-22 17:41:41.345035236 +0200 +++ /work/SRC/openSUSE:Factory/.libzip.new.3592/libzip.changes 2020-07-16 12:11:46.546559672 +0200 @@ -1,0 +2,32 @@ +Wed Jul 15 10:27:57 UTC 2020 - pgaj...@suse.com + +- version update to 1.7.3 + * Support cmake < 3.17 again. + * Fix pkgconfig file (regression in 1.7.2). +- deleted patches + - libzip-cmake-rules.patch (upstreamed) +- added patches + fix libdir in pkg-config file (revive the patch from 1.7.1 and + older) + + libzip-pkgconfig.patch + +--- +Mon Jul 13 14:59:48 UTC 2020 - pgaj...@suse.com + +- cmake tweaks: use upstream commit +- modified patches + % libzip-cmake-rules.patch (refreshed) + +--- +Mon Jul 13 08:12:10 UTC 2020 - pgaj...@suse.com + +- version update to 1.7.2 + * Fixes for the CMake find_project() files. + * libzip moved to the CMake libzip:: NAMESPACE. + * CMake usage best practice cleanups. +- deleted patches + - pkgconfig.patch (extended and renamed) +- added patches + + libzip-cmake-rules.patch + +--- Old: libzip-1.7.1.tar.xz pkgconfig.patch New: libzip-1.7.3.tar.xz libzip-pkgconfig.patch Other differences: -- ++ libzip.spec ++ --- /var/tmp/diff_new_pack.j6UKBz/_old 2020-07-16 12:11:48.334561480 +0200 +++ /var/tmp/diff_new_pack.j6UKBz/_new 2020-07-16 12:11:48.338561483 +0200 @@ -19,7 +19,7 @@ %{!?make_build: %global make_build make %{?_smp_mflags}} %define sover 5 Name: libzip -Version:1.7.1 +Version:1.7.3 Release:0 Summary:C library for reading, creating, and modifying zip archives License:BSD-3-Clause @@ -28,7 +28,8 @@ Source0:https://libzip.org/download/libzip-%{version}.tar.xz Source1:baselibs.conf Source2:%{name}-rpmlintrc -Patch2: pkgconfig.patch +# fix libdir in pkg-config file +Patch0: libzip-pkgconfig.patch BuildRequires: cmake >= 3.0.2 BuildRequires: fdupes BuildRequires: groff ++ libzip-1.7.1.tar.xz -> libzip-1.7.3.tar.xz ++ 4585 lines of diff (skipped) ++ libzip-pkgconfig.patch ++ Index: libzip-1.7.3/CMakeLists.txt === --- libzip-1.7.3.orig/CMakeLists.txt2020-07-15 10:02:19.0 +0200 +++ libzip-1.7.3/CMakeLists.txt 2020-07-15 12:32:26.939928388 +0200 @@ -284,7 +284,7 @@ endif() set(prefix ${CMAKE_INSTALL_PREFIX}) set(exec_prefix \${prefix}) SET(bindir \${exec_prefix}/${CMAKE_INSTALL_BINDIR}) -SET(libdir \${exec_prefix}/${CMAKE_INSTALL_LIBDIR}) +SET(libdir ${CMAKE_INSTALL_LIBDIR}) SET(includedir \${prefix}/${CMAKE_INSTALL_INCLUDEDIR}) if(CMAKE_SYSTEM_NAME MATCHES BSD) set(PKG_CONFIG_RPATH "-Wl,-R\${libdir}")
commit libzip for openSUSE:Factory
Hello community, here is the log from the commit of package libzip for openSUSE:Factory checked in at 2020-06-22 17:41:35 Comparing /work/SRC/openSUSE:Factory/libzip (Old) and /work/SRC/openSUSE:Factory/.libzip.new.2956 (New) Package is "libzip" Mon Jun 22 17:41:35 2020 rev:40 rq:814636 version:1.7.1 Changes: --- /work/SRC/openSUSE:Factory/libzip/libzip.changes2020-06-11 14:43:59.865259407 +0200 +++ /work/SRC/openSUSE:Factory/.libzip.new.2956/libzip.changes 2020-06-22 17:41:41.345035236 +0200 @@ -1,0 +2,10 @@ +Sun Jun 14 06:41:41 UTC 2020 - Andreas Stieger + +- libzip 1.7.1: + * Restore LIBZIP_VERSION_{MAJOR,MINOR,MICRO} symbols. + * Add LIBZIP_DO_INSTALL build setting to make it easier to use +libzip as subproject +- build with LZMA to support XZ compressed files +- switch to upstream preferred provider of AES support: GnuTLS + +--- Old: libzip-1.7.0.tar.xz New: libzip-1.7.1.tar.xz libzip-rpmlintrc Other differences: -- ++ libzip.spec ++ --- /var/tmp/diff_new_pack.9BlM8h/_old 2020-06-22 17:41:42.025037419 +0200 +++ /var/tmp/diff_new_pack.9BlM8h/_new 2020-06-22 17:41:42.029037431 +0200 @@ -16,9 +16,10 @@ # +%{!?make_build: %global make_build make %{?_smp_mflags}} %define sover 5 Name: libzip -Version:1.7.0 +Version:1.7.1 Release:0 Summary:C library for reading, creating, and modifying zip archives License:BSD-3-Clause @@ -26,18 +27,20 @@ URL:https://libzip.org/ Source0:https://libzip.org/download/libzip-%{version}.tar.xz Source1:baselibs.conf +Source2:%{name}-rpmlintrc Patch2: pkgconfig.patch -BuildRequires: cmake +BuildRequires: cmake >= 3.0.2 BuildRequires: fdupes BuildRequires: groff -BuildRequires: libbz2-devel -BuildRequires: openssl-devel BuildRequires: pkgconfig # for tests BuildRequires: timezone # for tests BuildRequires: unzip -BuildRequires: zlib-devel +BuildRequires: pkgconfig(bzip2) +BuildRequires: pkgconfig(gnutls) +BuildRequires: pkgconfig(liblzma) +BuildRequires: pkgconfig(zlib) >= 1.1.2 Provides: libzip-util = %{version} Obsoletes: libzip-util < %{version} @@ -100,6 +103,7 @@ %postun -n libzip%{sover} -p /sbin/ldconfig %files tools +%license LICENSE %{_bindir}/zipcmp %{_bindir}/zipmerge %{_bindir}/ziptool @@ -112,6 +116,7 @@ %{_libdir}/libzip.so.%{sover}* %files devel +%license LICENSE %doc AUTHORS NEWS.md THANKS %{_libdir}/%{name}.so %{_includedir}/zip.h ++ libzip-1.7.0.tar.xz -> libzip-1.7.1.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libzip-1.7.0/CMakeLists.txt new/libzip-1.7.1/CMakeLists.txt --- old/libzip-1.7.0/CMakeLists.txt 2020-06-05 12:23:20.0 +0200 +++ new/libzip-1.7.1/CMakeLists.txt 2020-06-13 12:12:26.0 +0200 @@ -3,7 +3,7 @@ LIST(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}) PROJECT(libzip - VERSION 1.7.0 + VERSION 1.7.1 LANGUAGES C) OPTION(ENABLE_COMMONCRYPTO "Enable use of CommonCrypto" ON) @@ -61,6 +61,7 @@ ENDIF() OPTION(BUILD_SHARED_LIBS "Build shared libraries" ON) +OPTION(LIBZIP_DO_INSTALL "Install libzip and the related files" ON) OPTION(SHARED_LIB_VERSIONNING "Add SO version in .so build" ON) @@ -78,32 +79,34 @@ SET(ARCHIVE_NAME ${CMAKE_PROJECT_NAME}-${CMAKE_PROJECT_VERSION}) -ADD_CUSTOM_TARGET(dist - COMMAND git config tar.tar.xz.command "xz -c" - COMMAND git archive --prefix=${ARCHIVE_NAME}/ -o ${ARCHIVE_NAME}.tar.gz HEAD - COMMAND git archive --prefix=${ARCHIVE_NAME}/ -o ${ARCHIVE_NAME}.tar.xz HEAD - WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} - ) -ADD_CUSTOM_TARGET(distcheck - COMMAND chmod -R u+w ${ARCHIVE_NAME} ${ARCHIVE_NAME}-build ${ARCHIVE_NAME}-dest 2>/dev/null || true - COMMAND rm -rf ${ARCHIVE_NAME} ${ARCHIVE_NAME}-build ${ARCHIVE_NAME}-dest - COMMAND ${CMAKE_COMMAND} -E tar xf ${ARCHIVE_NAME}.tar.gz - COMMAND chmod -R u-w ${ARCHIVE_NAME} - COMMAND mkdir ${ARCHIVE_NAME}-build - COMMAND mkdir ${ARCHIVE_NAME}-dest - COMMAND ${CMAKE_COMMAND} -DCMAKE_INSTALL_PREFIX=${ARCHIVE_NAME}-dest ${ARCHIVE_NAME} -B ${ARCHIVE_NAME}-build - COMMAND make -C ${ARCHIVE_NAME}-build -j4 - COMMAND make -C ${ARCHIVE_NAME}-build test - COMMAND make -C ${ARCHIVE_NAME}-build install -# COMMAND make -C ${ARCHIVE_NAME}-build uninstall -# COMMAND if [ `find ${ARCHIVE_NAME}-dest ! -type d | wc -l` -ne 0 ]; then echo leftover files in ${ARCHIVE_NAME}-dest; false; fi - COMMAND make -C ${ARCHIVE_NAME}-build clean - COMMAND chmod -R u+w ${ARCHIVE_NAME} ${ARCHIVE_NAME}-build ${ARCHIVE_NAME}-dest - COMMAND rm -rf ${ARCHIVE_NAME} ${ARCHIVE
commit libzip for openSUSE:Factory
Hello community, here is the log from the commit of package libzip for openSUSE:Factory checked in at 2020-06-11 14:43:24 Comparing /work/SRC/openSUSE:Factory/libzip (Old) and /work/SRC/openSUSE:Factory/.libzip.new.3606 (New) Package is "libzip" Thu Jun 11 14:43:24 2020 rev:39 rq:813180 version:1.7.0 Changes: --- /work/SRC/openSUSE:Factory/libzip/libzip.changes2020-02-29 21:23:40.670417156 +0100 +++ /work/SRC/openSUSE:Factory/.libzip.new.3606/libzip.changes 2020-06-11 14:43:59.865259407 +0200 @@ -1,0 +2,11 @@ +Sat Jun 6 06:05:45 UTC 2020 - Andreas Stieger + +- libzip 1.7.0: + * Add support for encrypting using traditional PKWare encryption + * Add functions for querying supported compression and encryption +methods + * Add the ZIP_SOURCE_GET_FILE_ATTRIBUTES` source command + * Refactor stdio file backend + * Add CMake find_project() support + +--- Old: libzip-1.6.1.tar.xz New: libzip-1.7.0.tar.xz Other differences: -- ++ libzip.spec ++ --- /var/tmp/diff_new_pack.kusymv/_old 2020-06-11 14:44:00.977262647 +0200 +++ /var/tmp/diff_new_pack.kusymv/_new 2020-06-11 14:44:00.981262658 +0200 @@ -18,7 +18,7 @@ %define sover 5 Name: libzip -Version:1.6.1 +Version:1.7.0 Release:0 Summary:C library for reading, creating, and modifying zip archives License:BSD-3-Clause @@ -84,7 +84,7 @@ %build %cmake -DDOCUMENTATION_FORMAT=man -make %{?_smp_mflags} +%make_build %install %cmake_install @@ -117,6 +117,7 @@ %{_includedir}/zip.h %{_includedir}/zipconf.h %{_libdir}/pkgconfig/%{name}.pc +%{_libdir}/cmake %{_mandir}/man3/*.3%{?ext_man} %changelog ++ libzip-1.6.1.tar.xz -> libzip-1.7.0.tar.xz ++ 11487 lines of diff (skipped)
commit libzip for openSUSE:Factory
Hello community, here is the log from the commit of package libzip for openSUSE:Factory checked in at 2020-02-29 21:23:34 Comparing /work/SRC/openSUSE:Factory/libzip (Old) and /work/SRC/openSUSE:Factory/.libzip.new.26092 (New) Package is "libzip" Sat Feb 29 21:23:34 2020 rev:38 rq:779940 version:1.6.1 Changes: --- /work/SRC/openSUSE:Factory/libzip/libzip.changes2020-01-30 09:35:36.633304184 +0100 +++ /work/SRC/openSUSE:Factory/.libzip.new.26092/libzip.changes 2020-02-29 21:23:40.670417156 +0100 @@ -1,0 +2,6 @@ +Mon Feb 24 08:26:07 UTC 2020 - Paolo Stivanin + +- version update to 1.6.1 + * Bugfix for double-free in zipcmp(1) during cleanup. + +--- Old: libzip-1.6.0.tar.xz New: libzip-1.6.1.tar.xz Other differences: -- ++ libzip.spec ++ --- /var/tmp/diff_new_pack.hdnTCs/_old 2020-02-29 21:23:41.402418605 +0100 +++ /var/tmp/diff_new_pack.hdnTCs/_new 2020-02-29 21:23:41.406418613 +0100 @@ -18,7 +18,7 @@ %define sover 5 Name: libzip -Version:1.6.0 +Version:1.6.1 Release:0 Summary:C library for reading, creating, and modifying zip archives License:BSD-3-Clause ++ libzip-1.6.0.tar.xz -> libzip-1.6.1.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libzip-1.6.0/CMakeLists.txt new/libzip-1.6.1/CMakeLists.txt --- old/libzip-1.6.0/CMakeLists.txt 2020-01-24 12:03:14.0 +0100 +++ new/libzip-1.6.1/CMakeLists.txt 2020-02-03 15:18:57.0 +0100 @@ -82,7 +82,7 @@ SET(PACKAGE_NAME ${PACKAGE}) SET(PACKAGE_VERSION_MAJOR "1") SET(PACKAGE_VERSION_MINOR "6") -SET(PACKAGE_VERSION_MICRO "0") +SET(PACKAGE_VERSION_MICRO "1") #SET(VERSION "${PACKAGE_VERSION_MAJOR}.${PACKAGE_VERSION_MINOR}") SET(VERSION "${PACKAGE_VERSION_MAJOR}.${PACKAGE_VERSION_MINOR}.${PACKAGE_VERSION_MICRO}") SET(PACKAGE_VERSION ${VERSION}) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libzip-1.6.0/NEWS.md new/libzip-1.6.1/NEWS.md --- old/libzip-1.6.0/NEWS.md2020-01-24 12:03:14.0 +0100 +++ new/libzip-1.6.1/NEWS.md2020-02-03 15:18:57.0 +0100 @@ -1,3 +1,8 @@ +1.6.1 [2020-02-03] +== + +* Bugfix for double-free in zipcmp(1) during cleanup. + 1.6.0 [2020-01-24] == diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libzip-1.6.0/man/links new/libzip-1.6.1/man/links --- old/libzip-1.6.0/man/links 2020-01-24 12:03:14.0 +0100 +++ new/libzip-1.6.1/man/links 2020-02-03 15:18:57.0 +0100 @@ -6,6 +6,7 @@ zip_file_extra_field_delete zip_file_extra_field_delete_by_id zip_file_extra_field_get zip_file_extra_field_get_by_id zip_file_extra_fields_count zip_file_extra_fields_count_by_id +zip_file_set_mtime zip_file_set_dostime zip_file_strerror zip_strerror zip_fopen zip_fopen_index zip_fopen_encrypted zip_fopen_index_encrypted diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libzip-1.6.0/src/zipcmp.c new/libzip-1.6.1/src/zipcmp.c --- old/libzip-1.6.0/src/zipcmp.c 2020-01-24 12:03:14.0 +0100 +++ new/libzip-1.6.1/src/zipcmp.c 2020-02-03 15:18:57.0 +0100 @@ -248,7 +248,6 @@ } for (j = 0; j < a[i].nentry; j++) { free(a[i].entry[j].name); - free(a[i].entry[j].extra_fields); } free(a[i].entry); }
commit libzip for openSUSE:Factory
Hello community, here is the log from the commit of package libzip for openSUSE:Factory checked in at 2020-01-30 09:35:13 Comparing /work/SRC/openSUSE:Factory/libzip (Old) and /work/SRC/openSUSE:Factory/.libzip.new.26092 (New) Package is "libzip" Thu Jan 30 09:35:13 2020 rev:37 rq:767661 version:1.6.0 Changes: --- /work/SRC/openSUSE:Factory/libzip/libzip.changes2019-03-18 10:36:05.971521133 +0100 +++ /work/SRC/openSUSE:Factory/.libzip.new.26092/libzip.changes 2020-01-30 09:35:36.633304184 +0100 @@ -1,0 +2,15 @@ +Mon Jan 27 11:27:42 UTC 2020 - pgaj...@suse.com + +- version update to 1.6.0 + * Avoid using umask() since it's not thread-safe. + * Set close-on-exec flag when opening files. + * Do not accept empty files as valid zip archives any longer. + * Add support for XZ compressed files (using liblzma). + * Add support for cancelling while closing zip archives. + * Add support for setting the time in the on-disk format. +- modified patches + % pkgconfig.patch (refreshed) +- deleted patches + - libzip-ocloexec.patch (upstreamed) + +--- Old: libzip-1.5.2.tar.xz libzip-ocloexec.patch New: libzip-1.6.0.tar.xz Other differences: -- ++ libzip.spec ++ --- /var/tmp/diff_new_pack.sl5zhc/_old 2020-01-30 09:35:42.501307324 +0100 +++ /var/tmp/diff_new_pack.sl5zhc/_new 2020-01-30 09:35:42.501307324 +0100 @@ -1,7 +1,7 @@ # # spec file for package libzip # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %define sover 5 Name: libzip -Version:1.5.2 +Version:1.6.0 Release:0 Summary:C library for reading, creating, and modifying zip archives License:BSD-3-Clause @@ -26,8 +26,6 @@ URL:https://libzip.org/ Source0:https://libzip.org/download/libzip-%{version}.tar.xz Source1:baselibs.conf -# PATCH-FIX-OPENSUSE: close on exec, upstream is aware -Patch1: libzip-ocloexec.patch Patch2: pkgconfig.patch BuildRequires: cmake BuildRequires: fdupes ++ libzip-1.5.2.tar.xz -> libzip-1.6.0.tar.xz ++ 7938 lines of diff (skipped) ++ pkgconfig.patch ++ --- /var/tmp/diff_new_pack.sl5zhc/_old 2020-01-30 09:35:42.829307499 +0100 +++ /var/tmp/diff_new_pack.sl5zhc/_new 2020-01-30 09:35:42.833307502 +0100 @@ -1,13 +1,13 @@ -Index: libzip-1.5.0/CMakeLists.txt +Index: libzip-1.6.0/CMakeLists.txt === libzip-1.5.0.orig/CMakeLists.txt -+++ libzip-1.5.0/CMakeLists.txt -@@ -229,7 +229,7 @@ ADD_SUBDIRECTORY(examples) +--- libzip-1.6.0.orig/CMakeLists.txt 2020-01-24 12:03:14.0 +0100 libzip-1.6.0/CMakeLists.txt2020-01-27 11:28:56.794806888 +0100 +@@ -329,7 +329,7 @@ ENDIF() SET(prefix ${CMAKE_INSTALL_PREFIX}) SET(exec_prefix \${prefix}) SET(bindir \${exec_prefix}/${CMAKE_INSTALL_BINDIR}) -SET(libdir \${exec_prefix}/${CMAKE_INSTALL_LIBDIR}) +SET(libdir ${CMAKE_INSTALL_LIBDIR}) SET(includedir \${prefix}/${CMAKE_INSTALL_INCLUDEDIR}) - IF(BZIP2_FOUND) - SET(LIBS "${LIBS} -lbz2") + IF(CMAKE_SYSTEM_NAME MATCHES BSD) + SET(PKG_CONFIG_RPATH "-Wl,-R\${libdir}")
commit libzip for openSUSE:Factory
Hello community, here is the log from the commit of package libzip for openSUSE:Factory checked in at 2019-03-18 10:35:58 Comparing /work/SRC/openSUSE:Factory/libzip (Old) and /work/SRC/openSUSE:Factory/.libzip.new.28833 (New) Package is "libzip" Mon Mar 18 10:35:58 2019 rev:36 rq:684542 version:1.5.2 Changes: --- /work/SRC/openSUSE:Factory/libzip/libzip.changes2018-04-17 11:13:09.786662244 +0200 +++ /work/SRC/openSUSE:Factory/.libzip.new.28833/libzip.changes 2019-03-18 10:36:05.971521133 +0100 @@ -1,0 +2,10 @@ +Tue Mar 12 16:43:53 UTC 2019 - Martin Herkt <9+suse@cirno.systems> + +- Update to version 1.5.2 + * Fix bug in AES encryption affecting certain file sizes + * Keep file permissions when modifying zip archives + * Support systems with small stack size. + * Support mbed TLS as crypto backend. + * Add nullability annotations. + +--- Old: libzip-1.5.1.tar.gz New: libzip-1.5.2.tar.xz Other differences: -- ++ libzip.spec ++ --- /var/tmp/diff_new_pack.jGHeHq/_old 2019-03-18 10:36:07.067520895 +0100 +++ /var/tmp/diff_new_pack.jGHeHq/_new 2019-03-18 10:36:07.071520894 +0100 @@ -1,7 +1,7 @@ # # spec file for package libzip # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# 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 @@ -12,19 +12,19 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define sover 5 Name: libzip -Version:1.5.1 +Version:1.5.2 Release:0 Summary:C library for reading, creating, and modifying zip archives License:BSD-3-Clause Group: Development/Libraries/C and C++ URL:https://libzip.org/ -Source0:https://libzip.org/download/libzip-%{version}.tar.gz +Source0:https://libzip.org/download/libzip-%{version}.tar.xz Source1:baselibs.conf # PATCH-FIX-OPENSUSE: close on exec, upstream is aware Patch1: libzip-ocloexec.patch
commit libzip for openSUSE:Factory
Hello community, here is the log from the commit of package libzip for openSUSE:Factory checked in at 2018-04-17 11:13:07 Comparing /work/SRC/openSUSE:Factory/libzip (Old) and /work/SRC/openSUSE:Factory/.libzip.new (New) Package is "libzip" Tue Apr 17 11:13:07 2018 rev:35 rq:595912 version:1.5.1 Changes: --- /work/SRC/openSUSE:Factory/libzip/libzip.changes2018-04-05 15:26:51.658521933 +0200 +++ /work/SRC/openSUSE:Factory/.libzip.new/libzip.changes 2018-04-17 11:13:09.786662244 +0200 @@ -1,0 +2,18 @@ +Thu Apr 12 08:04:07 UTC 2018 - tchva...@suse.com + +- Compile the package in %build phase not during %install phase + +--- +Wed Apr 11 13:35:23 UTC 2018 - 9+suse@cirno.systems + +- Update to version 1.5.1 + * Choose format of installed documentation based on available tools. + * Fix visibility of symbols. + * Fix zipcmp directory support. + * Don’t set RPATH on Linux. + * Use Libs.private for link dependencies in pkg-config file. + * Fix build with LibreSSL. + * Various bugfixes. +- Add groff to BuildRequires (so manpages get installed) + +--- Old: libzip-1.5.0.tar.gz New: libzip-1.5.1.tar.gz Other differences: -- ++ libzip.spec ++ --- /var/tmp/diff_new_pack.MmCIn5/_old 2018-04-17 11:13:10.458630727 +0200 +++ /var/tmp/diff_new_pack.MmCIn5/_new 2018-04-17 11:13:10.458630727 +0200 @@ -18,7 +18,7 @@ %define sover 5 Name: libzip -Version:1.5.0 +Version:1.5.1 Release:0 Summary:C library for reading, creating, and modifying zip archives License:BSD-3-Clause @@ -31,6 +31,7 @@ Patch2: pkgconfig.patch BuildRequires: cmake BuildRequires: fdupes +BuildRequires: groff BuildRequires: libbz2-devel BuildRequires: openssl-devel BuildRequires: pkgconfig @@ -84,7 +85,8 @@ %autosetup -p1 %build -%cmake +%cmake -DDOCUMENTATION_FORMAT=man +make %{?_smp_mflags} %install %cmake_install ++ libzip-1.5.0.tar.gz -> libzip-1.5.1.tar.gz ++ 9621 lines of diff (skipped)
commit libzip for openSUSE:Factory
Hello community, here is the log from the commit of package libzip for openSUSE:Factory checked in at 2018-04-05 15:26:50 Comparing /work/SRC/openSUSE:Factory/libzip (Old) and /work/SRC/openSUSE:Factory/.libzip.new (New) Package is "libzip" Thu Apr 5 15:26:50 2018 rev:34 rq:593067 version:1.5.0 Changes: --- /work/SRC/openSUSE:Factory/libzip/libzip.changes2018-03-26 11:52:30.293671173 +0200 +++ /work/SRC/openSUSE:Factory/.libzip.new/libzip.changes 2018-04-05 15:26:51.658521933 +0200 @@ -1,0 +2,5 @@ +Mon Apr 2 15:04:36 UTC 2018 - mimi...@gmail.com + +- add pkgconfig.patch - fixes boo#1087756 + +--- New: pkgconfig.patch Other differences: -- ++ libzip.spec ++ --- /var/tmp/diff_new_pack.ygw2Va/_old 2018-04-05 15:26:54.622414800 +0200 +++ /var/tmp/diff_new_pack.ygw2Va/_new 2018-04-05 15:26:54.622414800 +0200 @@ -28,6 +28,7 @@ Source1:baselibs.conf # PATCH-FIX-OPENSUSE: close on exec, upstream is aware Patch1: libzip-ocloexec.patch +Patch2: pkgconfig.patch BuildRequires: cmake BuildRequires: fdupes BuildRequires: libbz2-devel ++ pkgconfig.patch ++ Index: libzip-1.5.0/CMakeLists.txt === --- libzip-1.5.0.orig/CMakeLists.txt +++ libzip-1.5.0/CMakeLists.txt @@ -229,7 +229,7 @@ ADD_SUBDIRECTORY(examples) SET(prefix ${CMAKE_INSTALL_PREFIX}) SET(exec_prefix \${prefix}) SET(bindir \${exec_prefix}/${CMAKE_INSTALL_BINDIR}) -SET(libdir \${exec_prefix}/${CMAKE_INSTALL_LIBDIR}) +SET(libdir ${CMAKE_INSTALL_LIBDIR}) SET(includedir \${prefix}/${CMAKE_INSTALL_INCLUDEDIR}) IF(BZIP2_FOUND) SET(LIBS "${LIBS} -lbz2")
commit libzip for openSUSE:Factory
Hello community, here is the log from the commit of package libzip for openSUSE:Factory checked in at 2018-03-26 11:52:24 Comparing /work/SRC/openSUSE:Factory/libzip (Old) and /work/SRC/openSUSE:Factory/.libzip.new (New) Package is "libzip" Mon Mar 26 11:52:24 2018 rev:33 rq:588459 version:1.5.0 Changes: --- /work/SRC/openSUSE:Factory/libzip/libzip.changes2017-12-21 11:26:11.796755998 +0100 +++ /work/SRC/openSUSE:Factory/.libzip.new/libzip.changes 2018-03-26 11:52:30.293671173 +0200 @@ -1,0 +2,23 @@ +Mon Mar 19 08:16:51 UTC 2018 - mplus...@suse.com + +- Enable tests again +- Enable more functionality by updating dependencies +- Deduplicate manpages + +--- +Mon Mar 12 23:28:56 UTC 2018 - avin...@opensuse.org + +- update to version 1.5.0: + * Use standard cryptographic library instead of custom AES +implementation. This also simplifies the license. +- includes 1.4.0: + * Improve build with cmake (retires autoconf/automake) + * Add zip_source_buffer_fragment(). + * Add support to clone unchanged beginning of archive (instead +of rewriting it). Supported for buffer sources and on AFS. +- rebase libzip-ocloexec.patch +- drop libzip-uninitialized-value.patch + * merged in 8609c9ce6c8e613a7b5825e4d0eba8a31fe67e75 +- cleanup with spec-cleaner + +--- Old: libzip-1.3.2.tar.gz libzip-uninitialized-value.patch New: libzip-1.5.0.tar.gz Other differences: -- ++ libzip.spec ++ --- /var/tmp/diff_new_pack.gwxtjh/_old 2018-03-26 11:52:31.425630335 +0200 +++ /var/tmp/diff_new_pack.gwxtjh/_new 2018-03-26 11:52:31.425630335 +0200 @@ -1,7 +1,7 @@ # # spec file for package libzip # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -18,26 +18,25 @@ %define sover 5 Name: libzip -Version:1.3.2 +Version:1.5.0 Release:0 Summary:C library for reading, creating, and modifying zip archives License:BSD-3-Clause Group: Development/Libraries/C and C++ -Url:https://libzip.org/ +URL:https://libzip.org/ Source0:https://libzip.org/download/libzip-%{version}.tar.gz Source1:baselibs.conf -# PATCH-FIX-OPENSUSE: close on exec, upstream is aware, will be probably fixes next release +# PATCH-FIX-OPENSUSE: close on exec, upstream is aware Patch1: libzip-ocloexec.patch -# https://github.com/nih-at/libzip/commit/8609c9ce6c8e613a7b5825e4d0eba8a31fe67e75 -Patch2: libzip-uninitialized-value.patch -BuildRequires: automake -BuildRequires: libtool +BuildRequires: cmake +BuildRequires: fdupes +BuildRequires: libbz2-devel +BuildRequires: openssl-devel BuildRequires: pkgconfig # for tests BuildRequires: timezone # for tests BuildRequires: unzip -BuildRequires: xz BuildRequires: zlib-devel Provides: libzip-util = %{version} Obsoletes: libzip-util < %{version} @@ -81,55 +80,42 @@ archives, and merging multiple archives together, respectively. %prep -%setup -q -%patch1 -p1 -%patch2 -p1 +%autosetup -p1 %build -autoreconf -fi -%configure \ - --disable-static -%if %{do_profiling} - make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}" - TZ=Europe/Vienna make %{?_smp_mflags} check VERBOSE=1 - make clean - make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_feedback}" -%else - make %{?_smp_mflags} CFLAGS="%{optflags}" -%endif - -%check -TZ=Europe/Vienna make %{?_smp_mflags} check VERBOSE=1 +%cmake %install -%make_install -install -Dpm 0644 lib/zipconf.h %{buildroot}/%{_includedir}/zipconf.h +%cmake_install rm -f %{buildroot}%{_libdir}/libzip.la +%fdupes %{buildroot}%{_mandir}/man3 + +%check +# path needs to be exported otherwise unit tests will fail +export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:%{buildroot}%{_libdir} +%ctest %post -n libzip%{sover} -p /sbin/ldconfig %postun -n libzip%{sover} -p /sbin/ldconfig %files tools -%defattr(-,root,root) %{_bindir}/zipcmp %{_bindir}/zipmerge %{_bindir}/ziptool -%{_mandir}/man1/zipcmp.1%{ext_man} -%{_mandir}/man1/zipmerge.1%{ext_man} -%{_mandir}/man1/ziptool.1%{ext_man} +%{_mandir}/man1/zipcmp.1%{?ext_man} +%{_mandir}/man1/zipmerge.1%{?ext_man} +%{_mandir}/man1/ziptool.1%{?ext_man} %files -n libzip%{sover} -%defattr(-,root,root) -%doc LICENSE +%license LICENSE %{_libdir}/libzip.so.%{sover}* %files devel -%defattr(-,root,root) -%doc AUTHORS API-CHANGES NEWS.md THANKS +%doc A
commit libzip for openSUSE:Factory
Hello community, here is the log from the commit of package libzip for openSUSE:Factory checked in at 2017-12-21 11:26:02 Comparing /work/SRC/openSUSE:Factory/libzip (Old) and /work/SRC/openSUSE:Factory/.libzip.new (New) Package is "libzip" Thu Dec 21 11:26:02 2017 rev:32 rq:558324 version:1.3.2 Changes: --- /work/SRC/openSUSE:Factory/libzip/libzip.changes2017-10-13 14:16:57.905913748 +0200 +++ /work/SRC/openSUSE:Factory/.libzip.new/libzip.changes 2017-12-21 11:26:11.796755998 +0100 @@ -1,0 +2,19 @@ +Tue Dec 19 07:52:41 UTC 2017 - pgaj...@suse.com + +- updated to version 1.3.2: + * Fix bug introduced in last: zip_t was erroneously freed if zip_close() failed. + * Install zipconf.h into ${PREFIX}/include + * Add zip_libzip_version() + * Fix AES tests on Linux + * Support bzip2 compressed zip archives + * Improve file progress callback code + * Fix zip_fdopen() + * CVE-2017-12858: Fix double free() + * CVE-2017-14107: Improve EOCD64 parsing +- removed patches (upstreamed) + * libzip-CVE-2017-12858.patch + * libzip-CVE-2017-14107.patch +- added patch (fixed in head) + * libzip-uninitialized-value.patch + +--- Old: libzip-1.2.0.tar.xz libzip-CVE-2017-12858.patch libzip-CVE-2017-14107.patch New: libzip-1.3.2.tar.gz libzip-uninitialized-value.patch Other differences: -- ++ libzip.spec ++ --- /var/tmp/diff_new_pack.xpJn0V/_old 2017-12-21 11:26:13.280683643 +0100 +++ /var/tmp/diff_new_pack.xpJn0V/_new 2017-12-21 11:26:13.280683643 +0100 @@ -18,18 +18,19 @@ %define sover 5 Name: libzip -Version:1.2.0 +Version:1.3.2 Release:0 Summary:C library for reading, creating, and modifying zip archives License:BSD-3-Clause Group: Development/Libraries/C and C++ -Url:http://www.nih.at/libzip -Source0:http://www.nih.at/libzip/%{name}-%{version}.tar.xz +Url:https://libzip.org/ +Source0:https://libzip.org/download/libzip-%{version}.tar.gz Source1:baselibs.conf # PATCH-FIX-OPENSUSE: close on exec, upstream is aware, will be probably fixes next release Patch1: libzip-ocloexec.patch -Patch2: libzip-CVE-2017-12858.patch -Patch3: libzip-CVE-2017-14107.patch +# https://github.com/nih-at/libzip/commit/8609c9ce6c8e613a7b5825e4d0eba8a31fe67e75 +Patch2: libzip-uninitialized-value.patch +BuildRequires: automake BuildRequires: libtool BuildRequires: pkgconfig # for tests @@ -83,9 +84,9 @@ %setup -q %patch1 -p1 %patch2 -p1 -%patch3 -p1 %build +autoreconf -fi %configure \ --disable-static %if %{do_profiling} @@ -128,7 +129,6 @@ %{_libdir}/%{name}.so %{_includedir}/zip.h %{_includedir}/zipconf.h -%{_libdir}/%{name}/ %{_libdir}/pkgconfig/%{name}.pc %{_mandir}/man3/*.3%{ext_man} ++ libzip-uninitialized-value.patch ++ >From 8609c9ce6c8e613a7b5825e4d0eba8a31fe67e75 Mon Sep 17 00:00:00 2001 From: Dieter Baron Date: Mon, 18 Dec 2017 16:50:41 +0100 Subject: [PATCH] Fix logic determining which stat members are known / valid. --- lib/zip_source_compress.c | 13 - 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/lib/zip_source_compress.c b/lib/zip_source_compress.c index 37e0318a..0b97f938 100644 --- a/lib/zip_source_compress.c +++ b/lib/zip_source_compress.c @@ -43,7 +43,7 @@ struct context { bool end_of_input; bool end_of_stream; bool can_store; -bool is_stored; +bool is_stored;/* only valid if end_of_stream is true */ bool compress; zip_int32_t method; @@ -158,6 +158,9 @@ context_new(zip_int32_t method, bool compress, int compression_flags, zip_compre ctx->algorithm = algorithm; ctx->method = method; ctx->compress = compress; +ctx->end_of_input = false; +ctx->end_of_stream = false; +ctx->is_stored = false; if ((ctx->ud = ctx->algorithm->allocate(ZIP_CM_ACTUAL(method), compression_flags, &ctx->error)) == NULL) { zip_error_fini(&ctx->error); @@ -325,17 +328,18 @@ compress_callback(zip_source_t *src, void *ud, void *data, zip_uint64_t len, zip st = (zip_stat_t *)data; if (ctx->compress) { - st->comp_method = ctx->is_stored ? ZIP_CM_STORE : ZIP_CM_ACTUAL(ctx->method); if (ctx->end_of_stream) { +st->comp_method = ctx->is_stored ? ZIP_CM_STORE : ZIP_CM_ACTUAL(ctx->method); st->comp_size = ctx->size; - st->valid |= ZIP_STAT_COMP_SIZE; + st->valid |= ZIP_STAT_COMP_SIZE | ZIP_STAT_COMP_METHOD; } else { -
commit libzip for openSUSE:Factory
Hello community, here is the log from the commit of package libzip for openSUSE:Factory checked in at 2017-10-13 14:16:50 Comparing /work/SRC/openSUSE:Factory/libzip (Old) and /work/SRC/openSUSE:Factory/.libzip.new (New) Package is "libzip" Fri Oct 13 14:16:50 2017 rev:31 rq:533153 version:1.2.0 Changes: --- /work/SRC/openSUSE:Factory/libzip/libzip.changes2017-09-23 21:32:10.563626439 +0200 +++ /work/SRC/openSUSE:Factory/.libzip.new/libzip.changes 2017-10-13 14:16:57.905913748 +0200 @@ -4 +4 @@ -- reverted version update to 1.3.0 due failing i586 tests +- reverted 'version update to 1.3.0' due failing i586 tests Other differences: --
commit libzip for openSUSE:Factory
Hello community, here is the log from the commit of package libzip for openSUSE:Factory checked in at 2017-09-23 21:32:09 Comparing /work/SRC/openSUSE:Factory/libzip (Old) and /work/SRC/openSUSE:Factory/.libzip.new (New) Package is "libzip" Sat Sep 23 21:32:09 2017 rev:30 rq:528196 version:1.2.0 Changes: --- /work/SRC/openSUSE:Factory/libzip/libzip.changes2017-09-04 12:25:48.924150770 +0200 +++ /work/SRC/openSUSE:Factory/.libzip.new/libzip.changes 2017-09-23 21:32:10.563626439 +0200 @@ -1,0 +2,20 @@ +Fri Sep 22 06:19:34 UTC 2017 - pgaj...@suse.com + +- reverted version update to 1.3.0 due failing i586 tests +- remove libzip-disable-failing-tests.patch again +- add libzip-CVE-2017-12858.patch again +- add libzip-CVE-2017-14107.patch [bsc#1056996] + +--- +Wed Sep 6 13:13:05 UTC 2017 - pgaj...@suse.com + +- update to version 1.3.0: + * Support bzip2 compressed zip archives + * Improve file progress callback code + * Fix zip_fdopen() + * CVE-2017-12858: Fix double free(). + * CVE-2017-14107: Improve EOCD64 parsing. +- remove upstreamed libzip-CVE-2017-12858.patch +- added libzip-disable-failing-tests.patch [bsc#1056996#c12] + +--- New: libzip-CVE-2017-14107.patch Other differences: -- ++ libzip.spec ++ --- /var/tmp/diff_new_pack.AqYdVD/_old 2017-09-23 21:32:11.391509967 +0200 +++ /var/tmp/diff_new_pack.AqYdVD/_new 2017-09-23 21:32:11.395509405 +0200 @@ -29,6 +29,7 @@ # PATCH-FIX-OPENSUSE: close on exec, upstream is aware, will be probably fixes next release Patch1: libzip-ocloexec.patch Patch2: libzip-CVE-2017-12858.patch +Patch3: libzip-CVE-2017-14107.patch BuildRequires: libtool BuildRequires: pkgconfig # for tests @@ -82,6 +83,7 @@ %setup -q %patch1 -p1 %patch2 -p1 +%patch3 -p1 %build %configure \ ++ libzip-CVE-2017-14107.patch ++ >From 9b46957ec98d85a572e9ef98301247f39338a3b5 Mon Sep 17 00:00:00 2001 From: Thomas Klausner Date: Tue, 29 Aug 2017 10:25:03 +0200 Subject: [PATCH] Make eocd checks more consistent between zip and zip64 cases. --- lib/zip_open.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/zip_open.c b/lib/zip_open.c index 3bd593b..9d3a4cb 100644 --- a/lib/zip_open.c +++ b/lib/zip_open.c @@ -847,7 +847,12 @@ _zip_read_eocd64(zip_source_t *src, zip_buffer_t *buffer, zip_uint64_t buf_offse zip_error_set(error, ZIP_ER_SEEK, EFBIG); return NULL; } -if ((flags & ZIP_CHECKCONS) && offset+size != eocd_offset) { +if (offset+size > buf_offset + eocd_offset) { + /* cdir spans past EOCD record */ + zip_error_set(error, ZIP_ER_INCONS, 0); + return NULL; +} +if ((flags & ZIP_CHECKCONS) && offset+size != buf_offset + eocd_offset) { zip_error_set(error, ZIP_ER_INCONS, 0); return NULL; }
commit libzip for openSUSE:Factory
Hello community, here is the log from the commit of package libzip for openSUSE:Factory checked in at 2017-09-04 12:25:44 Comparing /work/SRC/openSUSE:Factory/libzip (Old) and /work/SRC/openSUSE:Factory/.libzip.new (New) Package is "libzip" Mon Sep 4 12:25:44 2017 rev:29 rq:519094 version:1.2.0 Changes: --- /work/SRC/openSUSE:Factory/libzip/libzip.changes2017-06-30 18:38:03.366470801 +0200 +++ /work/SRC/openSUSE:Factory/.libzip.new/libzip.changes 2017-09-04 12:25:48.924150770 +0200 @@ -1,0 +2,7 @@ +Mon Aug 28 10:38:05 UTC 2017 - pgaj...@suse.com + +- security update: + * CVE-2017-12858 [bsc#1055377] ++ libzip-CVE-2017-12858.patch + +--- New: libzip-CVE-2017-12858.patch Other differences: -- ++ libzip.spec ++ --- /var/tmp/diff_new_pack.pVNFpO/_old 2017-09-04 12:25:50.203970837 +0200 +++ /var/tmp/diff_new_pack.pVNFpO/_new 2017-09-04 12:25:50.207970274 +0200 @@ -28,6 +28,7 @@ Source1:baselibs.conf # PATCH-FIX-OPENSUSE: close on exec, upstream is aware, will be probably fixes next release Patch1: libzip-ocloexec.patch +Patch2: libzip-CVE-2017-12858.patch BuildRequires: libtool BuildRequires: pkgconfig # for tests @@ -80,6 +81,7 @@ %prep %setup -q %patch1 -p1 +%patch2 -p1 %build %configure \ ++ libzip-CVE-2017-12858.patch ++ --- a/lib/zip_dirent.c +++ b/lib/zip_dirent.c @@ -579,9 +579,6 @@ _zip_dirent_read(zip_dirent_t *zde, zip_source_t *src, zip_buffer_t *buffer, boo } if (!_zip_dirent_process_winzip_aes(zde, error)) { - if (!from_buffer) { - _zip_buffer_free(buffer); - } return -1; }
commit libzip for openSUSE:Factory
Hello community, here is the log from the commit of package libzip for openSUSE:Factory checked in at 2017-06-30 18:38:02 Comparing /work/SRC/openSUSE:Factory/libzip (Old) and /work/SRC/openSUSE:Factory/.libzip.new (New) Package is "libzip" Fri Jun 30 18:38:02 2017 rev:28 rq:505756 version:1.2.0 Changes: --- /work/SRC/openSUSE:Factory/libzip/libzip.changes2017-06-13 16:07:22.852802980 +0200 +++ /work/SRC/openSUSE:Factory/.libzip.new/libzip.changes 2017-06-30 18:38:03.366470801 +0200 @@ -1,0 +2,5 @@ +Mon Jun 19 20:11:52 UTC 2017 - jeng...@inai.de + +- Drop with-pic which is for static libs only. + +--- Other differences: -- ++ libzip.spec ++ --- /var/tmp/diff_new_pack.VHneBY/_old 2017-06-30 18:38:03.950388670 +0200 +++ /var/tmp/diff_new_pack.VHneBY/_new 2017-06-30 18:38:03.950388670 +0200 @@ -83,8 +83,7 @@ %build %configure \ - --disable-static \ - --with-pic + --disable-static %if %{do_profiling} make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}" TZ=Europe/Vienna make %{?_smp_mflags} check VERBOSE=1
commit libzip for openSUSE:Factory
Hello community, here is the log from the commit of package libzip for openSUSE:Factory checked in at 2017-06-13 16:07:22 Comparing /work/SRC/openSUSE:Factory/libzip (Old) and /work/SRC/openSUSE:Factory/.libzip.new (New) Package is "libzip" Tue Jun 13 16:07:22 2017 rev:27 rq:502527 version:1.2.0 Changes: --- /work/SRC/openSUSE:Factory/libzip/libzip.changes2017-02-22 13:49:16.252727388 +0100 +++ /work/SRC/openSUSE:Factory/.libzip.new/libzip.changes 2017-06-13 16:07:22.852802980 +0200 @@ -1,0 +2,6 @@ +Wed Jun 7 07:36:54 UTC 2017 - mplus...@suse.com + +- Small spec file and dependencies cleanup +- Try profiled build + +--- Other differences: -- ++ libzip.spec ++ --- /var/tmp/diff_new_pack.W0T5Rm/_old 2017-06-13 16:07:23.448718998 +0200 +++ /var/tmp/diff_new_pack.W0T5Rm/_new 2017-06-13 16:07:23.456717871 +0200 @@ -16,20 +16,20 @@ # -%define soname 5 - +%define sover 5 Name: libzip Version:1.2.0 Release:0 Summary:C library for reading, creating, and modifying zip archives License:BSD-3-Clause Group: Development/Libraries/C and C++ +Url:http://www.nih.at/libzip Source0:http://www.nih.at/libzip/%{name}-%{version}.tar.xz Source1:baselibs.conf -Url:http://www.nih.at/libzip -BuildRequires: autoconf >= 2.68 +# PATCH-FIX-OPENSUSE: close on exec, upstream is aware, will be probably fixes next release +Patch1: libzip-ocloexec.patch BuildRequires: libtool -BuildRequires: pkg-config +BuildRequires: pkgconfig # for tests BuildRequires: timezone # for tests @@ -38,9 +38,6 @@ BuildRequires: zlib-devel Provides: libzip-util = %{version} Obsoletes: libzip-util < %{version} -BuildRoot: %{_tmppath}/%{name}-%{version}-build -#PATCH-FIX-OPENSUSE: close on exec, upstream is aware, will be probably fixes next release -Patch1: libzip-ocloexec.patch %description libzip is a C library for reading, creating, and modifying zip @@ -49,11 +46,11 @@ * zipmerge - merge source zip archives into the target one * zipcmp - compares the zip archives and check if they contains same files -%package -n libzip%soname +%package -n libzip%{sover} Summary:C library for reading, creating, and modifying zip archives Group: Development/Libraries/C and C++ -%description -n libzip%{soname} +%description -n libzip%{sover} This is libzip, a C library for reading, creating, and modifying zip archives. Files can be added from data buffers, files, or compressed data copied directly from other zip archives. Changes made without @@ -64,7 +61,7 @@ Summary:C library for reading, creating, and modifying zip archives Group: Development/Libraries/C and C++ Requires: glibc-devel -Requires: libzip%{soname} = %{version} +Requires: libzip%{sover} = %{version} %description devel libzip is a C library for reading, creating, and modifying zip @@ -85,33 +82,42 @@ %patch1 -p1 %build -autoreconf -fiv -%configure --disable-static --with-pic -make %{?_smp_mflags} +%configure \ + --disable-static \ + --with-pic +%if %{do_profiling} + make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}" + TZ=Europe/Vienna make %{?_smp_mflags} check VERBOSE=1 + make clean + make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_feedback}" +%else + make %{?_smp_mflags} CFLAGS="%{optflags}" +%endif %check TZ=Europe/Vienna make %{?_smp_mflags} check VERBOSE=1 %install -%{__make} install DESTDIR=%{buildroot} -%__cp lib/zipconf.h %buildroot/%_includedir/zipconf.h +%make_install +install -Dpm 0644 lib/zipconf.h %{buildroot}/%{_includedir}/zipconf.h rm -f %{buildroot}%{_libdir}/libzip.la -%post -n libzip%{soname} -p /sbin/ldconfig - -%postun -n libzip%{soname} -p /sbin/ldconfig +%post -n libzip%{sover} -p /sbin/ldconfig +%postun -n libzip%{sover} -p /sbin/ldconfig %files tools %defattr(-,root,root) %{_bindir}/zipcmp %{_bindir}/zipmerge %{_bindir}/ziptool -%{_mandir}/man1/*.1* +%{_mandir}/man1/zipcmp.1%{ext_man} +%{_mandir}/man1/zipmerge.1%{ext_man} +%{_mandir}/man1/ziptool.1%{ext_man} -%files -n libzip%{soname} +%files -n libzip%{sover} %defattr(-,root,root) %doc LICENSE -%{_libdir}/libzip.so.%{soname}* +%{_libdir}/libzip.so.%{sover}* %files devel %defattr(-,root,root) @@ -121,6 +127,6 @@ %{_includedir}/zipconf.h %{_libdir}/%{name}/ %{_libdir}/pkgconfig/%{name}.pc -%{_mandir}/man3/*.3* +%{_mandir}/man3/*.3%{ext_man} %changelog
commit libzip for openSUSE:Factory
Hello community, here is the log from the commit of package libzip for openSUSE:Factory checked in at 2017-02-22 13:49:13 Comparing /work/SRC/openSUSE:Factory/libzip (Old) and /work/SRC/openSUSE:Factory/.libzip.new (New) Package is "libzip" Changes: --- /work/SRC/openSUSE:Factory/libzip/libzip.changes2016-06-05 14:18:49.0 +0200 +++ /work/SRC/openSUSE:Factory/.libzip.new/libzip.changes 2017-02-22 13:49:16.252727388 +0100 @@ -1,0 +2,13 @@ +Mon Feb 20 07:44:42 UTC 2017 - pgaj...@suse.com + +- Update to version 1.2.0: + * Support for AES encryption (Winzip version), both encryption +and decryption. + * Support legacy zip files with >64k entries. + * Fix seeking in zip_source_file if start > 0. + * Add zip_fseek() for seeking in uncompressed data. + * Add zip_ftell() for telling position in uncompressed data. + * Add zip_register_progress_callback() for UI updates during +zip_close() + +--- Old: libzip-1.1.3.tar.xz New: libzip-1.2.0.tar.xz Other differences: -- ++ libzip.spec ++ --- /var/tmp/diff_new_pack.k0GztN/_old 2017-02-22 13:49:16.788651095 +0100 +++ /var/tmp/diff_new_pack.k0GztN/_new 2017-02-22 13:49:16.788651095 +0100 @@ -1,7 +1,7 @@ # # spec file for package libzip # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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 @@ -16,10 +16,10 @@ # -%define soname 4 +%define soname 5 Name: libzip -Version:1.1.3 +Version:1.2.0 Release:0 Summary:C library for reading, creating, and modifying zip archives License:BSD-3-Clause @@ -82,7 +82,7 @@ %prep %setup -q -%patch1 +%patch1 -p1 %build autoreconf -fiv ++ baselibs.conf ++ --- /var/tmp/diff_new_pack.k0GztN/_old 2017-02-22 13:49:16.832644831 +0100 +++ /var/tmp/diff_new_pack.k0GztN/_new 2017-02-22 13:49:16.836644262 +0100 @@ -1 +1 @@ -libzip4 +libzip5 ++ libzip-1.1.3.tar.xz -> libzip-1.2.0.tar.xz ++ 17030 lines of diff (skipped) ++ libzip-ocloexec.patch ++ --- /var/tmp/diff_new_pack.k0GztN/_old 2017-02-22 13:49:17.252585048 +0100 +++ /var/tmp/diff_new_pack.k0GztN/_new 2017-02-22 13:49:17.252585048 +0100 @@ -2,10 +2,10 @@ lib/zip_source_filep.c |7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) -Index: lib/zip_source_filep.c +Index: libzip-1.2.0/lib/zip_source_filep.c === lib/zip_source_filep.c.orig -+++ lib/zip_source_filep.c +--- libzip-1.2.0.orig/lib/zip_source_filep.c 2016-12-31 13:39:23.0 +0100 libzip-1.2.0/lib/zip_source_filep.c2017-02-20 08:42:53.406688474 +0100 @@ -42,10 +42,7 @@ #include #endif @@ -17,7 +17,7 @@ /* Windows sys/types.h does not provide these */ #ifndef S_ISREG -@@ -187,7 +184,7 @@ create_temp_output(struct read_file *ctx +@@ -232,7 +229,7 @@ create_temp_output(struct read_file *ctx sprintf(temp, "%s.XX", ctx->fname); mask = umask(_SAFE_MASK); @@ -26,8 +26,8 @@ zip_error_set(&ctx->error, ZIP_ER_TMPOPEN, errno); umask(mask); free(temp); -@@ -278,7 +275,7 @@ read_file(void *state, void *data, zip_u - +@@ -323,7 +320,7 @@ read_file(void *state, void *data, zip_u + case ZIP_SOURCE_OPEN: if (ctx->fname) { -if ((ctx->f=fopen(ctx->fname, "rb")) == NULL) {
commit libzip for openSUSE:Factory
Hello community, here is the log from the commit of package libzip for openSUSE:Factory checked in at 2016-06-05 14:18:48 Comparing /work/SRC/openSUSE:Factory/libzip (Old) and /work/SRC/openSUSE:Factory/.libzip.new (New) Package is "libzip" Changes: --- /work/SRC/openSUSE:Factory/libzip/libzip.changes2016-02-28 02:25:56.0 +0100 +++ /work/SRC/openSUSE:Factory/.libzip.new/libzip.changes 2016-06-05 14:18:49.0 +0200 @@ -1,0 +2,6 @@ +Mon May 30 06:50:16 UTC 2016 - mplus...@suse.com + +- Update to version 1.1.3: + * Fix build on Windows when using autoconf. + +--- Old: libzip-1.1.2.tar.xz New: libzip-1.1.3.tar.xz Other differences: -- ++ libzip.spec ++ --- /var/tmp/diff_new_pack.2qOce4/_old 2016-06-05 14:18:50.0 +0200 +++ /var/tmp/diff_new_pack.2qOce4/_new 2016-06-05 14:18:50.0 +0200 @@ -19,7 +19,7 @@ %define soname 4 Name: libzip -Version:1.1.2 +Version:1.1.3 Release:0 Summary:C library for reading, creating, and modifying zip archives License:BSD-3-Clause @@ -115,7 +115,7 @@ %files devel %defattr(-,root,root) -%doc AUTHORS API-CHANGES NEWS THANKS +%doc AUTHORS API-CHANGES NEWS.md THANKS %{_libdir}/%{name}.so %{_includedir}/zip.h %{_includedir}/zipconf.h ++ libzip-1.1.2.tar.xz -> libzip-1.1.3.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libzip-1.1.2/CMakeLists.txt new/libzip-1.1.3/CMakeLists.txt --- old/libzip-1.1.2/CMakeLists.txt 2016-02-19 15:21:25.0 +0100 +++ new/libzip-1.1.3/CMakeLists.txt 2016-05-28 11:35:24.0 +0200 @@ -20,7 +20,7 @@ SET(PACKAGE_NAME ${PACKAGE}) SET(PACKAGE_VERSION_MAJOR "1") SET(PACKAGE_VERSION_MINOR "1") -SET(PACKAGE_VERSION_PATCH "2") +SET(PACKAGE_VERSION_PATCH "3") #SET(VERSION "${PACKAGE_VERSION_MAJOR}.${PACKAGE_VERSION_MINOR}") SET(VERSION "${PACKAGE_VERSION_MAJOR}.${PACKAGE_VERSION_MINOR}.${PACKAGE_VERSION_PATCH}") SET(PACKAGE_VERSION ${VERSION}) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libzip-1.1.2/Makefile.am new/libzip-1.1.3/Makefile.am --- old/libzip-1.1.2/Makefile.am2014-09-23 15:45:49.0 +0200 +++ new/libzip-1.1.3/Makefile.am2016-04-07 14:11:04.0 +0200 @@ -9,12 +9,15 @@ pkgconfig_DATA = libzip.pc EXTRA_DIST=API-CHANGES \ - LICENSE \ CMakeLists.txt \ + LICENSE \ + NEWS.md \ + README.md \ + TODO.md \ cmake-config.h.in \ cmake-zipconf.h.in \ - libzip.pc.in \ libzip-uninstalled.pc.in \ + libzip.pc.in \ m4 dist-hook: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libzip-1.1.2/Makefile.in new/libzip-1.1.3/Makefile.in --- old/libzip-1.1.2/Makefile.in2016-02-19 15:21:44.0 +0100 +++ new/libzip-1.1.3/Makefile.in2016-05-28 11:36:01.0 +0200 @@ -192,8 +192,8 @@ DIST_SUBDIRS = $(SUBDIRS) am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in \ $(srcdir)/libzip-uninstalled.pc.in $(srcdir)/libzip.pc.in \ - AUTHORS INSTALL NEWS THANKS compile config.guess config.sub \ - depcomp install-sh ltmain.sh missing + AUTHORS INSTALL THANKS compile config.guess config.sub depcomp \ + install-sh ltmain.sh missing DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) distdir = $(PACKAGE)-$(VERSION) top_distdir = $(distdir) @@ -362,12 +362,15 @@ pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = libzip.pc EXTRA_DIST = API-CHANGES \ - LICENSE \ CMakeLists.txt \ + LICENSE \ + NEWS.md \ + README.md \ + TODO.md \ cmake-config.h.in \ cmake-zipconf.h.in \ - libzip.pc.in \ libzip-uninstalled.pc.in \ + libzip.pc.in \ m4 all: config.h diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libzip-1.1.2/NEWS new/libzip-1.1.3/NEWS --- old/libzip-1.1.2/NEWS 2016-02-19 15:21:10.0 +0100 +++ new/libzip-1.1.3/NEWS 1970-01-01 01:00:00.0 +0100 @@ -1,135 +0,0 @@ -1.1.2 [2016/02/19] - -* Improve support for 3MF files - -1.1.1 [2016/02/07] - -* Build fixes for Linux -* Fix some warnings reported by PVS-Studio - -1.1 [2016/01/26] - -* ziptool(1): command line tool to modify zip archives -* Speedups for archives with many entries -* Co
commit libzip for openSUSE:Factory
Hello community, here is the log from the commit of package libzip for openSUSE:Factory checked in at 2016-02-28 02:25:52 Comparing /work/SRC/openSUSE:Factory/libzip (Old) and /work/SRC/openSUSE:Factory/.libzip.new (New) Package is "libzip" Changes: --- /work/SRC/openSUSE:Factory/libzip/libzip.changes2015-05-06 11:18:29.0 +0200 +++ /work/SRC/openSUSE:Factory/.libzip.new/libzip.changes 2016-02-28 02:25:56.0 +0100 @@ -1,0 +2,10 @@ +Mon Feb 22 07:56:17 UTC 2016 - pgaj...@suse.com + +- update to 1.1.2 + * Improve support for 3MF files + * ziptool(1): command line tool to modify zip archives + * Speedups for archives with many entries + * Better APK support + * Documentation improvements + +--- Old: libzip-1.0.1.tar.xz New: libzip-1.1.2.tar.xz Other differences: -- ++ libzip.spec ++ --- /var/tmp/diff_new_pack.dW6joI/_old 2016-02-28 02:25:57.0 +0100 +++ /var/tmp/diff_new_pack.dW6joI/_new 2016-02-28 02:25:57.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package libzip # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 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 @@ -19,7 +19,7 @@ %define soname 4 Name: libzip -Version:1.0.1 +Version:1.1.2 Release:0 Summary:C library for reading, creating, and modifying zip archives License:BSD-3-Clause @@ -82,7 +82,7 @@ %prep %setup -q -%patch -P 1 -p1 +%patch1 %build autoreconf -fiv @@ -105,6 +105,7 @@ %defattr(-,root,root) %{_bindir}/zipcmp %{_bindir}/zipmerge +%{_bindir}/ziptool %{_mandir}/man1/*.1* %files -n libzip%{soname} @@ -114,7 +115,7 @@ %files devel %defattr(-,root,root) -%doc AUTHORS API-CHANGES NEWS README THANKS TODO +%doc AUTHORS API-CHANGES NEWS THANKS %{_libdir}/%{name}.so %{_includedir}/zip.h %{_includedir}/zipconf.h ++ libzip-1.0.1.tar.xz -> libzip-1.1.2.tar.xz ++ 20264 lines of diff (skipped) ++ libzip-ocloexec.patch ++ --- /var/tmp/diff_new_pack.dW6joI/_old 2016-02-28 02:25:57.0 +0100 +++ /var/tmp/diff_new_pack.dW6joI/_new 2016-02-28 02:25:57.0 +0100 @@ -2,13 +2,13 @@ lib/zip_source_filep.c |7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) -Index: libzip-1.0.1/lib/zip_source_filep.c +Index: lib/zip_source_filep.c === libzip-1.0.1.orig/lib/zip_source_filep.c -+++ libzip-1.0.1/lib/zip_source_filep.c -@@ -40,10 +40,7 @@ - #include - #include +--- lib/zip_source_filep.c.orig2016-01-31 08:42:36.0 +0100 lib/zip_source_filep.c 2016-02-22 08:54:11.649671883 +0100 +@@ -42,10 +42,7 @@ + #include + #endif -#ifdef _WIN32 -/* WIN32 needs for _O_BINARY */ @@ -17,16 +17,16 @@ /* Windows sys/types.h does not provide these */ #ifndef S_ISREG -@@ -184,7 +181,7 @@ create_temp_output(struct read_file *ctx +@@ -187,7 +184,7 @@ sprintf(temp, "%s.XX", ctx->fname); - mask = umask(S_IXUSR | S_IRWXG | S_IRWXO); + mask = umask(_SAFE_MASK); -if ((tfd=mkstemp(temp)) == -1) { +if ((tfd=mkostemp(temp, O_CLOEXEC)) == -1) { zip_error_set(&ctx->error, ZIP_ER_TMPOPEN, errno); umask(mask); free(temp); -@@ -275,7 +272,7 @@ read_file(void *state, void *data, zip_u +@@ -278,7 +275,7 @@ case ZIP_SOURCE_OPEN: if (ctx->fname) {
commit libzip for openSUSE:Factory
binsVNie1TbET.bin Description: Binary data
commit libzip for openSUSE:Factory
Hello community, here is the log from the commit of package libzip for openSUSE:Factory checked in at 2015-03-25 21:02:41 Comparing /work/SRC/openSUSE:Factory/libzip (Old) and /work/SRC/openSUSE:Factory/.libzip.new (New) Package is "libzip" Changes: --- /work/SRC/openSUSE:Factory/libzip/libzip.changes2014-11-02 16:45:59.0 +0100 +++ /work/SRC/openSUSE:Factory/.libzip.new/libzip.changes 2015-03-25 21:02:42.0 +0100 @@ -1,0 +2,6 @@ +Fri Mar 20 08:19:07 UTC 2015 - pgaj...@suse.com + +- fix CVE-2015-2331 [bnc#923240] + + libzip-CVE-2015-2331.patch + +--- New: libzip-CVE-2015-2331.patch Other differences: -- ++ libzip.spec ++ --- /var/tmp/diff_new_pack.wHVL45/_old 2015-03-25 21:02:42.0 +0100 +++ /var/tmp/diff_new_pack.wHVL45/_new 2015-03-25 21:02:42.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package libzip # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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 @@ -47,6 +47,7 @@ Patch3: libzip-fix-large-file-support.patch # PATCH-FIX-UPSTREAM libzip-fseeko.patch http://www.nih.at/listarchive/libzip-discuss/msg00472.html m.szule...@libimobiledevice.org -- use fseeko instead of fseek to fix large file support Patch4: libzip-fseeko.patch +Patch5: libzip-CVE-2015-2331.patch %description libzip is a C library for reading, creating, and modifying zip @@ -83,6 +84,7 @@ %patch2 -p1 %patch3 -p1 %patch4 -p0 +%patch5 %build autoreconf -fiv ++ libzip-CVE-2015-2331.patch ++ https://github.com/php/php-src/commit/ef8fc4b53d92fbfcd8ef1abbd6f2f5fe2c4a11e5 Index: lib/zip_dirent.c === --- lib/zip_dirent.c.orig 2015-03-19 13:49:53.130809653 +0100 +++ lib/zip_dirent.c2015-03-19 13:51:14.049913659 +0100 @@ -110,7 +110,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_t)-1)/sizeof(*(cd->entry)) || (cd->entry=(struct zip_entry *)malloc(sizeof(*(cd->entry))*(size_t)nentry)) == NULL) { _zip_error_set(error, ZIP_ER_MEMORY, 0); free(cd); return NULL; -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit libzip for openSUSE:Factory
Hello community, here is the log from the commit of package libzip for openSUSE:Factory checked in at 2014-11-02 16:45:53 Comparing /work/SRC/openSUSE:Factory/libzip (Old) and /work/SRC/openSUSE:Factory/.libzip.new (New) Package is "libzip" Changes: --- /work/SRC/openSUSE:Factory/libzip/libzip.changes2014-06-19 13:20:03.0 +0200 +++ /work/SRC/openSUSE:Factory/.libzip.new/libzip.changes 2014-11-02 16:45:59.0 +0100 @@ -1,0 +2,14 @@ +Wed Oct 29 15:13:50 UTC 2014 - opens...@sukimashita.com + +- add libzip-fseeko.patch which changes two fseek() calls that + were not replaced with fseeko() to properly support large files +- properly mark patches as PATCH-FIX-UPSTREAM where it applies + +--- +Wed Oct 22 23:59:02 CET 2014 - opens...@sukimashita.com + +- add libzip-fix-large-file-support.patch to fix LFS support not + being activated for 32bit compilation and thus >2GB Zip files + failing to open + +--- New: libzip-fix-large-file-support.patch libzip-fseeko.patch Other differences: -- ++ libzip.spec ++ --- /var/tmp/diff_new_pack.Sl5flY/_old 2014-11-02 16:46:01.0 +0100 +++ /var/tmp/diff_new_pack.Sl5flY/_new 2014-11-02 16:46:01.0 +0100 @@ -43,6 +43,10 @@ Patch1: libzip-ocloexec.patch #PATCH-FIX-OPENSUSE: deprecate old autoconf macros Patch2: libzip-autoconf-268.patch +# PATCH-FIX-UPSTREAM libzip-fix-large-file-support.patch http://www.nih.at/listarchive/libzip-discuss/msg00472.html m.szule...@libimobiledevice.org -- fix large file support for 32bit arch +Patch3: libzip-fix-large-file-support.patch +# PATCH-FIX-UPSTREAM libzip-fseeko.patch http://www.nih.at/listarchive/libzip-discuss/msg00472.html m.szule...@libimobiledevice.org -- use fseeko instead of fseek to fix large file support +Patch4: libzip-fseeko.patch %description libzip is a C library for reading, creating, and modifying zip @@ -77,6 +81,8 @@ %setup -q %patch1 -p1 %patch2 -p1 +%patch3 -p1 +%patch4 -p0 %build autoreconf -fiv ++ libzip-fix-large-file-support.patch ++ 755 lines (skipped) ++ libzip-fseeko.patch ++ diff -up lib/zip_dirent.c.orig lib/zip_dirent.c --- lib/zip_dirent.c.orig 2013-11-28 17:57:10.0 +0100 +++ lib/zip_dirent.c 2014-10-09 23:22:36.611473504 +0200 @@ -548,7 +548,7 @@ _zip_dirent_size(FILE *f, zip_uint16_t f size = local ? LENTRYSIZE : CDENTRYSIZE; -if (fseek(f, local ? 26 : 28, SEEK_CUR) < 0) { +if (fseeko(f, local ? 26 : 28, SEEK_CUR) < 0) { _zip_error_set(error, ZIP_ER_SEEK, errno); return -1; } diff -up lib/zip_extra_field.c.orig lib/zip_extra_field.c --- lib/zip_extra_field.c.orig2013-09-22 11:35:53.0 +0200 +++ lib/zip_extra_field.c 2014-10-09 23:23:25.363470056 +0200 @@ -355,7 +355,7 @@ _zip_read_local_ef(struct zip *za, zip_u struct zip_extra_field *ef; zip_uint8_t *ef_raw; - if (fseek(za->zp, fname_len, SEEK_CUR) < 0) { + if (fseeko(za->zp, fname_len, SEEK_CUR) < 0) { _zip_error_set(&za->error, ZIP_ER_SEEK, errno); return -1; } -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit libzip for openSUSE:Factory
Hello community, here is the log from the commit of package libzip for openSUSE:Factory checked in at 2014-06-19 13:19:58 Comparing /work/SRC/openSUSE:Factory/libzip (Old) and /work/SRC/openSUSE:Factory/.libzip.new (New) Package is "libzip" Changes: --- /work/SRC/openSUSE:Factory/libzip/libzip.changes2014-04-04 16:37:15.0 +0200 +++ /work/SRC/openSUSE:Factory/.libzip.new/libzip.changes 2014-06-19 13:20:03.0 +0200 @@ -1,0 +2,5 @@ +Wed Jun 4 16:32:02 UTC 2014 - hrvoje.sen...@gmail.com + +- Add baselibs.conf + +--- New: baselibs.conf Other differences: -- ++ libzip.spec ++ --- /var/tmp/diff_new_pack.9GpPcg/_old 2014-06-19 13:20:04.0 +0200 +++ /var/tmp/diff_new_pack.9GpPcg/_new 2014-06-19 13:20:04.0 +0200 @@ -25,6 +25,7 @@ License:BSD-3-Clause Group: Development/Libraries/C and C++ Source0:http://www.nih.at/libzip/%{name}-%{version}.tar.xz +Source1:baselibs.conf Url:http://www.nih.at/libzip BuildRequires: autoconf >= 2.68 BuildRequires: libtool ++ baselibs.conf ++ libzip2 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit libzip for openSUSE:Factory
binQhuLf9PMyQ.bin Description: Binary data
commit libzip for openSUSE:Factory
Hello community, here is the log from the commit of package libzip for openSUSE:Factory checked in at 2013-05-07 07:28:16 Comparing /work/SRC/openSUSE:Factory/libzip (Old) and /work/SRC/openSUSE:Factory/.libzip.new (New) Package is "libzip" Changes: --- /work/SRC/openSUSE:Factory/libzip/libzip.changes2013-05-02 11:22:52.0 +0200 +++ /work/SRC/openSUSE:Factory/.libzip.new/libzip.changes 2013-05-07 07:28:17.0 +0200 @@ -1,0 +2,8 @@ +Mon May 6 09:04:02 UTC 2013 - mvysko...@suse.com + +- use upstream patch for visibility + drop: libzip-0.8.hg20080403-visibility.patch + add : libzip-visibility.diff +- tag all patches according a policy + +--- Old: libzip-0.8.hg20080403-visibility.patch New: libzip-visibility.diff Other differences: -- ++ libzip.spec ++ --- /var/tmp/diff_new_pack.KmQNhM/_old 2013-05-07 07:28:18.0 +0200 +++ /var/tmp/diff_new_pack.KmQNhM/_new 2013-05-07 07:28:18.0 +0200 @@ -38,8 +38,11 @@ Provides: libzip-util = %{version} Obsoletes: libzip-util < %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build -Patch0: libzip-0.8.hg20080403-visibility.patch +#PATCH-FIX-UPSTREAM: fix a visibility issues in an upstream way +Patch0: libzip-visibility.diff +#PATCH-FIX-OPENSUSE: close on exec, upstream is aware, will be probably fixes next release Patch1: libzip-ocloexec.patch +#PATCH-FIX-OPENSUSE: deprecate old autoconf macros Patch2: libzip-autoconf-268.patch %description ++ libzip-visibility.diff ++ diff -r 165a2f158cf6 configure.ac --- a/configure.ac Mon Apr 29 16:40:17 2013 +0200 +++ b/configure.ac Sun May 05 00:15:28 2013 +0200 @@ -99,6 +99,8 @@ #endif ]) +gl_VISIBILITY + AC_CONFIG_FILES([Makefile libzip.pc libzip-uninstalled.pc diff -r 165a2f158cf6 lib/Makefile.am --- a/lib/Makefile.am Mon Apr 29 16:40:17 2013 +0200 +++ b/lib/Makefile.am Sun May 05 00:15:28 2013 +0200 @@ -1,3 +1,4 @@ +AM_CFLAGS= @CFLAG_VISIBILITY@ libincludedir = ${libdir}/@PACKAGE@/include lib_LTLIBRARIES = libzip.la diff -r 165a2f158cf6 m4/visibility.m4 --- /dev/null Thu Jan 01 00:00:00 1970 + +++ b/m4/visibility.m4 Sun May 05 00:15:28 2013 +0200 @@ -0,0 +1,52 @@ +# visibility.m4 serial 1 (gettext-0.15) +dnl Copyright (C) 2005 Free Software Foundation, Inc. +dnl This file is free software; the Free Software Foundation +dnl gives unlimited permission to copy and/or distribute it, +dnl with or without modifications, as long as this notice is preserved. + +dnl From Bruno Haible. + +dnl Tests whether the compiler supports the command-line option +dnl -fvisibility=hidden and the function and variable attributes +dnl __attribute__((__visibility__("hidden"))) and +dnl __attribute__((__visibility__("default"))). +dnl Does *not* test for __visibility__("protected") - which has tricky +dnl semantics (see the 'vismain' test in glibc) and does not exist e.g. on +dnl MacOS X. +dnl Does *not* test for __visibility__("internal") - which has processor +dnl dependent semantics. +dnl Does *not* test for #pragma GCC visibility push(hidden) - which is +dnl "really only recommended for legacy code". +dnl Set the variable CFLAG_VISIBILITY. +dnl Defines and sets the variable HAVE_VISIBILITY. + +AC_DEFUN([gl_VISIBILITY], +[ + AC_REQUIRE([AC_PROG_CC]) + CFLAG_VISIBILITY= + HAVE_VISIBILITY=0 + if test -n "$GCC"; then +AC_MSG_CHECKING([for simple visibility declarations]) +AC_CACHE_VAL(gl_cv_cc_visibility, [ + gl_save_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS -fvisibility=hidden" + AC_TRY_COMPILE( +[extern __attribute__((__visibility__("hidden"))) int hiddenvar; + extern __attribute__((__visibility__("default"))) int exportedvar; + extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void); + extern __attribute__((__visibility__("default"))) int exportedfunc (void);], +[], +gl_cv_cc_visibility=yes, +gl_cv_cc_visibility=no) + CFLAGS="$gl_save_CFLAGS"]) +AC_MSG_RESULT([$gl_cv_cc_visibility]) +if test $gl_cv_cc_visibility = yes; then + CFLAG_VISIBILITY="-fvisibility=hidden" + HAVE_VISIBILITY=1 +fi + fi + AC_SUBST([CFLAG_VISIBILITY]) + AC_SUBST([HAVE_VISIBILITY]) + AC_DEFINE_UNQUOTED([HAVE_VISIBILITY], [$HAVE_VISIBILITY], +[Define to 1 or 0, depending whether the compiler supports simple visibility declarations.]) +]) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit libzip for openSUSE:Factory
Hello community, here is the log from the commit of package libzip for openSUSE:Factory checked in at 2013-03-05 10:11:22 Comparing /work/SRC/openSUSE:Factory/libzip (Old) and /work/SRC/openSUSE:Factory/.libzip.new (New) Package is "libzip", Maintainer is "" Changes: --- /work/SRC/openSUSE:Factory/libzip/libzip.changes2012-03-22 12:36:15.0 +0100 +++ /work/SRC/openSUSE:Factory/.libzip.new/libzip.changes 2013-03-05 10:11:23.0 +0100 @@ -1,0 +2,6 @@ +Mon Mar 4 02:21:11 UTC 2013 - jeng...@inai.de + +- Specify exact build requirements on autotools + (2.68 comes from patch; tarball has 2.57) + +--- Other differences: -- ++ libzip.spec ++ --- /var/tmp/diff_new_pack.Tyu4pb/_old 2013-03-05 10:11:24.0 +0100 +++ /var/tmp/diff_new_pack.Tyu4pb/_new 2013-03-05 10:11:24.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package libzip # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,7 +16,6 @@ # - Name: libzip Version:0.10.1 Release:0 @@ -25,6 +24,7 @@ Group: Development/Libraries/C and C++ Source0:http://www.nih.at/libzip/%{name}-%{version}.tar.bz2 Url:http://www.nih.at/libzip +BuildRequires: autoconf >= 2.68 BuildRequires: libtool BuildRequires: pkg-config BuildRequires: zlib-devel @@ -60,7 +60,8 @@ %package devel Summary:C library for reading, creating, and modifying zip archives Group: Development/Libraries/C and C++ -Requires: libzip%{soname} = %{version} glibc-devel +Requires: glibc-devel +Requires: libzip%{soname} = %{version} %description devel libzip is a C library for reading, creating, and modifying zip -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit libzip for openSUSE:Factory
Hello community, here is the log from the commit of package libzip for openSUSE:Factory checked in at 2012-03-22 12:35:05 Comparing /work/SRC/openSUSE:Factory/libzip (Old) and /work/SRC/openSUSE:Factory/.libzip.new (New) Package is "libzip", Maintainer is "" Changes: --- /work/SRC/openSUSE:Factory/libzip/libzip.changes2012-02-16 16:19:28.0 +0100 +++ /work/SRC/openSUSE:Factory/.libzip.new/libzip.changes 2012-03-22 12:36:15.0 +0100 @@ -1,0 +2,7 @@ +Tue Mar 20 16:12:30 UTC 2012 - pgaj...@suse.com + +- updated to 0.10.1: fixes + * CVE-2012-1162 [bnc#751829] + * CVE-2012-1163 [bnc#751830] + +--- Old: libzip-0.10.tar.bz2 New: libzip-0.10.1.tar.bz2 Other differences: -- ++ libzip.spec ++ --- /var/tmp/diff_new_pack.Q0N11j/_old 2012-03-22 12:36:17.0 +0100 +++ /var/tmp/diff_new_pack.Q0N11j/_new 2012-03-22 12:36:17.0 +0100 @@ -16,8 +16,9 @@ # + Name: libzip -Version:0.10 +Version:0.10.1 Release:0 Summary:C library for reading, creating, and modifying zip archives License:BSD-3-Clause ++ libzip-0.10.tar.bz2 -> libzip-0.10.1.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libzip-0.10/CMakeLists.txt new/libzip-0.10.1/CMakeLists.txt --- old/libzip-0.10/CMakeLists.txt 2011-03-18 13:53:20.0 +0100 +++ new/libzip-0.10.1/CMakeLists.txt2012-03-15 10:33:17.0 +0100 @@ -20,7 +20,7 @@ SET(PACKAGE_NAME ${PACKAGE}) SET(PACKAGE_VERSION_MAJOR "0") SET(PACKAGE_VERSION_MINOR "10") -SET(PACKAGE_VERSION_PATCH "0") +SET(PACKAGE_VERSION_PATCH "1") SET(VERSION "${PACKAGE_VERSION_MAJOR}.${PACKAGE_VERSION_MINOR}.${PACKAGE_VERSION_PATCH}") SET(PACKAGE_VERSION ${VERSION}) SET(PACKAGE_STRING "${PACKAGE_NAME} ${PACKAGE_VERSION}") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libzip-0.10/NEWS new/libzip-0.10.1/NEWS --- old/libzip-0.10/NEWS2011-03-18 12:37:10.0 +0100 +++ new/libzip-0.10.1/NEWS 2012-03-15 10:38:10.0 +0100 @@ -1,3 +1,8 @@ +0.10.1 [2012/03/20] + +* Fixed CVE-2012-1162 +* Fixed CVE-2012-1163 + 0.10 [2010/03/18] * Added zip_get_num_files(), deprecated zip_get_num_entries(). diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libzip-0.10/THANKS new/libzip-0.10.1/THANKS --- old/libzip-0.10/THANKS 2011-03-16 12:18:44.0 +0100 +++ new/libzip-0.10.1/THANKS2012-03-15 10:35:10.0 +0100 @@ -17,3 +17,4 @@ Simon Talbot Stephen Bryant Tarmo Pikaro +Timo Warns diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libzip-0.10/configure new/libzip-0.10.1/configure --- old/libzip-0.10/configure 2011-03-18 12:38:18.0 +0100 +++ new/libzip-0.10.1/configure 2012-03-15 10:38:16.0 +0100 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.68 for libzip 0.10. +# Generated by GNU Autoconf 2.68 for libzip 0.10.1. # # Report bugs to . # @@ -709,8 +709,8 @@ # Identity of this package. PACKAGE_NAME='libzip' PACKAGE_TARNAME='libzip' -PACKAGE_VERSION='0.10' -PACKAGE_STRING='libzip 0.10' +PACKAGE_VERSION='0.10.1' +PACKAGE_STRING='libzip 0.10.1' PACKAGE_BUGREPORT='libzip-disc...@nih.at' PACKAGE_URL='' @@ -881,8 +881,7 @@ LDFLAGS LIBS CPPFLAGS -CPP -CPPFLAGS' +CPP' # Initialize some variables set by options. @@ -1425,7 +1424,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures libzip 0.10 to adapt to many kinds of systems. +\`configure' configures libzip 0.10.1 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1495,7 +1494,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of libzip 0.10:";; + short | recursive ) echo "Configuration of libzip 0.10.1:";; esac cat <<\_ACEOF @@ -1595,7 +1594,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -libzip configure 0.10 +libzip configure 0.10.1 generated by GNU Autoconf 2.68 Copyright (C) 2010 Free Software Foundation, Inc. @@ -2299,7 +2298,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by libzip $as_me 0.10, which was +It was created by libzip $as_me 0.10.1, which was generated by GNU Autoconf 2.68. Invoc
commit libzip for openSUSE:Factory
Hello community, here is the log from the commit of package libzip for openSUSE:Factory checked in at 2012-02-16 16:19:18 Comparing /work/SRC/openSUSE:Factory/libzip (Old) and /work/SRC/openSUSE:Factory/.libzip.new (New) Package is "libzip", Maintainer is "" Changes: --- /work/SRC/openSUSE:Factory/libzip/libzip.changes2011-12-31 17:20:09.0 +0100 +++ /work/SRC/openSUSE:Factory/.libzip.new/libzip.changes 2012-02-16 16:19:28.0 +0100 @@ -1,0 +2,5 @@ +Mon Feb 13 10:49:41 UTC 2012 - co...@suse.com + +- patch license to follow spdx.org standard + +--- Other differences: -- ++ libzip.spec ++ --- /var/tmp/diff_new_pack.VBl67S/_old 2012-02-16 16:19:29.0 +0100 +++ /var/tmp/diff_new_pack.VBl67S/_new 2012-02-16 16:19:29.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package libzip # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,17 +16,17 @@ # - Name: libzip Version:0.10 -Release:3 +Release:0 Summary:C library for reading, creating, and modifying zip archives -License:BSD3c +License:BSD-3-Clause Group: Development/Libraries/C and C++ Source0:http://www.nih.at/libzip/%{name}-%{version}.tar.bz2 Url:http://www.nih.at/libzip +BuildRequires: libtool +BuildRequires: pkg-config BuildRequires: zlib-devel -BuildRequires: libtool pkg-config Provides: libzip-util = %{version} Obsoletes: libzip-util < %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -43,12 +43,12 @@ * zipcmp - compares the zip archives and check if they contains same files * ziptorrent - manipulate with a restricted file format used for using bittorrent on zip files. -%package -n libzip2 +%define soname 2 + +%package -n libzip%soname Summary:C library for reading, creating, and modifying zip archives Group: Development/Libraries/C and C++ -%define soname 2 - %description -n libzip%{soname} This is libzip, a C library for reading, creating, and modifying zip archives. Files can be added from data buffers, files, or compressed -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit libzip for openSUSE:Factory
Hello community, here is the log from the commit of package libzip for openSUSE:Factory checked in at 2011-12-31 17:20:08 Comparing /work/SRC/openSUSE:Factory/libzip (Old) and /work/SRC/openSUSE:Factory/.libzip.new (New) Package is "libzip", Maintainer is "" Changes: --- /work/SRC/openSUSE:Factory/libzip/libzip.changes2011-11-21 15:48:12.0 +0100 +++ /work/SRC/openSUSE:Factory/.libzip.new/libzip.changes 2011-12-31 17:20:09.0 +0100 @@ -1,0 +2,12 @@ +Thu Dec 29 19:35:38 UTC 2011 - crrodrig...@opensuse.org + +- Use O_CLOEXEC where needed, as calling applications + may fork.. execve and we end up leaking internal fds. + +--- +Mon Nov 21 15:51:37 UTC 2011 - jeng...@medozas.de + +- Remove redundant/unwanted tags/section (cf. specfile guidelines) +- Use %_smp_mflags for parallel building + +--- New: libzip-ocloexec.patch Other differences: -- ++ libzip.spec ++ --- /var/tmp/diff_new_pack.KprpkO/_old 2011-12-31 17:20:10.0 +0100 +++ /var/tmp/diff_new_pack.KprpkO/_new 2011-12-31 17:20:10.0 +0100 @@ -15,7 +15,6 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild Name: libzip @@ -34,6 +33,7 @@ Patch0: libzip-0.8.hg20080403-visibility.patch #PATCH-FIX-UPSTREAM: for for failing tests by Thomas Klausner Patch1: libzip.test.diff +Patch2: libzip-ocloexec.patch %description libzip is a C library for reading, creating, and modifying zip @@ -44,7 +44,6 @@ * ziptorrent - manipulate with a restricted file format used for using bittorrent on zip files. %package -n libzip2 -License:BSD3c Summary:C library for reading, creating, and modifying zip archives Group: Development/Libraries/C and C++ @@ -58,7 +57,6 @@ pages. %package devel -License:BSD3c Summary:C library for reading, creating, and modifying zip archives Group: Development/Libraries/C and C++ Requires: libzip%{soname} = %{version} glibc-devel @@ -68,28 +66,24 @@ archives. This package contains devel files. %prep -%setup -q -n %{name}-%{version} +%setup -q %patch0 -p1 %patch1 -p1 +%patch2 %build autoreconf -fiv %configure --disable-static --with-pic -%{__make} %{?jobs:-j%jobs} +make %{?_smp_mflags} %check -export MALLOC_CHECK_=2 -%{__make} --debug=j %{?jobs:-j%jobs} check -unset MALLOC_CHECK_ +make %{?_smp_mflags} check VERBOSE=1 %install %{__make} install DESTDIR=%{buildroot} %__cp lib/zipconf.h %buildroot/%_includedir/zipconf.h rm -f %{buildroot}%{_libdir}/libzip.la -%clean -rm -rf %{buildroot} - %post -n libzip%{soname} -p /sbin/ldconfig %postun -n libzip%{soname} -p /sbin/ldconfig ++ libzip-ocloexec.patch ++ --- lib/zip_close.c.orig +++ lib/zip_close.c @@ -44,9 +44,9 @@ #endif #include #include +#include #ifdef _WIN32 #include -#include #endif static int add_data(struct zip *, struct zip_source *, struct zip_dirent *, @@ -328,7 +328,7 @@ zip_close(struct zip *za) free(temp); if (reopen_on_error) { /* ignore errors, since we're already in an error case */ - za->zp = fopen(za->zn, "rb"); + za->zp = fopen(za->zn, "rbe"); } return -1; } @@ -610,7 +610,7 @@ _zip_create_temp_output(struct zip *za, sprintf(temp, "%s.XX", za->zn); -if ((tfd=mkstemp(temp)) == -1) { +if ((tfd=mkostemp(temp, O_CLOEXEC)) == -1) { _zip_error_set(&za->error, ZIP_ER_TMPOPEN, errno); free(temp); return NULL; --- lib/zip_open.c.orig +++ lib/zip_open.c @@ -71,7 +71,7 @@ zip_open(const char *fn, int flags, int break; } -if ((fp=fopen(fn, "rb")) == NULL) { +if ((fp=fopen(fn, "rbe")) == NULL) { set_error(zep, NULL, ZIP_ER_OPEN); return NULL; } --- lib/zip_source_filep.c.orig +++ lib/zip_source_filep.c @@ -133,7 +133,7 @@ read_file(void *state, void *data, zip_u switch (cmd) { case ZIP_SOURCE_OPEN: if (z->fname) { - if ((z->f=fopen(z->fname, "rb")) == NULL) { + if ((z->f=fopen(z->fname, "rbe")) == NULL) { z->e[0] = ZIP_ER_OPEN; z->e[1] = errno; return -1; --- configure.ac.orig +++ configure.ac @@ -1,4 +1,4 @@ -AC_PREREQ(2.57) +AC_PREREQ([2.68]) AC_INIT([libzip],[0.10],[libzip-disc...@nih.at]) AC_CONFIG_SRCDIR([lib/zip_add.c]) AC_CONFIG_HEADERS([config.h]) @@ -7,7 +7,9 @@ AM_INIT_AUTOMAKE dnl AC_CANONICAL_HOST -AC_PROG_CC +AC_PROG_CC_STDC +AC_USE_SYSTEM_EXTENSIONS +AC_SYS_LARGEFILE AM_PROG_CC_C_O AC_ARG_WITH(zli
commit libzip for openSUSE:Factory
Hello community, here is the log from the commit of package libzip for openSUSE:Factory checked in at 2011-11-21 15:48:09 Comparing /work/SRC/openSUSE:Factory/libzip (Old) and /work/SRC/openSUSE:Factory/.libzip.new (New) Package is "libzip", Maintainer is "" Changes: --- /work/SRC/openSUSE:Factory/libzip/libzip.changes2011-09-23 02:11:18.0 +0200 +++ /work/SRC/openSUSE:Factory/.libzip.new/libzip.changes 2011-11-21 15:48:12.0 +0100 @@ -1,0 +2,5 @@ +Sun Nov 20 06:26:02 UTC 2011 - co...@suse.com + +- add libtool as buildrequire to avoid implicit dependency + +--- Other differences: -- ++ libzip.spec ++ --- /var/tmp/diff_new_pack.go5sgE/_old 2011-11-21 15:48:18.0 +0100 +++ /var/tmp/diff_new_pack.go5sgE/_new 2011-11-21 15:48:18.0 +0100 @@ -27,7 +27,7 @@ Source0:http://www.nih.at/libzip/%{name}-%{version}.tar.bz2 Url:http://www.nih.at/libzip BuildRequires: zlib-devel -BuildRequires: pkg-config +BuildRequires: libtool pkg-config Provides: libzip-util = %{version} Obsoletes: libzip-util < %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit libzip for openSUSE:Factory
Hello community, here is the log from the commit of package libzip for openSUSE:Factory checked in at Mon Jul 25 12:35:39 CEST 2011. --- libzip/libzip.changes 2011-03-22 13:44:24.0 +0100 +++ /mounts/work_src_done/STABLE/libzip/libzip.changes 2011-07-25 11:19:54.0 +0200 @@ -1,0 +2,6 @@ +Mon Jul 25 09:19:30 UTC 2011 - and...@opensuse.org + +- restore zipconf.h into include dir or packages using zip.h + will fail to build + +--- calling whatdependson for head-i586 Other differences: -- ++ libzip.spec ++ --- /var/tmp/diff_new_pack.pXcTJl/_old 2011-07-25 12:35:16.0 +0200 +++ /var/tmp/diff_new_pack.pXcTJl/_new 2011-07-25 12:35:16.0 +0200 @@ -20,7 +20,7 @@ Name: libzip Version:0.10 -Release:2 +Release:3 Summary:C library for reading, creating, and modifying zip archives License:BSD3c Group: Development/Libraries/C and C++ @@ -84,6 +84,7 @@ %install %{__make} install DESTDIR=%{buildroot} +%__cp lib/zipconf.h %buildroot/%_includedir/zipconf.h rm -f %{buildroot}%{_libdir}/libzip.la %clean @@ -109,6 +110,7 @@ %defattr(-,root,root) %{_libdir}/%{name}.so %{_includedir}/zip.h +%{_includedir}/zipconf.h %{_libdir}/%{name}/ %{_libdir}/pkgconfig/%{name}.pc %{_mandir}/man3/*.3* Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit libzip for openSUSE:Factory
Hello community, here is the log from the commit of package libzip for openSUSE:Factory checked in at Tue Mar 22 17:53:57 CET 2011. --- libzip/libzip.changes 2011-03-21 16:24:41.0 +0100 +++ /mounts/work_src_done/STABLE/libzip/libzip.changes 2011-03-22 13:44:24.0 +0100 @@ -1,0 +2,10 @@ +Tue Mar 22 12:43:04 UTC 2011 - co...@novell.com + +- fix -devel dependency + +--- +Tue Mar 22 11:29:09 UTC 2011 - mvysko...@suse.cz + +- don't move zipconf.h to include dir + +--- calling whatdependson for head-i586 Old: libzip-0.10-zipconf-location.patch Other differences: -- ++ libzip.spec ++ --- /var/tmp/diff_new_pack.8NfZw2/_old 2011-03-22 17:53:36.0 +0100 +++ /var/tmp/diff_new_pack.8NfZw2/_new 2011-03-22 17:53:36.0 +0100 @@ -20,7 +20,7 @@ Name: libzip Version:0.10 -Release:1 +Release:2 Summary:C library for reading, creating, and modifying zip archives License:BSD3c Group: Development/Libraries/C and C++ @@ -34,14 +34,11 @@ Patch0: libzip-0.8.hg20080403-visibility.patch #PATCH-FIX-UPSTREAM: for for failing tests by Thomas Klausner Patch1: libzip.test.diff -#PATCH-FIX-OPENSUSE: install zipconf.h to includedir -Patch2: libzip-0.10-zipconf-location.patch %description libzip is a C library for reading, creating, and modifying zip archives. Files can be added from data buffers, files, or compressed. This -package contains a set of small utilities built using libzip2 Set os small -utilities built around %{name} +package contains a set of small utilities built using libzip * zipmerge - merge source zip archives into the target one * zipcmp - compares the zip archives and check if they contains same files * ziptorrent - manipulate with a restricted file format used for using bittorrent on zip files. @@ -51,7 +48,9 @@ Summary:C library for reading, creating, and modifying zip archives Group: Development/Libraries/C and C++ -%description -n libzip2 +%define soname 2 + +%description -n libzip%{soname} This is libzip, a C library for reading, creating, and modifying zip archives. Files can be added from data buffers, files, or compressed data copied directly from other zip archives. Changes made without @@ -62,7 +61,7 @@ License:BSD3c Summary:C library for reading, creating, and modifying zip archives Group: Development/Libraries/C and C++ -Requires: libzip1 = %{version} glibc-devel +Requires: libzip%{soname} = %{version} glibc-devel %description devel libzip is a C library for reading, creating, and modifying zip @@ -72,7 +71,6 @@ %setup -q -n %{name}-%{version} %patch0 -p1 %patch1 -p1 -%patch2 -p1 %build autoreconf -fiv @@ -91,9 +89,9 @@ %clean rm -rf %{buildroot} -%post -n libzip2 -p /sbin/ldconfig +%post -n libzip%{soname} -p /sbin/ldconfig -%postun -n libzip2 -p /sbin/ldconfig +%postun -n libzip%{soname} -p /sbin/ldconfig %files %defattr(-,root,root) @@ -103,15 +101,16 @@ %{_bindir}/zipmerge %{_mandir}/man1/*.1* -%files -n libzip2 +%files -n libzip%{soname} %defattr(-,root,root) -%{_libdir}/libzip.so.2* +%{_libdir}/libzip.so.%{soname}* %files devel %defattr(-,root,root) -%{_libdir}/libzip.so -%{_includedir}/zip*.h -%{_libdir}/pkgconfig/libzip.pc +%{_libdir}/%{name}.so +%{_includedir}/zip.h +%{_libdir}/%{name}/ +%{_libdir}/pkgconfig/%{name}.pc %{_mandir}/man3/*.3* %changelog Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit libzip for openSUSE:Factory
Hello community, here is the log from the commit of package libzip for openSUSE:Factory checked in at Tue Mar 22 10:29:50 CET 2011. New Changes file: --- /dev/null 2010-08-26 16:28:41.0 +0200 +++ /mounts/work_src_done/STABLE/libzip/libzip.changes 2011-03-21 16:24:41.0 +0100 @@ -0,0 +1,38 @@ +--- +Mon Mar 21 10:01:42 UTC 2011 - mvysko...@suse.cz + +- update to 0.10 - rename to libzip to avoid source package rename on + each soname change. Package libzip deprecate libzip-utils + * add zip_get_num_files(), deprecate zip_get_num_entries(). + * support for traditional PKWARE encryption added. + * fix opening archives with more than 65535 entries. + * fix some memory leaks. + * fix cmake build and installation + * fix memory leak in error case in zip_open() + * fix CVE-2011-0421 (no security implications though) (bnc#681193) + * more documentation. +- refresh libzip-0.8.hg20080403-visibility.patch +- add libzip.test.diff from upstream fixing failed tests +- add libzip-0.10-zipconf-location.patch installs zipconf.h to includedir +- add pkg-config to BuildRequires + +--- +Sun Jul 27 06:25:54 CEST 2008 - crrodrig...@suse.de + +- update to version 0.9 + * remove erroneous references to GPL + * add support for torrentzip + * new functions: zip_get_archive_flag, zip_set_archive_flag + * zip_source_zip: add flag to force recompression + * zip_sorce_file: only keep file open while reading from it + +--- +Thu Apr 3 20:11:56 CEST 2008 - crrodrig...@suse.de + +- initial version for openSUSE 11, needed by ARK/KDE4 + +--- +Thu Jun 7 09:13:37 UTC 2007 - judas_iscari...@shorewall.net + +- update to stable 0.8 version + calling whatdependson for head-i586 New: libzip-0.10-zipconf-location.patch libzip-0.10.tar.bz2 libzip-0.8.hg20080403-visibility.patch libzip.changes libzip.spec libzip.test.diff Other differences: -- ++ libzip.spec ++ # # spec file for package libzip # # Copyright (c) 2011 SUSE LINUX Products 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 http://bugs.opensuse.org/ # # norootforbuild Name: libzip Version:0.10 Release:1 Summary:C library for reading, creating, and modifying zip archives License:BSD3c Group: Development/Libraries/C and C++ Source0:http://www.nih.at/libzip/%{name}-%{version}.tar.bz2 Url:http://www.nih.at/libzip BuildRequires: zlib-devel BuildRequires: pkg-config Provides: libzip-util = %{version} Obsoletes: libzip-util < %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build Patch0: libzip-0.8.hg20080403-visibility.patch #PATCH-FIX-UPSTREAM: for for failing tests by Thomas Klausner Patch1: libzip.test.diff #PATCH-FIX-OPENSUSE: install zipconf.h to includedir Patch2: libzip-0.10-zipconf-location.patch %description libzip is a C library for reading, creating, and modifying zip archives. Files can be added from data buffers, files, or compressed. This package contains a set of small utilities built using libzip2 Set os small utilities built around %{name} * zipmerge - merge source zip archives into the target one * zipcmp - compares the zip archives and check if they contains same files * ziptorrent - manipulate with a restricted file format used for using bittorrent on zip files. %package -n libzip2 License:BSD3c Summary:C library for reading, creating, and modifying zip archives Group: Development/Libraries/C and C++ %description -n libzip2 This is libzip, a C library for reading, creating, and modifying zip archives. Files can be added from data buffers, files, or compressed data copied directly from other zip archives. Changes made without closing the archive can be reverted. The API is documented by man pages. %package devel License:BSD3c Summary:C library for reading, creating, and modifying zip archives Group: Development/Libraries/C and C++ Requires: libzip1 = %{version} glibc-devel %description devel libzip is a C library