Date: Thu, 30 May 2019 11:14:04 +0000 (UTC) From: "Carlos J. Puga Medina" <cpm@FreeBSD.org> 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 Message-ID: <201905301114.x4UBE4cf098327@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <greg@unrelenting.technology> (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"; };
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905301114.x4UBE4cf098327>