From cd0afc7b050c0007d09fcab16a9e3967a21f7cc4 Mon Sep 17 00:00:00 2001 From: Ali Polatel Date: Sun, 2 Mar 2008 15:09:21 +0000 Subject: [PATCH] pam_blue, imported from gentoo-sunrise Package-Manager: portage-2.1.4.4 --- sys-auth/pam_blue/ChangeLog | 17 +++++++++ sys-auth/pam_blue/Manifest | 4 +++ sys-auth/pam_blue/metadata.xml | 17 +++++++++ sys-auth/pam_blue/pam_blue-0.9.0.ebuild | 46 +++++++++++++++++++++++++ 4 files changed, 84 insertions(+) create mode 100644 sys-auth/pam_blue/ChangeLog create mode 100644 sys-auth/pam_blue/Manifest create mode 100644 sys-auth/pam_blue/metadata.xml create mode 100644 sys-auth/pam_blue/pam_blue-0.9.0.ebuild 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 +metadata.xml, + +pam_blue-0.9.0.ebuild: + Imported from sunrise. + + 11 Jul 2007; Jakub Moc pam_blue-0.9.0.ebuild: + Use pam.eclass for libdir + + 25 May 2007; Jakub Moc +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..8a0e12fa2f95 --- /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 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 index 000000000000..c4b3d617ddaa --- /dev/null +++ b/sys-auth/pam_blue/metadata.xml @@ -0,0 +1,17 @@ + + + + pam + + hawking@gentoo.org + Ali Polatel + + + 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. + + 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." +} -- 2.26.2