aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Cazenave <pwcazenave@gmail.com>2010-05-11 20:01:47 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-11 20:01:47 +0200
commit56672fac5a38faafdc884d8270b1d28bce7a8765 (patch)
treeff073b61424a074a096c9c36514509a0c7926fda
parentd14ff37486aa5ce36d0c22dd2a3064b54d2f3f9c (diff)
network/x11vnc: Added to 12.0 repository
-rw-r--r--network/x11vnc/README13
-rw-r--r--network/x11vnc/slack-desc19
-rw-r--r--network/x11vnc/x11vnc.SlackBuild64
-rw-r--r--network/x11vnc/x11vnc.info8
4 files changed, 104 insertions, 0 deletions
diff --git a/network/x11vnc/README b/network/x11vnc/README
new file mode 100644
index 000000000000..45d50cb82f28
--- /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 000000000000..1181fb639eef
--- /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 000000000000..32b862697f3e
--- /dev/null
+++ b/network/x11vnc/x11vnc.SlackBuild
@@ -0,0 +1,64 @@
+#!/bin/sh
+
+# Pierre Cazenave revision date 10/11/2007
+# Modified by Robby Workman <rworkman@slackbuilds.org>
+
+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 000000000000..f1acf0fa67a3
--- /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"