svn commit: r503066 - in head/security/u2f-devd: . files

Carlos J. Puga Medina cpm at FreeBSD.org
Thu May 30 11:14:06 UTC 2019


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 at 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 at unrelenting.technology
+MAINTAINER=	cpm at 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";
 };


More information about the svn-ports-all mailing list