update to libjpeg-turbo-2.0.4, some security-related fixes, see release

notes at https://github.com/libjpeg-turbo/libjpeg-turbo/releases/tag/2.0.4
This commit is contained in:
sthen 2020-01-01 14:24:59 +00:00
parent c266ce0a5c
commit 6d22e86294
3 changed files with 10 additions and 13 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.65 2019/11/24 17:21:24 espie Exp $
# $OpenBSD: Makefile,v 1.66 2020/01/01 14:24:59 sthen Exp $
COMMENT= SIMD-accelerated JPEG codec replacement of libjpeg
V= 2.0.3
DISTNAME= jpeg-turbo-${V}
V= 2.0.4
DISTNAME= libjpeg-turbo-${V}
PKGNAME= jpeg-${V}
EPOCH= 0
@ -18,7 +18,6 @@ HOMEPAGE= https://libjpeg-turbo.org/
PERMIT_PACKAGE= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libjpeg-turbo/}
DISTFILES= libjpeg-turbo-${V}.tar.gz
WANTLIB= c
@ -28,11 +27,9 @@ MODULES= devel/cmake
BUILD_DEPENDS= devel/yasm
.endif
CONFIGURE_ARGS+=-DCMAKE_INSTALL_PREFIX="${PREFIX}" \
-DWITH_TURBOJPEG=False
DEBUG_PACKAGES = ${BUILD_PACKAGES}
WRKDIST= ${WRKDIR}/lib${DISTNAME}
CONFIGURE_ARGS+= -DCMAKE_INSTALL_PREFIX="${PREFIX}" \
-DWITH_TURBOJPEG=False
DEBUG_PACKAGES= ${BUILD_PACKAGES}
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/jpeg

View File

@ -1,2 +1,2 @@
SHA256 (libjpeg-turbo-2.0.3.tar.gz) = QkbeUAVE1O5AjuVwSKpKrcbxZfwX8UHah2afIO0yQbc=
SIZE (libjpeg-turbo-2.0.3.tar.gz) = 2161279
SHA256 (libjpeg-turbo-2.0.4.tar.gz) = M92FR+/VVDY56JDvvy71LVoh34H69Bu5QGV6+RaiNAY=
SIZE (libjpeg-turbo-2.0.4.tar.gz) = 2161812

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.16 2018/10/01 07:08:22 ajacoutot Exp $
@comment $OpenBSD: PLIST,v 1.17 2020/01/01 14:24:59 sthen Exp $
@bin bin/cjpeg
@bin bin/djpeg
@bin bin/jpegtran
@ -8,7 +8,7 @@ include/jconfig.h
include/jerror.h
include/jmorecfg.h
include/jpeglib.h
lib/libjpeg.a
@static-lib lib/libjpeg.a
@lib lib/libjpeg.so.${LIBjpeg_VERSION}
lib/pkgconfig/libjpeg.pc
@man man/man1/cjpeg.1