pam_blue, imported from gentoo-sunrise
authorAli Polatel <hawking@gentoo.org>
Sun, 2 Mar 2008 15:09:21 +0000 (15:09 +0000)
committerAli Polatel <hawking@gentoo.org>
Sun, 2 Mar 2008 15:09:21 +0000 (15:09 +0000)
Package-Manager: portage-2.1.4.4

sys-auth/pam_blue/ChangeLog [new file with mode: 0644]
sys-auth/pam_blue/Manifest [new file with mode: 0644]
sys-auth/pam_blue/metadata.xml [new file with mode: 0644]
sys-auth/pam_blue/pam_blue-0.9.0.ebuild [new file with mode: 0644]

diff --git a/sys-auth/pam_blue/ChangeLog b/sys-auth/pam_blue/ChangeLog
new file mode 100644 (file)
index 0000000..be55d35
--- /dev/null
@@ -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 (file)
index 0000000..8a0e12f
--- /dev/null
@@ -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 1199 RMD160 d01f82487f12251f2b26b9b45835fd68e5e48403 SHA1 30b4b146087939b36cd65b5e62591c367a4f25ae SHA256 f9b0651a5f5a48fed8500d696a8cb6493b27d38d157227142c8a049af2091d13
+MISC ChangeLog 575 RMD160 f1024595f9d45889f48ae8cb0334373579647258 SHA1 e2b68a280afab2ecf3d896c31e95e53a4dd4d707 SHA256 0f4c706a33dc20bfe0cb62f04af84a8354805c3783dd500e5573d13e0da03090
+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 (file)
index 0000000..c4b3d61
--- /dev/null
@@ -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 (file)
index 0000000..35fb87b
--- /dev/null
@@ -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."
+}