commit: 2ac915e3420ee11837d5c3e9e512b49b544c1160 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> AuthorDate: Wed Jun 5 15:30:43 2019 +0000 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> CommitDate: Wed Jun 5 15:35:29 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ac915e3
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 <polynomial-c <AT> gentoo.org> .../{ykpers-1.19.3.ebuild => ykpers-1.19.3-r1.ebuild} | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) 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 26d2f29dd56..4db6dbd05bb 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