Gentoo Archives: gentoo-commits

From: Alexys Jacob <ultrabug@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-auth/ykpers/
Date: Fri, 28 Apr 2017 16:15:33
Message-Id: 1493396124.6c722a242410dbdad9e86ffae1e522b2985ea4cf.ultrabug@gentoo
1 commit: 6c722a242410dbdad9e86ffae1e522b2985ea4cf
2 Author: Ultrabug <ultrabug <AT> gentoo <DOT> org>
3 AuthorDate: Fri Apr 28 16:15:11 2017 +0000
4 Commit: Alexys Jacob <ultrabug <AT> gentoo <DOT> org>
5 CommitDate: Fri Apr 28 16:15:24 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c722a24
7
8 sys-auth/ykpers: version bump, drop old
9
10 Package-Manager: Portage-2.3.5, Repoman-2.3.2
11
12 sys-auth/ykpers/Manifest | 3 +--
13 sys-auth/ykpers/ykpers-1.17.3.ebuild | 30 ----------------------
14 .../{ykpers-1.17.2.ebuild => ykpers-1.18.0.ebuild} | 28 +++++++++++++++-----
15 3 files changed, 22 insertions(+), 39 deletions(-)
16
17 diff --git a/sys-auth/ykpers/Manifest b/sys-auth/ykpers/Manifest
18 index c086828859a..11fca3f30e3 100644
19 --- a/sys-auth/ykpers/Manifest
20 +++ b/sys-auth/ykpers/Manifest
21 @@ -1,2 +1 @@
22 -DIST ykpers-1.17.2.tar.gz 505396 SHA256 704a12410da22f37d69fd337511e74b61f876f841d52f13e87971c0adb5ddefc SHA512 b2da72c9032639450a91495766a828052d2a48c51ec151eedf61c3276f07feb8a7a5a0faf59179b314814fd6552de5f36e27494419cf7d2803d8471565a85690 WHIRLPOOL 2f0d59bc8487ca7b959502f7465c12a208726ce7356588d1c6378fcde87cc17d7c8a3141be447d3a401f799f51c1282f79b25db66412b2904c5a8c4fd3841c49
23 -DIST ykpers-1.17.3.tar.gz 504549 SHA256 482fc3984fc659c801cfc51313268f248507094ed5224f4394cfd66e23af9c0c SHA512 96be2344c0f913996807dfb58efa9fb48797c9ce1e1dc6218639135df4edd5837124a552cabd4b9367ac85fafdda6bc3cd1ade537b304702b5ba51be88133585 WHIRLPOOL 9b59fc7fecb5108726cf3f3e01a43a1a5a12addf971f64ccccbba1d68256e3eceb4d663506976601f8a1bd90f804f07733f3536ba9971ca3ca00f8ff6ac6325b
24 +DIST v1.18.0.tar.gz 124932 SHA256 7cf5fa315132e4473caca509d3a0768ed490938d1068e8aa46be200fc751eff5 SHA512 d636fcabf94a3fb48841572b7b0f03a12a3b3243b11ed7377654d01c33c7282dc321ee13b13c1ee3f2a49fc5015e326a96ef5bc1594b8592d07c1e5aa0521d20 WHIRLPOOL 187ca974593d71043e673acd242b8af18a4c92e9b93d18f4048f4ac8d61637b871f3c9db0f0868291ad66a0d0062ca6039dc0cc6bc4d2ac929617d08c4afb648
25
26 diff --git a/sys-auth/ykpers/ykpers-1.17.3.ebuild b/sys-auth/ykpers/ykpers-1.17.3.ebuild
27 deleted file mode 100644
28 index 811d160b43b..00000000000
29 --- a/sys-auth/ykpers/ykpers-1.17.3.ebuild
30 +++ /dev/null
31 @@ -1,30 +0,0 @@
32 -# Copyright 1999-2016 Gentoo Foundation
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=5
36 -
37 -inherit autotools-utils udev
38 -
39 -DESCRIPTION="Library and tool for personalization of Yubico's YubiKey"
40 -SRC_URI="http://yubico.github.io/yubikey-personalization/releases/${P}.tar.gz"
41 -HOMEPAGE="https://github.com/Yubico/yubikey-personalization"
42 -
43 -KEYWORDS="~amd64 ~x86"
44 -SLOT="0"
45 -LICENSE="BSD-2"
46 -IUSE="static-libs consolekit"
47 -
48 -RDEPEND="
49 - >=sys-auth/libyubikey-1.6
50 - virtual/libusb:1"
51 -DEPEND="${RDEPEND}
52 - virtual/pkgconfig"
53 -RDEPEND="${RDEPEND}
54 - consolekit? ( sys-auth/consolekit[acl] )"
55 -
56 -src_install() {
57 - DOCS=( doc/. AUTHORS ChangeLog NEWS README )
58 - autotools-utils_src_install
59 -
60 - use consolekit && udev_dorules *.rules
61 -}
62
63 diff --git a/sys-auth/ykpers/ykpers-1.17.2.ebuild b/sys-auth/ykpers/ykpers-1.18.0.ebuild
64 similarity index 55%
65 rename from sys-auth/ykpers/ykpers-1.17.2.ebuild
66 rename to sys-auth/ykpers/ykpers-1.18.0.ebuild
67 index 851470ae6a0..ab6fa079a78 100644
68 --- a/sys-auth/ykpers/ykpers-1.17.2.ebuild
69 +++ b/sys-auth/ykpers/ykpers-1.18.0.ebuild
70 @@ -1,12 +1,12 @@
71 -# Copyright 1999-2015 Gentoo Foundation
72 +# Copyright 1999-2017 Gentoo Foundation
73 # Distributed under the terms of the GNU General Public License v2
74
75 -EAPI=5
76 +EAPI=6
77
78 -inherit autotools-utils udev
79 +inherit autotools udev
80
81 DESCRIPTION="Library and tool for personalization of Yubico's YubiKey"
82 -SRC_URI="http://yubico.github.io/yubikey-personalization/releases/${P}.tar.gz"
83 +SRC_URI="https://github.com/Yubico/yubikey-personalization/archive/v${PV}.tar.gz"
84 HOMEPAGE="https://github.com/Yubico/yubikey-personalization"
85
86 KEYWORDS="~amd64 ~x86"
87 @@ -22,9 +22,23 @@ DEPEND="${RDEPEND}
88 RDEPEND="${RDEPEND}
89 consolekit? ( sys-auth/consolekit[acl] )"
90
91 -src_install() {
92 - DOCS=( doc/. AUTHORS ChangeLog NEWS README )
93 - autotools-utils_src_install
94 +S="${WORKDIR}/yubikey-personalization-${PV}"
95 +
96 +DOCS=( doc/. AUTHORS NEWS README )
97 +
98 +src_prepare() {
99 + default
100 + eautoreconf
101 +}
102
103 +src_configure() {
104 + econf \
105 + --libdir=/usr/$(get_libdir) \
106 + --localstatedir=/var \
107 + $(use_enable static-libs static)
108 +}
109 +
110 +src_install() {
111 + default
112 use consolekit && udev_dorules *.rules
113 }