1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
8 DESCRIPTION="PAM module for authenticating against an SMB (such as the Win_x families) server"
9 HOMEPAGE="http://www.csn.ul.ie/~airlied/pam_smb/"
11 mirror://samba/pam_smb/v2/${MY_P}.tar.gz
12 http://www.csn.ul.ie/~airlied/pam_smb/v2/${MY_P}.tar.gz"
19 DEPEND=">=sys-libs/pam-0.75"
27 epatch "${FILESDIR}/10-pam_smb-bash-3.1.patch"
31 econf --disable-root-only
32 emake || die "emake failed"
36 dopammod pamsmbm/pam_smb_auth.so
37 dosbin pamsmbd/pamsmbd
39 dodoc BUGS CHANGES README TODO faq/{pam_smb_faq.sgml,additions.txt}
43 newinitd "${FILESDIR}/pamsmbd-init pamsmbd"
48 elog "You must create /etc/pam_smb.conf yourself, containing"
49 elog "your domainname, PDC and BDC. See example files in docdir."