aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpetef <petef@FreeBSD.org>2002-03-29 15:29:30 +0800
committerpetef <petef@FreeBSD.org>2002-03-29 15:29:30 +0800
commit69f7cdabfef5988937887d114db577e12e3039f1 (patch)
treec3e3c90f0bf3352856a0d2f84cb418494c1ac782
parent218188767027b7fa7a517390a13b19bc47b897ac (diff)
downloadfreebsd-ports-gnome-69f7cdabfef5988937887d114db577e12e3039f1.tar.gz
freebsd-ports-gnome-69f7cdabfef5988937887d114db577e12e3039f1.tar.zst
freebsd-ports-gnome-69f7cdabfef5988937887d114db577e12e3039f1.zip
Re-enable pam and add a patch to allow this to build with OpenPAM.
Submitted by: des
-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);