Re-enable pam and add a patch to allow this to build with OpenPAM.
Submitted by: des
This commit is contained in:
parent
c6f11a5552
commit
fc66834201
@ -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
|
||||
|
||||
12
ftp/bftpd/files/patch-login.c
Normal file
12
ftp/bftpd/files/patch-login.c
Normal 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);
|
||||
Loading…
x
Reference in New Issue
Block a user