From 066c673f424215e07a2eb20c0c3b34aa33c2adff Mon Sep 17 00:00:00 2001 From: Micha Glave Date: Wed, 10 Mar 2010 13:02:01 +0100 Subject: [PATCH] yubico pum and libs --- sys-auth/pam_yubico/Manifest | 2 ++ sys-auth/pam_yubico/pam_yubico-2.2.ebuild | 31 ++++++++++++++++++++++ sys-libs/ykclient/Manifest | 2 ++ sys-libs/ykclient/ykclient-2.3.ebuild | 32 +++++++++++++++++++++++ 4 files changed, 67 insertions(+) create mode 100644 sys-auth/pam_yubico/Manifest create mode 100644 sys-auth/pam_yubico/pam_yubico-2.2.ebuild create mode 100644 sys-libs/ykclient/Manifest create mode 100644 sys-libs/ykclient/ykclient-2.3.ebuild diff --git a/sys-auth/pam_yubico/Manifest b/sys-auth/pam_yubico/Manifest new file mode 100644 index 0000000..37f36a8 --- /dev/null +++ b/sys-auth/pam_yubico/Manifest @@ -0,0 +1,2 @@ +DIST pam_yubico-2.2.tar.gz 296006 RMD160 673d9340fb07fe5798e985a7ddb428a0974493a1 SHA1 1b935285d3826a8cb0ca4ff80e20e6aa4a588a9d SHA256 083507e7ec9625b41a7a5a2cf7be034aa6eabe87b0ab7d5350c20a7165a64e58 +EBUILD pam_yubico-2.2.ebuild 688 RMD160 0f34f6e5c3e71d74a02a5d86b752ff455a4903b1 SHA1 b5174f89e4d5c6dc131f9843cb2e64ba17669bb9 SHA256 86025b612cdf4367f50af8c27127612919814416356ac097b98496d3befafc22 diff --git a/sys-auth/pam_yubico/pam_yubico-2.2.ebuild b/sys-auth/pam_yubico/pam_yubico-2.2.ebuild new file mode 100644 index 0000000..9af5f6a --- /dev/null +++ b/sys-auth/pam_yubico/pam_yubico-2.2.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +DESCRIPTION="This module allows you to use the Yubikey device to authenticate to the PAM system." +SRC_URI="http://yubico-pam.googlecode.com/files/${P}.tar.gz" +HOMEPAGE="http://code.google.com/p/yubico-pam/" +KEYWORDS="x86 amd64" +SLOT="0" +LICENSE="|| ( BSD GPL-2 )" +IUSE="" + +DEPEND="sys-auth/pambase + sys-libs/pam + sys-libs/ykclient" + +RDEPEND="${DEPEND}" + +RESTRICT="mirror" + + +src_compile() { + econf \ + --exec-prefix=/ || "econf failed" + emake || die "emake failed" +} + +src_install() { + emake install DESTDIR="${D}" || die "Install failed" + dodoc ChangeLog NEWS README +} diff --git a/sys-libs/ykclient/Manifest b/sys-libs/ykclient/Manifest new file mode 100644 index 0000000..489d10b --- /dev/null +++ b/sys-libs/ykclient/Manifest @@ -0,0 +1,2 @@ +DIST ykclient-2.3.tar.gz 308790 RMD160 9e1d5702982adbbf574977fad10412a11f83b693 SHA1 214816c242a9cf4ab2aae12ded843ebc3aa7d9e3 SHA256 aa652ed6e7baaeb292e8f55247a5772dddf85d7155805069d72b2a0af8b8c5ec +EBUILD ykclient-2.3.ebuild 642 RMD160 5f4fa5938941cbe79a25be6997bcbdfc80f4ebb0 SHA1 bda959f6e5d7bb917afe059e7a83d7c5b8c8cfe0 SHA256 1aafcb1d986e408370ec13aba11aeb14cbc37c42935cd432cc7f9fca5ba99a41 diff --git a/sys-libs/ykclient/ykclient-2.3.ebuild b/sys-libs/ykclient/ykclient-2.3.ebuild new file mode 100644 index 0000000..dbf96d7 --- /dev/null +++ b/sys-libs/ykclient/ykclient-2.3.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +DESCRIPTION="This project implements online validation of Yubikey OTPs, written +in C as a shared library." +HOMEPAGE="http://code.google.com/p/yubico-c-client/" +SRC_URI="http://yubico-c-client.googlecode.com/files/${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" + +DEPEND="net-misc/curl" +RDEPEND="${DEPEND}" + +RESTRICT="mirror" + +src_unpack() { + unpack ${A} + cd "${S}" + eautoreconf +} + + +src_install() { + emake DESTDIR="${D}" install || die "Install failed" + dodoc AUTHORS ChangeLog NEWS README || die +} + +