Commit graph

44 commits

Author SHA1 Message Date
nia
f8331b5844 graphics: Replace RMD160 checksums with BLAKE2s checksums
All checksums have been double-checked against existing RMD160 and
SHA512 hashes
2021-10-26 10:45:53 +00:00
nia
84d3786e88 graphics: Remove SHA1 hashes for distfiles 2021-10-07 14:11:55 +00:00
nia
8010f38b97 *: Convert broken sourceforge HOMEPAGEs back to http 2020-03-20 11:57:44 +00:00
rillig
b686dd9180 all: migrate several HOMEPAGEs to https
pkglint --only "https instead of http" -r -F

With manual adjustments afterwards since pkglint 19.4.4 fixed a few
indentations in unrelated lines.

This mainly affects projects hosted at SourceForce, as well as
freedesktop.org, CTAN and GNU.
2020-01-18 23:30:43 +00:00
adam
3f2df4be8a optipng: updated to 0.7.7
0.7.7:
* Upgraded libpng to version 1.6.34.
* Upgraded zlib to version 1.2.11-optipng.
* Upgraded minitiff to version 0.2.
!! Fixed a buffer overflow vulnerability in the GIF decoder.
!! Fixed an integer overflow vulnerability in the TIFF decoder.
! Fixed the build on macOS High Sierra.
! Fixed the build on DJGPP.
* Disallowed out-of-bounds values in rangeset options.
2018-06-27 11:52:17 +00:00
adam
f5120c0c21 Version 0.7.6
-------------
 * Upgraded libpng to version 1.6.21.
 ! Fixed an assertion failure in the image reduction code.
!! Fixed various security-sensitive defects in the BMP decoder.
 ! Fixed a benign uninitialized memory read in the GIF decoder.
 ! Fixed a build failure occurring under the Estonian (et_EE) locale.
 ! Fixed a build failure occurring on Mac OS X, FreeBSD, and possibly
   other systems that lack POSIX-compliant high-resolution timestamps.
 ! Fixed a typo causing build failures in 32-bit ANSI C compilation.
2016-06-17 14:03:10 +00:00
jperkin
1a52dfa483 Pass -mandir, fixes PKGMANDIR. 2016-04-01 22:32:45 +00:00
agc
7f810a359f Add SHA512 digests for distfiles for graphics category
Problems found with existing digests:
	Package fotoxx distfile fotoxx-14.03.1.tar.gz
	ac2033f87de2c23941261f7c50160cddf872c110 [recorded]
	118e98a8cc0414676b3c4d37b8df407c28a1407c [calculated]
	Package ploticus-examples distfile ploticus-2.00/plnode200.tar.gz
	34274a03d0c41fae5690633663e3d4114b9d7a6d [recorded]
	da39a3ee5e6b4b0d3255bfef95601890afd80709 [calculated]

Problems found locating distfiles:
	Package AfterShotPro: missing distfile AfterShotPro-1.1.0.30/AfterShotPro_i386.deb
	Package pgraf: missing distfile pgraf-20010131.tar.gz
	Package qvplay: missing distfile qvplay-0.95.tar.gz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-03 21:33:50 +00:00
adam
a368d173b9 Fix building on OS X 10.10 2014-10-23 12:24:41 +00:00
adam
4a97631609 Changes 0.7.5:
* Upgraded libpng to version 1.6.10-optipng.
* Upgraded zlib to version 1.2.8-optipng.
! Fixed various build issues with libpng-1.5 and libpng-1.6.
* Allowed the handling of huge image files (> millions of pixels
  per row or column) to be independent of the libpng version.
+ Allowed the option -preserve to save the file ownership (UID/GID)
  on Unix.
! Fixed a build issue with Clang.
+ Added various enhancements to the configure script.
2014-03-31 07:15:19 +00:00
wiz
d1b820f37b Recursive bump for png-1.6. 2013-02-16 11:18:58 +00:00
joerg
e53792ae3b Fix build on NetBSD when using *at. 2013-01-11 13:27:53 +00:00
adam
a9293ae1be Changes 0.7.4:
* Fixed the previous fix, which failed to fix the option -fix.
2012-11-18 13:32:16 +00:00
asau
08f35c7155 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-06 14:10:39 +00:00
taca
d3f863b9d4 Update optipng to 0.7.3, security fix for SA50654 (CVE-2012-4432).
Version 0.7.3   16-sep-2012
-------------
!! Fixed a use-after-free vulnerability in the palette reduction code.
   This vulnerability was accidentally introduced in version 0.7.
2012-09-21 04:07:22 +00:00
adam
1ddd7e6a38 Changes 0.7.2:
* Upgraded libpng to version 1.4.12.
* Upgraded zlib to version 1.2.7-optipng.
! Fixed the display of huge (4GB+) file/IDAT sizes on 32-bit platforms.
! Issued a proper error message if the output IDAT can't fit in 2GB.
  Acknowledged this limitation in the user manual.
  (Thanks to John Sauter for the report.)
! Fixed the output file cleanup that should occur after a write error.
* Added the option -debug and various undocumented debug features.
* Moved the PNG reduction module (opngreduc) to a separate sub-project.
2012-09-01 09:19:20 +00:00
adam
385dbe8b26 Changes 0.7.1:
* Fixed a regression in the reduction of palette-encoded grayscale
  images. This regression was introduced in version 0.7.
2012-03-20 19:55:19 +00:00
adam
ab72f2ccd7 Added patch: fix colour reduction bug. 2012-03-19 12:39:29 +00:00
adam
3be7ad39ff Changes 0.7:
* Upgraded libpng to version 1.4.9.
* Upgraded zlib to version 1.2.6-optipng.
* Resolved a rarely-occurring out-of-bounds memory access error in
  Z_RLE, by upgrading zlib.
* Added the popularly-requested option -strip.
  The only suboption currently supported is "-strip all".
* Added the option -clobber.
* Added the option -backup, as an alias of -keep.
* Added the option -silent, as an alias of -quiet.
* Deprecated the option -log.
* Changed the activity display output from STDOUT to STDERR.
* Allowed the option -preserve to save high-resolution timestamps
  on Unix, if the POSIX-1.2008 API is available.  This feature was
  previously available on Windows only.
* Fixed a minor precision error in the display of file size percents.
* Fixed a memory leak that occurred when reading broken GIF images.
* Fixed various build issues.
* Resolved all remaining compatibility issues with libpng-1.5.
* Added build support for clang.
* Reorganized the source directory structure.
2012-03-07 09:11:43 +00:00
adam
129403ea0f Changes 0.6.5:
* Upgraded libpng to version 1.4.5-optipng [private]
* Upgraded zlib to version 1.2.5-optipng [private]
* Fixed the I/O states (in libpng 1.4.5);
  they caused incorrect file reads in some rare cases.
* Fixed processing of PNG files with chunks of size 0.
* Fixed a display error in the TIFF import.
* Improved checking of the arguments of -f, -zc, -zm and -zs.
* Removed quirks from the rangeset option argument syntax.
* Fixed a build issue under the system-supplied libpng-1.4.
* Resolved forward-compatibility issues regarding libpng-1.5;
  however, the system-supplied libpng-1.5 is not yet supported.
* Added various enhancements to the configure+make build system.
2011-01-28 07:28:16 +00:00
wiz
af3596f984 png shlib name changed for png>=1.5.0, so bump PKGREVISIONs. 2011-01-13 13:36:05 +00:00
wiz
e8d8834f6a Bump PKGREVISION for libpng shlib name change.
Also add some patches to remove use of deprecated symbols and fix other
problems when looking for or compiling against libpng-1.4.x.
2010-06-13 22:43:46 +00:00
adam
c1fa86069b Changes 0.6.4:
* Added the option -nx.
* Clarified the behavior of -nz and the relation between -nz and -o0.
* Added a filesystem check (resolving normalized paths, symlinks, etc.)
  to better detect when the output overwrites the input.
* Enabled automatic wildcard expansion (i.e. globbing) on Win64.
* Fixed a Unicode build issue on Windows.
2010-04-11 10:08:51 +00:00
adam
57725fe2a8 patch-ac is no longer needed; fixes linking problem 2009-12-21 07:22:14 +00:00
adam
6cb0a25b3e Changes 0.6.3:
* Fixed a use-after-free error in the GIF reader.
* Flushed the output log to display the current trial in real time.
* Fixed an error in reporting unrecognized file formats.
* Removed the requirement to "fix" TIFF files that contain unrecognized
  metadata.
* Simplified the option abbreviation rules. Option names can now be
  abbreviated to their shortest unique prefix, as in X11 applications.
2009-05-28 08:07:50 +00:00
kefren
c31b8cee0b Add patches from upstream in order to update to 0.6.2.1
Changes:

  * Fix SA34035: Use after free error that can be used to execute arbitrary
    code via a specially crafted GIF image
2009-03-02 06:20:33 +00:00
adam
7c22f0e55d Changes 0.6.2:
* Upgraded libpng to version 1.2.33-optipng [private]
* Put back a speed optimization, accidentally removed in version 0.6,
  allowing singleton trials (-o1) to be bypassed in certain conditions.
* Fixed an array overflow in the BMP reader.
* Fixed the loss of private chunks under the -snip option.
* Produced a more concise on-screen output in the non-verbose mode.
* Added a programming interface to the optimization engine, in order
  to facilitate the development of PNG-optimizing GUI apps and plugins.
2008-11-12 18:45:04 +00:00
adam
8593ba921a Changes 0.6.1:
* Upgraded cexcept to version 2.0.1.
* Added a configure script, to be used instead of unix-secure.mak.
* Fixed a build issue that occured when using libpng from the system.
* Fixed processing when image reduction yields an output larger than
  the original.
* Fixed behavior of -preserve.
* Removed displaying of partial progress when abandoning IDATs under
  the -v option.  The percentages displayed were not very accurate.

Changes 0.6:
* Upgraded libpng to version 1.2.29-optipng [private]
* Implemented grayscale(alpha)-to-palette reductions.
* Improved conversion of bKGD info during RGB-to-palette reductions.
* Fixed conversion of bKGD and tRNS during 16-to-8-bit reductions.
* Added support for compressed BMP (incl. PNG-compressed BMP, you bet!)
* Improved the speed of reading raw PNM files.
* Recognized PNG digital signatures (dSIG) and disabled optimization
  in their presence, to preserve their integrity.
* Allowed the user to enforce the optimization of dSIG'ed files.
* Recognized APNG animation files and disabled reductions to preserve
  their integrity.
* Added the -snip option, to allow the user to "snip" one image out of
  a multi-image file, such as animated GIF, multi-page TIFF, or APNG.
* Improved recovery of PNG files with incomplete IDAT.
* Fixed a crash triggered by the use of -log on some platforms.
* Fixed behavior of -out and -dir when the input is already optimized.
* Provided more detailed image information at the start of processing.
* Provided a more detailed summary at the end of processing, under the
  presence of the -v option and/or the occurence of exceptional events.
2008-07-28 22:46:38 +00:00
heinz
2dd8ec4b10 Added support for installation to DESTDIR. 2007-11-10 19:08:51 +00:00
adam
8c43ff84de Changes 0.5.5:
* Upgraded libpng to version 1.2.15-optipng [private]
* Used a previously-missed RGB-to-palette reduction opportunity
  for images containing 256 distinct colors.
* Fixed conversion of bKGD info during rgb-to-palette reductions.
* Fixed pre-computation of iterations.
* Eliminated a false alarm when processing RGB images with tRNS
  in Unix-secure mode.
* Fixed behavior of -out and -dir when changing interlacing.
* Fixed behavior of "-dir [DRIVE]:" on Windows.
2007-01-29 17:53:05 +00:00
adam
85c67558f5 Changes 0.5.4:
* Added user options -out and -dir, to specify the name of
  the output file or directory.
* Added support for builds based on the system-supplied libpng.
2006-08-23 10:56:25 +00:00
adam
3ea7f11098 Changes 0.5.3:
* Upgraded libpng to version 1.2.12-optipng [private]
* Implemented basic support for TIFF (grayscale, RGB and RGBA, uncompressed).
* Avoided the redundant trial when the search space is singular
  (e.g. when running "optipng -o1 example.tif").
* Prevented accidental file corruption when using option "-log".
* Fixed (again) a small typo in the online help.
2006-08-05 12:23:07 +00:00
adam
f8b86482d4 Changes 0.5.2:
* Improved handling of inexact PNM-to-PNG conversions.
* Fixed a typo that was breaking the build on some Unix platforms.
2006-05-08 22:31:12 +00:00
adam
a2bcfe3a58 -lz is mendatory on some platorms (like Darwin) 2006-05-06 10:25:20 +00:00
adam
dcaf406914 Changes 0.5.1:
* Implemented bit depth reduction for palette images.
* Upgraded libpng to version 1.2.10-optipng [private]
* Improved the BMP support.
* Added a Unix man page.
* Allowed abbreviation of command-line options.
* Changed user option -log to accept a file name as an argument.
* Changed user option -no to -simulate.
* Fixed an error in handling .bak files on Unix.
* Fixed a small typo in the help screen.
* Added the GUIDE and THANKS documents.
* Converted some text document files to HTML.
2006-05-06 08:48:43 +00:00
wiz
891fcffe74 Fix build with png-1.2.9nb2. Bump PKGREVISION. 2006-04-19 17:02:22 +00:00
wiz
02f8f7c52d Bump BUILDLINK_ABI_DEPENDS.png and PKGREVISION for png-1.2.9nb2 update. 2006-04-17 13:45:57 +00:00
reed
5abef9be14 Over 1200 files touched but no revisions bumped :)
RECOMMENDED is removed. It becomes ABI_DEPENDS.

BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.

BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.

BUILDLINK_DEPENDS does not change.

IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".

Added to obsolete.mk checking for IGNORE_RECOMMENDED.

I did not manually go through and fix any aesthetic tab/spacing issues.

I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.

I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.

As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.

As discussed on tech-pkg.

I will commit to revbump, pkglint, pkg_install, createbuildlink separately.

Note that if you use wip, it will fail!  I will commit to pkgsrc-wip
later (within day).
2006-04-06 06:21:32 +00:00
adam
bbf9e246e0 Changes 0.5:
++ Added pngxtern, a libpng add-on for external image format
   support: BMP (uncompressed), GIF, PNM.
   (This was incorporated from OptiPNG-Plus.)
++ Implemented RGB(A)-to-palette reductions.
 + If trials are ended prematurely, detailed progression is only
   reported under the user option -v.
 - Removed reporting of some IDAT sizes that exceeded the optimum.
   (This was NOT a bug, but a "feature" that confused some users.)
 ! Fixed an RGB-to-gray reduction problem that occured under some
   specific background colors.
 + Added support for builds based on the system-supplied zlib.
 * Modified LICENSE.  It is now a verbatim spell of the zlib license.
2006-01-19 11:18:41 +00:00
grant
eb884f0255 |fmt 70 75 2005-07-14 13:29:29 +00:00
grant
fb5af5f3dc s/Advances/Advanced/ in COMMENT. 2005-07-14 13:28:53 +00:00
grant
ea5465474b include zlib/buildlink3.mk for zlib dependency (hi adam!), bump
PKGREVISION for dependency change.
2005-07-14 13:28:22 +00:00
adam
ba8417a2c5 Needs zlib>=1.2.2 2005-07-14 11:50:08 +00:00
adam
4b49f620cd OptiPNG is a PNG optimizer that recompresses the image files to a smaller size,
without losing any information.  The idea has been inspired from pngcrush, and
is explained in detail in the PNG-Tech article:  "A Guide to PNG optimization"
<http://www.cs.toronto.edu/~cosmin/pngtech/optipng.html>.  The implementation
is carried forward in OptiPNG, which offers a faster execution per trial, and
a wider search space.
2005-07-13 14:52:39 +00:00