Updating pngcheck

Lemures Lemniscati lemures.lemniscati@gmail.com
Thu Apr 8 10:03:12 GMT 2021


https://sourceware.org/pipermail/cygwin/2021-March/248073.html
On Sat, 13 Mar 2021 22:33:27 +0900, Lemures Lemniscati
> Hi!
> 
> Is there any plan to update pngcheck?
> 
> Currently, we have pngcheck 2.3.0-1.
> https://www.cygwin.com/packages/summary/pngcheck-src.html
> 
> And, recently, some vulnerabilities have been fixed in its upstream.
> http://www.libpng.org/pub/png/apps/pngcheck.html

Hi, Jari Aalto.

Here is a cygport file, which could be a candidate for pngcheck-3.0.2.

Regards,

Lem

----------------
NAME="pngcheck"
VERSION=3.0.2
RELEASE=1
CATEGORY="Graphics"
SUMMARY="PNG file format checker"
DESCRIPTION="\
pngcheck verifies the integrity of PNG, JNG and MNG files (by checking
the internal 32-bit CRCs, a.k.a. checksums, and decompressing the image
data); it can optionally dump almost all of the chunk-level information
in the image in human-readable form. For example, it can be used to
print the basic statistics about an image (dimensions, bit depth, etc.);
to list the color and transparency info in its palette (assuming it has
one); or to extract the embedded text annotations.
This is a command-line program with batch capabilities.
"
HOMEPAGE="http://www.libpng.org/pub/png/apps/pngcheck.html"
SRC_URI="http://www.libpng.org/pub/png/src/pngcheck-${VERSION}.tar.gz"

################################
BUILD_REQUIRES="\
  zlib-devel\
"

################################
_CYGPORT_RESTRICT_postinst_doc_=1

src_compile () {
  cd ${B}
  lndirs
  cygmake -f Makefile.unx CC=${CC} CFLAGS="${CFLAGS}"
}

src_install () {
  cd ${B}
  dobin *.exe

  doman *.1
  dodoc CHANGELOG* LICENSE* README*

  doman gpl/*.1
  docinto gpl
  dodoc gpl/COPYING*
}
----------------


More information about the Cygwin-apps mailing list