/[gentoo-x86]/sys-auth/pam_blue/pam_blue-0.9.0-r1.ebuild
Gentoo

Contents of /sys-auth/pam_blue/pam_blue-0.9.0-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Wed Jul 8 06:45:46 2015 UTC (4 years, 6 months ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Fix by Leho Kraav for username locale matching issues #412941.

(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key D2E96200)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_blue/pam_blue-0.9.0.ebuild,v 1.6 2010/06/11 11:06:48 ssuominen Exp $
4
5 EAPI="5"
6
7 inherit pam autotools multilib
8
9 DESCRIPTION="Linux PAM module providing ability to authenticate via a bluetooth compatible device"
10 HOMEPAGE="http://pam.0xdef.net/"
11 SRC_URI="http://pam.0xdef.net/source/${P}.tar.bz2"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="~amd64 ~x86"
16 IUSE=""
17
18 DEPEND="virtual/pam
19 net-wireless/bluez"
20 RDEPEND="${DEPEND}"
21
22 S=${WORKDIR}/${PN}
23
24 src_prepare() {
25 epatch "${FILESDIR}"/${P}-char-locales.patch #412941
26 epatch "${FILESDIR}"/${P}-bad-log.patch
27 mv configure.{in,ac} || die
28 eautoreconf
29 }
30
31 src_configure() {
32 econf --libdir="$(getpam_mod_dir)"
33 }
34
35 src_install() {
36 # manual install to avoid sandbox violation and installing useless .la file
37 dopammod src/.libs/pam_blue.so
38 newpamsecurity . data/sample.conf bluesscan.conf.sample
39
40 dodoc AUTHORS NEWS README ChangeLog
41 doman doc/${PN}.7
42 }
43
44 pkg_postinst() {
45 elog "For configuration info, see /etc/security/bluesscan.conf.sample"
46 elog "http://pam.0xdef.net/doc.html and http://pam.0xdef.net/faq.html"
47 elog "Edit the file as required and copy/rename to bluesscan.conf when done."
48 }

  ViewVC Help
Powered by ViewVC 1.1.20