Gentoo Archives: gentoo-commits

From: Mikle Kolyada <zlogene@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-auth/ykpers/
Date: Sun, 04 Oct 2020 19:46:12
Message-Id: 1601840704.6f3d9d11cb5e6fe29f163667c632f1673309270c.zlogene@gentoo
1 commit: 6f3d9d11cb5e6fe29f163667c632f1673309270c
2 Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 4 19:45:04 2020 +0000
4 Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 4 19:45:04 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f3d9d11
7
8 sys-auth/ykpers: remove consolekit support
9
10 Package-Manager: Portage-3.0.4, Repoman-3.0.1
11 Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
12
13 sys-auth/ykpers/metadata.xml | 6 ------
14 sys-auth/ykpers/ykpers-1.19.3-r1.ebuild | 11 +++--------
15 sys-auth/ykpers/ykpers-1.20.0.ebuild | 9 ++-------
16 3 files changed, 5 insertions(+), 21 deletions(-)
17
18 diff --git a/sys-auth/ykpers/metadata.xml b/sys-auth/ykpers/metadata.xml
19 index 46e7a0ccd48..0263462089b 100644
20 --- a/sys-auth/ykpers/metadata.xml
21 +++ b/sys-auth/ykpers/metadata.xml
22 @@ -9,10 +9,4 @@
23 <remote-id type="github">Yubico/yubikey-personalization</remote-id>
24 <bugs-to>https://github.com/Yubico/yubikey-personalization/issues</bugs-to>
25 </upstream>
26 - <use>
27 - <flag name="consolekit">
28 - Use <pkg>sys-auth/consolekit</pkg> and <pkg>virtual/udev</pkg>
29 - to allow access to the YubiKey HID device to the console user.
30 - </flag>
31 - </use>
32 </pkgmetadata>
33
34 diff --git a/sys-auth/ykpers/ykpers-1.19.3-r1.ebuild b/sys-auth/ykpers/ykpers-1.19.3-r1.ebuild
35 index fbbae20cc15..88bc388c29c 100644
36 --- a/sys-auth/ykpers/ykpers-1.19.3-r1.ebuild
37 +++ b/sys-auth/ykpers/ykpers-1.19.3-r1.ebuild
38 @@ -1,4 +1,4 @@
39 -# Copyright 1999-2019 Gentoo Authors
40 +# Copyright 1999-2020 Gentoo Authors
41 # Distributed under the terms of the GNU General Public License v2
42
43 EAPI=7
44 @@ -12,7 +12,7 @@ HOMEPAGE="https://github.com/Yubico/yubikey-personalization"
45 KEYWORDS="amd64 x86"
46 SLOT="0"
47 LICENSE="BSD-2"
48 -IUSE="consolekit static-libs"
49 +IUSE="static-libs"
50
51 DEPEND="
52 dev-libs/json-c:=
53 @@ -21,9 +21,7 @@ DEPEND="
54 BDEPEND="
55 app-text/asciidoc
56 virtual/pkgconfig"
57 -RDEPEND="${DEPEND}
58 - consolekit? ( sys-auth/consolekit[acl] )
59 -"
60 +RDEPEND="${DEPEND}"
61
62 S="${WORKDIR}/yubikey-personalization-${PV}"
63
64 @@ -47,9 +45,6 @@ src_install() {
65 default
66
67 udev_dorules 69-yubikey.rules
68 - if use consolekit ; then
69 - udev_dorules 70-yubikey.rules
70 - fi
71
72 find "${D}" -name '*.la' -delete || die
73 }
74
75 diff --git a/sys-auth/ykpers/ykpers-1.20.0.ebuild b/sys-auth/ykpers/ykpers-1.20.0.ebuild
76 index e864d1dbc2b..d2134a08232 100644
77 --- a/sys-auth/ykpers/ykpers-1.20.0.ebuild
78 +++ b/sys-auth/ykpers/ykpers-1.20.0.ebuild
79 @@ -12,7 +12,7 @@ HOMEPAGE="https://github.com/Yubico/yubikey-personalization"
80 KEYWORDS="amd64 ~arm64 ~ppc64 x86"
81 SLOT="0"
82 LICENSE="BSD-2"
83 -IUSE="consolekit static-libs"
84 +IUSE="static-libs"
85
86 DEPEND="
87 dev-libs/json-c:=
88 @@ -21,9 +21,7 @@ DEPEND="
89 BDEPEND="
90 app-text/asciidoc
91 virtual/pkgconfig"
92 -RDEPEND="${DEPEND}
93 - consolekit? ( sys-auth/consolekit[acl] )
94 -"
95 +RDEPEND="${DEPEND}"
96
97 S="${WORKDIR}/yubikey-personalization-${PV}"
98 PATCHES=(
99 @@ -51,9 +49,6 @@ src_install() {
100 default
101
102 udev_dorules 69-yubikey.rules
103 - if use consolekit ; then
104 - udev_dorules 70-yubikey.rules
105 - fi
106
107 find "${D}" -name '*.la' -delete || die
108 }