rsadowski a799fc688e Update LibRaw to 0.18.10 (includes security fixes)
CVE-2018-10529 fixed: out of bounds read in X3F parser
CVE-2018-10528 fixed: possible stack overrun in X3F parser

Upstream removed own license:
https://www.libraw.org/news/libraw-0-18-released

Just minor bumps hint and OK sthen@
2018-05-14 19:32:20 +00:00

36 lines
859 B
Makefile

# $OpenBSD: Makefile,v 1.36 2018/05/14 19:32:20 rsadowski Exp $
COMMENT = library for reading RAW files
DISTNAME = LibRaw-0.18.10
PKGNAME = ${DISTNAME:L}
CATEGORIES = graphics
SHARED_LIBS += raw 3.1 # 15.0
SHARED_LIBS += raw_r 3.1 # 15.0
HOMEPAGE = https://www.libraw.org/
MAINTAINER = Rafael Sadowski <rsadowski@openbsd.org>
# LGPL v2.1 OR CDDL v1.0
PERMIT_PACKAGE_CDROM = Yes
WANTLIB += c jasper jpeg lcms2 m pthread ${COMPILER_LIBCXX}
MASTER_SITES = https://www.libraw.org/data/
COMPILER = base-clang ports-gcc base-gcc
# for atomic builtins (__sync_fetch_and_add_4)
MODGCC4_ARCHS = hppa
LIB_DEPENDS = graphics/jasper \
graphics/lcms2
SEPARATE_BUILD = Yes
CONFIGURE_STYLE = gnu
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
.include <bsd.port.mk>