Supports pam.
PR: ports/97774 Submitted by: Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
This commit is contained in:
parent
d9d34b8088
commit
9221db7368
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=164674
@ -9,7 +9,7 @@
|
||||
|
||||
PORTNAME= wu-ftpd+ipv6
|
||||
PORTVERSION= 2.6.2
|
||||
PORTREVISION= 7
|
||||
PORTREVISION= 8
|
||||
CATEGORIES= ftp ipv6
|
||||
MASTER_SITES= ftp://ftp.wu-ftpd.org/pub/wu-ftpd/
|
||||
DISTNAME= wu-ftpd-${PORTVERSION}
|
||||
@ -24,11 +24,18 @@ COMMENT= A replacement ftp server for Un*x systems
|
||||
CONFLICTS= wu-ftpd-[0-9]* heimdal-[0-9]*
|
||||
|
||||
USE_AUTOTOOLS= autoconf:213
|
||||
CONFIGURE_ARGS= --enable-rfc931 --disable-pasvip --enable-opie \
|
||||
CONFIGURE_ARGS= --enable-rfc931 --disable-pasvip \
|
||||
--enable-noop --disable-numericuid --enable-nlst-dirs \
|
||||
--enable-ipv6 \
|
||||
--prefix=${PREFIX} --with-etc-dir=${PREFIX}/etc
|
||||
|
||||
.if !defined(WITH_PAM)
|
||||
CONFIGURE_ARGS+= --enable-opie
|
||||
.else
|
||||
CONFIGURE_ARGS+= --enable-pam
|
||||
EXTRA_PATCHES+= ${FILESDIR}/ftpd.c-pam
|
||||
.endif
|
||||
|
||||
MAKE_ENV+= WARNINGS=-DSPT_TYPE=SPT_BUILTIN
|
||||
|
||||
MAN1= ftpcount.1 ftpwho.1
|
||||
|
10
ftp/wu-ftpd+ipv6/files/ftpd.c-pam
Normal file
10
ftp/wu-ftpd+ipv6/files/ftpd.c-pam
Normal file
@ -0,0 +1,10 @@
|
||||
--- src/ftpd.c.orig Fri Nov 30 01:56:11 2001
|
||||
+++ src/ftpd.c Wed May 24 16:21:21 2006
|
||||
@@ -7633,6 +7633,7 @@
|
||||
*/
|
||||
|
||||
#include <security/pam_appl.h>
|
||||
+#define PAM_ESTABLISH_CRED 0x1
|
||||
/* Static variables used to communicate between the conversation function
|
||||
* and the server_login function
|
||||
*/
|
Loading…
Reference in New Issue
Block a user