From: Lars Wendler Date: Wed, 5 Jun 2019 15:30:43 +0000 (+0200) Subject: sys-auth/ykpers: Revbump to remove elogind USE flag. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2ac915e3420ee11837d5c3e9e512b49b544c1160;p=gentoo.git sys-auth/ykpers: Revbump to remove elogind USE flag. 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 --- diff --git a/sys-auth/ykpers/ykpers-1.19.3.ebuild b/sys-auth/ykpers/ykpers-1.19.3-r1.ebuild 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 26d2f29dd56f..4db6dbd05bb2 100644 --- a/sys-auth/ykpers/ykpers-1.19.3.ebuild +++ b/sys-auth/ykpers/ykpers-1.19.3-r1.ebuild @@ -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