sys-auth/ykpers: bump
authorZero_Chaos <zerochaos@gentoo.org>
Tue, 2 Oct 2018 19:32:21 +0000 (15:32 -0400)
committerZero_Chaos <zerochaos@gentoo.org>
Tue, 2 Oct 2018 19:32:21 +0000 (15:32 -0400)
required for newer ykman

Signed-off-by: Rick Farina <zerochaos@gentoo.org>
Package-Manager: Portage-2.3.50, Repoman-2.3.11

sys-auth/ykpers/Manifest
sys-auth/ykpers/ykpers-1.19.0.ebuild [new file with mode: 0644]

index 91121948b3f76c46e545b9c57d1dbeb1bb695d54..c2587c06748e6df462473e3adf25cb9a21e10393 100644 (file)
@@ -1,2 +1,3 @@
 DIST ykpers-1.18.0.tar.gz 124932 BLAKE2B 48e7045429081c1e577ca560b3a10a4cc380820add40526dbb2a8e0fe347eae79c1dff8335c5363148da55cb374e193230ecb6273b08566ef94959848ceb848e SHA512 d636fcabf94a3fb48841572b7b0f03a12a3b3243b11ed7377654d01c33c7282dc321ee13b13c1ee3f2a49fc5015e326a96ef5bc1594b8592d07c1e5aa0521d20
 DIST ykpers-1.18.1.tar.gz 125397 BLAKE2B 7393373414f9f2f9474408c86b8abba0f2034f5908ab8c14fd1dbf9acab40994b43b19031a58f5e889acaf289869b82bd429199237da173e3fa19154b4424374 SHA512 faf9c98fc41a64ae17e2002cd22e89fa2f51de9941aa6eb10c49aa78fd2e2867a5d47fc91fd91ab8e916117cba08629f3f1b076d91698ac2fee6e43366d948a8
+DIST ykpers-1.19.0.tar.gz 125960 BLAKE2B 8b0ce106ec0c6e390f13e960f26d64bf17e4f481f8bf4cdfb29f050bdbcc9f73750993caa00c46f6bc0c59a8cef0891d2d4fa97cea96084b0c9a762adfc3f81a SHA512 413f81325782f0d71501d3dbf5aaaf646bd5dc02d87308a7f650044dfe860dc13b7cef11afa8794df3049c729e10da33ffad86e3f148ac429ee64685bf0fe56e
diff --git a/sys-auth/ykpers/ykpers-1.19.0.ebuild b/sys-auth/ykpers/ykpers-1.19.0.ebuild
new file mode 100644 (file)
index 0000000..7bbdcf4
--- /dev/null
@@ -0,0 +1,48 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools udev
+
+DESCRIPTION="Library and tool for personalization of Yubico's YubiKey"
+SRC_URI="https://github.com/Yubico/yubikey-personalization/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+HOMEPAGE="https://github.com/Yubico/yubikey-personalization"
+
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+LICENSE="BSD-2"
+IUSE="static-libs consolekit"
+
+RDEPEND="
+       dev-libs/json-c
+       >=sys-auth/libyubikey-1.6
+       virtual/libusb:1"
+DEPEND="${RDEPEND}
+       app-text/asciidoc
+       virtual/pkgconfig"
+RDEPEND="${RDEPEND}
+       consolekit? ( sys-auth/consolekit[acl] )"
+
+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
+
+       find "${D}" -name '*.la' -delete || die
+}