fcambus 9f04224311 Add upstream fix for CVE-2019-19555.
This fix addresses the following issue:

- Stack-based buffer overflow in read_textobject()
2019-12-04 22:07:50 +00:00

40 lines
803 B
Makefile

# $OpenBSD: Makefile,v 1.49 2019/12/04 22:07:50 fcambus Exp $
COMMENT= tools to convert Xfig's .fig files #'
VERSION= 3.2.7b
DISTNAME= fig2dev-${VERSION}
REVISION= 1
EXTRACT_SUFX = .tar.xz
PKGNAME= transfig-${VERSION}
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mcj/}
HOMEPAGE= https://xfig.org/
BUILD_DEPENDS= print/ghostscript/gnu
LIB_DEPENDS= graphics/png converters/libiconv
RUN_DEPENDS= print/ghostscript/gnu \
graphics/netpbm>=9.19
# MIT-like
PERMIT_PACKAGE= Yes
WANTLIB= Xpm c m png>=2 iconv
MAKE_FLAGS= CC="${CC}"
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS = --enable-transfig
CONFIGURE_ENV = LDFLAGS=-L${LOCALBASE}/lib CPPFLAGS=-I${LOCALBASE}/include
FLAVORS= a4
FLAVOR?=
.if !${FLAVOR:Ma4}
CONFIGURE_ARGS += --enable-letterpaper
.endif
NO_TEST= Yes
.include <bsd.port.mk>