Re-enable pam and add a patch to allow this to build with OpenPAM.

Submitted by:	des
This commit is contained in:
Pete Fritchman 2002-03-29 07:29:30 +00:00
parent c6f11a5552
commit fc66834201
2 changed files with 13 additions and 1 deletions

View File

@ -13,7 +13,7 @@ MASTER_SITES= http://bftpd.sourceforge.net/downloads/src/
MAINTAINER= petef@FreeBSD.org
GNU_CONFIGURE= yes
#CONFIGURE_ARGS+= --enable-pam
CONFIGURE_ARGS+= --enable-pam
USE_GMAKE= yes
MAN8= bftpd.8

View File

@ -0,0 +1,12 @@
$FreeBSD$
--- login.c.orig Thu Mar 28 10:10:15 2002
+++ login.c Thu Mar 28 10:10:22 2002
@@ -323,7 +323,6 @@
pam_strerror(pamh, retval));
return 1;
}
- pam_fail_delay(pamh, 0);
retval = pam_authenticate(pamh, 0);
if (retval == PAM_SUCCESS)
retval = pam_acct_mgmt(pamh, 0);