pkgsrc/graphics/xpm/Makefile
jlam f705b2b3cc Apply fixes derived from the HEAD branch of X.Org (6.8.99) to address
problems noted in CAN-2004-0914:

    Multiple vulnerabilities in libXpm for 6.8.1 and earlier, as
    used in XFree86 and other packages, include (1) multiple integer
    overflows, (2) out-of-bounds memory accesses, (3) directory
    traversal, (4) shell metacharacter, (5) endless loops, and (6)
    memory leaks, which could allow remote attackers to obtain
    sensitive information, cause a denial of service (application
    crash), or execute arbitary code via a certain XPM image file.

Bump PKGREVISION to 4.  Since this is a security-related fix, also
bump the BUILDLINK_RECOMMENDED version for this package.
2005-06-14 18:10:37 +00:00

26 lines
591 B
Makefile

# $NetBSD: Makefile,v 1.43 2005/06/14 18:10:37 jlam Exp $
DISTNAME= xpm-3.4k
PKGREVISION= 4
CATEGORIES= graphics x11
MASTER_SITES= http://koala.ilog.fr/ftp/pub/xpm/ \
${MASTER_SITE_XCONTRIB:=libraries/}
MAINTAINER= mycroft@NetBSD.org
HOMEPAGE= http://www.inria.fr/koala/lehors/xpm.html
COMMENT= The X Pixmap library
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_IMAKE= # defined
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS"
post-install:
cd ${PREFIX}/lib && \
${RM} -f libXpm.so.4 && \
${LN} -f libXpm.so.4.11 libXpm.so.4
.endif
.include "../../mk/bsd.pkg.mk"