summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2011-04-22 16:03:01 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2011-04-22 16:03:01 +0000
commitdfd455aab24a859e75525a2b5d1b39cfb8bc01c5 (patch)
tree7e3bfb24f751c634f5c10c6f4f85aa7bac01701f /sys-auth/pam_usb
parentPrepare for new ssmtp with optional mta support (bug #289973). (diff)
downloadhistorical-dfd455aab24a859e75525a2b5d1b39cfb8bc01c5.tar.gz
historical-dfd455aab24a859e75525a2b5d1b39cfb8bc01c5.tar.bz2
historical-dfd455aab24a859e75525a2b5d1b39cfb8bc01c5.zip
Restore pam_usb from Attic because upstream released version based on UDisks instead of HAL. Thanks to Elric Wolfsbruder for contacting me.
Package-Manager: portage-2.2.0_alpha30/cvs/Linux x86_64
Diffstat (limited to 'sys-auth/pam_usb')
-rw-r--r--sys-auth/pam_usb/ChangeLog10
-rw-r--r--sys-auth/pam_usb/Manifest14
-rw-r--r--sys-auth/pam_usb/metadata.xml11
-rw-r--r--sys-auth/pam_usb/pam_usb-0.5.0.ebuild43
4 files changed, 78 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/Manifest b/sys-auth/pam_usb/Manifest
new file mode 100644
index 000000000000..ee816a72742b
--- /dev/null
+++ b/sys-auth/pam_usb/Manifest
@@ -0,0 +1,14 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+DIST pam_usb-0.5.0.tar.gz 35233 RMD160 aab1a55fec9c5c360d7509ccd053d7d4f5ed4111 SHA1 97bf8ae15a0b0c39cfcd4d8a5f531781ad8c80e7 SHA256 011f9970730a9b9fad7a1a8205f4eb63e757282d80d8bc146ad455d492063cbc
+EBUILD pam_usb-0.5.0.ebuild 989 RMD160 8fd8251318e3b93151d0b2777b1b188100630e7e SHA1 b2aab45aa64858c37f72716c45e2ea9affe6f04b SHA256 a8e47452578cc6e66c7c2bea08920d58c433efdc3f28ef776d1ab46881dd372d
+MISC ChangeLog 461 RMD160 e8e12f1257877d24a751ddcdb918a52a5da25602 SHA1 d8e4aa97e773f6cdaa42b64a5f4b0632176b376b SHA256 7d9025ecea46a292624e96c8282407e907b2a72f72ce295a2246ce3c8e7f84d9
+MISC metadata.xml 509 RMD160 89a5209a4df0497e449a1684791c7b8dff1de971 SHA1 ae454e01334714830fee6a90c838b173211cef94 SHA256 4371fb31be6845a400828f9be3d206034e9fb9051e2aed5f7248f30ae0be4637
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.17 (GNU/Linux)
+
+iF4EAREIAAYFAk2xpvYACgkQXkR9YqOcLPFjDwD9HDzKRwqbJ/u2YO9D68Tr4MAu
+RpEHm6/kHBuMkdTtFO4A/0uw1fwxPElFxK/o0dhOJXUPjlxyiTWmNDJ+yLRmCWUA
+=UKAi
+-----END PGP SIGNATURE-----
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
+}