commit pngcrush for openSUSE:Factory
Hello community, here is the log from the commit of package pngcrush for openSUSE:Factory checked in at 2017-11-07 10:00:58 Comparing /work/SRC/openSUSE:Factory/pngcrush (Old) and /work/SRC/openSUSE:Factory/.pngcrush.new (New) Package is "pngcrush" Tue Nov 7 10:00:58 2017 rev:5 rq:539211 version:1.8.13 Changes: --- /work/SRC/openSUSE:Factory/pngcrush/pngcrush.changes2017-03-02 19:37:06.537560046 +0100 +++ /work/SRC/openSUSE:Factory/.pngcrush.new/pngcrush.changes 2017-11-07 10:02:16.181004170 +0100 @@ -1,0 +2,19 @@ +Sun Nov 5 22:40:37 UTC 2017 - vil...@posteo.net + +- Update to new upstream release 1.8.13: + * Made "-reduce" the default behavior. Removed obsolete options +"-plte_len", "-cc", "-nocc", "-double_gamma", "-already_crushed", +and "-bit_depth". + * Added "-speed" option; it avoids using the AVG or PAETH filters +which are slower to decode. + * Made "-force" force output even when the IDAT is larger, and +added "-noforce" option; "-noforce" is now the default behavior. + * Added "-warn" option, to show only warnings. + * Changed default verbosity from 1 (normal) to 0 (quiet). Use "-v" +to get the previous default behavior and "-v -v" to get the +previous "verbose" behavior. The "-s" (silent) and "-q" (quiet) +options behave as before. +- Remove pngcrush-systemlib.diff: not needed anymore. +- Add package source verification. + +--- Old: pngcrush-1.7.92.tar.gz pngcrush-systemlib.diff New: pngcrush-1.8.13.tar.xz pngcrush-1.8.13.tar.xz.asc pngcrush.keyring Other differences: -- ++ pngcrush.spec ++ --- /var/tmp/diff_new_pack.pzThOj/_old 2017-11-07 10:02:17.964939448 +0100 +++ /var/tmp/diff_new_pack.pzThOj/_new 2017-11-07 10:02:17.968939303 +0100 @@ -17,19 +17,17 @@ Name: pngcrush -Version:1.7.92 +Version:1.8.13 Release:0 Summary:Optimizer for PNG Files that can also insert or delete specified Chunks License:Zlib Group: Productivity/Graphics/Other -Url:http://pmt.sourceforge.net/pngcrush/ -Source: http://downloads.sf.net/pmt/%{name}-%{version}.tar.gz -Patch1: pngcrush-systemlib.diff -BuildRequires: glibc-devel -%if 0%{?suse_version} > 1310 -BuildRequires: libpng-devel -%endif -BuildRequires: zlib-devel +Url:https://pmt.sourceforge.io/pngcrush/ +Source: https://downloads.sourceforge.net/project/pmt/pngcrush/%{version}/%{name}-%{version}.tar.xz +Source1: https://downloads.sourceforge.net/project/pmt/pngcrush/%{version}/%{name}-%{version}.tar.xz.asc +Source2:%{name}.keyring +BuildRequires: pkgconfig(libpng) +BuildRequires: pkgconfig(zlib) BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -42,29 +40,22 @@ %prep %setup -q -%patch1 -p0 %build -make %{?_smp_mflags} \ - PNGINC="%{_includedir}" \ - PNGLIB="%{_libdir}" \ - ZINC="%{_includedir}" \ - ZLIB="%{_lib}" \ - CC="gcc" \ - LD="gcc" \ - CFLAGS="%{optflags} -Wshadow" \ -%if 0%{?suse_version} > 1310 --f Makefile-nolib -%else --f Makefile -%endif +make -f Makefile-nolib %{?_smp_mflags} \ + PNGINC="$(pkg-config --variable includedir libpng)" \ + PNGLIB="$(pkg-config --variable libdir libpng)" \ + ZINC="$(pkg-config --variable includedir zlib)" \ + ZLIB="$(pkg-config --variable libdir zlib)" \ + CFLAGS="%{optflags}" %install -install -D -m 0755 pngcrush "%{buildroot}%{_bindir}/pngcrush" +mkdir -p %{buildroot}%{_bindir} +install -m 0755 pngcrush %{buildroot}%{_bindir} %files %defattr(-,root,root) -%doc ChangeLog.html +%doc ChangeLog.html LICENSE %{_bindir}/pngcrush %changelog ++ pngcrush.keyring ++ pub rsa4096 2013-05-31 [SC] [expires: 2018-06-04] 8048643BA2C840F4F92A195FF54984BFA16C640F uid [ unknown] Glenn Randers-Pehrson (mozilla) uid [ unknown] Glenn Randers-Pehrson (libpng) uid [ unknown] Glenn Randers-Pehrson (pngcrush) sub rsa4096 2013-05-31 [E] [expires: 2018-05-30] -BEGIN PGP PUBLIC KEY BLOCK- mQINBFGn+ogBEAD6cK4C1MRIOUPToIxBZA1mwkiUYTimGEhmgHFle9h20GQWuuJ3 sU34ptoljsmgeWChuC1PRtYm1mb/nrIC98Osu1MKwj1QQbHgGa/oK57LBx05bVZr GI36tkZXi9VC4aiilJ08c1bVYDh0WKx9ohH7VKlNiDiS5g5Fsk8fe3hj+nCBbRN1 6VZjcVhWwhYYygTnTu/4KxkjgbE2QUP1CsE8UbeubFcInlSFmXAyoc3hXLbe0NqI Jxri1dQAwg/J/GtEqLfTDE9f+xuHgVVwUpGNDhf2Md4STW/5m0lzfOQXxN0AUwml wTNS6YNkb8WK0ab63wnVwP+4wAwVp3QjDYhrkApTdv3W5V/7oGL0Iw6o1XGbXLp2 qLwgAhcWFeZWU6RbfT33ipeoYPmt4Cw8tGW6Zh1CEW4lj33hJoOTfrogtMFqPRSa sbz2tTGha3ZA3FKg84tfg1UaS7ZJ6MmrO2lXr7VcjR75xmeqjjQyQlhZ67Ew4mbw J456mG0fM9a7PPgCIJPAluNQvgUjoSfDFb/0klhn
commit pngcrush for openSUSE:Factory
Hello community, here is the log from the commit of package pngcrush for openSUSE:Factory checked in at 2017-03-02 19:37:05 Comparing /work/SRC/openSUSE:Factory/pngcrush (Old) and /work/SRC/openSUSE:Factory/.pngcrush.new (New) Package is "pngcrush" Thu Mar 2 19:37:05 2017 rev:4 rq:460633 version:1.7.92 Changes: --- /work/SRC/openSUSE:Factory/pngcrush/pngcrush.changes2016-01-28 17:22:30.0 +0100 +++ /work/SRC/openSUSE:Factory/.pngcrush.new/pngcrush.changes 2017-03-02 19:37:06.537560046 +0100 @@ -1,0 +2,9 @@ +Mon Aug 22 17:42:57 UTC 2016 - stefan.bru...@rwth-aachen.de + +- Add pngcrush-systemlib.diff + Allow building with system libpng where possible, this fixes + build errors on Aarch64 due to incomplete bundled libpng source +- Drop pngcrush-makefile-add-optflags.diff + Supply optflags via CFLAGS, supported by current Makefile + +--- Old: pngcrush-makefile-add-optflags.diff New: pngcrush-systemlib.diff Other differences: -- ++ pngcrush.spec ++ --- /var/tmp/diff_new_pack.Dnl5yz/_old 2017-03-02 19:37:07.069484775 +0100 +++ /var/tmp/diff_new_pack.Dnl5yz/_new 2017-03-02 19:37:07.073484209 +0100 @@ -1,7 +1,7 @@ # # spec file for package pngcrush # -# 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 @@ -24,9 +24,11 @@ Group: Productivity/Graphics/Other Url:http://pmt.sourceforge.net/pngcrush/ Source: http://downloads.sf.net/pmt/%{name}-%{version}.tar.gz -Patch1: pngcrush-makefile-add-optflags.diff +Patch1: pngcrush-systemlib.diff BuildRequires: glibc-devel +%if 0%{?suse_version} > 1310 BuildRequires: libpng-devel +%endif BuildRequires: zlib-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -40,7 +42,7 @@ %prep %setup -q -%patch1 -p1 +%patch1 -p0 %build make %{?_smp_mflags} \ @@ -50,7 +52,12 @@ ZLIB="%{_lib}" \ CC="gcc" \ LD="gcc" \ - OPTFLAGS="%{optflags}" + CFLAGS="%{optflags} -Wshadow" \ +%if 0%{?suse_version} > 1310 +-f Makefile-nolib +%else +-f Makefile +%endif %install install -D -m 0755 pngcrush "%{buildroot}%{_bindir}/pngcrush" ++ pngcrush-systemlib.diff ++ --- pngconf.h_orig 2016-08-22 19:39:26.807573778 +0200 +++ pngconf.h 2016-08-22 19:25:14.418058847 +0200 @@ -24,7 +24,6 @@ #ifndef PNGCONF_H #define PNGCONF_H -#include "pngcrush.h" #ifndef PNG_BUILDING_SYMBOL_TABLE /* else includes may cause problems */
commit pngcrush for openSUSE:Factory
Hello community, here is the log from the commit of package pngcrush for openSUSE:Factory checked in at 2016-01-28 17:22:28 Comparing /work/SRC/openSUSE:Factory/pngcrush (Old) and /work/SRC/openSUSE:Factory/.pngcrush.new (New) Package is "pngcrush" Changes: --- /work/SRC/openSUSE:Factory/pngcrush/pngcrush.changes2015-03-27 09:41:26.0 +0100 +++ /work/SRC/openSUSE:Factory/.pngcrush.new/pngcrush.changes 2016-01-28 17:22:30.0 +0100 @@ -1,0 +2,15 @@ +Sun Jan 17 15:04:31 UTC 2016 - jeng...@inai.de + +- Update to new upstream release 1.7.92 +* Fixed segfault while writing a -loco MNG +* Eliminated a potential overflow while adding iTXt chunk +* Fixed a double-free bug (CVE-2015-7700). There was a "free" of + the sPLT chunk structure in pngcrush and then again in png.c. +* Increased some buffer sizes in an attempt to prevent possible + overflows. +* Increased maximum size of a text chunk input from 260 to 2048 + (STR_BUF_SIZE) bytes, to agree with the help screen +* Fixed bug that caused text chunks after IDAT to be written only + when the "-save" option is used. + +--- Old: pngcrush-1.7.85.tar.gz New: pngcrush-1.7.92.tar.gz Other differences: -- ++ pngcrush.spec ++ --- /var/tmp/diff_new_pack.E8O7eC/_old 2016-01-28 17:22:31.0 +0100 +++ /var/tmp/diff_new_pack.E8O7eC/_new 2016-01-28 17:22:31.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package pngcrush # -# 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 @@ -17,13 +17,13 @@ Name: pngcrush -Version:1.7.85 +Version:1.7.92 Release:0 Summary:Optimizer for PNG Files that can also insert or delete specified Chunks License:Zlib Group: Productivity/Graphics/Other Url:http://pmt.sourceforge.net/pngcrush/ -Source: http://prdownloads.sourceforge.net/pmt/pngcrush-%{version}.tar.gz +Source: http://downloads.sf.net/pmt/%{name}-%{version}.tar.gz Patch1: pngcrush-makefile-add-optflags.diff BuildRequires: glibc-devel BuildRequires: libpng-devel @@ -33,7 +33,7 @@ %description pngcrush is an excellent batch-mode compression utility for PNG images. Depending on the application that created the original PNGs, it can -improve the file size anywhere from a few percent to 40% or more (completely +improve the file size anywhere from a few percent to 40%% or more (completely losslessly). The utility also allows specified PNG chunks (e.g. text comments) to be inserted or deleted, and it can fix incorrect gamma info written by Photoshop 5.0 as well as the erroneous iCCP chunk written by Photoshop 5.5. ++ pngcrush-1.7.85.tar.gz -> pngcrush-1.7.92.tar.gz ++ 7457 lines of diff (skipped)
commit pngcrush for openSUSE:Factory
Hello community, here is the log from the commit of package pngcrush for openSUSE:Factory checked in at 2015-03-27 09:41:25 Comparing /work/SRC/openSUSE:Factory/pngcrush (Old) and /work/SRC/openSUSE:Factory/.pngcrush.new (New) Package is "pngcrush" Changes: --- /work/SRC/openSUSE:Factory/pngcrush/pngcrush.changes2015-03-03 11:16:15.0 +0100 +++ /work/SRC/openSUSE:Factory/.pngcrush.new/pngcrush.changes 2015-03-27 09:41:26.0 +0100 @@ -1,0 +2,11 @@ +Wed Mar 25 13:52:26 UTC 2015 - meiss...@suse.com + +- updated to 1.7.85 + - Improved reporting of invalid chunk names. Does not try to put +non-printable characters in STDERR; displays hex numbers instead. + - Fixed include path for utime.h on MSVC (Louis McLaughlin). + - Eliminated "FAR" memory support (it was removed from libpng at version 1.6.0). + - Disabled the "-already_crushed" option which does not really work well. + + +--- Old: pngcrush-1.7.84.tar.gz New: pngcrush-1.7.85.tar.gz Other differences: -- ++ pngcrush.spec ++ --- /var/tmp/diff_new_pack.9j2ugX/_old 2015-03-27 09:41:26.0 +0100 +++ /var/tmp/diff_new_pack.9j2ugX/_new 2015-03-27 09:41:26.0 +0100 @@ -17,7 +17,7 @@ Name: pngcrush -Version:1.7.84 +Version:1.7.85 Release:0 Summary:Optimizer for PNG Files that can also insert or delete specified Chunks License:Zlib ++ pngcrush-1.7.84.tar.gz -> pngcrush-1.7.85.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pngcrush-1.7.84/ChangeLog.html new/pngcrush-1.7.85/ChangeLog.html --- old/pngcrush-1.7.84/ChangeLog.html 2015-02-28 16:38:54.0 +0100 +++ new/pngcrush-1.7.85/ChangeLog.html 2015-03-09 20:29:23.0 +0100 @@ -3,10 +3,21 @@ Change log: -Version 1.7.84beta (built with libpng-1.7.0beta47 and zlib-1.2.8) +Version 1.7.85 (built with libpng-1.6.16 and zlib-1.2.8) + Improved reporting of invalid chunk names. Does not try to put +non-printable characters in STDERR; displays hex numbers instead. + Fixed include path for utime.h on MSVC (Louis McLaughlin). + Eliminated "FAR" memory support (it was removed from libpng at version +1.6.0). + Disabled the "-already_crushed" option which does not really work well. + +Version 1.7.84 (built with libpng-1.6.16 and zlib-1.2.8) + Cleaned up more Coverity-scan warnings. Fixing those also fixed +CVE-2015-2158. Version 1.7.83 (built with libpng-1.6.16 and zlib-1.2.8) - Cleaned up some Coverity-scan warnings. + Cleaned up some Coverity-scan warnings. Unfortunately one of these +changes introduced the vulnerability reported in CVE-2015-2158. Version 1.7.82 (built with libpng-1.6.16 and zlib-1.2.8) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pngcrush-1.7.84/Makefile new/pngcrush-1.7.85/Makefile --- old/pngcrush-1.7.84/Makefile2015-02-27 05:00:36.0 +0100 +++ new/pngcrush-1.7.85/Makefile2015-03-06 12:24:23.0 +0100 @@ -24,8 +24,6 @@ # Work around zlib compiler bug in 1.2.6 CPPFLAGS += -DZ_SOLO -CPPFLAGS += -DWBITS_8_OK - # Cannot use this with libpng15 and later. # TOOFAR_OK=-DINFLATE_ALLOW_INVALID_DISTANCE_TOOFAR_ARRR TOOFAR_OK= diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pngcrush-1.7.84/pngcrush.c new/pngcrush-1.7.85/pngcrush.c --- old/pngcrush-1.7.84/pngcrush.c 2015-02-28 16:32:14.0 +0100 +++ new/pngcrush-1.7.85/pngcrush.c 2015-03-09 20:03:01.0 +0100 @@ -28,9 +28,6 @@ * Thanks to Stephan Levavej for some helpful suggestions about gcc compiler * options and for a suggestion to increase the Z_MEM_LEVEL from default. * - */ - -/* * CAUTION: * * There is another version of pngcrush that has been distributed by @@ -80,7 +77,7 @@ * */ -#define PNGCRUSH_VERSION "1.7.84" +#define PNGCRUSH_VERSION "1.7.85" /* Experimental: define these if you wish, but, good luck. #define PNGCRUSH_COUNT_COLORS @@ -159,7 +156,9 @@ * in pngcrush are already available in ImageMagick; you can try a * workflow that makes a first pass over the image with ImageMagick * to select the bit depth, color type, interlacing, etc., and then makes - * another pass with pngcrush to optimize the compression.) + * another pass with pngcrush to optimize the compression, and finally + * makes a pass with libpng's "pngfix" app to optimize the zlib CMF + * bytes.) * * 1. Reset CINFO to reflect decoder's required window size (instead of * libz-1.1.3 encoder's required window size, which is 262 bytes l