pkgsrc/x11/x11vnc/Makefile

35 lines
879 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.73 2018/04/17 22:29:53 wiz Exp $
#
Update x11vnc to 0.9.13. New in the 0.9.13 x11vnc release: Improved support for non-X11 touchscreen devices (e.g. handheld or cell phone) via Linux uinput input injection. Additional tuning parameters are added. TSLIB touchscreen calibration is supported. Tested on Qtmoko Neo Freerunner. A tool, misc/uinput.pl, is provided to diagnose uinput behavior on new devices. The env. vars. X11VNC_UINPUT_BUS and X11VNC_UINPUT_VERSION are available if leaving them unset does not work. The Linux uinput non-X11 input injection can now be bypassed: events can be directly written to the /dev/input/event devices specified by the user (direct_abs=..., etc.) A -pipeinput input injection helper script, misc/qt_tslib_inject.pl is provided as a tweakable non-builtin direct input injection method. The list of new uinput parameters for the above two features is: pressure, tslib_cal, touch_always, dragskip, btn_touch; direct_rel, direct_abs, direct_btn, direct_key. The included SSL enabled Java VNC Viewers now handle Mouse Wheel events. miscellaneous new features and changes: In -reflect mode, the libvncclient connection can now have the pixel format modified via the environment variables X11VNC_REFLECT_bitsPerSample, X11VNC_REFLECT_samplesPerPixel, and X11VNC_REFLECT_bytesPerPixel In -create mode the following environment variables are added to fine tune the behavior: FIND_DISPLAY_NO_LSOF: do not use lsof(1) to try to determine the Linux VT, FIND_DISPLAY_NO_VT_FIND: do not try to determine the Linux VT at all, X11VNC_CREATE_LC_ALL_C_OK: do not bother undoing the setting LC_ALL=C that the create_display script sets. The performance of the -create script has been improved for large installations (100's of user sessions on one machine.) In -unixpw mode, one can now Tab from login: to Password. An environment variable, X11VNC_SB_FACTOR, allows one to scale the -sb screenblank sleep time from the default 2 secs. In -rawfb mode, a bug is fixed in setting the number of bits per pixel. Documented that -grabkbd is no longer working with some/most window managers (it can prevent resizing and menu posting.) The macosx deprecated interface GetMainDevice() call is removed. Compile with -DX11VNC_MACOSX_USE_GETMAINDEVICE if needed for an old macosx version... Miscellaneous code cleanup.
2011-09-13 11:17:26 +02:00
DISTNAME= x11vnc-0.9.13
PKGREVISION= 35
Security update to version 0.8.2 Changes: Security fix for CVE-2006-2450, remote authentication bypass in libvncserver. Notified by the upstream maintainer, Karl Runge via PR pkg/34050 New in the 0.8.2 x11vnc release: ================================ Support for full mouse and keyboard input into the Linux console framebuffer /dev/fb0 in -rawfb mode (i.e. non-X11) by using the Linux "uinput" driver. This enables, for example, viewing and interacting with Qt-embedded/Qtopia-Core apps on Linux-based handhelds, etc. Options: -rawfb cons, -pipeinput UINPUT More info: http://www.karlrunge.com/x11vnc/#faq-qt-embedded Extension of the display option: -display WAIT:<disp-or-cmd> to delay x11vnc's opening of the X display until a VNC client connects (useful built-in: -display WAIT:cmd=FINDDISPLAY, to find a user's display and Xauthority data). Options -grabkbd and -grabptr have x11vnc try to grab the X display when VNC clients are connected to prevent a (non-malicious) user at the physical X display from performing keyboard or mouse input. E.g. remote help-desk support. miscellaneous new features and changes: -allowedcmds option to fine-tune which external commands may be run by x11vnc, rather than shutting them all off with -nocmds. -env VAR=VALUE convenience option to avoid the need of setting environment variables before starting x11vnc. -allinput option to enable libvncserver handleEventsEagerly parameter (not clear it yields an improvement). -rawfb rand fun/testing option using /dev/urandom as a fb. -license, -copying, -warranty option. New in the 0.8.1 x11vnc release: ================================ Improved support for webcams and TV tuners with video4linux /dev/video: see the "-rawfb video" and "-pipeinput VID" options. (the latter gives a simple keyboard control of a TV tuner; see also the -freqtab option for stations). FBPM support for hardware that provides framebuffer power management (it needs to be disabled when vnc clients are connected). The -usepw option will require x11vnc to use a password of some sort or otherwise exit immediately. Put it in your ~/.x11vncrc so you don't forget. The command "x11vnc -storepasswd" will prompt for a password without echoing and save it in ~/.vnc/passwd The X CLIPBOARD selection is managed in addition to the X PRIMARY selection. miscellaneous new features and changes: Convenience option for accessing the Linux console: -rawfb cons etc. (requires /dev/fb0 to be working). clipboard/cut-text input can now be managed on a per-client basis. -capslock and -skip_lockkeys options can help make CapsLock work better. The Xdummy wrapper script is included in the source tree. A mode "-gone popup" as been added. -24to32 option to avoid 24bpp problems. -xinerama is on by default.
2006-07-22 14:19:47 +02:00
CATEGORIES= x11 net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libvncserver/}
2015-03-15 18:41:58 +01:00
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.karlrunge.com/x11vnc/
COMMENT= VNC server for real X displays
Update x11vnc to 0.9.7. Pkgsrc changes: * add avahi option (disabled by default). Notes: New in the 0.9.7 x11vnc release: Basic support for building with VirtualGL's TurboVNC (an enhanced TightVNC for fast LAN high framerate usage) encoding and TightVNC modifications. More info: http://www.karlrunge.com/x11vnc/faq.html#faq-turbovnc and x11vnc/misc/turbovnc/README. The -ncache_cr option has been fixed and so in -ncache mode smooth opaque window motions are now work correctly. Try it out to see how smooth it is even on a slow link. Support for Linux text consoles (virtual terminals, e.g. 1-6) is provided via, e.g., 'x11vnc -rawfb vt2' (for virtual terminal #2). This is like LinuxVNC (i.e. text only), it avoids using /dev/fb and uses /dev/vcsaN instead (the '-rawfb console' mode uses /dev/fb.) With /dev/vcsaN the text terminal is accessible even it if is not the currently active one. The -rawfb option now supports framebuffers with bits per pixel less than 8 (e.g. 4 or 1 bpp.) Reverse connections now work in Anonymous Diffie Hellman SSL/TLS mode. Reverse connections also work for VeNCrypt and ANONTLS modes. miscellaneous new features and changes: The included SSL enabled UltraVNC java viewer now has a configurable [Home] entry in the drives drop down menu. In the -create, -svc, etc. modes one can now specify a range of X displays to ignore in X11VNC_SKIP_DISPLAY. Improvements and bugfixes were made to the find_display and create_display scripts. FD_EXTRA option is provided. The '-rawfb video' option finds the video device file more carefully. The -rmflag option allows a new way to indicate to other applications that x11vnc has started. All of the java applet parameters are now documented in the classes/ssl/README file. There is now a "sendbell" remote control command. A one-time -padgeom once:WxH mode is added. Improvements to the CUPS Terminal Services helper mode. If the X display cannot be opened normally then the env. var. XAUTHLOCALHOSTNAME=localhost is tried. Bugfix for selection transfer to a now non-existent X window (Thunderbird can cause this.) Related, the env. variable LIBXCB_ALLOW_SLOPPY_LOCK is now set by default. Bugfix for -8to24 mode due to nonstandard indexed color support. The libvncserver and x11vnc autoconf/automake settings have been improved. libXrandr include file is now found on Solaris.
2009-05-07 16:03:26 +02:00
LICENSE= gnu-gpl-v2
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-system-libvncserver
PTHREAD_AUTO_VARS= yes
SUBST_CLASSES+= pthread
SUBST_STAGE.pthread= pre-configure
SUBST_FILES.pthread= configure
SUBST_SED.pthread= -e 's|-lpthread||g'
.include "options.mk"
BUILD_DIRS= x11vnc
INSTALL_DIRS= x11vnc classes
2007-02-04 17:27:42 +01:00
Update x11vnc to 0.8.4. New in the 0.8.4 x11vnc release: Native Mac OS X Aqua/Quartz support. It exports the full display (no X11 server). This provides an alternative to OSXvnc; some activities are faster (and see the client-side caching feature -ncache in the 0.8.5 development version for more speedups). http://www.karlrunge.com/x11vnc/#faq-macosx x11vnc can act as a VNC reflector/repeater using the "-reflect host:N" option. This is useful for large classroom broadcasting or demos. You set up a number of reflectors to spread the network and CPU load around for better response. http://www.karlrunge.com/x11vnc/#faq-reflect A new login mode: "-display WAIT:cmd=FINDCREATEDISPLAY -unixpw ..." that will Create a new X session (Xvfb, Xdummy, or Xorg) for the user if it cannot find the user's X session display via the FINDDISPLAY method. It will be re-found upon reconnection. This enables a simple "terminal services" mode based on Unix username and password and where the user does not have to memorize their VNC display number, etc. http://www.karlrunge.com/x11vnc/#faq-userlogin miscellaneous new features and changes: Option "-nodpms" to avoid problems with programs like KDE's kdesktop_lock that keep restarting the screen saver every few seconds even with active VNC clients connected. The "-N" option couples the VNC Display number to the X Display number. E.g. if your X DISPLAY is :2 then the VNC display will be :2 (i.e. using port 5902). If that port is taken x11vnc will exit. Wireframe copyrect detection for local user activity (e.g. someone sitting at the physical display moving windows). You can disable this with the "-nowireframelocal" option. To automatically fix the common mouse motion problem on XINERAMA (multi-headed) displays, the "-xwarppointer" option is enabled by default when XINERAMA is active. You can disable this with the "-noxwarppointer" option. By default in -reflect mode "-shared" is implied (it makes sense), use "-noshared" after the -reflect option to disable this. The "-prog" option lets you specify the full path (argv[0]) to the program, in case it is spawned by inetd/tcpd and cannot determine its path. The path is needed for the "-http" option to guess the http classes directory. Usually not needed, but there are many options for tuning the native Mac OS X mode: -macnodim -macnosleep -macnosaver -macnowait -macwheel -macnoswap -macnoresize -maciconanim -macmenu. An option "-debug_xdamage" has been added for debugging and profiling.
2007-02-02 02:56:08 +01:00
.include "../../security/openssl/buildlink3.mk"
.include "../../net/libvncserver/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
Update x11vnc to 0.9.7. Pkgsrc changes: * add avahi option (disabled by default). Notes: New in the 0.9.7 x11vnc release: Basic support for building with VirtualGL's TurboVNC (an enhanced TightVNC for fast LAN high framerate usage) encoding and TightVNC modifications. More info: http://www.karlrunge.com/x11vnc/faq.html#faq-turbovnc and x11vnc/misc/turbovnc/README. The -ncache_cr option has been fixed and so in -ncache mode smooth opaque window motions are now work correctly. Try it out to see how smooth it is even on a slow link. Support for Linux text consoles (virtual terminals, e.g. 1-6) is provided via, e.g., 'x11vnc -rawfb vt2' (for virtual terminal #2). This is like LinuxVNC (i.e. text only), it avoids using /dev/fb and uses /dev/vcsaN instead (the '-rawfb console' mode uses /dev/fb.) With /dev/vcsaN the text terminal is accessible even it if is not the currently active one. The -rawfb option now supports framebuffers with bits per pixel less than 8 (e.g. 4 or 1 bpp.) Reverse connections now work in Anonymous Diffie Hellman SSL/TLS mode. Reverse connections also work for VeNCrypt and ANONTLS modes. miscellaneous new features and changes: The included SSL enabled UltraVNC java viewer now has a configurable [Home] entry in the drives drop down menu. In the -create, -svc, etc. modes one can now specify a range of X displays to ignore in X11VNC_SKIP_DISPLAY. Improvements and bugfixes were made to the find_display and create_display scripts. FD_EXTRA option is provided. The '-rawfb video' option finds the video device file more carefully. The -rmflag option allows a new way to indicate to other applications that x11vnc has started. All of the java applet parameters are now documented in the classes/ssl/README file. There is now a "sendbell" remote control command. A one-time -padgeom once:WxH mode is added. Improvements to the CUPS Terminal Services helper mode. If the X display cannot be opened normally then the env. var. XAUTHLOCALHOSTNAME=localhost is tried. Bugfix for selection transfer to a now non-existent X window (Thunderbird can cause this.) Related, the env. variable LIBXCB_ALLOW_SLOPPY_LOCK is now set by default. Bugfix for -8to24 mode due to nonstandard indexed color support. The libvncserver and x11vnc autoconf/automake settings have been improved. libXrandr include file is now found on Solaris.
2009-05-07 16:03:26 +02:00
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"