commit cbf0660de9095b97ebc44fcfb570bba24f44b30d Author: Danny Rawlins <monster.romster@gmail.com> Date: Wed Aug 7 20:53:18 2019 +1000 tightvnc: opt -> contrib diff --git a/tightvnc/.footprint b/tightvnc/.footprint new file mode 100644 index 00000000..01c5a714 --- /dev/null +++ b/tightvnc/.footprint @@ -0,0 +1,37 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/Xvnc +-rwxr-xr-x root/root usr/bin/vncconnect +-rwxr-xr-x root/root usr/bin/vncpasswd +-rwxr-xr-x root/root usr/bin/vncserver +-rwxr-xr-x root/root usr/bin/vncviewer +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man1/ +-rw-r--r-- root/root usr/share/man/man1/Xvnc.1.gz +-rw-r--r-- root/root usr/share/man/man1/vncconnect.1.gz +-rw-r--r-- root/root usr/share/man/man1/vncpasswd.1.gz +-rw-r--r-- root/root usr/share/man/man1/vncserver.1.gz +-rw-r--r-- root/root usr/share/man/man1/vncviewer.1.gz +drwxr-xr-x root/root usr/share/vnc/ +drwxr-xr-x root/root usr/share/vnc/classes/ +-rw-r--r-- root/root usr/share/vnc/classes/AuthPanel.class +-rw-r--r-- root/root usr/share/vnc/classes/ButtonPanel.class +-rw-r--r-- root/root usr/share/vnc/classes/CapabilityInfo.class +-rw-r--r-- root/root usr/share/vnc/classes/CapsContainer.class +-rw-r--r-- root/root usr/share/vnc/classes/ClipboardFrame.class +-rw-r--r-- root/root usr/share/vnc/classes/DesCipher.class +-rw-r--r-- root/root usr/share/vnc/classes/InStream.class +-rw-r--r-- root/root usr/share/vnc/classes/MemInStream.class +-rw-r--r-- root/root usr/share/vnc/classes/OptionsFrame.class +-rw-r--r-- root/root usr/share/vnc/classes/RecordingFrame.class +-rw-r--r-- root/root usr/share/vnc/classes/ReloginPanel.class +-rw-r--r-- root/root usr/share/vnc/classes/RfbProto.class +-rw-r--r-- root/root usr/share/vnc/classes/SessionRecorder.class +-rw-r--r-- root/root usr/share/vnc/classes/SocketFactory.class +-rw-r--r-- root/root usr/share/vnc/classes/VncCanvas.class +-rw-r--r-- root/root usr/share/vnc/classes/VncCanvas2.class +-rw-r--r-- root/root usr/share/vnc/classes/VncViewer.class +-rw-r--r-- root/root usr/share/vnc/classes/VncViewer.jar +-rw-r--r-- root/root usr/share/vnc/classes/ZlibInStream.class +-rw-r--r-- root/root usr/share/vnc/classes/index.vnc diff --git a/tightvnc/.signature b/tightvnc/.signature new file mode 100644 index 00000000..238705ae --- /dev/null +++ b/tightvnc/.signature @@ -0,0 +1,6 @@ +untrusted comment: verify with /etc/ports/opt.pub +RWSE3ohX2g5d/fAYhr0u5Tn6OglKvQa760hrcg5166eRiY7CS7faqCC2xC+P0z9B/TGn3cV2GhktENNG4bbZCnEujc/QNFEn9Ak= +SHA256 (Pkgfile) = bcc8862d3bcd09733b8af11706e85c029b12282b3f5dfde5e9ae3fbb297fb908 +SHA256 (.footprint) = c5ea0bdb7bb7ac1f4cb2f4e583a3090847bc7cc4e178e7ae8a355aa4e373cb6d +SHA256 (tightvnc-1.3.10_unixsrc.tar.bz2) = f48c70fea08d03744ae18df6b1499976362f16934eda3275cead87baad585c0d +SHA256 (tightvnc-config.patch) = 250ec0e14e997114c09a9cd1af85a7132bcdf77f7618e44f4acb5840366d867c diff --git a/tightvnc/Pkgfile b/tightvnc/Pkgfile new file mode 100644 index 00000000..0f857757 --- /dev/null +++ b/tightvnc/Pkgfile @@ -0,0 +1,40 @@ +# Description: enhanced version of the VNC client/server protocol +# URL: http://www.tightvnc.org +# Maintainer: Jose V Beneyto, sepen at crux dot nu +# Packager: sten, nick dot steeves at shaw dot ca +# Depends on: libjpeg-turbo xorg-libxaw xorg-gccmakedep xorg-imake + +name=tightvnc +version=1.3.10 +release=3 +source=(http://download.sourceforge.net/vnc-tight/$name-${version}_unixsrc.tar.bz2 \ + $name-config.patch) + +build() { + cd vnc_unixsrc + patch -p0 -i $SRC/$name-config.patch + + xmkmf -a + + make Makefiles + find . -name "Makefile" -exec sed -i -e 's/-lXp$//g' '{}' \; + make depend + make all + + cd Xvnc + + ./configure + make -j1 + + cd .. + + mkdir -p $PKG/usr/share/man/man1 $PKG/usr/bin $PKG/usr/share/vnc/classes + cp Xvnc/programs/Xserver/Xvnc vncviewer/vncviewer vncpasswd/vncpasswd \ + vncconnect/vncconnect vncserver $PKG/usr/bin + cp classes/* $PKG/usr/share/vnc/classes + cp Xvnc/programs/Xserver/Xvnc.man $PKG/usr/share/man/man1/Xvnc.1 + cp vncserver.man $PKG/usr/share/man/man1/vncserver.1 + cp vncviewer/vncviewer.man $PKG/usr/share/man/man1/vncviewer.1 + cp vncpasswd/vncpasswd.man $PKG/usr/share/man/man1/vncpasswd.1 + cp vncconnect/vncconnect.man $PKG/usr/share/man/man1/vncconnect.1 +} diff --git a/tightvnc/README b/tightvnc/README new file mode 100644 index 00000000..f42e9714 --- /dev/null +++ b/tightvnc/README @@ -0,0 +1,15 @@ + +REQUIREMENTS + + Remove any other VNC software (like x11vnc). + + You need these dependencies to build this port (tightvnc): + - xorg-gccmakedep + - xorg-imake + +PRE-INSTALL + +POST-INSTALL + +MISCELLANEOUS + diff --git a/tightvnc/tightvnc-config.patch b/tightvnc/tightvnc-config.patch new file mode 100644 index 00000000..e5f62d96 --- /dev/null +++ b/tightvnc/tightvnc-config.patch @@ -0,0 +1,16 @@ +--- vncserver.orig 2009-06-15 20:56:51.840286743 +0200 ++++ vncserver 2009-06-15 21:14:49.627829365 +0200 +@@ -32,10 +32,11 @@ + $geometry = "1024x768"; + $depth = 24; + $desktopName = "X"; +-$vncClasses = "/usr/local/vnc/classes"; ++$vncClasses = "/usr/share/vnc/classes"; + $vncUserDir = "$ENV{HOME}/.vnc"; +-$fontPath = "unix/:7100"; ++$fontPath = "/usr/lib/X11/fonts/misc,/usr/lib/X11/fonts/100dpi,/usr/lib/X11/fonts/75dpi"; + $authType = "-rfbauth $vncUserDir/passwd"; ++$colorPath = "/usr/share/X11/rgb"; + + # Read configuration from the system-wide and user files if present. +