From 56672fac5a38faafdc884d8270b1d28bce7a8765 Mon Sep 17 00:00:00 2001 From: Pierre Cazenave Date: Tue, 11 May 2010 20:01:47 +0200 Subject: network/x11vnc: Added to 12.0 repository --- network/x11vnc/README | 13 ++++++++ network/x11vnc/slack-desc | 19 ++++++++++++ network/x11vnc/x11vnc.SlackBuild | 64 ++++++++++++++++++++++++++++++++++++++++ network/x11vnc/x11vnc.info | 8 +++++ 4 files changed, 104 insertions(+) create mode 100644 network/x11vnc/README create mode 100644 network/x11vnc/slack-desc create mode 100644 network/x11vnc/x11vnc.SlackBuild create mode 100644 network/x11vnc/x11vnc.info (limited to 'network/x11vnc') diff --git a/network/x11vnc/README b/network/x11vnc/README new file mode 100644 index 0000000000..45d50cb82f --- /dev/null +++ b/network/x11vnc/README @@ -0,0 +1,13 @@ +x11vnc allows one to view remotely and interact with real X displays +(i.e. a display corresponding to a physical monitor, keyboard, and mouse) +with any VNC viewer. In this way it plays the role for Unix/X11 that +WinVNC plays for Windows. + +It has built-in SSL encryption and authentication, UNIX account and +password support, server-side scaling, single port HTTPS and VNC, mDNS +service advertising, and TightVNC and UltraVNC file-transfer. + +It also provides an encrypted Terminal Services mode (-create, -svc, or +-xdmsvc options) based on Unix usernames and Unix passwords where the +user does not need to memorize his VNC display/port number. See also +the tsvnc terminal services mode of the SSVNC viewer. diff --git a/network/x11vnc/slack-desc b/network/x11vnc/slack-desc new file mode 100644 index 0000000000..1181fb639e --- /dev/null +++ b/network/x11vnc/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| +x11vnc: x11vnc (VNC server for real X displays) +x11vnc: +x11vnc: x11vnc allows one to view remotely and interact with real X +x11vnc: displays (i.e. a display corresponding to a physical monitor, +x11vnc: keyboard, and mouse) with any VNC viewer. +x11vnc: +x11vnc: It has built-in SSL encryption and authentication, UNIX account +x11vnc: and password support, server-side scaling, single port HTTPS and VNC, +x11vnc: mDNS service advertising, and TightVNC and UltraVNC file-transfer. +x11vnc: +x11vnc: diff --git a/network/x11vnc/x11vnc.SlackBuild b/network/x11vnc/x11vnc.SlackBuild new file mode 100644 index 0000000000..32b862697f --- /dev/null +++ b/network/x11vnc/x11vnc.SlackBuild @@ -0,0 +1,64 @@ +#!/bin/sh + +# Pierre Cazenave revision date 10/11/2007 +# Modified by Robby Workman + +PRGNAM=x11vnc +VERSION=0.9.3 +ARCH=${ARCH:-i486} +BUILD=${BUILD:-2} +TAG=${TAG:-_SBo} + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" +fi + +rm -rf $TMP/$PRGNAM-$VERSION $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$VERSION +chown -R root:root . +chmod -R u+w,go+r-w,a-s . + +CFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/man \ + --disable-static + +make +make install DESTDIR=$PKG + +( cd $PKG + find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null + find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null +) + +( cd $PKG/usr/man + find . -type f -exec gzip -9 {} \; + for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done +) + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README ReleaseNotes \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \; + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz diff --git a/network/x11vnc/x11vnc.info b/network/x11vnc/x11vnc.info new file mode 100644 index 0000000000..f1acf0fa67 --- /dev/null +++ b/network/x11vnc/x11vnc.info @@ -0,0 +1,8 @@ +PRGNAM="x11vnc" +VERSION="0.9.3" +HOMEPAGE="http://www.karlrunge.com/x11vnc/" +DOWNLOAD="http://downloads.sourceforge.net/libvncserver/x11vnc-0.9.3.tar.gz" +MD5SUM="96edffb5a9eb36aad4620f49ca58101b" +MAINTAINER="Pierre Cazenave" +EMAIL="pwcazenave@gmail.com" +APPROVED="rworkman" -- cgit v1.2.3