From owner-svn-ports-all@freebsd.org Fri Jul 24 22:10:23 2020 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 839F3375999; Fri, 24 Jul 2020 22:10:23 +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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 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 4BD3Kq2wSwz4Lpx; Fri, 24 Jul 2020 22:10:23 +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 435F21168B; Fri, 24 Jul 2020 22:10:23 +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 06OMANkl065267; Fri, 24 Jul 2020 22:10:23 GMT (envelope-from wulf@FreeBSD.org) Received: (from wulf@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 06OMAMF3065265; Fri, 24 Jul 2020 22:10:22 GMT (envelope-from wulf@FreeBSD.org) Message-Id: <202007242210.06OMAMF3065265@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: wulf set sender to wulf@FreeBSD.org using -f From: Vladimir Kondratyev Date: Fri, 24 Jul 2020 22:10:22 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r543383 - head/sysutils/iichid X-SVN-Group: ports-head X-SVN-Commit-Author: wulf X-SVN-Commit-Paths: head/sysutils/iichid X-SVN-Commit-Revision: 543383 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.33 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: Fri, 24 Jul 2020 22:10:23 -0000 Author: wulf (src committer) Date: Fri Jul 24 22:10:22 2020 New Revision: 543383 URL: https://svnweb.freebsd.org/changeset/ports/543383 Log: sysutils/iichid: Update to 0.0.3 Most important changes: * USB transport backend is stable now and included in to port. It is disabled by default as it has greater priority than OS drivers. * hcons - Consumer page AKA Multimedia keys and hsctrl - System control page AKA Power keys drivers are added. They should replace sysutils/uhidd port that became unusable since recent X11 switchover to evdev. * hidraw - Exports raw HID data in uhid(4) and Linux hidraw-compatible way. Take maintainership, as suggested by imp@ PR: 247787 Submitted by: Miguel Gocobachi Reviewed by: koobs (ports) Approved by: koobs (ports), imp (maintainer) Differential Revision: https://reviews.freebsd.org/D25538 Modified: head/sysutils/iichid/Makefile head/sysutils/iichid/distinfo head/sysutils/iichid/pkg-message Modified: head/sysutils/iichid/Makefile ============================================================================== --- head/sysutils/iichid/Makefile Fri Jul 24 21:37:13 2020 (r543382) +++ head/sysutils/iichid/Makefile Fri Jul 24 22:10:22 2020 (r543383) @@ -2,18 +2,18 @@ # $FreeBSD$ PORTNAME= iichid -DISTVERSION= 0.0.1 +DISTVERSION= 0.0.3 CATEGORIES= sysutils -MAINTAINER= imp@FreeBSD.org +MAINTAINER= wulf@FreeBSD.org COMMENT= Generic FreeBSD HID layer for I2C and USB devices LICENSE= BSD2CLAUSE -#LICENSE_FILE= Not yet packaged +LICENSE_FILE= ${WRKSRC}/LICENSE IGNORE_FreeBSD_11= Requires FreeBSD 12.1 or later ONLY_FOR_ARCHS= aarch64 amd64 i386 -ONLY_FOR_ARCHS_REASON= Requires architecture supporting ACPI +ONLY_FOR_ARCHS_REASON= I2C transport requires architecture supporting ACPI USES= kmod uidfix @@ -26,9 +26,16 @@ MAKE_ENV= WERROR="" PLIST_FILES= ${KMODDIR}/iichid.ko -# USB backend is not yet complete and -# interferes with existing USB drivers -post-patch: - ${REINPLACE_CMD} -e '/usbhid.c/s/^/#/' ${WRKSRC}/Makefile +# USB backend is disabled by default as it interferes with existing USB drivers +OPTIONS_DEFINE= DEBUG I2C USB +OPTIONS_DEFAULT= I2C +I2C_DESC= HID over I2C support +USB_DESC= HID over USB support + +I2C_MAKE_ARGS_OFF= -DDISABLE_I2CHID +USB_MAKE_ARGS_OFF= -DDISABLE_USBHID + +post-patch-DEBUG-off: + ${REINPLACE_CMD} -e '/iichid_debug =/s/1/0/' ${WRKSRC}/iichid.c .include Modified: head/sysutils/iichid/distinfo ============================================================================== --- head/sysutils/iichid/distinfo Fri Jul 24 21:37:13 2020 (r543382) +++ head/sysutils/iichid/distinfo Fri Jul 24 22:10:22 2020 (r543383) @@ -1,3 +1,3 @@ -TIMESTAMP = 1581662226 -SHA256 (wulf7-iichid-0.0.1_GH0.tar.gz) = 282540487df1eb3f202f7beb440f68f43801662cb8f817931f09879c1f007a98 -SIZE (wulf7-iichid-0.0.1_GH0.tar.gz) = 51001 +TIMESTAMP = 1594041772 +SHA256 (wulf7-iichid-0.0.3_GH0.tar.gz) = a548af4c2bfd121ec766d4203c70900b256a4b6e99cf4d9f643b9cfc8818efc7 +SIZE (wulf7-iichid-0.0.3_GH0.tar.gz) = 88651 Modified: head/sysutils/iichid/pkg-message ============================================================================== --- head/sysutils/iichid/pkg-message Fri Jul 24 21:37:13 2020 (r543382) +++ head/sysutils/iichid/pkg-message Fri Jul 24 22:10:22 2020 (r543383) @@ -1,5 +1,11 @@ +[ +{ type: install + message: <