OptiPNG is a PNG optimizer that recompresses image files to a smaller
size, without losing any information. This program also converts
external formats (BMP, GIF, PNM; TIFF support is coming up) to optimized
PNG, and performs PNG integrity checks and corrections.
The idea has been inspired from pngcrush, and is explained in detail in
the PNG-Tech article "A guide to PNG optimization". The implementation
is carried forward in OptiPNG, which offers a faster execution per
trial, and a wider search space.
===> The following configuration options are available for optipng-7.9.1_1:
DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
graphics/optipng: Fix does not set execute bit on binary
Upstream uses "install(FILES ..." instead of "install(PROGRAMS ..."
for install executable binary.
PR: 299678299132
Approved by: blanket (fix runtime)
Sponsored by: UNIS Labs
graphics/optipng: Update to 0.7.8
- CVE fix is now upstreamed
- Remove old compile fix related patches
- Remove gmake dependency
Changelog: https://optipng.sourceforge.net/history.txt
graphics/optipng: Add fix for CVE-2023-43907
- Add a bounds check to prevent out-of-bounds read of buffer on
specially-formed GIF files.
- Remove BUNDLED_LIBPNG and BUNDLED_ZLIB, as the supplied versions are
well out of date and offer no noted advantages.
PR: 274822
MFH: 2023Q4
Security: fe7ac70a-792b-11ee-bf9a-a04a5edf46d9
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
graphics: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* "Waitman Gobble" <uzimac@da3m0n8t3r.com>
* Aaron Dalton <aaron@FreeBSD.org>
* Abel Chow <ozsanh45vds001@sneakemail.com>
* Adam Weinberger <adamw@FreeBSD.org>
* Ade Lovett <ade@FreeBSD.org>
* Ade Lovett <ade@lovett.com>
* Akinori MUSHA aka knu <knu@idaemons.org>
* Aldis Berjoza <aldis@bsdroot.lv>
* Alex Hayward <xelah@xelah.com>
* Alex Ivasyuv <siegerstein@pochta.ru>
* Alex Samorukov <samm@os2.kiev.ua>
(Only the first 15 lines of the commit message are shown above )
When there is a do-install target, do not use a post-install target, do
everything at once. Sometime, rename post-install into a options helper
target.
I did not fix ports that were such a mess that I could not figure out
what they really wanted to do. I also did not change ports that had
some version of an auto-plist code in post-install, for the same reason.
With hat: portmgr
Sponsored by: Absolight
- Update to 0.7.5
- Convert to option helpers but don't use _CONFIGURE_WITH
due to inverse logic
- Fix compiler warning on amd64 due to (size_t)(-1)
being larger than UINT_MAX
PR: 199612
Submitted by: Thomas Hurst <tom@hur.st> (maintainer)
Remove indefinite articles and trailing periods from COMMENT, plus
minor COMMENT typos and surrounding whitespace fixes. Categories G-I.
CR: D201
Approved by: portmgr (bapt)
Remove more tags from pkg-descr files fo the form:
- Name
em@i.l
or variations thereof. While I'm here also fix some whitespace and other
formatting errors, including moving WWW: to the last line in the file.
- Update to 0.5.3
- Fetch from SF
- Move plist to Makefile
- Update pkg-descr
Approved by: Thomas 'Freaky' Hurst <tom@hur.st> (maintainer timeout since Jul
24)
New port: optipng-0.4.2
OptiPNG is a PNG optimizer that recompresses the image files to
a smaller size, without losing any information.
PR: 54260
Submitted by: Thomas Hurst <freaky@aagh.net>
Approved by: fjoe (mentor) (implicit)