commit:     6f3d9d11cb5e6fe29f163667c632f1673309270c
Author:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Sun Oct  4 19:45:04 2020 +0000
Commit:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Sun Oct  4 19:45:04 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f3d9d11

sys-auth/ykpers: remove consolekit support

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>

 sys-auth/ykpers/metadata.xml            |  6 ------
 sys-auth/ykpers/ykpers-1.19.3-r1.ebuild | 11 +++--------
 sys-auth/ykpers/ykpers-1.20.0.ebuild    |  9 ++-------
 3 files changed, 5 insertions(+), 21 deletions(-)

diff --git a/sys-auth/ykpers/metadata.xml b/sys-auth/ykpers/metadata.xml
index 46e7a0ccd48..0263462089b 100644
--- a/sys-auth/ykpers/metadata.xml
+++ b/sys-auth/ykpers/metadata.xml
@@ -9,10 +9,4 @@
     <remote-id type="github">Yubico/yubikey-personalization</remote-id>
     <bugs-to>https://github.com/Yubico/yubikey-personalization/issues</bugs-to>
   </upstream>
-  <use>
-    <flag name="consolekit">
-      Use <pkg>sys-auth/consolekit</pkg> and <pkg>virtual/udev</pkg>
-      to allow access to the YubiKey HID device to the console user.
-    </flag>
-  </use>
 </pkgmetadata>

diff --git a/sys-auth/ykpers/ykpers-1.19.3-r1.ebuild 
b/sys-auth/ykpers/ykpers-1.19.3-r1.ebuild
index fbbae20cc15..88bc388c29c 100644
--- a/sys-auth/ykpers/ykpers-1.19.3-r1.ebuild
+++ b/sys-auth/ykpers/ykpers-1.19.3-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -12,7 +12,7 @@ HOMEPAGE="https://github.com/Yubico/yubikey-personalization";
 KEYWORDS="amd64 x86"
 SLOT="0"
 LICENSE="BSD-2"
-IUSE="consolekit static-libs"
+IUSE="static-libs"
 
 DEPEND="
        dev-libs/json-c:=
@@ -21,9 +21,7 @@ DEPEND="
 BDEPEND="
        app-text/asciidoc
        virtual/pkgconfig"
-RDEPEND="${DEPEND}
-       consolekit? ( sys-auth/consolekit[acl] )
-"
+RDEPEND="${DEPEND}"
 
 S="${WORKDIR}/yubikey-personalization-${PV}"
 
@@ -47,9 +45,6 @@ src_install() {
        default
 
        udev_dorules 69-yubikey.rules
-       if use consolekit ; then
-               udev_dorules 70-yubikey.rules
-       fi
 
        find "${D}" -name '*.la' -delete || die
 }

diff --git a/sys-auth/ykpers/ykpers-1.20.0.ebuild 
b/sys-auth/ykpers/ykpers-1.20.0.ebuild
index e864d1dbc2b..d2134a08232 100644
--- a/sys-auth/ykpers/ykpers-1.20.0.ebuild
+++ b/sys-auth/ykpers/ykpers-1.20.0.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="https://github.com/Yubico/yubikey-personalization";
 KEYWORDS="amd64 ~arm64 ~ppc64 x86"
 SLOT="0"
 LICENSE="BSD-2"
-IUSE="consolekit static-libs"
+IUSE="static-libs"
 
 DEPEND="
        dev-libs/json-c:=
@@ -21,9 +21,7 @@ DEPEND="
 BDEPEND="
        app-text/asciidoc
        virtual/pkgconfig"
-RDEPEND="${DEPEND}
-       consolekit? ( sys-auth/consolekit[acl] )
-"
+RDEPEND="${DEPEND}"
 
 S="${WORKDIR}/yubikey-personalization-${PV}"
 PATCHES=(
@@ -51,9 +49,6 @@ src_install() {
        default
 
        udev_dorules 69-yubikey.rules
-       if use consolekit ; then
-               udev_dorules 70-yubikey.rules
-       fi
 
        find "${D}" -name '*.la' -delete || die
 }

Reply via email to