From 36ac65103bf5503e5bad1ecc7e8cb9e7643f6840 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 13 Sep 2019 17:49:31 +0100 Subject: Revert "gentoo resync : 13.09.2019" This reverts commit a1392efe64137262023d92492396ca9156d22396. --- app-crypt/libu2f-host/libu2f-host-1.1.10.ebuild | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'app-crypt/libu2f-host/libu2f-host-1.1.10.ebuild') diff --git a/app-crypt/libu2f-host/libu2f-host-1.1.10.ebuild b/app-crypt/libu2f-host/libu2f-host-1.1.10.ebuild index 6797a6c93d08..104c7ec0ef0d 100644 --- a/app-crypt/libu2f-host/libu2f-host-1.1.10.ebuild +++ b/app-crypt/libu2f-host/libu2f-host-1.1.10.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit linux-info udev +inherit linux-info udev user DESCRIPTION="Yubico Universal 2nd Factor (U2F) Host C Library" HOMEPAGE="https://developers.yubico.com/libu2f-host/" @@ -16,15 +16,20 @@ IUSE="kernel_linux static-libs systemd" DEPEND="dev-libs/hidapi dev-libs/json-c:=" -# The U2F device node will be owned by group 'plugdev' -# in non-systemd configurations RDEPEND="${DEPEND} - !systemd? ( acct-group/plugdev ) systemd? ( sys-apps/systemd[acl] )" BDEPEND="virtual/pkgconfig" CONFIG_CHECK="~HIDRAW" +pkg_setup() { + # The U2F device node will be owned by group 'plugdev' + # in non-systemd configurations + if ! use systemd; then + enewgroup plugdev + fi +} + src_install() { default if use kernel_linux; then -- cgit v1.2.3