I've started working on an update to x11vnc.
I've tested it on i386 and on two different systems, I've had it crash
X11 on me when the client disconnects. I haven't had more time to look
at it since.
Testing and suggestions welcome.
I hope to give it more time this weekend.
Again, this is not finished. Someone (an Anonymous Coward) offered to
help/test on Undeadly.
-ME
Index: Makefile
===
RCS file: /cvs/ports/x11/x11vnc/Makefile,v
retrieving revision 1.2
diff -u -p -r1.2 Makefile
--- Makefile15 Sep 2007 20:04:26 - 1.2
+++ Makefile9 Nov 2007 22:17:00 -
@@ -2,7 +2,7 @@
COMMENT= VNC server for real X displays
-VERSION= 0.6.2
+VERSION= 0.9.3
DISTNAME= x11vnc-${VERSION}
CATEGORIES= x11
@@ -16,14 +16,17 @@ PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM=Yes
PERMIT_DISTFILES_FTP= Yes
-WANTLIB= X11 Xext Xinerama Xtst c pthread z
+WANTLIB= X11 Xdamage Xext Xfixes Xinerama Xrandr Xtst c crypto \
+ pthread ssl z
+LIB_DEPENDS= jpeg.>=62::graphics/jpeg
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libvncserver/}
USE_X11= Yes
-CONFIGURE_STYLE=gnu
-CONFIGURE_ARGS+=--with-x
+CONFIGURE_STYLE=simple
+CONFIGURE_ARGS+=--with-x \
+ --with-jpeg=${PREFIX}
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/x11vnc
Index: distinfo
===
RCS file: /cvs/ports/x11/x11vnc/distinfo,v
retrieving revision 1.3
diff -u -p -r1.3 distinfo
--- distinfo5 Apr 2007 17:36:25 - 1.3
+++ distinfo9 Nov 2007 22:17:00 -
@@ -1,5 +1,5 @@
-MD5 (x11vnc-0.6.2.tar.gz) = 6NLhEzJiTc8+6pkiSN2PaA==
-RMD160 (x11vnc-0.6.2.tar.gz) = Dzdk8gdesxpHMULdLkX2e48Rc8U=
-SHA1 (x11vnc-0.6.2.tar.gz) = hH2SYO6Noo5bqFTz3YS1pT36J3A=
-SHA256 (x11vnc-0.6.2.tar.gz) = /5MvnyU53KC/uVgNoFV5FB2L4KSBXOhooB+FaY/e9a0=
-SIZE (x11vnc-0.6.2.tar.gz) = 350243
+MD5 (x11vnc-0.9.3.tar.gz) = lu3/tanrNqrUYg9JylgQGw==
+RMD160 (x11vnc-0.9.3.tar.gz) = 5AE+Yq8eniPIVmzznL7lr5O8xXI=
+SHA1 (x11vnc-0.9.3.tar.gz) = e7Xg0W1frjAeb03LW5QZpeI5buM=
+SHA256 (x11vnc-0.9.3.tar.gz) = CrBpCBTZt3O6eQ/eFyir6phfZOEpss9C4SQ10fCa32k=
+SIZE (x11vnc-0.9.3.tar.gz) = 2105034
Index: patches/patch-configure
===
RCS file: /cvs/ports/x11/x11vnc/patches/patch-configure,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 patch-configure
--- patches/patch-configure 2 Dec 2004 21:21:23 - 1.1.1.1
+++ patches/patch-configure 9 Nov 2007 22:17:00 -
@@ -1,9 +1,9 @@
-$OpenBSD: patch-configure,v 1.1.1.1 2004/12/02 21:21:23 sturm Exp $
configure.orig Thu Dec 2 20:42:03 2004
-+++ configure Thu Dec 2 20:42:44 2004
-@@ -5375,13 +5375,13 @@ fi
- fi
- if test ! -z "$HAVE_PTHREAD_H"; then
+$OpenBSD$
+--- configure.orig Thu Nov 8 22:32:44 2007
configure Thu Nov 8 22:32:57 2007
+@@ -8515,13 +8515,13 @@ fi
+
+ if test ! -z "$HAVE_PTHREAD_H"; then
-echo "$as_me:$LINENO: checking for pthread_mutex_lock in -lpthread" >&5
-echo $ECHO_N "checking for pthread_mutex_lock in -lpthread... $ECHO_C" >&6
@@ -16,9 +16,9 @@ $OpenBSD: patch-configure,v 1.1.1.1 2004
-LIBS="-lpthread $LIBS"
+LIBS="-pthread $LIBS"
cat >conftest.$ac_ext <<_ACEOF
- #line $LINENO "configure"
/* confdefs.h. */
-@@ -5434,17 +5434,17 @@ if test $ac_cv_lib_pthread_pthread_mutex
+ _ACEOF
+@@ -8584,17 +8584,17 @@ if test $ac_cv_lib_pthread_pthread_mutex_lock = yes; t
#define HAVE_LIBPTHREAD 1
_ACEOF
@@ -27,9 +27,9 @@ $OpenBSD: patch-configure,v 1.1.1.1 2004
fi
-- echo "$as_me:$LINENO: checking for pthread_mutex_lock in -lpthread" >&5
+- echo "$as_me:$LINENO: checking for pthread_mutex_lock in
-lpthread" >&5
-echo $ECHO_N "checking for pthread_mutex_lock in -lpthread... $ECHO_C" >&6
-+ echo "$as_me:$LINENO: checking for pthread_mutex_lock in -pthread" >&5
++ echo "$as_me:$LINENO: checking for pthread_mutex_lock in
-pthread" >&5
+echo $ECHO_N "checking for pthread_mutex_lock in -pthread... $ECHO_C" >&6
if test "${ac_cv_lib_pthread_pthread_mutex_lock+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -38,5 +38,5 @@ $OpenBSD: patch-configure,v 1.1.1.1 2004
-LIBS="-lpthread $LIBS"
+LIBS="-pthread $LIBS"
cat >conftest.$ac_ext <<_ACEOF
- #line $LINENO "configure"
/* confdefs.h. */
+ _ACEOF
Index: patches/patch-libvncserver_httpd_c
===
RCS file: patches/patch-libvncserver_httpd_c
diff -N patches/patch-libvncserver_httpd_c
--- patches/patch-libvncserver_httpd_c 2 Dec 2004 21:21:23 - 1.1.1.1
+++ /dev/null 1 Jan 1970 00:00:00 -
@@ -1,21 +0,0 @@
-$OpenBSD: patch-libvncserver_httpd_c,v 1.1.1.1 2004/12/02 21:21:23 sturm Exp $
libvncserver/httpd.c.orig Thu Dec 2 21:04:09 2004
-+++ libvncserver/httpd.c Thu Dec 2 21:04:52 2004
-@@ -