summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAli Polatel <hawking@gentoo.org>2008-03-02 15:09:21 +0000
committerAli Polatel <hawking@gentoo.org>2008-03-02 15:09:21 +0000
commit7a6b3c509a52761bb6db880acda815626d111c9d (patch)
tree534ac8d9966f6c7ccc9ca3ee8ca280066f33c4c0 /sys-auth
parentia64 stable wrt #194810 (diff)
downloadgentoo-2-7a6b3c509a52761bb6db880acda815626d111c9d.tar.gz
gentoo-2-7a6b3c509a52761bb6db880acda815626d111c9d.tar.bz2
gentoo-2-7a6b3c509a52761bb6db880acda815626d111c9d.zip
pam_blue, imported from gentoo-sunrise
(Portage version: 2.1.4.4)
Diffstat (limited to 'sys-auth')
-rw-r--r--sys-auth/pam_blue/ChangeLog17
-rw-r--r--sys-auth/pam_blue/Manifest4
-rw-r--r--sys-auth/pam_blue/metadata.xml17
-rw-r--r--sys-auth/pam_blue/pam_blue-0.9.0.ebuild46
4 files changed, 84 insertions, 0 deletions
diff --git a/sys-auth/pam_blue/ChangeLog b/sys-auth/pam_blue/ChangeLog
new file mode 100644
index 000000000000..be55d3563bc2
--- /dev/null
+++ b/sys-auth/pam_blue/ChangeLog
@@ -0,0 +1,17 @@
+# ChangeLog for sys-auth/pam_blue
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_blue/ChangeLog,v 1.1 2008/03/02 15:09:21 hawking Exp $
+
+*pam_blue-0.9.0 (02 Mar 2008)
+
+ 02 Mar 2008; Ali Polatel <hawking@gentoo.org> +metadata.xml,
+ +pam_blue-0.9.0.ebuild:
+ Imported from sunrise.
+
+ 11 Jul 2007; Jakub Moc <jakub@gentoo.org> pam_blue-0.9.0.ebuild:
+ Use pam.eclass for libdir
+
+ 25 May 2007; Jakub Moc <jakub@gentoo.org> +pam_blue-0.9.0.ebuild,
+ +metadata.xml:
+ New ebuild for KingTaco. Bug 180325.
+
diff --git a/sys-auth/pam_blue/Manifest b/sys-auth/pam_blue/Manifest
new file mode 100644
index 000000000000..6e6545af87bc
--- /dev/null
+++ b/sys-auth/pam_blue/Manifest
@@ -0,0 +1,4 @@
+DIST pam_blue-0.9.0.tar.bz2 251688 RMD160 8bb1085ee9e9402598227641e5a4338b4790a050 SHA1 e06b27b306b4a4b0c4ef02e208d4bf3349c79f85 SHA256 4ff0f6528d29ae77cf890defcbaf16ee2065dc85fe8edd2e6e53d48e7f27b535
+EBUILD pam_blue-0.9.0.ebuild 1097 RMD160 6ae578bc23d664e858a06f471a0dc21a93a85bae SHA1 ab2d901e3de55ef5be4fe28190a7396cf8fa648e SHA256 b55553bdefd44f651dc4b0cedf40793b74f78b3d4459b8ca4d61295ff49f0ce6
+MISC ChangeLog 485 RMD160 23e7f00bda40af9718b157cadccc938d2c231230 SHA1 aa703e4fef31059f261fad91f40a0d9464f8b050 SHA256 90107ecb57e1afadd6b4a2866d61f6c8e543bd7d56659dec98d57e57119295ed
+MISC metadata.xml 702 RMD160 f52b5dc07153e973a6ea09eeb76901d27482b8ae SHA1 3b43073191347a515965b43644b1ad2f485d1ec8 SHA256 797d8bc1e3207a2b51b5ade0504fe444af2f340bb64a6197eed05fd2d0b45c84
diff --git a/sys-auth/pam_blue/metadata.xml b/sys-auth/pam_blue/metadata.xml
new file mode 100644
index 000000000000..c4b3d617ddaa
--- /dev/null
+++ b/sys-auth/pam_blue/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>pam</herd>
+ <maintainer>
+ <email>hawking@gentoo.org</email>
+ <name>Ali Polatel</name>
+ </maintainer>
+ <longdescription lang="en">
+ Bluepam is an extension for the common pam modules, give the user the
+ ability for authenticaten via a bluetooth compatible device like a cell
+ phone or various other bluetooth dongles (e.g. epox-presenter). Due to the
+ fact that a whole part of the bluetooth stack is implemented in hardware it
+ is relatively difficult to change the bluetoth hardware mac address which
+ makes this module more secure.
+ </longdescription>
+</pkgmetadata>
diff --git a/sys-auth/pam_blue/pam_blue-0.9.0.ebuild b/sys-auth/pam_blue/pam_blue-0.9.0.ebuild
new file mode 100644
index 000000000000..35fb87b6f857
--- /dev/null
+++ b/sys-auth/pam_blue/pam_blue-0.9.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_blue/pam_blue-0.9.0.ebuild,v 1.1 2008/03/02 15:09:21 hawking Exp $
+
+inherit pam autotools multilib
+
+DESCRIPTION="Linux PAM module providing ability to authenticate via a bluetooth compatible device"
+HOMEPAGE="http://pam.0xdef.net/"
+SRC_URI="http://pam.0xdef.net/source/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND="virtual/pam
+ net-wireless/bluez-libs"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${PN}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ eautoreconf
+}
+
+src_compile() {
+ econf --libdir="$(getpam_mod_dir)"
+ emake || die "emake failed"
+}
+
+src_install() {
+ # manual install to avoid sandbox violation and installing useless .la file
+ dopammod src/.libs/pam_blue.so
+ newpamsecurity . data/sample.conf bluesscan.conf.sample
+
+ dodoc AUTHORS NEWS README ChangeLog
+ doman doc/${PN}.7
+}
+
+pkg_postinst() {
+ elog "For configuration info, see /etc/security/bluesscan.conf.sample"
+ elog "http://pam.0xdef.net/doc.html and http://pam.0xdef.net/faq.html"
+ elog "Edit the file as required and copy/rename to bluesscan.conf when done."
+}