aboutsummaryrefslogtreecommitdiffstats
path: root/x11-servers/XFree86-4-NestServer
diff options
context:
space:
mode:
authorsf <sf@FreeBSD.org>2001-12-15 10:58:35 +0800
committersf <sf@FreeBSD.org>2001-12-15 10:58:35 +0800
commit2444b6a30829fd31ca8e968bd8fbff74fb504562 (patch)
treefef7276d5e7f071f73e335b76347fe6a2d9f3d20 /x11-servers/XFree86-4-NestServer
parent65a318ce4b076caca69efe99b3690b8284cbaf41 (diff)
downloadfreebsd-ports-graphics-2444b6a30829fd31ca8e968bd8fbff74fb504562.tar.gz
freebsd-ports-graphics-2444b6a30829fd31ca8e968bd8fbff74fb504562.tar.zst
freebsd-ports-graphics-2444b6a30829fd31ca8e968bd8fbff74fb504562.zip
Fix long-standing bug of this ports: support HasXdmAuth correctly.
Previously, devel/imake-4 disables XDM-AUTHORIZATION-1 support whether HasXdmAuth is set to YES or NO if you don't have Wraphelp.c in local ${DISTDIR}. devel/imake-4: rip off meaningless existent check for Wraphelp.c. x11/XFree86-4-libraries: imake-4 change affects libXdmcp.a. ++REVISION. x11/XFree86-4-clients: xdm and chooser depends on libXdmcp.a. ++REVISION. x11-servers/XFree86-{Nest,Print,Server,VFB}: add Wraphelp.c retrieval code. depends on libXdmcp.a. ++REVISION. Reported by: Alan Eldridge <alane@geeksrus.net> Reviewed by: maintainer
Diffstat (limited to 'x11-servers/XFree86-4-NestServer')
-rw-r--r--x11-servers/XFree86-4-NestServer/Makefile18
-rw-r--r--x11-servers/XFree86-4-NestServer/distinfo1
2 files changed, 19 insertions, 0 deletions
diff --git a/x11-servers/XFree86-4-NestServer/Makefile b/x11-servers/XFree86-4-NestServer/Makefile
index 69935c4cf44..416b9c5dc90 100644
--- a/x11-servers/XFree86-4-NestServer/Makefile
+++ b/x11-servers/XFree86-4-NestServer/Makefile
@@ -7,6 +7,7 @@
PORTNAME= NestServer
PORTVERSION= 4.1.0
+PORTREVISION= 1
CATEGORIES= x11-servers
MASTER_SITES= ${MASTER_SITE_XFREE}
MASTER_SITE_SUBDIR= 4.1.0
@@ -26,6 +27,23 @@ INSTALL_TARGET= installXnest installXserver.man
MANCOMPRESSED= yes
MAN1= Xnest.1 Xserver.1
+HasXdmAuth?= DEFAULT
+
+.if ${HasXdmAuth} == DEFAULT || ${HasXdmAuth} == YES
+.if defined(USA_RESIDENT) && ${USA_RESIDENT} == YES
+pre-fetch:
+ @${ECHO}
+ @${ECHO} Assuming that you have fetched a USA-Legal Wraphelp.c.
+.else
+MASTER_SITES+= ftp://psych.psy.uq.oz.au/pub/X11R5/ \
+ ftp://ftp.internat.freebsd.org/pub/FreeBSD/X11-Crypto/ \
+ ftp://ftp3.za.freebsd.org/pub/FreeBSD/X11-Crypto/
+EXTRACT_ONLY= X410src-1.tgz
+DISTFILES+= Wraphelp.c
+IGNOREFILES= Wraphelp.c
+.endif
+.endif
+
do-configure:
cd ${.CURDIR} && ${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure
diff --git a/x11-servers/XFree86-4-NestServer/distinfo b/x11-servers/XFree86-4-NestServer/distinfo
index e4b5e84b942..942f997451a 100644
--- a/x11-servers/XFree86-4-NestServer/distinfo
+++ b/x11-servers/XFree86-4-NestServer/distinfo
@@ -1 +1,2 @@
MD5 (xc/X410src-1.tgz) = 2d4709f7106a1d65c175be445a3d3c32
+MD5 (xc/Wraphelp.c) = IGNORE