diff options
author | spz <spz@pkgsrc.org> | 2017-05-15 08:40:21 +0000 |
---|---|---|
committer | spz <spz@pkgsrc.org> | 2017-05-15 08:40:21 +0000 |
commit | 0b26b2aee8871331e8ddc0a70150f282d0d86498 (patch) | |
tree | 5a2e4140aebd0eda33cdd3124fdb6738eba9ae5c /archivers/zziplib/patches/patch-ba | |
parent | 5e2305091dfd905e9c6d1612beae6cae7a02d649 (diff) | |
download | pkgsrc-0b26b2aee8871331e8ddc0a70150f282d0d86498.tar.gz |
update from 0.13.59 to v0.13.66
fixing: CVE-2017-5974 CVE-2017-5975 CVE-2017-5976 CVE-2017-5978 CVE-2017-5981
Upstream changelog:
2017-04-24 guidod <guidod@gmx.de>
* common frontend 'unzzip.c' for example code in unzzip*-xx.c
* expand testcases to cover all of big/mem/mix/zap variants
* release v0.13.66
2017-04-23 guidod <guidod@gmx.de>
* turn the testsuite from makefile into python unittest format
* extend 'make check' testsuite to cover non-libzzip extensions
* fix unzzipcat-seeko and unzzipcat-mem to match the testsuite
* release v0.13.65
2017-04-20 guidod <guidod@gmx.de>
* check patches in opensuse builds, mostly for some CVE reports
2012-09-15 guidod <guidod@gmx.de>
* zzip.h, plugin.h: "};" at end of extern-C produces build errors with
the default --pedantic-errors on newer CMake. Thanks to Keith Thompson
recognizing it - see http://stackoverflow.com/questions/12384280/
2012-03-11 guidod <guidod@gmx.de>
* configure.ac: fallback to libtool -export-dynamic unless being sure to
use gnu-ld --export-dynamic. The darwin case is a bit special here
as the c-compiler and linker might be from different worlds.
* next 0.13.62 - needs a fix for mingw
(-mconsole is not a linker option, only the gcc should see it)
2010-12-30 guidod <guidod@gmx.de>
* done 0.13.60 release, tagged, and announced.
* prepare 0.13.61
2010-12-29 guidod <guidod@gmx.de>
* Makefile.am: allow nonstaic build
* wrap fd.open like in the Fedora patch
2010-12-28 guidod <guidod@gmx.de>
* zziplib.spec - simplify the spec based on distro specs.
2010-12-27 guidod <guidod@gmx.de>
* adding fetch.h/fetch.c to msvc8/zziplib.vcproj to allow
tests with Visual Studio C++ Express 2005
2010-12-27 guidod <guidod@gmx.de>
* fix stat.c to check ZZIP_CASELESS instead of the deprecated
ZZIP_CASEINSENSITIVE. The latter is still recognized for
compatibility reasons and implicitly mapped to ZZIP_CASELESS.
* fixes the zziplib-Patches-3078188 which reported the bug.
2010-12-27 guidod <guidod@gmx.de>
* apply patches by Peter Breitenlohner for better compatibility
with AIX host system. Also the Sun Studio compiler insists on
static inline functions or else assumes extern inline.
* also fixes zziplib-Patches-3011551 on the AIX problem.
2010-12-27 guidod <guidod@gmx.de>
* add hints that the ext_io plugin handlers should be static.
2010-05-09 guidod <guidod@gmx.de>
* zzip/__fnmatch.h: add include <string.h> to make mingw32 happy.
Patches item #2995373 by Gregory Smith
2010-05-08 guidod <guidod@gmx.de>
* SDL/Makefile.am: fix generation of sdl-uninstalled.pc that was
not recognized during compilation.
2010-04-05 guidod <guidod@gmx.de>
* Makefile.am: fix "osc rm" and fix "test-sdl" if SDL was not found.
* configure.ac: SDL example builds on pkgconfig/sdl.pc which
was introduced with SDL 1.2.11 - CentOs5 ships 1.2.10 which
does only have "sdl-config" and it made for a mismatch in
in the build configuration: sdl-devel yes, pkgconfig sdl no.
* zzip/zip.c (__zzip_parse_root_directory): move the check for
zzip_disk_entry_check_magic to be after the the check that
the seek-value is more than a header's size before the end.
(based on a segfault report by Tulipánt Gergely when the
new modulo_entries code is enabled (which is off by default))
2010-03-30 guidod <guidod@gmx.de>
* zzip/Makefile.am: fixing symlinks for lib* - use only for Linux
Thanks to Ryan Schmidt (macports):
... likes to install some symlinks that don't make sense on Mac OS X:
$ ls -l /opt/local/lib/*zzip*so*
lrwxr-xr-x /opt/local/lib/libzzip*.so.10 -> libzzip*.so.13
lrwxr-xr-x /opt/local/lib/libzzip*.so.11 -> libzzip*.so.13
lrwxr-xr-x /opt/local/lib/libzzip*.so.12 -> libzzip*.so.13
Yes, the filenames literally contain an asterisk.
Diffstat (limited to 'archivers/zziplib/patches/patch-ba')
-rw-r--r-- | archivers/zziplib/patches/patch-ba | 43 |
1 files changed, 24 insertions, 19 deletions
diff --git a/archivers/zziplib/patches/patch-ba b/archivers/zziplib/patches/patch-ba index 05598e12fbd..1697869714f 100644 --- a/archivers/zziplib/patches/patch-ba +++ b/archivers/zziplib/patches/patch-ba @@ -1,20 +1,25 @@ -$NetBSD: patch-ba,v 1.4 2015/12/08 11:13:04 jperkin Exp $ +$NetBSD: patch-ba,v 1.5 2017/05/15 08:40:21 spz Exp $ -Use $as_echo to support escape sequences correctly. - ---- configure.orig 2010-03-29 19:24:41.000000000 +0000 +--- configure.orig 2017-04-23 23:46:28.000000000 +0000 +++ configure -@@ -16257,7 +16257,7 @@ fi - { $as_echo "$as_me:$LINENO: checking link options" >&5 - $as_echo_n "checking link options... " >&6; } - ZZIPLIB_LDFLAGS="" --test ".$can_build_shared" != ".no" && ZZIPLIB_LDFLAGS="--export-dynamic" -+test ".$can_build_shared" != ".no" && ZZIPLIB_LDFLAGS="${EXPORT_SYMBOLS_LDFLAGS}" - RESOLVES=" # " - case "$host_os" in mingw*) - ZZIPLIB_LDFLAGS="-no-undefined -export-all-symbols -mconsole" -@@ -20218,24 +20220,24 @@ else - { $as_echo "$as_me:$LINENO: creating $ac_prefix_conf_OUT - prefix $ac_prefix_conf_UPP for $ac_prefix_conf_INP defines" >&5 +@@ -13830,13 +13830,14 @@ case "$host_os" in mingw*) + ;; *) + if test ".$can_build_shared" != ".no" ; then + ZZIPLIB_LDFLAGS="-export-dynamic" +- if test ".$lt_cv_prog_gnu_ld" == ".yes" ; then ++ if test ".$lt_cv_prog_gnu_ld" = ".yes" ; then + ZZIPLIB_LDFLAGS="${wl}--export-dynamic" + # TODO: that is for backward compatibility only + fi + fi + RESOLVES=" # " + ;; esac ++ZZIPLIB_LDFLAGS="${EXPORT_SYMBOLS_LDFLAGS}" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ZZIPLIB_LDFLAGS $RESOLVES" >&5 + $as_echo "$ZZIPLIB_LDFLAGS $RESOLVES" >&6; } + +@@ -17539,24 +17542,24 @@ else + { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_prefix_conf_OUT - prefix $ac_prefix_conf_UPP for $ac_prefix_conf_INP defines" >&5 $as_echo "$as_me: creating $ac_prefix_conf_OUT - prefix $ac_prefix_conf_UPP for $ac_prefix_conf_INP defines" >&6;} if test -f $ac_prefix_conf_INP ; then - echo "s/^#undef *\\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_]\\)/#undef $ac_prefix_conf_UPP""_\\1/" > conftest.prefix @@ -51,10 +56,10 @@ Use $as_echo to support escape sequences correctly. + $as_echo '/* once:' $ac_prefix_conf_DEF '*/' >>$tmp/pconfig.h + $as_echo "#endif" >>$tmp/pconfig.h if cmp -s $ac_prefix_conf_OUT $tmp/pconfig.h 2>/dev/null; then - { $as_echo "$as_me:$LINENO: $ac_prefix_conf_OUT is unchanged" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_prefix_conf_OUT is unchanged" >&5 $as_echo "$as_me: $ac_prefix_conf_OUT is unchanged" >&6;} -@@ -20352,24 +20354,24 @@ else - { $as_echo "$as_me:$LINENO: creating $ac_prefix_conf_OUT - prefix $ac_prefix_conf_UPP for $ac_prefix_conf_INP defines" >&5 +@@ -17629,24 +17632,24 @@ else + { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_prefix_conf_OUT - prefix $ac_prefix_conf_UPP for $ac_prefix_conf_INP defines" >&5 $as_echo "$as_me: creating $ac_prefix_conf_OUT - prefix $ac_prefix_conf_UPP for $ac_prefix_conf_INP defines" >&6;} if test -f $ac_prefix_conf_INP ; then - echo "s/^#undef *\\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_]\\)/#undef $ac_prefix_conf_UPP""_\\1/" > conftest.prefix @@ -91,5 +96,5 @@ Use $as_echo to support escape sequences correctly. + $as_echo '/* once:' $ac_prefix_conf_DEF '*/' >>$tmp/pconfig.h + $as_echo "#endif" >>$tmp/pconfig.h if cmp -s $ac_prefix_conf_OUT $tmp/pconfig.h 2>/dev/null; then - { $as_echo "$as_me:$LINENO: $ac_prefix_conf_OUT is unchanged" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_prefix_conf_OUT is unchanged" >&5 $as_echo "$as_me: $ac_prefix_conf_OUT is unchanged" >&6;} |