network/x11vnc: Added to 12.0 repository

This commit is contained in:
Pierre Cazenave 2010-05-11 20:01:47 +02:00 committed by Robby Workman
parent d14ff37486
commit 56672fac5a
4 changed files with 104 additions and 0 deletions

13
network/x11vnc/README Normal file
View file

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

19
network/x11vnc/slack-desc Normal file
View file

@ -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:

View file

@ -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

View file

@ -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"