summaryrefslogtreecommitdiff
path: root/ftp/bftpd
diff options
context:
space:
mode:
authorPete Fritchman <petef@FreeBSD.org>2002-03-29 07:29:30 +0000
committerPete Fritchman <petef@FreeBSD.org>2002-03-29 07:29:30 +0000
commitfc66834201ac5b6646d6d142b7df091acae650ca (patch)
treede7aeaeb1584f463d50749881682c1aae29f33cc /ftp/bftpd
parentMultiple IP trying works not only when connection resused but also (diff)
Re-enable pam and add a patch to allow this to build with OpenPAM.
Submitted by: des
Notes
Notes: svn path=/head/; revision=56838
Diffstat (limited to 'ftp/bftpd')
-rw-r--r--ftp/bftpd/Makefile2
-rw-r--r--ftp/bftpd/files/patch-login.c12
2 files changed, 13 insertions, 1 deletions
diff --git a/ftp/bftpd/Makefile b/ftp/bftpd/Makefile
index db35c03d28bd..5346fde047c1 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 000000000000..2d2a3bb5bb64
--- /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);