pkgsrc/graphics/jbigkit/Makefile
obache 182bcb3000 Update jbigkit to 2.1.
Changes in version 2.1 (2014-04-08)

This is a security-critical bug-fix release that remains API and ABI
backwards compatible to version 2.0. Users who process BIE data from
untrusted sources should upgrade.

  - fixed a buffer-overflow vulnerability in the jbig.c decoder,
    reported by Florian Weimer (Red Hat): CVE-2013-6369

  - fixed ability of corrupted input data to force jbig85.c decoder
    into an end-less loop

  - fixed a bug in the processing of private deterministic-prediction
    tables (DPPRIV=1) in jbig.c decoder

  - fixed integer-type mismatches in printf arguments on 64-bit systems

  - fuzz-testing script added
2014-04-10 12:04:16 +00:00

40 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.6 2014/04/10 12:04:16 obache Exp $
DISTNAME= jbigkit-2.1
CATEGORIES= graphics
MASTER_SITES= http://www.cl.cam.ac.uk/~mgk25/jbigkit/download/
MAINTAINER= obache@NetBSD.org
HOMEPAGE= http://www.cl.cam.ac.uk/~mgk25/jbigkit/
COMMENT= JBIG-KIT lossless image compression library
LICENSE= gnu-gpl-v2
USE_LIBTOOL= yes
USE_TOOLS+= gmake
TEST_TARGET= test
INSTALLATION_DIRS= bin include lib ${PKGMANDIR}/man1 share/doc/jbig
do-install:
${RUN} cd ${WRKSRC}/libjbig; \
for h in *.h; do \
${INSTALL_DATA} "$${h}" ${DESTDIR}${PREFIX}/include; \
done; \
for l in *.la; do \
${LIBTOOL} --mode=install ${INSTALL_LIB} "$${l}" \
${DESTDIR}${PREFIX}/lib; \
done; \
for t in *.txt; do \
${INSTALL_DATA} "$${t}" ${DESTDIR}${PREFIX}/share/doc/jbig; \
done; \
cd ${WRKSRC}/pbmtools; \
for p in jbgtopbm jbgtopbm85 pbmtojbg pbmtojbg85; do \
${LIBTOOL} --mode=install ${INSTALL_PROGRAM} "$${p}" \
${DESTDIR}${PREFIX}/bin; \
done; \
for m in *.1; do \
${INSTALL_MAN} "$${m}" ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1; \
done;
.include "../../mk/bsd.pkg.mk"