Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/libu2f-host/
Date: Fri, 13 Sep 2019 12:58:57
Message-Id: 1568378556.00efa5ea6b033ace20e6388d3f71f9f0667fae61.mgorny@gentoo
1 commit: 00efa5ea6b033ace20e6388d3f71f9f0667fae61
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 13 12:15:54 2019 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 13 12:42:36 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00efa5ea
7
8 app-crypt/libu2f-host: Use acct-group/plugdev
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 app-crypt/libu2f-host/libu2f-host-1.1.10.ebuild | 13 ++++---------
13 1 file changed, 4 insertions(+), 9 deletions(-)
14
15 diff --git a/app-crypt/libu2f-host/libu2f-host-1.1.10.ebuild b/app-crypt/libu2f-host/libu2f-host-1.1.10.ebuild
16 index 104c7ec0ef0..6797a6c93d0 100644
17 --- a/app-crypt/libu2f-host/libu2f-host-1.1.10.ebuild
18 +++ b/app-crypt/libu2f-host/libu2f-host-1.1.10.ebuild
19 @@ -3,7 +3,7 @@
20
21 EAPI=7
22
23 -inherit linux-info udev user
24 +inherit linux-info udev
25
26 DESCRIPTION="Yubico Universal 2nd Factor (U2F) Host C Library"
27 HOMEPAGE="https://developers.yubico.com/libu2f-host/"
28 @@ -16,20 +16,15 @@ IUSE="kernel_linux static-libs systemd"
29
30 DEPEND="dev-libs/hidapi
31 dev-libs/json-c:="
32 +# The U2F device node will be owned by group 'plugdev'
33 +# in non-systemd configurations
34 RDEPEND="${DEPEND}
35 + !systemd? ( acct-group/plugdev )
36 systemd? ( sys-apps/systemd[acl] )"
37 BDEPEND="virtual/pkgconfig"
38
39 CONFIG_CHECK="~HIDRAW"
40
41 -pkg_setup() {
42 - # The U2F device node will be owned by group 'plugdev'
43 - # in non-systemd configurations
44 - if ! use systemd; then
45 - enewgroup plugdev
46 - fi
47 -}
48 -
49 src_install() {
50 default
51 if use kernel_linux; then