summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2012-12-31 02:22:31 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2012-12-31 02:22:31 +0000
commit8e0dc232898d275f617793219d686f327f4a3ad9 (patch)
treefb16c30d9051f49694b020c5985523bca3415bb8 /sys-auth
parentVersion bump. (diff)
downloadgentoo-2-8e0dc232898d275f617793219d686f327f4a3ad9.tar.gz
gentoo-2-8e0dc232898d275f617793219d686f327f4a3ad9.tar.bz2
gentoo-2-8e0dc232898d275f617793219d686f327f4a3ad9.zip
Version bump; add support for consolekit/udev.
(Portage version: 2.2.0_alpha149/cvs/Linux x86_64, signed Manifest commit with key 1CD13C8AD4301342)
Diffstat (limited to 'sys-auth')
-rw-r--r--sys-auth/ykpers/ChangeLog8
-rw-r--r--sys-auth/ykpers/metadata.xml32
-rw-r--r--sys-auth/ykpers/ykpers-1.9.0.ebuild38
3 files changed, 64 insertions, 14 deletions
diff --git a/sys-auth/ykpers/ChangeLog b/sys-auth/ykpers/ChangeLog
index cade8ae54fb2..469be072215b 100644
--- a/sys-auth/ykpers/ChangeLog
+++ b/sys-auth/ykpers/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-auth/ykpers
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-auth/ykpers/ChangeLog,v 1.6 2012/06/24 10:32:57 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/ykpers/ChangeLog,v 1.7 2012/12/31 02:22:31 flameeyes Exp $
+
+*ykpers-1.9.0 (31 Dec 2012)
+
+ 31 Dec 2012; Diego E. Pettenò <flameeyes@gentoo.org> +ykpers-1.9.0.ebuild,
+ metadata.xml:
+ Version bump; add support for consolekit/udev.
*ykpers-1.7.0 (24 Jun 2012)
diff --git a/sys-auth/ykpers/metadata.xml b/sys-auth/ykpers/metadata.xml
index 79a3b179d0f9..9cdc860700c1 100644
--- a/sys-auth/ykpers/metadata.xml
+++ b/sys-auth/ykpers/metadata.xml
@@ -1,17 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer>
- <email>brant@gurganus.name</email>
- <name>Brant Gurganus</name>
- <description>Proxied co-maintainer, assign bugs to him</description>
- </maintainer>
- <maintainer>
- <email>flameeyes@gentoo.org</email>
- <name>Diego Elio Pettenò</name>
- <description>Proxy maintainer, CC him on bugs</description>
- </maintainer>
- <upstream>
- <remote-id type="google-code">yubikey-personalization</remote-id>
- </upstream>
+ <maintainer>
+ <email>brant@gurganus.name</email>
+ <name>Brant Gurganus</name>
+ <description>Proxied co-maintainer, assign bugs to him</description>
+ </maintainer>
+ <maintainer>
+ <email>flameeyes@gentoo.org</email>
+ <name>Diego Elio Pettenò</name>
+ <description>Proxy maintainer, CC him on bugs</description>
+ </maintainer>
+ <upstream>
+ <remote-id type="google-code">yubikey-personalization</remote-id>
+ </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.9.0.ebuild b/sys-auth/ykpers/ykpers-1.9.0.ebuild
new file mode 100644
index 000000000000..c5ea1c86e280
--- /dev/null
+++ b/sys-auth/ykpers/ykpers-1.9.0.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/ykpers/ykpers-1.9.0.ebuild,v 1.1 2012/12/31 02:22:31 flameeyes Exp $
+
+EAPI=5
+
+inherit eutils udev
+
+DESCRIPTION="Library and tool for personalization of Yubico's YubiKey"
+SRC_URI="http://yubikey-personalization.googlecode.com/files/${P}.tar.gz"
+HOMEPAGE="https://github.com/Yubico/yubikey-personalization"
+
+KEYWORDS="~amd64"
+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_configure() {
+ econf $(use_enable static-libs static)
+}
+
+DOCS=( AUTHORS ChangeLog NEWS README )
+
+src_install() {
+ default
+ dodoc doc/*
+ prune_libtool_files
+
+ use consolekit && \
+ udev_dorules 70-yubikey.rules
+}