mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-13 07:34:50 +00:00
The Enhanced TightVNC Viewer package started as a project to add some patches
to the long neglected Unix TightVNC Viewer. However, now the front-end GUI and wrapper scripts features dwarf the Unix TightVNC Viewer patches (see the lists below). It adds a GUI for Windows, Mac OS X, and Unix that automatically starts up STUNNEL SSL tunnel for SSL or SSH connections to x11vnc, and then launches the TightVNC Viewer to use the tunnel. It also enables SSL encrypted VNC connections to any other VNC Server running an SSL tunnel, such as STUNNEL, at their end. It can be used to perform SSH tunnelled connections to any VNC Server as well. The tool has many additional features (see below for a list). The short name for this project is "ssvnc" for SSL/SSH VNC Viewer. WWW: http://www.karlrunge.com/x11vnc/ssvnc.html
This commit is contained in:
parent
18e155390a
commit
459208adeb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=190890
@ -811,6 +811,7 @@
|
||||
SUBDIR += ssltunnel-client
|
||||
SUBDIR += ssltunnel-server
|
||||
SUBDIR += ssmping
|
||||
SUBDIR += ssvnc
|
||||
SUBDIR += stone
|
||||
SUBDIR += straw
|
||||
SUBDIR += stund
|
||||
|
55
net/ssvnc/Makefile
Normal file
55
net/ssvnc/Makefile
Normal file
@ -0,0 +1,55 @@
|
||||
# New ports collection makefile for: ssvnc
|
||||
# Date created: 2007-04-22
|
||||
# Whom: alepulver
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= ssvnc
|
||||
PORTVERSION= 1.0.15
|
||||
CATEGORIES= net security
|
||||
MASTER_SITES= http://www.karlrunge.com/x11vnc/etv/
|
||||
|
||||
MAINTAINER= alepulver@FreeBSD.org
|
||||
COMMENT= Enhanced TightVNC Viewer (SSVNC: SSL/SSH VNC viewer)
|
||||
|
||||
BUILD_DEPENDS= xmkmf:${X_IMAKE_PORT}
|
||||
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg
|
||||
RUN_DEPENDS= stunnel:${PORTSDIR}/security/stunnel
|
||||
|
||||
USE_XLIB= yes
|
||||
USE_TCL_RUN= 84
|
||||
USE_TK_RUN= 84
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e \
|
||||
's|/usr/local|${LOCALBASE}|g; s|/usr/X11R6|${X11BASE}|g' \
|
||||
${WRKSRC}/build.unix
|
||||
@${REINPLACE_CMD} -e \
|
||||
's|exec wish|exec ${WISH}|; \
|
||||
303,$$s|ss_vncviewer|ssvnc-stunnel|; \
|
||||
s|ssvnc_cmd|ssvnc-stunnel|' \
|
||||
${WRKSRC}/bin/util/ssvnc.tcl
|
||||
@${REINPLACE_CMD} -e \
|
||||
's|ss_vncviewer|ssvnc-stunnel|; \
|
||||
s|-vncviewer|-ssvnc|; \
|
||||
s|grep Linux|grep ${OPSYS}|' \
|
||||
${WRKSRC}/bin/util/ss_vncviewer
|
||||
|
||||
do-build:
|
||||
@cd ${WRKSRC} && ${SETENV} UNAME="${OPSYS}" ${SH} build.unix
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/bin/${OPSYS}/vncviewer ${PREFIX}/bin/ssvnc
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/bin/util/ss_vncviewer \
|
||||
${PREFIX}/bin/ssvnc-stunnel
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/bin/util/ssvnc.tcl ${PREFIX}/bin/ssvnc-gui
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
cd ${WRKSRC} && ${INSTALL_DATA} README bin/util/stunnel-server.conf \
|
||||
${DOCSDIR}
|
||||
.endif
|
||||
@${ECHO_CMD}; ${CAT} ${PKGMESSAGE}; ${ECHO_CMD}
|
||||
|
||||
.include <bsd.port.mk>
|
3
net/ssvnc/distinfo
Normal file
3
net/ssvnc/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (ssvnc-1.0.15.tar.gz) = 2df77310547106d7d15c44f30c75b8a3
|
||||
SHA256 (ssvnc-1.0.15.tar.gz) = e9a5a7b954febf45dfa4e60dd1e030eb41aefd532f22e140652cde5ce61a558a
|
||||
SIZE (ssvnc-1.0.15.tar.gz) = 11410482
|
47
net/ssvnc/files/patch-build.unix
Normal file
47
net/ssvnc/files/patch-build.unix
Normal file
@ -0,0 +1,47 @@
|
||||
--- ./build.unix.orig Sat Apr 21 20:10:49 2007
|
||||
+++ ./build.unix Mon Apr 23 21:43:58 2007
|
||||
@@ -77,12 +77,13 @@
|
||||
|
||||
# Create a tmp dir for this build:
|
||||
#
|
||||
-tmp=./src/tmp/$name.$$
|
||||
+tmp=./src/tmp/$name
|
||||
if [ "X$TMPDIR" != "X" ]; then
|
||||
tmp="$TMPDIR/$tmp"
|
||||
fi
|
||||
mkdir -p $tmp || exit 1
|
||||
|
||||
+if false; then
|
||||
# Try to find some static archives of various libraries:
|
||||
#
|
||||
libs="$tmp/libs"
|
||||
@@ -108,6 +109,7 @@
|
||||
ls -ld $libs
|
||||
ls -l $libs
|
||||
echo
|
||||
+fi
|
||||
|
||||
have_gcc=""
|
||||
if type gcc > /dev/null; then
|
||||
@@ -203,7 +205,7 @@
|
||||
xmkmf
|
||||
make Makefiles
|
||||
mv vncviewer/Makefile vncviewer/Makefile.orig
|
||||
-sed -e "s,EXTRA_LDOPTIONS =,EXTRA_LDOPTIONS = -L$start/$libs $LDFLAGS_OS," \
|
||||
+sed -e "s,EXTRA_LDOPTIONS =,EXTRA_LDOPTIONS = $LDFLAGS_OS," \
|
||||
-e "s,CCOPTIONS =,CCOPTIONS = $CPPFLAGS_OS," \
|
||||
vncviewer/Makefile.orig > vncviewer/Makefile
|
||||
|
||||
@@ -245,6 +247,7 @@
|
||||
$LDD $dest/vncviewer$suff
|
||||
echo ""
|
||||
|
||||
+if false; then
|
||||
# Do stunnel:
|
||||
#
|
||||
stunnel_src=`ls -td ./src/stunnel* | head -1`
|
||||
@@ -322,3 +325,4 @@
|
||||
|
||||
$dest/vncviewer$suff -h
|
||||
$LDD $dest/vncviewer$suff
|
||||
+fi
|
15
net/ssvnc/pkg-descr
Normal file
15
net/ssvnc/pkg-descr
Normal file
@ -0,0 +1,15 @@
|
||||
The Enhanced TightVNC Viewer package started as a project to add some patches
|
||||
to the long neglected Unix TightVNC Viewer. However, now the front-end GUI and
|
||||
wrapper scripts features dwarf the Unix TightVNC Viewer patches (see the lists
|
||||
below).
|
||||
|
||||
It adds a GUI for Windows, Mac OS X, and Unix that automatically starts up
|
||||
STUNNEL SSL tunnel for SSL or SSH connections to x11vnc, and then launches the
|
||||
TightVNC Viewer to use the tunnel. It also enables SSL encrypted VNC
|
||||
connections to any other VNC Server running an SSL tunnel, such as STUNNEL, at
|
||||
their end. It can be used to perform SSH tunnelled connections to any VNC
|
||||
Server as well. The tool has many additional features (see below for a list).
|
||||
|
||||
The short name for this project is "ssvnc" for SSL/SSH VNC Viewer.
|
||||
|
||||
WWW: http://www.karlrunge.com/x11vnc/ssvnc.html
|
9
net/ssvnc/pkg-message
Normal file
9
net/ssvnc/pkg-message
Normal file
@ -0,0 +1,9 @@
|
||||
==============================================================================
|
||||
|
||||
SSVNC has been installed, and the following commands are available:
|
||||
|
||||
ssvnc - SSVNC viewer
|
||||
ssvnc-stunnel - Wrapper script for SSVNC + stunnel (SSH/SSL tunnels)
|
||||
ssvnc-gui - GUI for the previous commands
|
||||
|
||||
==============================================================================
|
6
net/ssvnc/pkg-plist
Normal file
6
net/ssvnc/pkg-plist
Normal file
@ -0,0 +1,6 @@
|
||||
bin/ssvnc
|
||||
bin/ssvnc-gui
|
||||
bin/ssvnc-stunnel
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||
%%PORTDOCS%%%%DOCSDIR%%/stunnel-server.conf
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
Loading…
Reference in New Issue
Block a user