aboutsummaryrefslogtreecommitdiff
path: root/x11-servers/XFree86-4-VirtualFramebufferServer
diff options
context:
space:
mode:
authorEric Anholt <anholt@FreeBSD.org>2002-09-19 06:37:28 +0000
committerEric Anholt <anholt@FreeBSD.org>2002-09-19 06:37:28 +0000
commit6d000f4c6f59ed1ad700bd2ab248bbf38a07d766 (patch)
tree4751f0c9f1f8168661991cb83792c98b5207dbd9 /x11-servers/XFree86-4-VirtualFramebufferServer
parent414b27d803f9967e874e66cae45c17e2157a1319 (diff)
downloadports-6d000f4c6f59ed1ad700bd2ab248bbf38a07d766.tar.gz
ports-6d000f4c6f59ed1ad700bd2ab248bbf38a07d766.zip
Update XFree86 Servers ports to 4.2.1 + the second SHM security fix (for
XFree86-4-Servers, this fixes the case where the X Server is started by xdm).
Notes
Notes: svn path=/head/; revision=66685
Diffstat (limited to 'x11-servers/XFree86-4-VirtualFramebufferServer')
-rw-r--r--x11-servers/XFree86-4-VirtualFramebufferServer/Makefile22
-rw-r--r--x11-servers/XFree86-4-VirtualFramebufferServer/distinfo2
2 files changed, 19 insertions, 5 deletions
diff --git a/x11-servers/XFree86-4-VirtualFramebufferServer/Makefile b/x11-servers/XFree86-4-VirtualFramebufferServer/Makefile
index ec41d619b12f..19ef8ba27a77 100644
--- a/x11-servers/XFree86-4-VirtualFramebufferServer/Makefile
+++ b/x11-servers/XFree86-4-VirtualFramebufferServer/Makefile
@@ -6,16 +6,22 @@
#
PORTNAME= VirtualFramebufferServer
-PORTVERSION= 4.2.0
-PORTREVISION= 1
+PORTVERSION= 4.2.1
CATEGORIES= x11-servers
MASTER_SITES= ${MASTER_SITE_XFREE:S/$/:x/} \
+ ${MASTER_SITE_XFREE:S/source//g:S/$/:x421patch/} \
+ ${MASTER_SITE_XFREE:S/source//g:S/$/:x421fixes/} \
${MASTER_SITE_LOCAL:S/$/:local/}
-MASTER_SITE_SUBDIR= ${PORTVERSION}/:x \
+MASTER_SITE_SUBDIR= 4.2.0/:x \
+ ${PORTVERSION}/patches/:x421patch \
+ ${PORTVERSION}/fixes/:x421fixes \
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 \
+ 4.2.1-mit-shm-security.patch:x421fixes \
+ Wraphelp.gz:local
+EXTRACT_ONLY= X420src-1.tgz
MAINTAINER= anholt@freebsd.org
@@ -38,5 +44,11 @@ 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} -d ${PATCH_WRKSRC} --forward --quiet -E -p1 --batch
+ -@${CAT} ${DISTDIR}/${DIST_SUBDIR}/4.2.1-mit-shm-security.patch \
+ | ${PATCH} -d ${PATCH_WRKSRC} --forward --quiet -E -p1 --batch
+
.include "${.CURDIR}/../../x11/XFree86-4-libraries/Makefile.inc"
.include <bsd.port.mk>
diff --git a/x11-servers/XFree86-4-VirtualFramebufferServer/distinfo b/x11-servers/XFree86-4-VirtualFramebufferServer/distinfo
index 62b0b3a56cf9..95b76fbc1ab0 100644
--- a/x11-servers/XFree86-4-VirtualFramebufferServer/distinfo
+++ b/x11-servers/XFree86-4-VirtualFramebufferServer/distinfo
@@ -1,2 +1,4 @@
MD5 (xc/X420src-1.tgz) = ad43a8e9e39703322005cd6f7145b77f
+MD5 (xc/4.2.0-4.2.1.diff.gz) = 38adc94a4953a6b29e8619c25dda4887
+MD5 (xc/4.2.1-mit-shm-security.patch) = 18eb56110c7f66895111bd9f3513b54e
MD5 (xc/Wraphelp.gz) = 7ee30e397359e8d64ab23f29aa551659