3146dc08a8
Update to 5.06. Fixes a tmp file creation vulnerability. Submitted by Nikolay Sturm <sturm@sec.informatik.tu-darmstadt.de>.
42 lines
1.0 KiB
Makefile
42 lines
1.0 KiB
Makefile
# OpenBSD makefile for: acroread
|
|
# Version required: 4.0
|
|
# Date created: June 7 1998
|
|
# Whom: Angelos D. Keromytis
|
|
#
|
|
# $OpenBSD: Makefile,v 1.19 2002/08/04 01:02:48 naddy Exp $
|
|
#
|
|
|
|
COMMENT= "view, distribute and print PDF documents"
|
|
|
|
DISTNAME= linux-506
|
|
PKGNAME= acroread-5.06
|
|
CATEGORIES= print
|
|
|
|
MASTER_SITES= ftp://ftp.adobe.com/pub/adobe/acrobatreader/unix/5.x/
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
MAINTAINER= Angelos D. Keromytis <angelos@openbsd.org>
|
|
|
|
PERMIT_PACKAGE_CDROM= "commercial software"
|
|
PERMIT_PACKAGE_FTP= "commercial software"
|
|
PERMIT_DISTFILES_CDROM= "commercial software"
|
|
PERMIT_DISTFILES_FTP= "Adobe are control freaks"
|
|
|
|
RUN_DEPENDS= :redhat_base-*:emulators/redhat/base
|
|
|
|
WRKDIST= ${WRKDIR}
|
|
NO_BUILD= Yes
|
|
NO_REGRESS= Yes
|
|
|
|
do-install:
|
|
@${INSTALL_DATA_DIR} ${PREFIX}/Acrobat5
|
|
@ReadInstallDir=${PREFIX}/Acrobat5 ${WRKSRC}/INSTALL
|
|
|
|
post-install:
|
|
@cd ${PREFIX}/Acrobat5/bin && \
|
|
patch --quiet < ${FILESDIR}/acroread.diff && \
|
|
${INSTALL_SCRIPT} ${PREFIX}/Acrobat5/bin/acroread \
|
|
${PREFIX}/bin/acroread && rm acroread.orig
|
|
|
|
.include <bsd.port.mk>
|