summaryrefslogtreecommitdiff
path: root/sys-auth/ykpers
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /sys-auth/ykpers
reinit the tree, so we can have metadata
Diffstat (limited to 'sys-auth/ykpers')
-rw-r--r--sys-auth/ykpers/Manifest5
-rw-r--r--sys-auth/ykpers/metadata.xml18
-rw-r--r--sys-auth/ykpers/ykpers-1.18.0.ebuild45
3 files changed, 68 insertions, 0 deletions
diff --git a/sys-auth/ykpers/Manifest b/sys-auth/ykpers/Manifest
new file mode 100644
index 000000000000..8062c2ade5cb
--- /dev/null
+++ b/sys-auth/ykpers/Manifest
@@ -0,0 +1,5 @@
+DIST ykpers-1.18.0.tar.gz 124932 SHA256 7cf5fa315132e4473caca509d3a0768ed490938d1068e8aa46be200fc751eff5 SHA512 d636fcabf94a3fb48841572b7b0f03a12a3b3243b11ed7377654d01c33c7282dc321ee13b13c1ee3f2a49fc5015e326a96ef5bc1594b8592d07c1e5aa0521d20 WHIRLPOOL 187ca974593d71043e673acd242b8af18a4c92e9b93d18f4048f4ac8d61637b871f3c9db0f0868291ad66a0d0062ca6039dc0cc6bc4d2ac929617d08c4afb648
+EBUILD ykpers-1.18.0.ebuild 939 SHA256 8a22c6cf4f8e6880c8491b60a431992706c5dcce0a4abf5614177238a4e6dce2 SHA512 76fc32d10f703bcbcff7ed285ea30960845670dca330ddbcd0f3151c4f316a3c55de772b9e9ec4923099eda3a961b78c2cf3deef4610680a478bb7772a9bbe08 WHIRLPOOL 537bb38ef74b369caa2651605b9fe058121935fdfeb512a9c39c49eecbcc5f175e5d1faf5f162b5477df628bf1ee83c685f61a03388a12ece0cd553e403d0d68
+MISC ChangeLog 3047 SHA256 7229bc7f9812d23e6c0b0cb496586e2e8a52ed0e2f49b7868f1bf3e3d41fdf80 SHA512 2ceec08bc068316fc08a2681d1b724edf5d740099474e3ba930083e6d1d3e7eb5a3057813f9dbe981325ae69c7a3dc7563604136f307fccb0c2cfa35f4ad4835 WHIRLPOOL 3df26bcd362b050c8d3b74ff5fdeacaef7535ccfae43c2d3541bfe811956063845c46975756cbafd613f3d0109ad1a0f712bc8619513b54680c084cd95d3f22e
+MISC ChangeLog-2015 2810 SHA256 e866a84167d7924f4563d557753f73a8deacf027a04de6ac42c88a050ffa07b3 SHA512 b901ec12b3c5b0a7dc62e31af74803267ed955280015ca608756627d74c295c4ccd7cd29f0d159057b6854aa98e7a074360fbd6327d3f7623a16c3b5ccdacb8e WHIRLPOOL 90e061898f5811be142d77d4cc158df66b52061a4660e440a8a2a5f5b5c59330bdc3041055a60d0b00c98cacd0ea367811fdbc23fcea498a98a9b7019f84d59b
+MISC metadata.xml 632 SHA256 4b7bcf96636a14990b9506d5462b580f62c422ddbb846ae4159fad9fcb821f18 SHA512 1cb1ba38e29077530438a94c0a2c4e6724abc4b8e3f946466d141497495b6f316094c5f6d2313e260b163c979f65a777570de03a7630c2908a085ce5da34580b WHIRLPOOL aaa5e5bbf13a927cd63de8d93496753ab54c14498b607cc8dda52f941f91de91d50086dfca6667110f6fb842e3e1dbb277a58720852098a75e4ca3006344263b
diff --git a/sys-auth/ykpers/metadata.xml b/sys-auth/ykpers/metadata.xml
new file mode 100644
index 000000000000..46e7a0ccd48e
--- /dev/null
+++ b/sys-auth/ykpers/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>gokturk@gentoo.org</email>
+ <name>Göktürk Yüksek</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">Yubico/yubikey-personalization</remote-id>
+ <bugs-to>https://github.com/Yubico/yubikey-personalization/issues</bugs-to>
+ </upstream>
+ <use>
+ <flag name="consolekit">
+ Use <pkg>sys-auth/consolekit</pkg> and <pkg>virtual/udev</pkg>
+ to allow access to the YubiKey HID device to the console user.
+ </flag>
+ </use>
+</pkgmetadata>
diff --git a/sys-auth/ykpers/ykpers-1.18.0.ebuild b/sys-auth/ykpers/ykpers-1.18.0.ebuild
new file mode 100644
index 000000000000..0ce22ce63b07
--- /dev/null
+++ b/sys-auth/ykpers/ykpers-1.18.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2017 Gentoo Foundation
+# 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="
+ >=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
+}