summaryrefslogtreecommitdiff
path: root/x11/XFree86-4-libraries
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
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')
-rw-r--r--x11/XFree86-4-libraries/Makefile23
-rw-r--r--x11/XFree86-4-libraries/distinfo3
-rw-r--r--x11/XFree86-4-libraries/files/patch-us_intl30
3 files changed, 13 insertions, 43 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 \
diff --git a/x11/XFree86-4-libraries/distinfo b/x11/XFree86-4-libraries/distinfo
index 6fa05c01ecbf..70ec99893759 100644
--- a/x11/XFree86-4-libraries/distinfo
+++ b/x11/XFree86-4-libraries/distinfo
@@ -1,4 +1,3 @@
MD5 (xc/X420src-1.tgz) = ad43a8e9e39703322005cd6f7145b77f
MD5 (xc/Wraphelp.gz) = 7ee30e397359e8d64ab23f29aa551659
-MD5 (xc/patch-XlcDL.c.gz) = 35449682c3807ab0dfcb12dc987d09cd
-MD5 (xc/4.2.0-libGLU-bad-extern.patch) = 2d5c738854c7cc0378ae457b09a029f4
+MD5 (xc/4.2.0-4.2.1.diff.gz) = 38adc94a4953a6b29e8619c25dda4887
diff --git a/x11/XFree86-4-libraries/files/patch-us_intl b/x11/XFree86-4-libraries/files/patch-us_intl
deleted file mode 100644
index e5aced531906..000000000000
--- a/x11/XFree86-4-libraries/files/patch-us_intl
+++ /dev/null
@@ -1,30 +0,0 @@
---- programs/xkbcomp/symbols/us_intl Fri Aug 16 08:49:48 2002
-+++ programs/xkbcomp/symbols/us_intl Fri Aug 16 08:50:58 2002
-@@ -41,21 +41,21 @@
- key <AC11> { [ dead_acute, dead_diaeresis ],
- [ apostrophe, quotedbl ] };
-
-- key <AE09> { [ 9, parenleft ]
-+ key <AE09> { [ 9, parenleft ],
- [ dead_breve, dead_breve ] };
-- key <AE10> { [ 0, parenright ]
-+ key <AE10> { [ 0, parenright ],
- [ dead_abovering, dead_abovering ] };
- key <AE11> { [ minus, underscore ],
- [ dead_macron, dead_belowdot ] };
- key <AE12> { [ equal, plus ],
- [ dead_doubleacute, dead_horn ] };
-- key <AC10> { [ semicolon, colon ]
-+ key <AC10> { [ semicolon, colon ],
- [ dead_ogonek, dead_diaeresis ] };
-- key <AB08> { [ comma, less ]
-+ key <AB08> { [ comma, less ],
- [ dead_cedilla, dead_caron ] };
-- key <AB09> { [ period, greater ]
-+ key <AB09> { [ period, greater ],
- [ dead_abovedot, dead_circumflex ] };
-- key <AB10> { [ slash, question ]
-+ key <AB10> { [ slash, question ],
- [ dead_hook, dead_hook ] };
-
-