From owner-svn-ports-all@freebsd.org Mon Sep 9 20:37:47 2019 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 397B9E08CB; Mon, 9 Sep 2019 20:37:47 +0000 (UTC) (envelope-from wulf@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46S0NC0M2mz4cQG; Mon, 9 Sep 2019 20:37:47 +0000 (UTC) (envelope-from wulf@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E34BE1B2EF; Mon, 9 Sep 2019 20:37:46 +0000 (UTC) (envelope-from wulf@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x89KbkAG097478; Mon, 9 Sep 2019 20:37:46 GMT (envelope-from wulf@FreeBSD.org) Received: (from wulf@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x89KbjLu097473; Mon, 9 Sep 2019 20:37:45 GMT (envelope-from wulf@FreeBSD.org) Message-Id: <201909092037.x89KbjLu097473@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: wulf set sender to wulf@FreeBSD.org using -f From: Vladimir Kondratyev Date: Mon, 9 Sep 2019 20:37:45 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r511703 - in head/misc: . utouch-kmod X-SVN-Group: ports-head X-SVN-Commit-Author: wulf X-SVN-Commit-Paths: in head/misc: . utouch-kmod X-SVN-Commit-Revision: 511703 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Sep 2019 20:37:47 -0000 Author: wulf (src committer) Date: Mon Sep 9 20:37:45 2019 New Revision: 511703 URL: https://svnweb.freebsd.org/changeset/ports/511703 Log: utouch - driver for absolute USB HID mouses emulated by some virtualization systems like Virtual Box, BHyve, e.t.c. It uses evdev protocol to communicate with userland applications like libinput and xf86-input-evdev. The driver should be installed in to the guest FreeBSD system. Host system should be configured to emulate mouse as a single-touch USB tablet. WWW: https://github.com/wulf7/utouch It is a temporary solution until absolute coords support is added to ums(4) driver. That is why it is not imported into the base system. PR: 240261 Approved by: koobs Added: head/misc/utouch-kmod/ head/misc/utouch-kmod/Makefile (contents, props changed) head/misc/utouch-kmod/distinfo (contents, props changed) head/misc/utouch-kmod/pkg-descr (contents, props changed) head/misc/utouch-kmod/pkg-message (contents, props changed) Modified: head/misc/Makefile Modified: head/misc/Makefile ============================================================================== --- head/misc/Makefile Mon Sep 9 20:36:10 2019 (r511702) +++ head/misc/Makefile Mon Sep 9 20:37:45 2019 (r511703) @@ -510,6 +510,7 @@ SUBDIR += usbids SUBDIR += usbrh-libusb SUBDIR += utftools + SUBDIR += utouch-kmod SUBDIR += valentina SUBDIR += valspeak SUBDIR += vdmfec Added: head/misc/utouch-kmod/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/misc/utouch-kmod/Makefile Mon Sep 9 20:37:45 2019 (r511703) @@ -0,0 +1,41 @@ +# Created by: Vladimir Kondratyev +# $FreeBSD$ + +PORTNAME= utouch-kmod +PORTVERSION= 0.0.1 +CATEGORIES= misc + +MAINTAINER= wulf@FreeBSD.org +COMMENT= Kernel driver for absolute USB HID mouses + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= kmod uidfix + +OPTIONS_DEFINE= SOURCE +OPTIONS_DEFAULT=SOURCE +SOURCE_DESC= Install kernel module sources + +USE_GITHUB= yes +GH_ACCOUNT= wulf7 +GH_PROJECT= utouch + +PLIST_FILES= ${KMODDIR}/utouch.ko + +KMODSRC_DIR= sys/modules/${PORTNAME} +KMODSRC_FILES= Makefile utouch.c + +.include + +.if ${PORT_OPTIONS:MSOURCE} +PLIST_FILES+= ${KMODSRC_FILES:S|^|${KMODSRC_DIR}/|} +.endif + +post-install-SOURCE-on: + ${MKDIR} ${STAGEDIR}${PREFIX}/${KMODSRC_DIR} +.for file in ${KMODSRC_FILES} + ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${PREFIX}/${KMODSRC_DIR} +.endfor + +.include Added: head/misc/utouch-kmod/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/misc/utouch-kmod/distinfo Mon Sep 9 20:37:45 2019 (r511703) @@ -0,0 +1,3 @@ +TIMESTAMP = 1567539845 +SHA256 (wulf7-utouch-0.0.1_GH0.tar.gz) = cb173ac478d51af06f3c6cac86c4f4613c8f7f1cb5a23867aae745fa99bdb4ba +SIZE (wulf7-utouch-0.0.1_GH0.tar.gz) = 5338 Added: head/misc/utouch-kmod/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/misc/utouch-kmod/pkg-descr Mon Sep 9 20:37:45 2019 (r511703) @@ -0,0 +1,9 @@ +utouch - Kernel driver for absolute USB HID mouses emulated by some +virtualization systems like Virtual Box, BHyve, etc. It uses evdev +protocol to communicate with userland applications like libinput and +xf86-input-evdev. + +The driver should be installed in to the guest FreeBSD system. Host system +should be configured to emulate mouse as a single-touch USB tablet. + +WWW: https://github.com/wulf7/utouch Added: head/misc/utouch-kmod/pkg-message ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/misc/utouch-kmod/pkg-message Mon Sep 9 20:37:45 2019 (r511703) @@ -0,0 +1,14 @@ +[ +{ type: install + message: <