brad e250d602a9 SECURITY Update to png 1.6.10:
libpng will hang when reading images that have zero-length IDAT chunks with
the progressive (streaming) reader; a malicious web site could use this bug
to cause a (minor) denial of service. (CVE-2014-0333)

ok sthen@
2014-04-18 02:54:05 +00:00

32 lines
691 B
Makefile

# $OpenBSD: Makefile,v 1.98 2014/04/18 02:54:05 brad Exp $
COMMENT= library for manipulating PNG images
VERSION= 1.6.10
DISTNAME= libpng-${VERSION}
PKGNAME= png-${VERSION}
SHARED_LIBS= png16 17.1 \
png 17.1
CATEGORIES= graphics
DPB_PROPERTIES= parallel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libpng/}
EXTRACT_SUFX= .tar.xz
HOMEPAGE= http://www.libpng.org/pub/png/libpng.html
# BSD
PERMIT_PACKAGE_CDROM= Yes
WANTLIB= c m z
SEPARATE_BUILD= Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED}
post-install:
cd ${PREFIX}/lib; \
ln -s libpng16.so.${LIBpng16_VERSION} libpng.so.${LIBpng_VERSION}; \
perl -pi -e 's/libpng16/libpng/g' libpng.la
.include <bsd.port.mk>