Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Dec 2017 12:01:12 +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: r455848 - in head/security/libu2f-host: . files
Message-ID:  <201712091201.vB9C1CDN000855@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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
-@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712091201.vB9C1CDN000855>