|
|
# Distributed under the terms of the GNU General Public License v2 | # Distributed under the terms of the GNU General Public License v2 |
# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_pwdfile/pam_pwdfile-0.99.ebuild,v 1.4 2006/10/15 14:25:51 tcort Exp $ | # $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_pwdfile/pam_pwdfile-0.99.ebuild,v 1.4 2006/10/15 14:25:51 tcort Exp $ |
| |
inherit flag-o-matic |
inherit flag-o-matic pam |
| |
DESCRIPTION="PAM module for authenticating against passwd-like files." | DESCRIPTION="PAM module for authenticating against passwd-like files." |
HOMEPAGE="http://cpbotha.net/pam_pwdfile.html" | HOMEPAGE="http://cpbotha.net/pam_pwdfile.html" |
|
|
# the upstream makefile does CFLAGS in a horrible way | # the upstream makefile does CFLAGS in a horrible way |
# that '-c' is 100% required here | # that '-c' is 100% required here |
append-flags -fPIC -Wall -Wformat-security -D_BSD_SOURCE -c | append-flags -fPIC -Wall -Wformat-security -D_BSD_SOURCE -c |
emake -f contrib/Makefile.standalone CFLAGS="${CFLAGS}" |
emake -f contrib/Makefile.standalone CFLAGS="${CFLAGS}" || die "emake failed" |
} | } |
| |
src_install() { | src_install() { |
exeinto /lib/security |
dopammod ${PN}.so |
doexe ${PN}.so |
|
dodoc INSTALL README changelog contrib/warwick_duncan-cyrus_without_system_accounts.txt | dodoc INSTALL README changelog contrib/warwick_duncan-cyrus_without_system_accounts.txt |
} | } |