summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2007-10-21 21:44:25 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2007-10-21 21:44:25 +0000
commitb126d18af39c37775a3b5543085a44b102310093 (patch)
treeaf57b83f4e99b7bc30d7287d9fa5f8b269316bac /sys-auth/pam_usb/pam_usb-0.4.2.ebuild
parentRemoved useless ebuild after stabilization due to bug #195565. (diff)
downloadhistorical-b126d18af39c37775a3b5543085a44b102310093.tar.gz
historical-b126d18af39c37775a3b5543085a44b102310093.tar.bz2
historical-b126d18af39c37775a3b5543085a44b102310093.zip
Version bump.
Package-Manager: portage-2.1.3.12
Diffstat (limited to 'sys-auth/pam_usb/pam_usb-0.4.2.ebuild')
-rw-r--r--sys-auth/pam_usb/pam_usb-0.4.2.ebuild45
1 files changed, 45 insertions, 0 deletions
diff --git a/sys-auth/pam_usb/pam_usb-0.4.2.ebuild b/sys-auth/pam_usb/pam_usb-0.4.2.ebuild
new file mode 100644
index 000000000000..8efd91968624
--- /dev/null
+++ b/sys-auth/pam_usb/pam_usb-0.4.2.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2007 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.4.2.ebuild,v 1.1 2007/10/21 21:44:24 betelgeuse Exp $
+
+inherit eutils pam
+
+DESCRIPTION="pam_usb provides hardware authentication for Linux using ordinary USB Flash Drives."
+SRC_URI="mirror://sourceforge/pamusb/${P}.tar.gz"
+HOMEPAGE="http://www.pamusb.org/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64 ~ppc"
+
+RDEPEND="
+ dev-libs/libxml2
+ >=sys-libs/pam-0.78-r3
+ >=sys-apps/dbus-0.62-r2
+ >=sys-apps/hal-0.5.7.1-r3
+ >=sys-apps/pmount-0.9.13
+ >=dev-python/celementtree-1.0.2
+ >=dev-python/dbus-python-0.71
+ >=dev-python/pygobject-2.12.3"
+
+DEPEND="
+ ${RDEPEND}
+ dev-util/pkgconfig"
+
+src_install() {
+ dodir $(getpam_mod_dir) /usr/bin
+
+ einstall DESTDIR="${D}" PAM_MODULES="${D}/$(getpam_mod_dir)" \
+ DOCS_DEST="${D}usr/share/doc/${PF}/" || die "einstall failed"
+ dodoc ChangeLog || die
+}
+
+pkg_postinst() {
+ elog "There are major between 0.3* and 0.4*. Here are the steps from"
+ elog "/usr/share/doc/${PF}/UPGRADING that apply on Gentoo:"
+ elog "1. Remove .auth directories from home directories"
+ elog "2. rm -rf /etc/pam_usb (now as /etc/pamusb.conf)"
+ elog "3. now you can use pamusb.conf to disable pamusb for individual"
+ elog " services so check how you want to implement your pam config."
+ elog " (/usr/share/doc/${PF}/CONFIGURATION)"
+}