1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/graphics/libexif/Makefile
Danilo G. Baio 9c5d1f0ae4 graphics/libexif: Fix security vulnerabilities
- Fix CVE-2019-9278

  In libexif, there is a possible out of bounds write due to an integer
  overflow. This could lead to remote escalation of privilege in the media
  content provider with no additional execution privileges needed. User
  interaction is needed for exploitation.

 - Fix a buffer read overflow in exif_entry_get_value

 - Fix a buffer overread in exif_mnote_data_olympus_load

PR:		244060
Reported by:	tj@mrsk.me (email)
Approved by:	former maintainer
MFH:		2020Q1
Security:	00f30cba-4d23-11ea-86ba-641c67a117d8
2020-02-13 22:59:12 +00:00

45 lines
1012 B
Makefile

# Created by: Peter Schmiedeskamp <pschmied@qwest.net>
# $FreeBSD$
PORTNAME= libexif
PORTVERSION= 0.6.21
PORTREVISION= 5
CATEGORIES= graphics
MASTER_SITES= SF
MAINTAINER= dbaio@FreeBSD.org
COMMENT= Library to read digital camera file meta-data
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/COPYING
OPTIONS_DEFINE= DOCS NLS
USES= cpe gmake libtool pathfix pkgconfig tar:bzip2
CPE_VENDOR= curtis_galloway
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-docs
USE_LDCONFIG= yes
PORTDOCS= AUTHORS ChangeLog NEWS README
OPTIONS_SUB= yes
NLS_USES= gettext
NLS_CONFIGURE_ENV_OFF= am_cv_func_iconv=no
NLS_CONFIGURE_ENABLE= nls
post-patch:
@${REINPLACE_CMD} -e '/^SUBDIRS =/s|doc||g ; \
/^am__installdirs =/s|$$(docdir)||g ; \
/^install-data-am:/s|install-docDATA||g' ${WRKSRC}/Makefile.in
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for file in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>