diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2011-04-22 16:03:01 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2011-04-22 16:03:01 +0000 |
commit | 7341127ea8e783c9fdb4658b75f382f75c12365d (patch) | |
tree | 816c0890f93431d00a3e22b4b4721c392574d70d /sys-auth/pam_usb | |
parent | Prepare for new ssmtp with optional mta support (bug #289973). (diff) | |
download | gentoo-2-7341127ea8e783c9fdb4658b75f382f75c12365d.tar.gz gentoo-2-7341127ea8e783c9fdb4658b75f382f75c12365d.tar.bz2 gentoo-2-7341127ea8e783c9fdb4658b75f382f75c12365d.zip |
Restore pam_usb from Attic because upstream released version based on UDisks instead of HAL. Thanks to Elric Wolfsbruder for contacting me.
(Portage version: 2.2.0_alpha30/cvs/Linux x86_64)
Diffstat (limited to 'sys-auth/pam_usb')
-rw-r--r-- | sys-auth/pam_usb/ChangeLog | 10 | ||||
-rw-r--r-- | sys-auth/pam_usb/metadata.xml | 11 | ||||
-rw-r--r-- | sys-auth/pam_usb/pam_usb-0.5.0.ebuild | 43 |
3 files changed, 64 insertions, 0 deletions
diff --git a/sys-auth/pam_usb/ChangeLog b/sys-auth/pam_usb/ChangeLog new file mode 100644 index 000000000000..1fd24b27ec95 --- /dev/null +++ b/sys-auth/pam_usb/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for sys-auth/pam_usb +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_usb/ChangeLog,v 1.18 2011/04/22 16:03:01 ssuominen Exp $ + +*pam_usb-0.5.0 (22 Apr 2011) + + 22 Apr 2011; Samuli Suominen <ssuominen@gentoo.org> +pam_usb-0.5.0.ebuild: + Restore pam_usb from Attic because upstream released version based on UDisks + instead of HAL. Thanks to Elric Wolfsbruder for contacting me. + diff --git a/sys-auth/pam_usb/metadata.xml b/sys-auth/pam_usb/metadata.xml new file mode 100644 index 000000000000..d7b031618856 --- /dev/null +++ b/sys-auth/pam_usb/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>pam</herd> +<longdescription> +A PAM module that enables authentication using an USB-Storage device (such as an USB Pen) through DSA private/public keys. +</longdescription> +<longdescription lang="ja"> +DSA 秘密/公開鍵による USB ストレージ・デバイス( USB ペン等)を使った認証を可能にする PAM モジュールです。 +</longdescription> +</pkgmetadata> diff --git a/sys-auth/pam_usb/pam_usb-0.5.0.ebuild b/sys-auth/pam_usb/pam_usb-0.5.0.ebuild new file mode 100644 index 000000000000..e6c2c9e325d8 --- /dev/null +++ b/sys-auth/pam_usb/pam_usb-0.5.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_usb/pam_usb-0.5.0.ebuild,v 1.1 2011/04/22 16:03:01 ssuominen Exp $ + +EAPI=4 +inherit pam toolchain-funcs + +DESCRIPTION="A pam module to provide authentication using USB device" +HOMEPAGE="http://pamusb.org/" +SRC_URI="mirror://sourceforge/pamusb/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +# FIXME: Why is pam_usb using pmount when it should be using udisks --mount? +COMMON_DEPEND="dev-libs/libxml2 + sys-apps/dbus + virtual/pam" +RDEPEND="${COMMON_DEPEND} + dev-python/celementtree + dev-python/dbus-python + dev-python/pygobject + sys-apps/pmount + sys-fs/udisks" +DEPEND="${COMMON_DEPEND} + dev-util/pkgconfig" + +src_compile() { + tc-export CC + emake +} + +src_install() { + emake \ + DESTDIR="${D}" \ + DOCS_DEST="${D}/usr/share/doc/${PF}" \ + PAM_USB_DEST="${D}/$(getpam_mod_dir)" \ + install + + dodoc ChangeLog README.md +} |