aboutsummaryrefslogtreecommitdiffstats
path: root/x11-servers/XFree86-4-PrintServer
diff options
context:
space:
mode:
authoranholt <anholt@FreeBSD.org>2002-09-19 14:37:28 +0800
committeranholt <anholt@FreeBSD.org>2002-09-19 14:37:28 +0800
commit4bb05d0cadf2e4d468cd961ea8a5a9f123f7cbff (patch)
tree2fd0e147152a7b17c8c0f23d85f3b66163a7581c /x11-servers/XFree86-4-PrintServer
parent798a439736b44f7812a46cb2db2ac690c8e190ae (diff)
downloadfreebsd-ports-gnome-4bb05d0cadf2e4d468cd961ea8a5a9f123f7cbff.tar.gz
freebsd-ports-gnome-4bb05d0cadf2e4d468cd961ea8a5a9f123f7cbff.tar.zst
freebsd-ports-gnome-4bb05d0cadf2e4d468cd961ea8a5a9f123f7cbff.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).
Diffstat (limited to 'x11-servers/XFree86-4-PrintServer')
-rw-r--r--x11-servers/XFree86-4-PrintServer/Makefile21
-rw-r--r--x11-servers/XFree86-4-PrintServer/distinfo2
2 files changed, 19 insertions, 4 deletions
diff --git a/x11-servers/XFree86-4-PrintServer/Makefile b/x11-servers/XFree86-4-PrintServer/Makefile
index 1553f3e63944..0e1ee41698c1 100644
--- a/x11-servers/XFree86-4-PrintServer/Makefile
+++ b/x11-servers/XFree86-4-PrintServer/Makefile
@@ -6,15 +6,22 @@
#
PORTNAME= PrintServer
-PORTVERSION= 4.2.0
+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
@@ -31,6 +38,12 @@ 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
+
do-install:
$(INSTALL_PROGRAM) ${WRKSRC}/programs/Xserver/Xprt ${PREFIX}/bin/Xprt
diff --git a/x11-servers/XFree86-4-PrintServer/distinfo b/x11-servers/XFree86-4-PrintServer/distinfo
index 62b0b3a56cf9..95b76fbc1ab0 100644
--- a/x11-servers/XFree86-4-PrintServer/distinfo
+++ b/x11-servers/XFree86-4-PrintServer/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