From owner-svn-ports-all@freebsd.org Thu May 30 11:14:06 2019 Return-Path: Delivered-To: svn-ports-all@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 EE72215BE91E; Thu, 30 May 2019 11:14:05 +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 686B183DDA; Thu, 30 May 2019 11:14:05 +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 443A91850A; Thu, 30 May 2019 11:14:05 +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 x4UBE53x098329; Thu, 30 May 2019 11:14:05 GMT (envelope-from cpm@FreeBSD.org) Received: (from cpm@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x4UBE4cf098327; Thu, 30 May 2019 11:14:04 GMT (envelope-from cpm@FreeBSD.org) Message-Id: <201905301114.x4UBE4cf098327@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: cpm set sender to cpm@FreeBSD.org using -f From: "Carlos J. Puga Medina" Date: Thu, 30 May 2019 11:14:04 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r503066 - 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: 503066 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 686B183DDA 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)[-1.000,0]; NEURAL_HAM_SHORT(-0.99)[-0.985,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-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: Thu, 30 May 2019 11:14:06 -0000 Author: cpm Date: Thu May 30 11:14:04 2019 New Revision: 503066 URL: https://svnweb.freebsd.org/changeset/ports/503066 Log: - Set u2f-devd PORTVERSION to be equal to libu2f-host's instead of bumping PORTREVISION - Fix PID typo - Add u2f rules for SoloKeys - Take maintainership 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 Thu May 30 11:01:11 2019 (r503065) +++ head/security/u2f-devd/Makefile Thu May 30 11:14:04 2019 (r503066) @@ -2,13 +2,12 @@ # $FreeBSD$ PORTNAME= u2f-devd -PORTVERSION= 1.0.0 -PORTREVISION= 2 +PORTVERSION= 1.1.10 CATEGORIES= security MASTER_SITES= # DISTFILES= # -MAINTAINER= greg@unrelenting.technology +MAINTAINER= cpm@FreeBSD.org COMMENT= Devd hotplug rules for Universal 2nd Factor (U2F) tokens LICENSE= BSD2CLAUSE Modified: head/security/u2f-devd/files/u2f.conf ============================================================================== --- head/security/u2f-devd/files/u2f.conf Thu May 30 11:01:11 2019 (r503065) +++ head/security/u2f-devd/files/u2f.conf Thu May 30 11:14:04 2019 (r503066) @@ -8,13 +8,13 @@ notify 100 { match "subsystem" "DEVICE"; match "type" "ATTACH"; match "vendor" "0x1050"; - match "product" "(0x0113|0x0114|0x0115|0x0116|0x0120|0x0200|0x0420|0x0403|0x0406|0x0407|0x0410)"; + match "product" "(0x0113|0x0114|0x0115|0x0116|0x0120|0x0200|0x0402|0x0403|0x0406|0x0407|0x0410)"; action "chgrp u2f /dev/$cdev; chmod g+rw /dev/$cdev"; }; attach 100 { match "vendor" "0x1050"; - match "product" "(0x0113|0x0114|0x0115|0x0116|0x0120|0x0200|0x0420|0x0403|0x0406|0x0407|0x0410)"; + match "product" "(0x0113|0x0114|0x0115|0x0116|0x0120|0x0200|0x0402|0x0403|0x0406|0x0407|0x0410)"; action "chgrp u2f /dev/$device-name; chmod g+rw /dev/$device-name"; }; @@ -194,18 +194,34 @@ attach 100 { action "chgrp u2f /dev/$device-name; chmod g+rw /dev/$device-name"; }; -# Tomu board + chopstx U2F +# Tomu board + chopstx U2F + SoloKeys notify 100 { match "system" "USB"; match "subsystem" "DEVICE"; match "type" "ATTACH"; match "vendor" "0x0483"; - match "product" "0xcdab"; + match "product" "(0xcdab|0xa2ca)"; action "chgrp u2f /dev/$cdev; chmod g+rw /dev/$cdev"; }; attach 100 { match "vendor" "0x0483"; - match "product" "0xcdab"; + match "product" "(0xcdab|0xa2ca)"; + action "chgrp u2f /dev/$device-name; chmod g+rw /dev/$device-name"; +}; + +# SoloKeys +notify 100 { + match "system" "USB"; + match "subsystem" "DEVICE"; + match "type" "ATTACH"; + match "vendor" "0x1209"; + match "product" "(0x5070|0x50b0)"; + action "chgrp u2f /dev/$cdev; chmod g+rw /dev/$cdev"; +}; + +attach 100 { + match "vendor" "0x1209"; + match "product" "(0x5070|0x50b0)"; action "chgrp u2f /dev/$device-name; chmod g+rw /dev/$device-name"; };