commit: 6c722a242410dbdad9e86ffae1e522b2985ea4cf
Author: Ultrabug <ultrabug <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 28 16:15:11 2017 +0000
Commit: Alexys Jacob <ultrabug <AT> gentoo <DOT> org>
CommitDate: Fri Apr 28 16:15:24 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c722a24
sys-auth/ykpers: version bump, drop old
Package-Manager: Portage-2.3.5, Repoman-2.3.2
sys-auth/ykpers/Manifest | 3 +--
sys-auth/ykpers/ykpers-1.17.3.ebuild | 30 ----------------------
.../{ykpers-1.17.2.ebuild => ykpers-1.18.0.ebuild} | 28 +++++++++++++++-----
3 files changed, 22 insertions(+), 39 deletions(-)
diff --git a/sys-auth/ykpers/Manifest b/sys-auth/ykpers/Manifest
index c086828859a..11fca3f30e3 100644
--- a/sys-auth/ykpers/Manifest
+++ b/sys-auth/ykpers/Manifest
@@ -1,2 +1 @@
-DIST ykpers-1.17.2.tar.gz 505396 SHA256
704a12410da22f37d69fd337511e74b61f876f841d52f13e87971c0adb5ddefc SHA512
b2da72c9032639450a91495766a828052d2a48c51ec151eedf61c3276f07feb8a7a5a0faf59179b314814fd6552de5f36e27494419cf7d2803d8471565a85690
WHIRLPOOL
2f0d59bc8487ca7b959502f7465c12a208726ce7356588d1c6378fcde87cc17d7c8a3141be447d3a401f799f51c1282f79b25db66412b2904c5a8c4fd3841c49
-DIST ykpers-1.17.3.tar.gz 504549 SHA256
482fc3984fc659c801cfc51313268f248507094ed5224f4394cfd66e23af9c0c SHA512
96be2344c0f913996807dfb58efa9fb48797c9ce1e1dc6218639135df4edd5837124a552cabd4b9367ac85fafdda6bc3cd1ade537b304702b5ba51be88133585
WHIRLPOOL
9b59fc7fecb5108726cf3f3e01a43a1a5a12addf971f64ccccbba1d68256e3eceb4d663506976601f8a1bd90f804f07733f3536ba9971ca3ca00f8ff6ac6325b
+DIST v1.18.0.tar.gz 124932 SHA256
7cf5fa315132e4473caca509d3a0768ed490938d1068e8aa46be200fc751eff5 SHA512
d636fcabf94a3fb48841572b7b0f03a12a3b3243b11ed7377654d01c33c7282dc321ee13b13c1ee3f2a49fc5015e326a96ef5bc1594b8592d07c1e5aa0521d20
WHIRLPOOL
187ca974593d71043e673acd242b8af18a4c92e9b93d18f4048f4ac8d61637b871f3c9db0f0868291ad66a0d0062ca6039dc0cc6bc4d2ac929617d08c4afb648
diff --git a/sys-auth/ykpers/ykpers-1.17.3.ebuild
b/sys-auth/ykpers/ykpers-1.17.3.ebuild
deleted file mode 100644
index 811d160b43b..00000000000
--- a/sys-auth/ykpers/ykpers-1.17.3.ebuild
+++ /dev/null
@@ -1,30 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit autotools-utils udev
-
-DESCRIPTION="Library and tool for personalization of Yubico's YubiKey"
-SRC_URI="http://yubico.github.io/yubikey-personalization/releases/${P}.tar.gz"
-HOMEPAGE="https://github.com/Yubico/yubikey-personalization"
-
-KEYWORDS="~amd64 ~x86"
-SLOT="0"
-LICENSE="BSD-2"
-IUSE="static-libs consolekit"
-
-RDEPEND="
- >=sys-auth/libyubikey-1.6
- virtual/libusb:1"
-DEPEND="${RDEPEND}
- virtual/pkgconfig"
-RDEPEND="${RDEPEND}
- consolekit? ( sys-auth/consolekit[acl] )"
-
-src_install() {
- DOCS=( doc/. AUTHORS ChangeLog NEWS README )
- autotools-utils_src_install
-
- use consolekit && udev_dorules *.rules
-}
diff --git a/sys-auth/ykpers/ykpers-1.17.2.ebuild
b/sys-auth/ykpers/ykpers-1.18.0.ebuild
similarity index 55%
rename from sys-auth/ykpers/ykpers-1.17.2.ebuild
rename to sys-auth/ykpers/ykpers-1.18.0.ebuild
index 851470ae6a0..ab6fa079a78 100644
--- a/sys-auth/ykpers/ykpers-1.17.2.ebuild
+++ b/sys-auth/ykpers/ykpers-1.18.0.ebuild
@@ -1,12 +1,12 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=6
-inherit autotools-utils udev
+inherit autotools udev
DESCRIPTION="Library and tool for personalization of Yubico's YubiKey"
-SRC_URI="http://yubico.github.io/yubikey-personalization/releases/${P}.tar.gz"
+SRC_URI="https://github.com/Yubico/yubikey-personalization/archive/v${PV}.tar.gz"
HOMEPAGE="https://github.com/Yubico/yubikey-personalization"
KEYWORDS="~amd64 ~x86"
@@ -22,9 +22,23 @@ DEPEND="${RDEPEND}
RDEPEND="${RDEPEND}
consolekit? ( sys-auth/consolekit[acl] )"
-src_install() {
- DOCS=( doc/. AUTHORS ChangeLog NEWS README )
- autotools-utils_src_install
+S="${WORKDIR}/yubikey-personalization-${PV}"
+
+DOCS=( doc/. AUTHORS NEWS README )
+
+src_prepare() {
+ default
+ eautoreconf
+}
+src_configure() {
+ econf \
+ --libdir=/usr/$(get_libdir) \
+ --localstatedir=/var \
+ $(use_enable static-libs static)
+}
+
+src_install() {
+ default
use consolekit && udev_dorules *.rules
}