From 69f7cdabfef5988937887d114db577e12e3039f1 Mon Sep 17 00:00:00 2001 From: petef Date: Fri, 29 Mar 2002 07:29:30 +0000 Subject: Re-enable pam and add a patch to allow this to build with OpenPAM. Submitted by: des --- ftp/bftpd/Makefile | 2 +- ftp/bftpd/files/patch-login.c | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 ftp/bftpd/files/patch-login.c (limited to 'ftp') diff --git a/ftp/bftpd/Makefile b/ftp/bftpd/Makefile index db35c03..5346fde 100644 --- a/ftp/bftpd/Makefile +++ b/ftp/bftpd/Makefile @@ -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 diff --git a/ftp/bftpd/files/patch-login.c b/ftp/bftpd/files/patch-login.c new file mode 100644 index 0000000..2d2a3bb --- /dev/null +++ b/ftp/bftpd/files/patch-login.c @@ -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); -- cgit v1.1