1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00
freebsd-ports/net/ssvnc/files/patch-build.unix
Alejandro Pulver 459208adeb 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
2007-04-26 01:16:41 +00:00

48 lines
1.0 KiB
Plaintext

--- ./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