diff options
author | wiz <wiz@pkgsrc.org> | 2015-06-29 11:15:05 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2015-06-29 11:15:05 +0000 |
commit | 9f2b2fbe699549885958291a976bbd0945cb446b (patch) | |
tree | 0236fe0b699176811a8b54c89b9eff886ddbf54e /x11 | |
parent | d3bde8b43270f717cfb8f1e1276d33bcf03ebcc5 (diff) | |
download | pkgsrc-9f2b2fbe699549885958291a976bbd0945cb446b.tar.gz |
Update to 13.1.0 (all new patches have already been accepted upstream):
This release is intended for general distro inclusion,
Testing has been performed on various linux distros, FreeBSD 10.1 and
Solaris 11.2.
This release contains a number of build fixes and also changes to deal with
improved vmmouse port security and backoff if a vmmouse kernel module is
encountered. An additional dependency on libudev is introduced on linux.
Note that if the new linux 4.1 vmmouse functionality is used, the user-space
xf86-input-vmmouse driver can be skipped. Distros that want to keep the
xf86-input-vmmouse driver as a backup should *not* use any version prior to
13.0.99 since those versions would compete with the in-kernel vmmouse driver
for mouse input.
13.1.0:
Thomas Hellstrom (1):
Bump version number for release
13.0.99:
Gaetan Nadon (6):
Autoconf: remove AC_PROG_CC which overrides AC_PROG_CC_C99 from util-macros
Autoconf: replace deprecated AC_HELP_STRING with AS_HELP_STRING
Autoconf: minimum level required is 2.60
Autoconf: Fix deprecated use of AC_OUTPUT
"make dist" fails when workstation has no udev package
tools: make install fails when user has no write permission in /lib
Jeremy Huddleston Sequoia (1):
Always include config.h first
Loïc Yhuel (1):
Fix wheel button labels
Peter Hutterer (4):
Free the vmmouse data on UnInit
Handle DEVICE_ABORT on ABI 19.1
Don't de-reference pMse if it hasn't been initialised yet
Drop AM_MAINTAINER_MODE
Stefan Dirsch (1):
vmmouse_client.h: Include xorg-server.h before xf86_OSproc.h
Thomas Hellstrom (5):
Back off if we detect a vmmouse kernel driver v3
vmmouse: Run vmmouse_detect as an io privileged process
vmmouse: Add support for the access restrict command
vmmouse: Fix vmmouse_detect build on BSD
vmmouse: Bump version number for release
Diffstat (limited to 'x11')
-rw-r--r-- | x11/xf86-input-vmmouse/Makefile | 5 | ||||
-rw-r--r-- | x11/xf86-input-vmmouse/PLIST | 5 | ||||
-rw-r--r-- | x11/xf86-input-vmmouse/distinfo | 11 | ||||
-rw-r--r-- | x11/xf86-input-vmmouse/patches/patch-config.h.in | 14 | ||||
-rw-r--r-- | x11/xf86-input-vmmouse/patches/patch-configure | 82 | ||||
-rw-r--r-- | x11/xf86-input-vmmouse/patches/patch-tools_vmmouse__iopl.c | 81 |
6 files changed, 189 insertions, 9 deletions
diff --git a/x11/xf86-input-vmmouse/Makefile b/x11/xf86-input-vmmouse/Makefile index 5e168c53e19..c9c5e5c93b1 100644 --- a/x11/xf86-input-vmmouse/Makefile +++ b/x11/xf86-input-vmmouse/Makefile @@ -1,7 +1,6 @@ -# $NetBSD: Makefile,v 1.18 2015/04/27 14:47:49 jperkin Exp $ +# $NetBSD: Makefile,v 1.19 2015/06/29 11:15:05 wiz Exp $ -DISTNAME= xf86-input-vmmouse-13.0.0 -PKGREVISION= 3 +DISTNAME= xf86-input-vmmouse-13.1.0 CATEGORIES= x11 MASTER_SITES= ${MASTER_SITE_XORG:=driver/} EXTRACT_SUFX= .tar.bz2 diff --git a/x11/xf86-input-vmmouse/PLIST b/x11/xf86-input-vmmouse/PLIST index f594da6ff47..9b27cd8a5ed 100644 --- a/x11/xf86-input-vmmouse/PLIST +++ b/x11/xf86-input-vmmouse/PLIST @@ -1,8 +1,9 @@ -@comment $NetBSD: PLIST,v 1.6 2013/05/16 05:55:18 richard Exp $ +@comment $NetBSD: PLIST,v 1.7 2015/06/29 11:15:05 wiz Exp $ bin/vmmouse_detect lib/hal/hal-probe-vmmouse +lib/udev/rules.d/69-xorg-vmmouse.rules lib/xorg/modules/input/vmmouse_drv.la man/man1/vmmouse_detect.1 man/man4/vmmouse.4 -share/hal/fdi/policy/20thirdparty/11-x11-vmmouse.fdi share/X11/xorg.conf.d/50-vmmouse.conf +share/hal/fdi/policy/20thirdparty/11-x11-vmmouse.fdi diff --git a/x11/xf86-input-vmmouse/distinfo b/x11/xf86-input-vmmouse/distinfo index 030c80fbf3d..b335c5a0035 100644 --- a/x11/xf86-input-vmmouse/distinfo +++ b/x11/xf86-input-vmmouse/distinfo @@ -1,5 +1,8 @@ -$NetBSD: distinfo,v 1.7 2013/05/16 05:55:18 richard Exp $ +$NetBSD: distinfo,v 1.8 2015/06/29 11:15:05 wiz Exp $ -SHA1 (xf86-input-vmmouse-13.0.0.tar.bz2) = 0fa67d2ca9b2b26d32b93cc030fc3ea28964fe81 -RMD160 (xf86-input-vmmouse-13.0.0.tar.bz2) = d5083a76f73a10c4ed137bd822b2b5c4b2e2c05e -Size (xf86-input-vmmouse-13.0.0.tar.bz2) = 314269 bytes +SHA1 (xf86-input-vmmouse-13.1.0.tar.bz2) = c00fbf985b22a86901fa905a8037005bca96d805 +RMD160 (xf86-input-vmmouse-13.1.0.tar.bz2) = 45397da8726e6b3d81a9c61ed2c4b191495803aa +Size (xf86-input-vmmouse-13.1.0.tar.bz2) = 319188 bytes +SHA1 (patch-config.h.in) = ee6936aef0cbb1402c000eb9a8cf1539dfe5e8ef +SHA1 (patch-configure) = 9ad8d39e00274b3eba69291ad2812ea41d150e55 +SHA1 (patch-tools_vmmouse__iopl.c) = e0527fee0d29485580b2cfe64d09e27a7792278e diff --git a/x11/xf86-input-vmmouse/patches/patch-config.h.in b/x11/xf86-input-vmmouse/patches/patch-config.h.in new file mode 100644 index 00000000000..47dc99879bf --- /dev/null +++ b/x11/xf86-input-vmmouse/patches/patch-config.h.in @@ -0,0 +1,14 @@ +$NetBSD: patch-config.h.in,v 1.1 2015/06/29 11:15:05 wiz Exp $ + +--- config.h.in.orig 2015-06-25 10:27:50.000000000 +0000 ++++ config.h.in +@@ -102,6 +102,9 @@ + /* BSD AMD64 iopl */ + #undef USE_AMD64_IOPL + ++/* BSD X86_64 iopl */ ++#undef USE_X86_64_IOPL ++ + /* BSD /dev/io */ + #undef USE_DEV_IO + diff --git a/x11/xf86-input-vmmouse/patches/patch-configure b/x11/xf86-input-vmmouse/patches/patch-configure new file mode 100644 index 00000000000..792e0921318 --- /dev/null +++ b/x11/xf86-input-vmmouse/patches/patch-configure @@ -0,0 +1,82 @@ +$NetBSD: patch-configure,v 1.1 2015/06/29 11:15:05 wiz Exp $ + +--- configure.orig 2015-06-25 10:27:50.000000000 +0000 ++++ configure +@@ -18030,7 +18030,7 @@ $as_echo "#define VMMOUSE_OS_BSD 1" >>co + + ;; + solaris*) +- if test "x$GCC" == "xyes"; then ++ if test "x$GCC" = "xyes"; then + CC="$save_solaris_cc -fms-extensions" + fi + +@@ -18077,9 +18077,9 @@ case $host_cpu in + $as_echo "#define USE_DEV_IO 1" >>confdefs.h + ;; + *netbsd*) +-$as_echo "#define USE_I386_IOPL 1" >>confdefs.h ++$as_echo "#define USE_X86_64_IOPL 1" >>confdefs.h + +- use_i386_iopl=yes ;; ++ use_x86_64_iopl=yes ;; + *openbsd*) + $as_echo "#define USE_AMD64_IOPL 1" >>confdefs.h + +@@ -18188,6 +18188,56 @@ fi + + fi + ++if test x$use_x86_64_iopl = xyes; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for x86_64_iopl in -lx86_64" >&5 ++$as_echo_n "checking for x86_64_iopl in -lx86_64... " >&6; } ++if ${ac_cv_lib_x86_64_x86_64_iopl+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lx86_64 $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char x86_64_iopl (); ++int ++main () ++{ ++return x86_64_iopl (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_x86_64_x86_64_iopl=yes ++else ++ ac_cv_lib_x86_64_x86_64_iopl=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_x86_64_x86_64_iopl" >&5 ++$as_echo "$ac_cv_lib_x86_64_x86_64_iopl" >&6; } ++if test "x$ac_cv_lib_x86_64_x86_64_iopl" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++#define HAVE_LIBAMD64 1 ++_ACEOF ++ ++ LIBS="-lx86_64 $LIBS" ++ ++else ++ as_fn_error $? "cannot find library for x86_64_iopl" "$LINENO" 5 ++fi ++ ++fi ++ + + pkg_failed=no + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XORG" >&5 diff --git a/x11/xf86-input-vmmouse/patches/patch-tools_vmmouse__iopl.c b/x11/xf86-input-vmmouse/patches/patch-tools_vmmouse__iopl.c new file mode 100644 index 00000000000..19afa9bc24e --- /dev/null +++ b/x11/xf86-input-vmmouse/patches/patch-tools_vmmouse__iopl.c @@ -0,0 +1,81 @@ +$NetBSD: patch-tools_vmmouse__iopl.c,v 1.1 2015/06/29 11:15:05 wiz Exp $ + +--- tools/vmmouse_iopl.c.orig 2015-04-09 06:04:46.000000000 +0000 ++++ tools/vmmouse_iopl.c +@@ -44,8 +44,15 @@ + + #if defined(VMMOUSE_OS_BSD) + #include <sys/types.h> +-#ifdef USE_I386_IOPL ++#if defined(USE_I386_IOPL) || defined(USE_AMD64_IOPL) || defined(USE_X86_64_IOPL) + #include <machine/sysarch.h> ++#if defined(USE_I386_IOPL) ++#define IOPL_NAME i386_iopl ++#elif defined(USE_AMD64_IOPL) ++#define IOPL_NAME amd64_iopl ++#elif defined(USE_X86_64_IOPL) ++#define IOPL_NAME x86_64_iopl ++#endif + /***************************************************************************/ + /* I/O Permissions section */ + /***************************************************************************/ +@@ -57,7 +64,7 @@ xf86EnableIO() + if (ExtendedEnabled) + return true; + +- if (i386_iopl(1) < 0) ++ if (IOPL_NAME(1) < 0) + return false; + + ExtendedEnabled = true; +@@ -70,48 +77,13 @@ xf86DisableIO() + if (!ExtendedEnabled) + return; + +- i386_iopl(0); ++ IOPL_NAME(0); + + ExtendedEnabled = false; + return; + } + +-#endif /* USE_I386_IOPL */ +- +-#ifdef USE_AMD64_IOPL +-#include <machine/sysarch.h> +-/***************************************************************************/ +-/* I/O Permissions section */ +-/***************************************************************************/ +- +-static bool ExtendedEnabled = false; +- +-bool +-xf86EnableIO() +-{ +- if (ExtendedEnabled) +- return true; +- +- if (amd64_iopl(1) < 0) +- return false; +- +- ExtendedEnabled = true; +- return true; +-} +- +-void +-xf86DisableIO() +-{ +- if (!ExtendedEnabled) +- return; +- +- if (amd64_iopl(0) == 0) +- ExtendedEnabled = false; +- +- return; +-} +- +-#endif /* USE_AMD64_IOPL */ ++#endif /* defined(USE_I386_IOPL) || defined(USE_AMD64_IOPL) || defined(USE_X86_64_IOPL) */ + + #ifdef USE_DEV_IO + #include <sys/stat.h> |