Remove tridiavnc, it has no upstream since 2005

It also does not work on amd64 and breaks with modern getline(3)
This commit is contained in:
Baptiste Daroussin 2016-08-01 06:31:36 +00:00
parent b132dd99a0
commit afe4a531d7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=419428
24 changed files with 1 additions and 379 deletions

1
MOVED
View file

@ -8609,3 +8609,4 @@ net-mgmt/unifi3|net-mgmt/unifi4|2016-07-10|Has expired: Unifi 3.x is EoL. Please
net/lam||2016-07-12|Has expired: Broken for more than 6 months net/lam||2016-07-12|Has expired: Broken for more than 6 months
java/wildfly82||2016-07-17|Has expired: Fully EOL when version 10.0 was released java/wildfly82||2016-07-17|Has expired: Fully EOL when version 10.0 was released
print/tex|print/texlive-base|2016-07-30|Superceeded by texlive print/tex|print/texlive-base|2016-07-30|Superceeded by texlive
net/tridiavnc|net/tigervnc|2016-08-01|No upstream 2005

View file

@ -1324,7 +1324,6 @@
SUBDIR += trafshow3 SUBDIR += trafshow3
SUBDIR += tramp SUBDIR += tramp
SUBDIR += trickle SUBDIR += trickle
SUBDIR += tridiavnc
SUBDIR += tsclient SUBDIR += tsclient
SUBDIR += tshark SUBDIR += tshark
SUBDIR += tshark-lite SUBDIR += tshark-lite

View file

@ -1,69 +0,0 @@
# Created by: dwcjr
# $FreeBSD$
PORTNAME= tridiavnc
PORTVERSION= 1.4
PORTREVISION= 5
CATEGORIES= net
MASTER_SITES= LOCAL/dwcjr
DISTNAME= DevVNC_unix
MAINTAINER= ports@FreeBSD.org
COMMENT= Display X and Win32 desktops on remote X/Win32/Java displays
LICENSE= GPLv2
WRKSRC= ${WRKDIR}/unix/vnc_unixsrc
USES= imake:noman shebangfix perl5 tar:tgz
SHEBANG_FILES= vncserver
USE_XORG= ice sm x11 xaw xext xmu xt xpm
ALL_TARGET= World
XFREE86_HTML_MAN= no
MAKE_JOBS_UNSAFE=yes
CONFLICTS= tightvnc-[0-9]* vnc-[0-9]* tigervnc-*
# .ifdef(TRIDIAVNC_BASE)
# PREFIX=${TRIDIAVNC_BASE}
# MAKE_ENV+= DESTDIR=${TRIDIAVNC_BASE}
# .endif
.include <bsd.port.pre.mk>
.if ${ARCH} != i386
BROKEN= Does not compile on ${MACHINE_ARCH}
PLIST_SUB+= XVNC="@comment "
.else
PLIST_SUB+= XVNC=""
.endif
# XXX Broken under clang
NO_XVNC= yes
post-patch:
.for file in vncviewer/Imakefile Xvnc/config/cf/vnclibs.def Xvnc/config/cf/Imake.tmpl
${REINPLACE_CMD} -i '' -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/${file}
.endfor
${REINPLACE_CMD} -i '' -e 's|/usr/local/vnc/classes|${DATADIR}/classes|' \
${WRKSRC}/vncserver
# We have to frob a few things, and we want our own permissions, so it's easier
# to do the install ourselves.
post-install:
.if !defined(NO_XVNC)
${INSTALL_PROGRAM} ${WRKSRC}/Xvnc/programs/Xserver/Xvnc \
${STAGEDIR}${PREFIX}/bin/Xvnc
.endif
${INSTALL_PROGRAM} ${WRKSRC}/vncviewer/vncviewer \
${STAGEDIR}${PREFIX}/bin/vncviewer
${INSTALL_PROGRAM} ${WRKSRC}/vncpasswd/vncpasswd \
${STAGEDIR}${PREFIX}/bin/vncpasswd
${INSTALL_PROGRAM} ${WRKSRC}/vncconnect/vncconnect \
${STAGEDIR}${PREFIX}/bin/vncconnect
${INSTALL_SCRIPT} ${WRKSRC}/vncserver \
${STAGEDIR}${PREFIX}/bin/vncserver
# Go install Java classes
${MKDIR} ${STAGEDIR}${PREFIX}/share/vnc
${CP} -R ${WRKSRC}/classes ${STAGEDIR}${PREFIX}/share/vnc
.include <bsd.port.post.mk>

View file

@ -1,2 +0,0 @@
SHA256 (DevVNC_unix.tgz) = eb056b7ef92aefcf3290f8a04d73595f429ece294e390c44b052b4c54c5440d7
SIZE (DevVNC_unix.tgz) = 2486571

View file

@ -1,14 +0,0 @@
--- Imakefile.orig Thu Nov 9 02:41:59 2000
+++ Imakefile Wed Nov 20 01:27:33 2002
@@ -10,10 +10,7 @@
XCOMM END TridiaVNC_Source_Internal
make depend
make all
- @echo ""
- @echo Built $(SUBDIRS).
- @echo 'To build Xvnc, do "cd Xvnc", followed by "make World"'
- @echo ""
+ cd Xvnc; make World
MakeSubdirs($(SUBDIRS))
DependSubdirs($(SUBDIRS))

View file

@ -1,11 +0,0 @@
--- Xvnc/lib/Xau/AuUnlock.c.orig 2000-04-12 11:18:27.000000000 -0700
+++ Xvnc/lib/Xau/AuUnlock.c 2013-10-30 23:24:19.000000000 -0700
@@ -44,7 +44,7 @@
char link_name[1025];
if (strlen (file_name) > 1022)
- return;
+ return(0);
#ifndef WIN32
(void) strcpy (creat_name, file_name);
(void) strcat (creat_name, "-c");

View file

@ -1,11 +0,0 @@
--- Xvnc/lib/font/Type1/regions.c.orig 2000-04-12 11:18:28.000000000 -0700
+++ Xvnc/lib/font/Type1/regions.c 2013-10-30 23:15:05.000000000 -0700
@@ -1355,7 +1355,7 @@
beg = left->link;
if (beg == right)
- return;
+ return(0);
for (p = beg; p != right; p = p->link) {
if (p->link == NULL && right != NULL)

View file

@ -1,20 +0,0 @@
--- Xvnc/lib/font/Type1/t1malloc.c.orig 2000-04-12 11:18:28.000000000 -0700
+++ Xvnc/lib/font/Type1/t1malloc.c 2013-10-30 23:14:26.000000000 -0700
@@ -286,7 +286,7 @@
*/
addr[0] = addr[size - 1] = size;
firstcombined = (struct freeblock *) addr;
- return;
+ return(0);
}
/*
Otherwise, we unhook this pointer from the chain:
@@ -657,7 +657,7 @@
register struct freeblock *p; /* pointer to block */
if (area == NULL)
- return;
+ return (0);
wholesize = - *area++;
wholesize -= 2;

View file

@ -1,29 +0,0 @@
--- Xvnc/lib/font/Type1/type1.c.orig 2000-04-12 11:18:29.000000000 -0700
+++ Xvnc/lib/font/Type1/type1.c 2013-10-30 23:48:25.000000000 -0700
@@ -886,7 +886,7 @@
if (!DoRead(&Code4)) goto ended;
Push((double)((((((Code1<<8) + Code2)<<8) + Code3)<<8) + Code4));
}
- return;
+ return(0);
ended: Error0("Decode: Premature end of Type 1 CharString");
}
@@ -1321,7 +1321,7 @@
for (;;) {
if (!DoRead(&Code)) break;
Decode(Code);
- if (errflag) return;
+ if (errflag) return(0);
}
/* Copy snapped path to mypath and set path to NULL as above. */
mypath = Snap(path);
@@ -1344,7 +1344,7 @@
for (;;) {
if (!DoRead(&Code)) break;
Decode(Code);
- if (errflag) return;
+ if (errflag) return(0);
}
path = Join(mypath, path);
}

View file

@ -1,18 +0,0 @@
--- Xvnc/lib/font/bitmap/fontink.c.orig 2000-04-12 11:18:29.000000000 -0700
+++ Xvnc/lib/font/bitmap/fontink.c 2013-10-30 23:18:04.000000000 -0700
@@ -94,7 +94,7 @@
pInk->rightSideBearing = leftBearing;
pInk->ascent = 0;
pInk->descent = 0;
- return;
+ return(0);
found_ascent:
pInk->ascent = vpos - descent + 1;
@@ -215,5 +215,5 @@
out_line += out_bytes;
}
}
- return;
+ return(0);
}

View file

@ -1,19 +0,0 @@
--- Xvnc/programs/Xserver/hw/vnc/corre.c.orig 2000-04-12 11:18:32.000000000 -0700
+++ Xvnc/programs/Xserver/hw/vnc/corre.c 2013-10-30 23:32:20.000000000 -0700
@@ -63,14 +63,14 @@
rfbSendRectEncodingCoRRE(cl, x, y, w, cl->correMaxHeight );
rfbSendRectEncodingCoRRE(cl, x, y + cl->correMaxHeight, w,
h - cl->correMaxHeight);
- return;
+ return(0);
}
if (w > cl->correMaxWidth) {
rfbSendRectEncodingCoRRE(cl, x, y, cl->correMaxWidth, h);
rfbSendRectEncodingCoRRE(cl, x + cl->correMaxWidth, y,
w - cl->correMaxWidth, h);
- return;
+ return(0);
}
rfbSendSmallRectEncodingCoRRE(cl, x, y, w, h);

View file

@ -1,14 +0,0 @@
--- Xvnc/config/cf/Imake.cf.orig Thu Feb 8 03:49:57 2001
+++ Xvnc/config/cf/Imake.cf Wed Nov 20 21:32:23 2002
@@ -154,6 +154,11 @@
# define i386Architecture
# undef i386
# endif
+# ifdef __alpha__
+# define AlphaBsdArchitecture
+# define AlphaArchitecture
+# undef __alpha__
+# endif
#endif /* __FreeBSD__ */
#ifdef AMOEBA

View file

@ -1,11 +0,0 @@
--- Xvnc/config/cf/Imake.tmpl.orig Thu Apr 13 02:18:19 2000
+++ Xvnc/config/cf/Imake.tmpl Wed Nov 20 21:48:33 2002
@@ -1254,7 +1254,7 @@
LDOPTIONS = $(CDEBUGFLAGS) $(CCOPTIONS) $(EXTRA_LDOPTIONS) $(THREADS_LDFLAGS) $(LOCAL_LDFLAGS) $(LDPRELIBS)
CXXLDOPTIONS = $(CXXDEBUGFLAGS) $(CXXOPTIONS) $(EXTRA_LDOPTIONS) $(THREADS_CXXLDFLAGS) $(LOCAL_LDFLAGS) $(LDPRELIBS)
- LDLIBS = $(LDPOSTLIBS) $(THREADS_LIBS) $(SYS_LIBRARIES) $(EXTRA_LIBRARIES)
+ LDLIBS = $(LDPOSTLIBS) $(THREADS_LIBS) $(SYS_LIBRARIES) $(EXTRA_LIBRARIES) -L%%PREFIX%%/lib
#if HasBrokenCCForLink
CCLINK = LdCmd
#else

View file

@ -1,10 +0,0 @@
--- Xvnc/config/cf/vnclibs.def.orig Wed Apr 19 01:18:53 2000
+++ Xvnc/config/cf/vnclibs.def Wed Nov 20 22:05:54 2002
@@ -5,5 +5,5 @@
* and programs/Xserver/hw/vnc whenever you change this file.
*/
-VNCLIBS = $(TOP)/../libvncauth/libvncauth.a $(TOP)/../zlib/libz.a
-VNCCPPFLAGS = -I$(TOP)/../include -I$(TOP)/../zlib
+VNCLIBS = $(TOP)/../libvncauth/libvncauth.a -lz
+VNCCPPFLAGS = -I$(TOP)/../include -I%%PREFIX%%/include

View file

@ -1,11 +0,0 @@
--- Xvnc/config/cf/xfree86.cf.orig Thu Apr 13 02:18:21 2000
+++ Xvnc/config/cf/xfree86.cf Wed Nov 20 21:32:23 2002
@@ -782,7 +782,7 @@
#endif
#ifndef XFree86ConsoleDefines
-#ifdef i386BsdArchitecture
+#if defined(i386BsdArchitecture) || defined(AlphaBsdArchitecture)
#define XFree86ConsoleDefines -DPCCONS_SUPPORT -DSYSCONS_SUPPORT -DPCVT_SUPPORT
#else
#define XFree86ConsoleDefines /**/

View file

@ -1,21 +0,0 @@
--- Xvnc/config/imake/imakemdep.h.orig Thu Nov 21 16:49:39 2002
+++ Xvnc/config/imake/imakemdep.h Thu Nov 21 16:50:09 2002
@@ -225,6 +225,9 @@
#ifdef hpux
#define USE_CC_E
#endif
+#if defined(__FreeBSD__)
+#define USE_CC_E
+#endif
#ifdef WIN32
#define USE_CC_E
#define DEFAULT_CC "cl"
@@ -253,7 +256,7 @@
#ifdef _CRAY
#define DEFAULT_CPP "/lib/pcpp"
#endif
-#if defined(__386BSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__FreeBSD__)
+#if defined(__386BSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
#define DEFAULT_CPP "/usr/libexec/cpp"
#endif
#if defined(__sgi) && defined(__ANSI_CPP__)

View file

@ -1,10 +0,0 @@
--- Xvnc/include/Xos.h.orig Thu Apr 13 02:18:22 2000
+++ Xvnc/include/Xos.h Wed Nov 20 20:42:00 2002
@@ -151,7 +151,6 @@
#endif /* X_NOT_POSIX else */
#ifdef CSRG_BASED
-#include <stdlib.h>
#include <unistd.h>
#endif /* CSRG_BASED */

View file

@ -1,17 +0,0 @@
--- Xvnc/programs/Xserver/dix/Imakefile.orig Thu Apr 13 02:18:32 2000
+++ Xvnc/programs/Xserver/dix/Imakefile Wed Nov 20 20:44:05 2002
@@ -37,12 +37,12 @@
*/
#ifdef DefaultFontPath
-DEFAULTFONTPATH = DefaultFontPath
+DEFAULTFONTPATH = ${PREFIX}/share/fonts/misc
SITE_FONT_PATH = -DCOMPILEDDEFAULTFONTPATH=\"$(DEFAULTFONTPATH)\"
#endif
#ifdef DefaultRGBDatabase
-DEFAULTRGBDATABASE = DefaultRGBDatabase
+DEFAULTRGBDATABASE = ${PREFIX}/lib/X11/rgb
SITE_RGB_DB = -DRGB_DB=\"$(DEFAULTRGBDATABASE)\"
#endif

View file

@ -1,10 +0,0 @@
--- Xvnc/programs/Xserver/hw/vnc/rfb.h.orig Fri Feb 9 05:37:33 2001
+++ Xvnc/programs/Xserver/hw/vnc/rfb.h Wed Nov 20 21:14:27 2002
@@ -23,6 +23,7 @@
* USA.
*/
+#include <sys/types.h>
#include <netinet/in.h>
#include "scrnintstr.h"
#include "colormapst.h"

View file

@ -1,18 +0,0 @@
--- Xvnc/programs/Xserver/hw/vnc/sockets.c.orig Fri Nov 10 21:41:53 2000
+++ Xvnc/programs/Xserver/hw/vnc/sockets.c Wed Nov 20 22:08:01 2002
@@ -38,6 +38,7 @@
*/
#include <stdio.h>
+#include <string.h>
#include <sys/types.h>
#include <sys/time.h>
#include <sys/socket.h>
@@ -541,6 +542,7 @@
int sock;
int one = 1;
+ memset(&addr, 0, sizeof(addr));
addr.sin_family = AF_INET;
addr.sin_port = htons(port);
addr.sin_addr.s_addr = interface.s_addr;

View file

@ -1,11 +0,0 @@
--- vncpasswd/vncpasswd.c.orig 2000-04-12 11:18:36.000000000 -0700
+++ vncpasswd/vncpasswd.c 2013-10-30 22:56:22.000000000 -0700
@@ -84,7 +84,7 @@
}
for (i = 0; i < strlen(passwd); i++)
passwd[i] = passwd1[i] = '\0';
- return;
+ return (0);
}
fprintf(stderr,"They don't match. Try again.\n\n");

View file

@ -1,32 +0,0 @@
--- vncviewer/Imakefile.orig Wed Oct 11 23:53:21 2000
+++ vncviewer/Imakefile Wed Nov 20 22:16:14 2002
@@ -8,9 +8,9 @@
#if defined(HPArchitecture)
INCLUDES = -I/usr/include/X11R6 -I/usr/contrib/X11R6/include \
- -I../include -I. -I../zlib
+ -I../include -I. -I/usr/local/include
#else
-INCLUDES = -I../include -I. -I../zlib
+INCLUDES = -I../include -I. -I/usr/local/include
#endif
#if defined(AIXArchitecture)
@@ -18,9 +18,9 @@
#endif
VNCAUTH_LIB = ../libvncauth/libvncauth.a
-ZLIB_LIB = ../zlib/libz.a
+ZLIB_LIB = -lz
-DEPLIBS = XawClientDepLibs $(VNCAUTH_LIB) $(ZLIB_LIB)
+DEPLIBS = XawClientDepLibs $(VNCAUTH_LIB)
LOCAL_LIBRARIES = XawClientLibs $(VNCAUTH_LIB) $(ZLIB_LIB) $(LOCAL_LIBPATH_OPTION)
SRCS = \
@@ -41,4 +41,4 @@
OBJS = $(SRCS:.c=.o)
-ComplexProgramTarget(vncviewer)
+ComplexProgramTargetNoMan(vncviewer)

View file

@ -1,5 +0,0 @@
TridiaVNC is a version of VNC with many more features and has
optional commercial support. VNC is a multiplatform client and
server for remotly administrating systems. It uses the RFB protocol.
WWW: http://www.tridiavnc.com/

View file

@ -1,15 +0,0 @@
bin/vncviewer
bin/vncpasswd
bin/vncserver
bin/vncconnect
share/vnc/classes/DesCipher.class
share/vnc/classes/animatedMemoryImageSource.class
share/vnc/classes/authenticationPanel.class
share/vnc/classes/clipboardFrame.class
share/vnc/classes/index.vnc
share/vnc/classes/optionsFrame.class
share/vnc/classes/rfbProto.class
share/vnc/classes/shared.vnc
share/vnc/classes/vncCanvas.class
share/vnc/classes/vncviewer.class
share/vnc/classes/vncviewer.jar