38a8582ee8
This bug fix release delivers the fixes for the recently announced security vulnerability CVE-2013-2062, alongside the last couple years accumulation of janitorial cleanups, compiler warning fixes, and adjustments to remain compatible with changes in new and future automake releases. Alan Coopersmith (10): Strip trailing whitespace Stop trying to use NULL for Status values Fix XpEventToWire arguments to match what libXext expects Add const qualifiers to silence gcc -Wwrite-strings warnings Replace deprecated Automake INCLUDES variable with AM_CPPFLAGS Use _XEatDataWords to avoid overflow of rep.length bit shifting integer overflow in XpGetAttributes & XpGetOneAttribute [CVE-2013-2062 1/3] integer overflows in XpGetPrinterList() [CVE-2013-2062 2/3] integer overflows in XpQueryScreens() [CVE-2013-2062 3/3] libXp 1.0.2
37 lines
920 B
Makefile
37 lines
920 B
Makefile
# $NetBSD: Makefile,v 1.8 2013/05/31 08:24:51 wiz Exp $
|
|
|
|
DISTNAME= libXp-1.0.2
|
|
CATEGORIES= x11 print
|
|
MASTER_SITES= ${MASTER_SITE_XORG:=lib/}
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= joerg@NetBSD.org
|
|
HOMEPAGE= http://xorg.freedesktop.org/
|
|
COMMENT= X Print Service Extension Library
|
|
|
|
USE_LIBTOOL= yes
|
|
USE_TOOLS+= pkg-config
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ENV+= LIB_MAN_SUFFIX=3
|
|
PKGCONFIG_OVERRIDE+= xp.pc.in
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if ${OPSYS} == "NetBSD"
|
|
CONFIGURE_ARGS+= --disable-malloc0returnsnull
|
|
.endif
|
|
|
|
.if ${X11_TYPE} == "native"
|
|
XPRINT_CFLAGS= -I${X11BASE}/include
|
|
XPRINT_LIBS= -Wl,-rpath,${X11BASE}/lib -L${X11BASE}/lib -lX11 -lXext -lXau
|
|
|
|
CONFIGURE_ARGS+= XPRINT_CFLAGS=${XPRINT_CFLAGS:Q} \
|
|
XPRINT_LIBS=${XPRINT_LIBS:Q}
|
|
.endif
|
|
|
|
.include "../../x11/libX11/buildlink3.mk"
|
|
.include "../../x11/libXext/buildlink3.mk"
|
|
.include "../../x11/printproto/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|