openbsd-ports/print/gv/Makefile
brad 36a9392a98 Fix security issue with gv.
When GV detects that the document is either a PDF file or a
GZip compressed file, it executes some commands with the help of the
system() function. Unfortunately, these commands contain the
filename, which can be considered as untrusted user input. It is then
possible to distribute a file (with a meticulously chosen filename,
that even seems innocent) that causes execution of arbitrary
shell commands when it is read with GV.

http://www.epita.fr/~bevand_m/asa/asa-0000
2002-10-04 18:29:14 +00:00

27 lines
587 B
Makefile

# $OpenBSD: Makefile,v 1.18 2002/10/04 18:29:14 brad Exp $
COMMENT= "PostScript and PDF previewer"
DISTNAME= gv-3.5.8
PKGNAME= ${DISTNAME}p1
CATEGORIES= print
MASTER_SITES= ftp://ftpthep.physik.uni-mainz.de/pub/gv/unix/
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
LIB_DEPENDS= Xaw3d.6.1::x11/Xaw3d
RUN_DEPENDS= :ghostscript-*:print/ghostscript/gnu
CONFIGURE_STYLE= imake
INSTALL_TARGET=install install.man install.doc
post-install:
${INSTALL_MAN} ${WRKSRC}/source/gv.0 ${PREFIX}/man/cat1
.include <bsd.port.mk>