sys-auth/ykpers: Revbump to remove elogind USE flag.
authorLars Wendler <polynomial-c@gentoo.org>
Wed, 5 Jun 2019 15:30:43 +0000 (17:30 +0200)
committerLars Wendler <polynomial-c@gentoo.org>
Wed, 5 Jun 2019 15:35:29 +0000 (17:35 +0200)
It turned out, one udev rule requires udev-acl from consolekit...

Package-Manager: Portage-2.3.67, Repoman-2.3.14
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
sys-auth/ykpers/ykpers-1.19.3-r1.ebuild [moved from sys-auth/ykpers/ykpers-1.19.3.ebuild with 79% similarity]

similarity index 79%
rename from sys-auth/ykpers/ykpers-1.19.3.ebuild
rename to sys-auth/ykpers/ykpers-1.19.3-r1.ebuild
index 26d2f29dd56f38142ed836d4a11cafd3651ff8fa..4db6dbd05bb2ada2f49df19b7580908ac12c653d 100644 (file)
@@ -12,7 +12,7 @@ HOMEPAGE="https://github.com/Yubico/yubikey-personalization"
 KEYWORDS="~amd64 ~x86"
 SLOT="0"
 LICENSE="BSD-2"
-IUSE="consolekit elogind static-libs"
+IUSE="consolekit static-libs"
 
 DEPEND="
        dev-libs/json-c:=
@@ -23,11 +23,8 @@ BDEPEND="
        virtual/pkgconfig"
 RDEPEND="${DEPEND}
        consolekit? ( sys-auth/consolekit[acl] )
-       elogind? ( sys-auth/elogind[acl] )
 "
 
-REQUIRED_USE="?? ( consolekit elogind )"
-
 S="${WORKDIR}/yubikey-personalization-${PV}"
 
 DOCS=( doc/. AUTHORS NEWS README )
@@ -35,10 +32,6 @@ DOCS=( doc/. AUTHORS NEWS README )
 src_prepare() {
        default
        eautoreconf
-
-       if use elogind ; then
-               sed '/TEST==/d' -i 70-yubikey.rules || die
-       fi
 }
 
 src_configure() {
@@ -52,8 +45,10 @@ src_configure() {
 
 src_install() {
        default
-       if use consolekit || use elogind ; then
-               udev_dorules *.rules
+
+       udev_dorules 69-yubikey.rules
+       if use consolekit ; then
+               udev_dorules 70-yubikey.rules
        fi
 
        find "${D}" -name '*.la' -delete || die