Gentoo Archives: gentoo-commits

From: Richard Farina <zerochaos@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-auth/ykpers/
Date: Tue, 02 Oct 2018 19:36:51
Message-Id: 1538508741.d0aed3aad5fc31e0b6865dd8cbad10637f49a385.zerochaos@gentoo
1 commit: d0aed3aad5fc31e0b6865dd8cbad10637f49a385
2 Author: Zero_Chaos <zerochaos <AT> gentoo <DOT> org>
3 AuthorDate: Tue Oct 2 19:32:21 2018 +0000
4 Commit: Richard Farina <zerochaos <AT> gentoo <DOT> org>
5 CommitDate: Tue Oct 2 19:32:21 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0aed3aa
7
8 sys-auth/ykpers: bump
9
10 required for newer ykman
11
12 Signed-off-by: Rick Farina <zerochaos <AT> gentoo.org>
13 Package-Manager: Portage-2.3.50, Repoman-2.3.11
14
15 sys-auth/ykpers/Manifest | 1 +
16 sys-auth/ykpers/ykpers-1.19.0.ebuild | 48 ++++++++++++++++++++++++++++++++++++
17 2 files changed, 49 insertions(+)
18
19 diff --git a/sys-auth/ykpers/Manifest b/sys-auth/ykpers/Manifest
20 index 91121948b3f..c2587c06748 100644
21 --- a/sys-auth/ykpers/Manifest
22 +++ b/sys-auth/ykpers/Manifest
23 @@ -1,2 +1,3 @@
24 DIST ykpers-1.18.0.tar.gz 124932 BLAKE2B 48e7045429081c1e577ca560b3a10a4cc380820add40526dbb2a8e0fe347eae79c1dff8335c5363148da55cb374e193230ecb6273b08566ef94959848ceb848e SHA512 d636fcabf94a3fb48841572b7b0f03a12a3b3243b11ed7377654d01c33c7282dc321ee13b13c1ee3f2a49fc5015e326a96ef5bc1594b8592d07c1e5aa0521d20
25 DIST ykpers-1.18.1.tar.gz 125397 BLAKE2B 7393373414f9f2f9474408c86b8abba0f2034f5908ab8c14fd1dbf9acab40994b43b19031a58f5e889acaf289869b82bd429199237da173e3fa19154b4424374 SHA512 faf9c98fc41a64ae17e2002cd22e89fa2f51de9941aa6eb10c49aa78fd2e2867a5d47fc91fd91ab8e916117cba08629f3f1b076d91698ac2fee6e43366d948a8
26 +DIST ykpers-1.19.0.tar.gz 125960 BLAKE2B 8b0ce106ec0c6e390f13e960f26d64bf17e4f481f8bf4cdfb29f050bdbcc9f73750993caa00c46f6bc0c59a8cef0891d2d4fa97cea96084b0c9a762adfc3f81a SHA512 413f81325782f0d71501d3dbf5aaaf646bd5dc02d87308a7f650044dfe860dc13b7cef11afa8794df3049c729e10da33ffad86e3f148ac429ee64685bf0fe56e
27
28 diff --git a/sys-auth/ykpers/ykpers-1.19.0.ebuild b/sys-auth/ykpers/ykpers-1.19.0.ebuild
29 new file mode 100644
30 index 00000000000..7bbdcf401e9
31 --- /dev/null
32 +++ b/sys-auth/ykpers/ykpers-1.19.0.ebuild
33 @@ -0,0 +1,48 @@
34 +# Copyright 1999-2018 Gentoo Authors
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=6
38 +
39 +inherit autotools udev
40 +
41 +DESCRIPTION="Library and tool for personalization of Yubico's YubiKey"
42 +SRC_URI="https://github.com/Yubico/yubikey-personalization/archive/v${PV}.tar.gz -> ${P}.tar.gz"
43 +HOMEPAGE="https://github.com/Yubico/yubikey-personalization"
44 +
45 +KEYWORDS="~amd64 ~x86"
46 +SLOT="0"
47 +LICENSE="BSD-2"
48 +IUSE="static-libs consolekit"
49 +
50 +RDEPEND="
51 + dev-libs/json-c
52 + >=sys-auth/libyubikey-1.6
53 + virtual/libusb:1"
54 +DEPEND="${RDEPEND}
55 + app-text/asciidoc
56 + virtual/pkgconfig"
57 +RDEPEND="${RDEPEND}
58 + consolekit? ( sys-auth/consolekit[acl] )"
59 +
60 +S="${WORKDIR}/yubikey-personalization-${PV}"
61 +
62 +DOCS=( doc/. AUTHORS NEWS README )
63 +
64 +src_prepare() {
65 + default
66 + eautoreconf
67 +}
68 +
69 +src_configure() {
70 + econf \
71 + --libdir=/usr/$(get_libdir) \
72 + --localstatedir=/var \
73 + $(use_enable static-libs static)
74 +}
75 +
76 +src_install() {
77 + default
78 + use consolekit && udev_dorules *.rules
79 +
80 + find "${D}" -name '*.la' -delete || die
81 +}