debian/0000775000000000000000000000000012255552264007200 5ustar debian/libvncserver-dev.install0000664000000000000000000000027611751317566014061 0ustar usr/include/rfb usr/lib/*/libvncclient.a usr/lib/*/libvncclient.so usr/lib/*/libvncserver.a usr/lib/*/libvncserver.so usr/lib/*/pkgconfig/libvncserver.pc usr/lib/*/pkgconfig/libvncclient.pc debian/rules0000775000000000000000000000120712255552241010253 0ustar #!/usr/bin/make -f VERSION = $(shell head -n1 debian/changelog | sed -e 's/.*(//;s/-.*).*//') export LIBTOOLIZE = true DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS) ifneq ($(DEB_HOST_ARCH_OS), linux) EXTRA_DH_ARG=-Nlinuxvnc endif %: dh $@ $(EXTRA_DH_ARG) --with autoreconf --dbg-package=libvncserver0-dbg override_dh_auto_configure: dh_auto_configure -- --disable-silent-rules get-orig-source: tar fxz ../libvncserver_${VERSION}.orig.tar.gz -C .. cd ../LibVNCServer-${VERSION} && rm -fr webclients tar czf ../libvncserver_${VERSION}+dfsg.orig.tar.gz ../LibVNCServer-${VERSION} rm -fr ../LibVNCServer-${VERSION} debian/libvncserver-config.10000664000000000000000000000245011751317566013236 0ustar .TH libvncserver-config 1 "19 November 2011" "libvncserver 0.9.8.2" "libvncserver-config manual" .SH NAME libvncserver-config \- Get information about a libvncserver installation .SH SYNOPSIS .B libvncserver-config \fI[--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] \fI[\-\-link] [\-\-libs] [\-\-cflags] .SH DESCRIPTION .B libvncserver-config displays information about a previous libvncserver installation. .SH OPTIONS .IP "--prefix=DIR" Shows location where architecture-independent files are stored. .IP "--exec-prefix=DIR" Shows location where architecture-dependent files are stored. .IP "--version" Shows libvncserver version. .IP "--link" Shows the complete set of linking options libvncserver has been built with. .IP "--libs" Shows the complete set of libs and other linker options you will need in order to link your application with libvncserver. .IP "--cflags" Set of compiler options (CFLAGS) to use when compiling files that use libvncserver. .SH "EXAMPLES" What linker options do I need when I link with libvncserver? libvncserver-config \-\-libs What compiler options do I need when I compile using libvncserver functions? libvncserver-config \-\-cflags .SH AUTHOR This manual page was written by Ludovic Drolez for the Debian GNU/Linux system (but may be used by others). debian/watch0000664000000000000000000000014511751317566010235 0ustar version=3 opts=dversionmangle=s/\+dfsg// \ http://sf.net/libvncserver/LibVNCServer-([0-9.]+)\.tar.gz debian/linuxvnc.docs0000664000000000000000000000005611751317566011725 0ustar vncterm/ChangeLog vncterm/README vncterm/TODO debian/copyright0000664000000000000000000001550211751317566011142 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: LibVNCServer Source: http://sourceforge.net/projects/libvncserver/files/ Files: * Copyright: 2001, Johannes E. Schindelin 1999, AT&T Laboratories Cambridge 2001,2002 Constantin Kaplinsky 2000, Tridia Corporation 2009, Vic Lee 2012, Christian Beier 2005, Novell Inc. License: GPL-2+ Files: client_examples/gtkvncviewer.c Copyright: 2007, Mateus Cesar Groess License: GPL-2+ Files: client_examples/vnc2mpg.c Copyright: 2003, Fabrice Bellard 2004, Johannes E. Schindelin License: Expat Files: common/d3des.* Copyright: 1999, AT&T Laboratories Cambridge License: AT&T Files: common/*lzo* Copyright: 1996-2010, Markus Franz Xaver Johannes Oberhumer License: GPL-2+ Files: common/md5.* Copyright: 1995-2005, The Free Software Foundation License: LGPL-2.1+ Files: common/sha1.* Copyright: 2001, The Internet Society License: ISC Files: common/turbojpeg.* Copyright: 2009-2012, D. R. Commander License: BSD-3 Files: common/vncauth.c Copyright: 1999, AT&T Laboratories Cambridge License: GPL-2+ Files: common/zywrletemplate.c Copyright: 2006, Hitachi Systems & Services, Ltd. License: BSD-3 Files: test/tj* Copyright: 2009-2012, D. R. Commander License: BSD-3 License: GPL-2+ This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA . On Debian systems, the full text of the GNU General Public License version 2 can be found in the file `/usr/share/common-licenses/GPL-2'. License: Expat Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. License: AT&T This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. License: LGPL-2.1+ libgdamm is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 2.1 of the License, or (at your option) any later version. . libgdamm is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. . You should have received a copy of the GNU Lesser General Public License along with this library. If not, see . . On Debian systems, the complete text of the GNU Lesser General Public License version 2.1 can be found in "/usr/share/common-licenses/LGPL-2.1". License: ISC This document and translations of it may be copied and furnished to others, and derivative works that comment on or otherwise explain it or assist in its implementation may be prepared, copied, published and distributed, in whole or in part, without restriction of any kind, provided that the above copyright notice and this paragraph are included on all such copies and derivative works. However, this document itself may not be modified in any way, such as by removing the copyright notice or references to the Internet Society or other Internet organizations, except as needed for the purpose of developing Internet standards in which case the procedures for copyrights defined in the Internet Standards process must be followed, or as required to translate it into languages other than English. . The limited permissions granted above are perpetual and will not be revoked by the Internet Society or its successors or assigns. . This document and the information contained herein is provided on an "AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. License: BSD-3 Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. . 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. . 3. The name of the author may not be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. debian/linuxvnc.install0000664000000000000000000000002111751317566012433 0ustar usr/bin/linuxvnc debian/source/0000775000000000000000000000000011751317566010504 5ustar debian/source/format0000664000000000000000000000001411751317566011712 0ustar 3.0 (quilt) debian/libvncserver-config.install0000664000000000000000000000003411751317566014540 0ustar usr/bin/libvncserver-config debian/libvncserver-config.manpages0000664000000000000000000000003511751317566014666 0ustar debian/libvncserver-config.1 debian/libvncserver0.install0000664000000000000000000000007011751317566013355 0ustar usr/lib/*/libvncclient.so.* usr/lib/*/libvncserver.so.* debian/patches/0000775000000000000000000000000012255552120010616 5ustar debian/patches/format_string.patch0000664000000000000000000000110411751317566014526 0ustar Description: Use format string argument with fprintf. Author: Luca Falavigna Index: libvncserver/test/encodingstest.c =================================================================== --- libvncserver.orig/test/encodingstest.c 2012-05-05 13:52:52.457034521 +0200 +++ libvncserver/test/encodingstest.c 2012-05-05 23:11:51.650769263 +0200 @@ -256,7 +256,7 @@ time(&log_clock); strftime(buf, 255, "%d/%m/%Y %X (client) ", localtime(&log_clock)); - fprintf(stderr,buf); + fprintf(stderr,"%s",buf); vfprintf(stderr, format, args); fflush(stderr); debian/patches/format-security.diff0000664000000000000000000000073012255552120014605 0ustar Index: b/client_examples/gtkvncviewer.c =================================================================== --- a/client_examples/gtkvncviewer.c 2012-05-04 14:19:00.000000000 +0000 +++ b/client_examples/gtkvncviewer.c 2013-12-22 12:00:13.401288669 +0000 @@ -563,7 +563,7 @@ time (&log_clock); strftime (buf, 255, "%d/%m/%Y %X ", localtime (&log_clock)); - fprintf (stdout, buf); + fprintf (stdout, "%s", buf); vfprintf (stdout, format, args); fflush (stdout); debian/patches/ppc64el.diff0000664000000000000000000000127412255551501012733 0ustar Index: b/aclocal.m4 =================================================================== --- a/acinclude.m4 +++ b/acinclude.m4 @@ -533,7 +533,10 @@ x86_64-*linux*) LD="${LD-ld} -m elf_i386" ;; - ppc64-*linux*|powerpc64-*linux*) + powerpc64le-*) + LD="${LD-ld} -m elf32lppclinux" + ;; + powerpc64-*) LD="${LD-ld} -m elf32ppclinux" ;; s390x-*linux*) @@ -549,7 +552,10 @@ x86_64-*linux*) LD="${LD-ld} -m elf_x86_64" ;; - ppc*-*linux*|powerpc*-*linux*) + powerpcle-*) + LD="${LD-ld} -m elf64lppc" + ;; + powerpc-*) LD="${LD-ld} -m elf64ppc" ;; s390*-*linux*) debian/patches/series0000664000000000000000000000014512255552063012041 0ustar ignore_webclients.patch no_x11vnc_subdir.patch format_string.patch ppc64el.diff format-security.diff debian/patches/no_x11vnc_subdir.patch0000664000000000000000000003206311751317566015044 0ustar Description: Do not build x11vnc Author: Luca Falavigna Index: libvncserver/Makefile.am =================================================================== --- libvncserver.orig/Makefile.am 2012-05-05 14:11:54.881069520 +0200 +++ libvncserver/Makefile.am 2012-05-05 14:13:47.061072956 +0200 @@ -1,8 +1,4 @@ -if WITH_X11VNC -X11VNC=x11vnc -endif - -SUBDIRS=libvncserver examples libvncclient vncterm client_examples test $(X11VNC) +SUBDIRS=libvncserver examples libvncclient vncterm client_examples test DIST_SUBDIRS=libvncserver examples libvncclient vncterm client_examples test EXTRA_DIST = CMakeLists.txt rfb/rfbint.h.cmake rfb/rfbconfig.h.cmake Index: libvncserver/configure.ac =================================================================== --- libvncserver.orig/configure.ac 2012-05-05 14:11:54.881069520 +0200 +++ libvncserver/configure.ac 2012-05-05 14:16:43.925078374 +0200 @@ -153,60 +153,6 @@ else build_x11vnc="no" fi - -# x11vnc only: -if test "$build_x11vnc" = "yes"; then - -AH_TEMPLATE(HAVE_XSHM, [MIT-SHM extension build environment present]) -AH_TEMPLATE(HAVE_XTEST, [XTEST extension build environment present]) -AH_TEMPLATE(HAVE_XTESTGRABCONTROL, [XTEST extension has XTestGrabControl]) -AH_TEMPLATE(HAVE_XKEYBOARD, [XKEYBOARD extension build environment present]) -AH_TEMPLATE(HAVE_LIBXINERAMA, [XINERAMA extension build environment present]) -AH_TEMPLATE(HAVE_LIBXRANDR, [XRANDR extension build environment present]) -AH_TEMPLATE(HAVE_LIBXFIXES, [XFIXES extension build environment present]) -AH_TEMPLATE(HAVE_LIBXDAMAGE, [XDAMAGE extension build environment present]) -AH_TEMPLATE(HAVE_LIBXTRAP, [DEC-XTRAP extension build environment present]) -AH_TEMPLATE(HAVE_RECORD, [RECORD extension build environment present]) -AH_TEMPLATE(HAVE_SOLARIS_XREADSCREEN, [Solaris XReadScreen available]) -AH_TEMPLATE(HAVE_IRIX_XREADDISPLAY, [IRIX XReadDisplay available]) -AH_TEMPLATE(HAVE_FBPM, [FBPM extension build environment present]) -AH_TEMPLATE(HAVE_DPMS, [DPMS extension build environment present]) -AH_TEMPLATE(HAVE_LINUX_VIDEODEV_H, [video4linux build environment present]) -AH_TEMPLATE(HAVE_LINUX_FB_H, [linux fb device build environment present]) -AH_TEMPLATE(HAVE_LINUX_INPUT_H, [linux/input.h present]) -AH_TEMPLATE(HAVE_LINUX_UINPUT_H, [linux uinput device build environment present]) -AH_TEMPLATE(HAVE_MACOSX_NATIVE_DISPLAY, [build MacOS X native display support]) -AH_TEMPLATE(HAVE_MACOSX_OPENGL_H, [MacOS X OpenGL present]) - -AC_ARG_WITH(xkeyboard, -[ --without-xkeyboard disable xkeyboard extension support],,) -AC_ARG_WITH(xinerama, -[ --without-xinerama disable xinerama extension support],,) -AC_ARG_WITH(xrandr, -[ --without-xrandr disable xrandr extension support],,) -AC_ARG_WITH(xfixes, -[ --without-xfixes disable xfixes extension support],,) -AC_ARG_WITH(xdamage, -[ --without-xdamage disable xdamage extension support],,) -AC_ARG_WITH(xtrap, -[ --without-xtrap disable xtrap extension support],,) -AC_ARG_WITH(xrecord, -[ --without-xrecord disable xrecord extension support],,) -AC_ARG_WITH(fbpm, -[ --without-fbpm disable fbpm extension support],,) -AC_ARG_WITH(dpms, -[ --without-dpms disable dpms extension support],,) -AC_ARG_WITH(v4l, -[ --without-v4l disable video4linux support],,) -AC_ARG_WITH(fbdev, -[ --without-fbdev disable linux fb device support],,) -AC_ARG_WITH(uinput, -[ --without-uinput disable linux uinput device support],,) -AC_ARG_WITH(macosx-native, -[ --without-macosx-native disable MacOS X native display support],,) - -fi -# end x11vnc only. if test "x$with_x" = "xno"; then HAVE_X11="false" @@ -214,221 +160,11 @@ AC_CHECK_LIB(X11, XGetImage, [AC_DEFINE(HAVE_X11) HAVE_X11="true"], HAVE_X11="false", $X_LIBS $X_PRELIBS -lX11 $X_EXTRA_LIBS) - - # x11vnc only: - if test $HAVE_X11 = "true" -a "$build_x11vnc" = "yes"; then - X_PRELIBS="$X_PRELIBS -lXext" - - AC_CHECK_LIB(Xext, XShmGetImage, - [AC_DEFINE(HAVE_XSHM)], , - $X_LIBS $X_PRELIBS -lX11 $X_EXTRA_LIBS) - - AC_CHECK_LIB(Xext, XReadScreen, - [AC_DEFINE(HAVE_SOLARIS_XREADSCREEN)], , - $X_LIBS $X_PRELIBS -lX11 $X_EXTRA_LIBS) - - AC_CHECK_HEADER(X11/extensions/readdisplay.h, - [AC_DEFINE(HAVE_IRIX_XREADDISPLAY)], , - [#include ]) - - if test "x$with_fbpm" != "xno"; then - AC_CHECK_LIB(Xext, FBPMForceLevel, - [AC_DEFINE(HAVE_FBPM)], , - $X_LIBS $X_PRELIBS -lX11 $X_EXTRA_LIBS) - fi - - if test "x$with_dpms" != "xno"; then - AC_CHECK_LIB(Xext, DPMSForceLevel, - [AC_DEFINE(HAVE_DPMS)], , - $X_LIBS $X_PRELIBS -lX11 $X_EXTRA_LIBS) - fi - - AC_CHECK_LIB(Xtst, XTestGrabControl, - X_PRELIBS="-lXtst $X_PRELIBS" - [AC_DEFINE(HAVE_XTESTGRABCONTROL) HAVE_XTESTGRABCONTROL="true"], , - $X_LIBS $X_PRELIBS -lX11 $X_EXTRA_LIBS) - - AC_CHECK_LIB(Xtst, XTestFakeKeyEvent, - X_PRELIBS="-lXtst $X_PRELIBS" - [AC_DEFINE(HAVE_XTEST) HAVE_XTEST="true"], , - $X_LIBS $X_PRELIBS -lX11 $X_EXTRA_LIBS) - - if test "x$with_xrecord" != "xno"; then - AC_CHECK_LIB(Xtst, XRecordEnableContextAsync, - X_PRELIBS="-lXtst $X_PRELIBS" - [AC_DEFINE(HAVE_RECORD)], , - $X_LIBS $X_PRELIBS -lX11 $X_EXTRA_LIBS) - fi - - # we use XTRAP on X11R5, or user can set X11VNC_USE_XTRAP - if test "x$with_xtrap" != "xno"; then - if test ! -z "$X11VNC_USE_XTRAP" -o -z "$HAVE_XTESTGRABCONTROL"; then - AC_CHECK_LIB(XTrap, XETrapSetGrabServer, - X_PRELIBS="$X_PRELIBS -lXTrap" - [AC_DEFINE(HAVE_LIBXTRAP)], , - $X_LIBS $X_PRELIBS -lX11 $X_EXTRA_LIBS) - # tru64 uses libXETrap.so - AC_CHECK_LIB(XETrap, XETrapSetGrabServer, - X_PRELIBS="$X_PRELIBS -lXETrap" - [AC_DEFINE(HAVE_LIBXTRAP)], , - $X_LIBS $X_PRELIBS -lX11 $X_EXTRA_LIBS) - fi - fi - - if test "x$with_xkeyboard" != "xno"; then - saved_CPPFLAGS="$CPPFLAGS" - CPPFLAGS="$CPPFLAGS $X_CFLAGS" - AC_CHECK_HEADER(X11/XKBlib.h, HAVE_XKBLIB_H="true", - HAVE_XKBLIB_H="false", [#include ]) - CPPFLAGS="$saved_CPPFLAGS" - if test $HAVE_XKBLIB_H = "true"; then - AC_CHECK_LIB(X11, XkbSelectEvents, - [AC_DEFINE(HAVE_XKEYBOARD)], , - $X_LIBS $X_PRELIBS -lX11 $X_EXTRA_LIBS) - fi - fi - - if test "x$with_xinerama" != "xno"; then - AC_CHECK_LIB(Xinerama, XineramaQueryScreens, - X_PRELIBS="$X_PRELIBS -lXinerama" - [AC_DEFINE(HAVE_LIBXINERAMA)], , - $X_LIBS $X_PRELIBS -lX11 $X_EXTRA_LIBS) - fi - - if test "x$with_xrandr" != "xno"; then - AC_CHECK_LIB(Xrandr, XRRSelectInput, - X_PRELIBS="$X_PRELIBS -lXrandr" - [AC_DEFINE(HAVE_LIBXRANDR) HAVE_LIBXRANDR="true"], , - $X_LIBS $X_PRELIBS -lX11 $X_EXTRA_LIBS) - fi - - if test "x$with_xfixes" != "xno"; then - AC_CHECK_LIB(Xfixes, XFixesGetCursorImage, - X_PRELIBS="$X_PRELIBS -lXfixes" - [AC_DEFINE(HAVE_LIBXFIXES) HAVE_LIBXFIXES="true"], , - $X_LIBS $X_PRELIBS -lX11 $X_EXTRA_LIBS) - fi - - if test "x$with_xdamage" != "xno"; then - AC_CHECK_LIB(Xdamage, XDamageQueryExtension, - X_PRELIBS="$X_PRELIBS -lXdamage" - [AC_DEFINE(HAVE_LIBXDAMAGE) HAVE_LIBXDAMAGE="true"], , - $X_LIBS $X_PRELIBS -lX11 $X_EXTRA_LIBS) - fi - - if test ! -z "$HAVE_LIBXFIXES" -o ! -z "$HAVE_LIBXDAMAGE"; then - # need /usr/sfw/lib in RPATH for Solaris 10 and later - case `(uname -sr) 2>/dev/null` in - "SunOS 5"*) X_EXTRA_LIBS="$X_EXTRA_LIBS -R/usr/sfw/lib" ;; - esac - fi - if test ! -z "$HAVE_LIBXRANDR"; then - # also need /usr/X11/include for Solaris 10 10/08 and later - case `(uname -sr) 2>/dev/null` in - "SunOS 5"*) CPPFLAGS="$CPPFLAGS -I/usr/X11/include" ;; - esac - fi - - X_LIBS="$X_LIBS $X_PRELIBS -lX11 $X_EXTRA_LIBS" - fi - # end x11vnc only. fi AC_SUBST(X_LIBS) AM_CONDITIONAL(HAVE_X11, test $HAVE_X11 != "false") -# x11vnc only: -if test "$build_x11vnc" = "yes"; then - -if test "x$HAVE_X11" = "xfalse" -a "x$with_x" != "xno"; then - AC_MSG_ERROR([ -========================================================================== -*** A working X window system build environment is required to build *** -x11vnc. Make sure any required X development packages are installed. -If they are installed in non-standard locations, one can use the ---x-includes=DIR and --x-libraries=DIR configure options or set the -CPPFLAGS and LDFLAGS environment variables to indicate where the X -window system header files and libraries may be found. On 64+32 bit -machines you may need to point to lib64 or lib32 directories to pick up -the correct word size. - -If you want to build x11vnc without X support (e.g. for -rawfb use only -or for native Mac OS X), specify the --without-x configure option. -========================================================================== -]) -fi - -if test "x$HAVE_X11" = "xtrue" -a "x$HAVE_XTEST" != "xtrue"; then - AC_MSG_WARN([ -========================================================================== -*** A working build environment for the XTEST extension was not found *** -(libXtst). An x11vnc built this way will be *ONLY BARELY USABLE*. -You will be able to move the mouse but not click or type. There can -also be deadlocks if an application grabs the X server. - -It is recommended that you install the necessary development packages -for XTEST (perhaps it is named something like libxtst-dev) and run -configure again. -========================================================================== -]) - sleep 5 -fi - -if test "x$with_v4l" != "xno"; then - AC_CHECK_HEADER(linux/videodev.h, - [AC_DEFINE(HAVE_LINUX_VIDEODEV_H)],,) -fi -if test "x$with_fbdev" != "xno"; then - AC_CHECK_HEADER(linux/fb.h, - [AC_DEFINE(HAVE_LINUX_FB_H)],,) -fi -if test "x$with_uinput" != "xno"; then - AC_CHECK_HEADER(linux/input.h, - [AC_DEFINE(HAVE_LINUX_INPUT_H) HAVE_LINUX_INPUT_H="true"],,) - if test "x$HAVE_LINUX_INPUT_H" = "xtrue"; then - AC_CHECK_HEADER(linux/uinput.h, - [AC_DEFINE(HAVE_LINUX_UINPUT_H)],, [#include ]) - fi -fi - -if test "x$with_macosx_native" != "xno"; then - AC_DEFINE(HAVE_MACOSX_NATIVE_DISPLAY) -fi - -# Check for OS X opengl header -AC_CHECK_HEADER(OpenGL/OpenGL.h, - [AC_DEFINE(HAVE_MACOSX_OPENGL_H) HAVE_MACOSX_OPENGL_H="true"],,) - -AH_TEMPLATE(HAVE_AVAHI, [Avahi/mDNS client build environment present]) -AC_ARG_WITH(avahi, -[ --without-avahi disable support for Avahi/mDNS] -[ --with-avahi=DIR use avahi include/library files in DIR],,) -if test "x$with_avahi" != "xno"; then - printf "checking for avahi... " - if test ! -z "$with_avahi" -a "x$with_avahi" != "xyes"; then - AVAHI_CFLAGS="-I$with_avahi/include" - AVAHI_LIBS="-L$with_avahi/lib -lavahi-common -lavahi-client" - echo "using $with_avahi" - with_avahi=yes - elif pkg-config --atleast-version=0.6.4 avahi-client >/dev/null 2>&1; then - AVAHI_CFLAGS=`pkg-config --cflags avahi-client` - AVAHI_LIBS=`pkg-config --libs avahi-client` - with_avahi=yes - echo yes - else - with_avahi=no - echo no - fi -fi -if test "x$with_avahi" = "xyes"; then - AC_DEFINE(HAVE_AVAHI) - AC_SUBST(AVAHI_CFLAGS) - AC_SUBST(AVAHI_LIBS) -fi - -fi -# end x11vnc only. - # only used in x11vnc/Makefile.am but needs to always be defined: AM_CONDITIONAL(OSX_OPENGL, test "$HAVE_MACOSX_OPENGL_H" = "true") @@ -873,11 +609,6 @@ AC_HEADER_STDC AC_CHECK_HEADERS([arpa/inet.h fcntl.h netdb.h netinet/in.h stdlib.h string.h sys/socket.h sys/time.h sys/timeb.h syslog.h unistd.h ws2tcpip.h]) -# x11vnc only: -if test "$build_x11vnc" = "yes"; then - AC_CHECK_HEADERS([pwd.h sys/wait.h utmpx.h termios.h sys/ioctl.h sys/stropts.h]) -fi - # Checks for typedefs, structures, and compiler characteristics. AC_C_CONST AC_C_INLINE @@ -919,10 +650,6 @@ fi AC_CHECK_FUNCS([ftime gethostbyname gethostname gettimeofday inet_ntoa memmove memset mmap mkfifo select socket strchr strcspn strdup strerror strstr]) -# x11vnc only: -if test "$build_x11vnc" = "yes"; then - AC_CHECK_FUNCS([setsid setpgrp getpwuid getpwnam getspnam getuid geteuid setuid setgid seteuid setegid initgroups waitpid setutxent grantpt shmat]) -fi # check, if shmget is in cygipc.a AC_CHECK_LIB(cygipc,shmget) @@ -975,36 +702,6 @@ test/Makefile libvncserver-config LibVNCServer.spec]) -# -# x11vnc only: -# -if test "$build_x11vnc" = "yes"; then - # - # NOTE: if you are using the LibVNCServer-X.Y.Z.tar.gz source - # tarball and nevertheless want to run autoconf (i.e. aclocal, - # autoheader, automake, autoconf) AGAIN (perhaps you have a - # special target system, e.g. embedded) then you will need to - # comment out the following 'AC_CONFIG_FILES' line to avoid - # automake error messages like: - # - # configure.ac:690: required file `x11vnc/Makefile.in' not found - # - AC_CONFIG_FILES([x11vnc/Makefile x11vnc/misc/Makefile x11vnc/misc/turbovnc/Makefile]) - - if test ! -z "$with_system_libvncserver" -a "x$with_system_libvncserver" != "xno"; then - # need to move local tarball rfb headers aside: - hdrs="rfb.h rfbclient.h rfbproto.h rfbregion.h rfbint.h" - echo "with-system-libvncserver: moving aside headers $hdrs" - for hdr in $hdrs - do - if test -f "rfb/$hdr"; then - echo "with-system-libvncserver: moving rfb/$hdr to rfb/$hdr.ORIG" - mv rfb/$hdr rfb/$hdr.ORIG - fi - done - echo "with-system-libvncserver: *NOTE* move them back manually to start over." - fi -fi AC_CONFIG_COMMANDS([chmod-libvncserver-config],[chmod a+x libvncserver-config]) AC_OUTPUT debian/patches/ignore_webclients.patch0000664000000000000000000000246011751317566015360 0ustar Description: Do not consider webclients directory during build phase Author: Luca Falavigna Index: libvncserver/Makefile.am =================================================================== --- libvncserver.orig/Makefile.am 2012-05-05 12:59:59.840937327 +0200 +++ libvncserver/Makefile.am 2012-05-05 13:43:43.681017709 +0200 @@ -2,8 +2,8 @@ X11VNC=x11vnc endif -SUBDIRS=libvncserver examples libvncclient vncterm webclients client_examples test $(X11VNC) -DIST_SUBDIRS=libvncserver examples libvncclient vncterm webclients client_examples test +SUBDIRS=libvncserver examples libvncclient vncterm client_examples test $(X11VNC) +DIST_SUBDIRS=libvncserver examples libvncclient vncterm client_examples test EXTRA_DIST = CMakeLists.txt rfb/rfbint.h.cmake rfb/rfbconfig.h.cmake bin_SCRIPTS = libvncserver-config Index: libvncserver/configure.ac =================================================================== --- libvncserver.orig/configure.ac 2012-05-05 12:59:59.856937327 +0200 +++ libvncserver/configure.ac 2012-05-05 13:43:13.749016792 +0200 @@ -970,9 +970,6 @@ examples/Makefile examples/android/Makefile vncterm/Makefile - webclients/Makefile - webclients/java-applet/Makefile - webclients/java-applet/ssl/Makefile libvncclient/Makefile client_examples/Makefile test/Makefile debian/compat0000664000000000000000000000000211751317566010402 0ustar 9 debian/linuxvnc.10000664000000000000000000000357711751317566011150 0ustar .TH linuxvnc 1 "19 November 2011" .SH NAME linuxvnc \- export a tty to any VNC client .SH SYNOPSIS .B linuxvnc \fI[tty_number [args]] .SH DESCRIPTION It follows the same idea as WinVNC, x11vnc or OSXvnc, i.e. it takes an existing desktop and exports it via RFB (VNC), just that LinuxVNC exports text. .PP If you want to export another tty, specify it as 'tty_number'. You can also pass VNC options to tune what encodings are used for the VNC session. You can read x11vnc man page for more information on this. .SH OPTIONS .IP "-rfbport port" TCP port for RFB protocol. .IP "-rfbwait time" Max time in ms to wait for RFB client. .IP "-rfbauth passwd-file" Use authentication on RFB protocol (use 'storepasswd' to create passwd file). .IP "-rfbversion 3.x" Set the version of the RFB we choose to advertise. .IP "-permitfiletransfer" Permit file transfer support. .IP "-passwd plain-password" Use authentication (use plain-password as password, USE AT YOUR RISK). .IP "-deferupdate time" Time in ms to defer updates (default 40). .IP "-deferptrupdate time" Time in ms to defer pointer updates (default none). .IP "-desktop name" VNC desktop name (default "LibVNCServer"). .IP "-alwaysshared" Always treat new clients as shared. .IP "-nevershared" Never treat new clients as shared. .IP "-dontdisconnect" Don't disconnect existing clients when a new non-shared connection comes in (refuse new connection instead). .IP "-httpdir dir-path" Enable http server using dir-path home. .IP "-httpport portnum" Use portnum for http connection. .IP "-enablehttpproxy" Enable http proxy support. .IP "-progressive height" Enable progressive updating for slow links. .IP "-listen ipaddr" Listen for connections only on network interface with addr ipaddr. .SH SEE ALSO .BR x11vnc (1). .SH AUTHOR This manual page was written by Ludovic Drolez , for the Debian project (but may be used by others). debian/changelog0000664000000000000000000002110112255552170011041 0ustar libvncserver (0.9.9+dfsg-1ubuntu1) trusty; urgency=medium * Patch acinclude.m4 for ppc64el. * Fix build failure with -Wformat-security. * Enable verbose build. -- Matthias Klose Sun, 22 Dec 2013 12:56:20 +0100 libvncserver (0.9.9+dfsg-1) unstable; urgency=low * New upstream release. * Patches refreshed for the new upstream version. * Multi-arch support (Closes: #664883). * debian/patches/format_string.patch: - Use format string argument with fprintf. * debian/patches/02_linux_test.patch: - Removed, applied upstream. * debian/patches/04_rename_linuxvnc.patch: - Removed, applied upstream. * debian/patches/05_GnuTLS.patch: - Removed, applied upstream. * debian/compat: - Bump compatibility level to 9. * debian/control: - Add libvncserver-config binary package, needed for Multi-arch. - Bump Standards-Version to 3.9.3. * debian/copyright: - Convert to DEP5 format. * debian/libvncserver-config.1: - Fix hyphen-used-as-minus-sign lintian warning. * debian/rules: - Implement a get-orig-source target to get rid of webclients directory, which contains Java classes without sources. * debian/watch: - Mangle "+dfsg" prefix from version number. -- Luca Falavigna Sat, 05 May 2012 23:45:15 +0200 libvncserver (0.9.8.2-2) unstable; urgency=low * debian/*.1: - Refresh man pages to consider new parameters (Closes: #518617). * debian/libvncserver-dev.install: - Install libvncserver.pc and libvncclient files (Closes: #649481). -- Luca Falavigna Thu, 08 Dec 2011 11:55:19 +0100 libvncserver (0.9.8.2-1) unstable; urgency=low * New upstream bugfix release. - Fix a regression in libvncclient with Apple Remote Desktop support that prevented viewers to connect to ARD servers (Closes: #644455). -- Luca Falavigna Wed, 09 Nov 2011 23:31:28 +0100 libvncserver (0.9.8.1-1) unstable; urgency=low * New upstream bugfix release. - Fix ABI break (Closes: #644455). * debian/compat: - Bump compatibility to 8. * debian/control: - Adopting package. - Add Vcs-* fields. - Build-depend on dh-autoreconf instead of automake and libtool. - Add libgnutls-dev to libvncserver-dev dependencies. * debian/not-installed: - Not needed, removed. * debian/rules: - Build with autoreconf support. -- Luca Falavigna Wed, 12 Oct 2011 19:59:26 +0200 libvncserver (0.9.8-2) unstable; urgency=low * QA upload. * debian/control: - Build-depend on libgnutls-dev for GNUTLS support. -- Luca Falavigna Sun, 02 Oct 2011 14:27:56 +0200 libvncserver (0.9.8-1) unstable; urgency=low * QA upload. * New upstream release (Closes: #621705). - Fix segfault launching "linuxvnc 1 -help" (Closes: #399501). - Close socket when connection ends (Closes: #525226). - Fix no input caused by stucked CTRL key (Closes: #555988). * debian/patches/*: - Refresh patches for new upstream release. * debian/patches/05_GnuTLS.patch: - Backport patch from upstream repository to drop deprecated GnuTLS functions (gnutls_*_set_priority -> gnutls_priority_set_direct). * debian/control: - Build-depend on pkg-config. - Remove duplicate section field for libvncserver0 binary. - Bump Standards-Version to 3.9.2. * debian/libvncserver-config.1: - Use minus signs instead of hypens. * debian/README.source: - Dropped, no longer needed. * debian/watch: - Provide watch file. -- Luca Falavigna Sun, 02 Oct 2011 02:54:05 +0200 libvncserver (0.9.7-3) unstable; urgency=low * QA upload * Change (build-)depdendencies on libjpeg62-dev to libjpeg-dev (closes: #629976). * Migrate to source format 3.0 (quilt): - add debian/source/format - remove build-dependency on quilt - debian/rules: drop --with-quilt from dh invocation * debian/rules, clean target: also remove generated file _configs.sed -- Ralf Treinen Fri, 10 Jun 2011 19:39:44 +0200 libvncserver (0.9.7-2) unstable; urgency=low * QA upload. * Don't build linuxvnc on non-linux architectures (Closes: #542592). * Add a debian/README.source. -- Aurelien Jarno Sun, 30 Aug 2009 17:15:14 +0200 libvncserver (0.9.7-1) unstable; urgency=low * QA upload. * New upstream release (Closes: #529010): - x11vnc is removed upstream from libvncserver sources. Now, it is released separately. * Added patches: - 03_no_x11vnc_subdir.patch Remove x11vnc remaining occurrences from the build system. - 04_rename_linuxvnc.patch Rename LinuxVNC to linuxvnc. * Bumped debian/compat from 5 to 7. * Updated debian/control: - Cleanuped build dependencies. - Switched to quilt patch system. - Added Homepage field. - Added libjpeg62-dev and zlib1g-dev dependencies to libvncserver-dev. (Closes: #515029) - Added priority extra and section debug to libvncserver0-dbg. - Removed x11vnc package. * Added debian/not-installed: - *.la files are not installed anymore in libvncserver-dev. * Switched debian/rules from cdbs to dh usage. -- Fathi Boudra Fri, 07 Aug 2009 15:45:36 +0200 libvncserver (0.9.3.dfsg.1-2) unstable; urgency=low * QA upload. * Drop useless build-depends on linux-libc-dev. -- Aurelien Jarno Wed, 13 May 2009 20:11:07 +0200 libvncserver (0.9.3.dfsg.1-1) unstable; urgency=low * QA upload. * New upstream release. (Closes: #448942) - CVS tag X11VNC_REL_0_9_3 * Switched rules to CDBS. * Bumped compat to 5. * Bumped Standards-Version to 3.7.2 * Enabled shared libraries. (Closes: #373298) * Dropped vncommand, since it isn't installed by make install. - All hate-mail should be sent to debian@pusling.com * Added debug package. * Removed the classes/ dir, there are no sources for the jar files. - Appended .dfsg.1 to source version. - Added patch 01_ignore_classes to allow building without classes/ dir. * Added patch 02_linux_test to look for /usr/include/linux instead of /dev/vcsa -- Matthew Rosewarne Mon, 05 Nov 2007 03:22:20 -0500 libvncserver (0.8.2-2) unstable; urgency=low * Orphaning package -- Ludovic Drolez Wed, 25 Apr 2007 12:00:32 +0200 libvncserver (0.8.2-1) unstable; urgency=high * New upstream release. Closes: #373808 * This new release fixes a security bug which might be present in the previous release of the package. Closes: #376824 * urgency=high because a probable security bug was fixed. -- Ludovic Drolez Mon, 17 Jul 2006 20:43:38 +0200 libvncserver (0.7.1-5) unstable; urgency=high * Re-upload with urgency=high because the package in testing is unusable -- Ludovic Drolez Thu, 12 Jan 2006 15:30:00 +0100 libvncserver (0.7.1-4) unstable; urgency=low * Put x11vnc 0.7.3 sources in their own directory. Closes: #333880 * Updated build-depends. Closes: #347019 -- Ludovic Drolez Mon, 9 Jan 2006 23:13:15 +0100 libvncserver (0.7.1-3) unstable; urgency=low * Added x11vnc 0.7.3 sources. Closes: #328943 * Added the x11vnc FAQ which is in the README. Closes: #325479 * Added build dependencies on libxdamage-dev, libfixes-dev, libxrandr-dev -- Ludovic Drolez Wed, 28 Sep 2005 19:00:05 +0200 libvncserver (0.7.1-2) unstable; urgency=low * Removed the /dev/vcsa1 test to fix the pbuilder bug. Closes: #322643 * new vncommand package: allows you to attach a VNC server to any command -- Ludovic Drolez Fri, 26 Aug 2005 18:02:16 +0200 libvncserver (0.7.1-1) unstable; urgency=low * New upstream release. Closes: #309385 -- Ludovic Drolez Fri, 25 Mar 2005 20:48:38 +0100 libvncserver (0.7-1) unstable; urgency=low * New upstream release * New upstream x11vnc man page. Closes: Bug#277510 -- Ludovic Drolez Mon, 31 Jan 2005 23:06:17 +0100 libvncserver (0.6-3) unstable; urgency=low * Added the latest x11vnc.c (0.6.1) which has the -scale option. * Added the scale option in the manual. -- Ludovic Drolez Fri, 16 Jul 2004 16:26:09 +0200 libvncserver (0.6-2) unstable; urgency=low * Added the latest x11vnc.c from the CVS. Closes: Bug#246205 -- Ludovic Drolez Thu, 29 Apr 2004 22:09:53 +0200 libvncserver (0.6-1) unstable; urgency=low * Initial Release. * Integrated the last release of x11vnc. -- Ludovic Drolez Wed, 10 Mar 2004 23:42:26 +0100 debian/control0000664000000000000000000000565311751317566010620 0ustar Source: libvncserver Section: libs Priority: optional Maintainer: Luca Falavigna Build-Depends: debhelper (>= 9), dh-autoreconf, libgnutls-dev, libjpeg-dev, pkg-config, zlib1g-dev Standards-Version: 3.9.3 Homepage: http://libvncserver.sourceforge.net Vcs-Git: git://git.debian.org/collab-maint/libvncserver.git Vcs-Browser: http://git.debian.org/?p=collab-maint/libvncserver.git;a=summary Package: libvncserver0 Architecture: any Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Suggests: libvncserver0-dbg (= ${binary:Version}) Multi-Arch: same Description: API to write one's own vnc server LibVNCServer makes writing a VNC server (or more correctly, a program exporting a framebuffer via the Remote Frame Buffer protocol) easy. It hides the programmer from the tedious task of managing clients and compression. Package: libvncserver-dev Section: libdevel Architecture: any Depends: ${misc:Depends}, libvncserver0 (= ${binary:Version}), libgnutls-dev, libjpeg-dev, zlib1g-dev, libvncserver-config Multi-Arch: same Description: API to write one's own vnc server - development files LibVNCServer makes writing a VNC server (or more correctly, a program exporting a framebuffer via the Remote Frame Buffer protocol) easy. It hides the programmer from the tedious task of managing clients and compression. . This is the development package which contains headers and static libraries for libvncserver. Package: libvncserver-config Section: libdevel Architecture: any Depends: ${misc:Depends}, libvncserver0 (= ${binary:Version}) Breaks: libvncserver-dev (<< 0.9.9) Replaces: libvncserver-dev (<< 0.9.9) Multi-Arch: foreign Description: API to write one's own vnc server - library utility LibVNCServer makes writing a VNC server (or more correctly, a program exporting a framebuffer via the Remote Frame Buffer protocol) easy. It hides the programmer from the tedious task of managing clients and compression. . This package provides libvncserver-config utility, needed to obtain some option of the libvncserver library. Package: libvncserver0-dbg Priority: extra Section: debug Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, libvncserver0 (= ${binary:Version}) Multi-Arch: same Description: debugging symbols for libvncserver LibVNCServer makes writing a VNC server (or more correctly, a program exporting a framebuffer via the Remote Frame Buffer protocol) easy. It hides the programmer from the tedious task of managing clients and compression. . This package contains the debugging symbols for libvncserver. Package: linuxvnc Section: net Architecture: linux-any Depends: ${shlibs:Depends}, ${misc:Depends} Multi-Arch: foreign Description: VNC server to allow remote access to a tty linuxvnc can export your currently running text sessions to any VNC client. It can be useful if you want to move to another computer without having to log out or to help a distant colleague solve a problem. debian/linuxvnc.manpages0000664000000000000000000000002211751317566012561 0ustar debian/linuxvnc.1 debian/libvncserver0.docs0000664000000000000000000000002111751317566012633 0ustar NEWS README TODO