From owner-svn-ports-head@freebsd.org Sat Feb 9 23:50:19 2019 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 98A4C14D2651; Sat, 9 Feb 2019 23:50:19 +0000 (UTC) (envelope-from cpm@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 3935888814; Sat, 9 Feb 2019 23:50:19 +0000 (UTC) (envelope-from cpm@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 075A97F85; Sat, 9 Feb 2019 23:50:19 +0000 (UTC) (envelope-from cpm@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x19NoIiE072161; Sat, 9 Feb 2019 23:50:18 GMT (envelope-from cpm@FreeBSD.org) Received: (from cpm@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x19NoI1c072159; Sat, 9 Feb 2019 23:50:18 GMT (envelope-from cpm@FreeBSD.org) Message-Id: <201902092350.x19NoI1c072159@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: cpm set sender to cpm@FreeBSD.org using -f From: "Carlos J. Puga Medina" Date: Sat, 9 Feb 2019 23:50:18 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r492543 - in head/security/u2f-devd: . files X-SVN-Group: ports-head X-SVN-Commit-Author: cpm X-SVN-Commit-Paths: in head/security/u2f-devd: . files X-SVN-Commit-Revision: 492543 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 3935888814 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.98 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.996,0]; NEURAL_HAM_SHORT(-0.98)[-0.980,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Feb 2019 23:50:19 -0000 Author: cpm Date: Sat Feb 9 23:50:18 2019 New Revision: 492543 URL: https://svnweb.freebsd.org/changeset/ports/492543 Log: - Add udev rules for some new devices (BioPass FIDO2, JaCarta2 U2F, Tomu board with chopstx U2F) - Bump PORTREVISION Approved by: Greg V (maintainer) Modified: head/security/u2f-devd/Makefile head/security/u2f-devd/files/u2f.conf Modified: head/security/u2f-devd/Makefile ============================================================================== --- head/security/u2f-devd/Makefile Sat Feb 9 23:28:05 2019 (r492542) +++ head/security/u2f-devd/Makefile Sat Feb 9 23:50:18 2019 (r492543) @@ -3,7 +3,7 @@ PORTNAME= u2f-devd PORTVERSION= 1.0.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security MASTER_SITES= # DISTFILES= # Modified: head/security/u2f-devd/files/u2f.conf ============================================================================== --- head/security/u2f-devd/files/u2f.conf Sat Feb 9 23:28:05 2019 (r492542) +++ head/security/u2f-devd/files/u2f.conf Sat Feb 9 23:50:18 2019 (r492543) @@ -66,19 +66,19 @@ attach 100 { action "chgrp u2f /dev/$device-name; chmod g+rw /dev/$device-name"; }; -# Feitian ePass FIDO +# Feitian ePass FIDO, BioPass FIDO2 notify 100 { match "system" "USB"; match "subsystem" "DEVICE"; match "type" "ATTACH"; match "vendor" "0x096e"; - match "product" "(0x0850|0x0852|0x0853|0x0854|0x0856|0x0858|0x085a|0x085b)"; + match "product" "(0x0850|0x0852|0x0853|0x0854|0x0856|0x0858|0x085a|0x085b|0x085d)"; action "chgrp u2f /dev/$cdev; chmod g+rw /dev/$cdev"; }; attach 100 { match "vendor" "0x096e"; - match "product" "(0x0850|0x0852|0x0853|0x0854|0x0856|0x0858|0x085a|0x085b)"; + match "product" "(0x0850|0x0852|0x0853|0x0854|0x0856|0x0858|0x085a|0x085b|0x085d)"; action "chgrp u2f /dev/$device-name; chmod g+rw /dev/$device-name"; }; @@ -88,13 +88,13 @@ notify 100 { match "subsystem" "DEVICE"; match "type" "ATTACH"; match "vendor" "0x24dc"; - match "product" "0x0101"; + match "product" "(0x0101|0x0501)"; action "chgrp u2f /dev/$cdev; chmod g+rw /dev/$cdev"; }; attach 100 { match "vendor" "0x24dc"; - match "product" "0x0101"; + match "product" "(0x0101|0x0501)"; action "chgrp u2f /dev/$device-name; chmod g+rw /dev/$device-name"; }; @@ -191,5 +191,21 @@ notify 100 { attach 100 { match "vendor" "0x18d1"; match "product" "0x5026"; + action "chgrp u2f /dev/$device-name; chmod g+rw /dev/$device-name"; +}; + +# Tomu board + chopstx U2F +notify 100 { + match "system" "USB"; + match "subsystem" "DEVICE"; + match "type" "ATTACH"; + match "vendor" "0x0483"; + match "product" "0xcdab"; + action "chgrp u2f /dev/$cdev; chmod g+rw /dev/$cdev"; +}; + +attach 100 { + match "vendor" "0x0483"; + match "product" "0xcdab"; action "chgrp u2f /dev/$device-name; chmod g+rw /dev/$device-name"; };