svn commit: r455848 - in head/security/libu2f-host: . files

Carlos J. Puga Medina cpm at FreeBSD.org
Sat Dec 9 12:01:14 UTC 2017


Author: cpm
Date: Sat Dec  9 12:01:12 2017
New Revision: 455848
URL: https://svnweb.freebsd.org/changeset/ports/455848

Log:
  - Add security/u2f-devd dependency to ensure the maintenance of the devd rulesets
  for U2F devices
  - Drop pkg-message.in because u2f-devd port provides it
  - Bump PORTREVISION
  
  libu2f-host installs /usr/local/etc/devd/u2f.conf.sample, but it only works
  on /dev/usb/*, doesn't touch /dev/uhid*.
  
  One of the requirements is that /dev/uhid* files should be readable/writable
  to the user who runs chromium.

Deleted:
  head/security/libu2f-host/files/
Modified:
  head/security/libu2f-host/Makefile
  head/security/libu2f-host/pkg-plist

Modified: head/security/libu2f-host/Makefile
==============================================================================
--- head/security/libu2f-host/Makefile	Sat Dec  9 11:55:44 2017	(r455847)
+++ head/security/libu2f-host/Makefile	Sat Dec  9 12:01:12 2017	(r455848)
@@ -3,6 +3,7 @@
 PORTNAME=	libu2f-host
 PORTVERSION=	1.1.4
 DISTVERSIONPREFIX=	${PORTNAME}-
+PORTREVISION=	1
 CATEGORIES=	security devel
 
 MAINTAINER=	cpm at FreeBSD.org
@@ -15,6 +16,7 @@ BUILD_DEPENDS=	gengetopt:devel/gengetopt \
 		help2man:misc/help2man
 LIB_DEPENDS=	libhidapi.so:comms/hidapi \
 		libjson-c.so:devel/json-c
+RUN_DEPENDS=	${LOCALBASE}/etc/devd/u2f.conf:security/u2f-devd
 
 USES=	autoreconf pkgconfig gmake libtool
 GNU_CONFIGURE=	yes
@@ -25,13 +27,5 @@ GH_ACCOUNT=	Yubico
 
 CONFIGURE_ARGS=	--disable-gtk-doc
 INSTALL_TARGET=	install-strip
-
-SUB_FILES=	pkg-message
-
-GROUPS=	u2f
-
-post-install:
-	${INSTALL_DATA} ${WRKSRC}/u2f.conf.sample \
-		${STAGEDIR}${PREFIX}/etc/devd
 
 .include <bsd.port.mk>

Modified: head/security/libu2f-host/pkg-plist
==============================================================================
--- head/security/libu2f-host/pkg-plist	Sat Dec  9 11:55:44 2017	(r455847)
+++ head/security/libu2f-host/pkg-plist	Sat Dec  9 12:01:12 2017	(r455848)
@@ -1,5 +1,4 @@
 bin/u2f-host
- at sample etc/devd/u2f.conf.sample
 include/u2f-host/u2f-host-types.h
 include/u2f-host/u2f-host-version.h
 include/u2f-host/u2f-host.h


More information about the svn-ports-all mailing list