summaryrefslogtreecommitdiff
path: root/x11/XFree86-4-libraries/Makefile
diff options
context:
space:
mode:
authorEric Anholt <anholt@FreeBSD.org>2002-09-05 03:48:31 +0000
committerEric Anholt <anholt@FreeBSD.org>2002-09-05 03:48:31 +0000
commit0edad80fe06a7e041c6c27472490fdbb9f35a217 (patch)
tree47d4be033a40625257c9a0639dd8d7a352f5e26f /x11/XFree86-4-libraries/Makefile
parentFix build on -current by removing an obsoleted patch and setting NO_WERROR (diff)
Update XFree86-4-clients, -Servers, and -libraries to 4.2.1.
The most notable update is fixing what appears to be possible privelege escalation with libX11 and setuid clients (xterm is one).
Notes
Notes: svn path=/head/; revision=65652
Diffstat (limited to 'x11/XFree86-4-libraries/Makefile')
-rw-r--r--x11/XFree86-4-libraries/Makefile23
1 files changed, 12 insertions, 11 deletions
diff --git a/x11/XFree86-4-libraries/Makefile b/x11/XFree86-4-libraries/Makefile
index 70607f1e8fd2..7ba9227c93d6 100644
--- a/x11/XFree86-4-libraries/Makefile
+++ b/x11/XFree86-4-libraries/Makefile
@@ -6,23 +6,20 @@
#
PORTNAME= libraries
-PORTVERSION= 4.2.0
-PORTREVISION= 3
+PORTVERSION= 4.2.1
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_XFREE:S/$/:x/} \
+ ${MASTER_SITE_XFREE:S/source//g:S/$/:x421patch/} \
${MASTER_SITE_LOCAL:S/$/:local/}
-MASTER_SITE_SUBDIR= ${PORTVERSION}/:x \
+MASTER_SITE_SUBDIR= 4.2.0/:x \
+ ${PORTVERSION}/patches/:x421patch \
anholt/:local
PKGNAMEPREFIX= XFree86-
-DISTFILES= X${PORTVERSION:S/.//g}src-1.tgz:x Wraphelp.gz:local
-EXTRACT_ONLY= X${PORTVERSION:S/.//g}src-1.tgz
+DISTFILES= X420src-1.tgz:x \
+ 4.2.0-4.2.1.diff.gz:x421patch \
+ Wraphelp.gz:local
+EXTRACT_ONLY= X420src-1.tgz
-PATCH_SITES= ${MASTER_SITE_XFREE:S/source//g:S/$/:x/} \
- ${MASTER_SITE_LOCAL:S/$/:patch420/}
-PATCH_SITE_SUBDIR= ${PORTVERSION}/fixes/:x \
- anholt/patches-4.2.0/:patch420
-PATCHFILES= patch-XlcDL.c.gz:patch420 \
- 4.2.0-libGLU-bad-extern.patch:x
PATCH_DIST_STRIP= -p1
MAINTAINER= anholt@freebsd.org
@@ -90,6 +87,10 @@ post-extract:
${GUNZIP_CMD} -c ${DISTDIR}/${DIST_SUBDIR}/Wraphelp.gz > \
${WRKSRC}/lib/Xdmcp/Wraphelp.c
+pre-patch:
+ -@${GZCAT} ${DISTDIR}/${DIST_SUBDIR}/4.2.0-4.2.1.diff.gz \
+ | ${PATCH} ${PATCH_DIST_ARGS} --batch
+
post-patch:
cd ${WRKSRC}/nls; \
for i in Compose XI18N_OBJS XLC_LOCALE; do \