diff options
author | sumikawa <sumikawa@FreeBSD.org> | 2006-06-07 14:31:12 +0800 |
---|---|---|
committer | sumikawa <sumikawa@FreeBSD.org> | 2006-06-07 14:31:12 +0800 |
commit | 2e500adecad6884027f11bfbd2d8eefccf5f294d (patch) | |
tree | 00e4136a7ce369b5108c9da9ea51ad115ad8eeb6 | |
parent | 21e0847407d6b581116d9a296965307d32edb166 (diff) | |
download | freebsd-ports-gnome-2e500adecad6884027f11bfbd2d8eefccf5f294d.tar.gz freebsd-ports-gnome-2e500adecad6884027f11bfbd2d8eefccf5f294d.tar.zst freebsd-ports-gnome-2e500adecad6884027f11bfbd2d8eefccf5f294d.zip |
Supports pam.
PR: ports/97774
Submitted by: Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
-rw-r--r-- | ftp/wu-ftpd+ipv6/Makefile | 11 | ||||
-rw-r--r-- | ftp/wu-ftpd+ipv6/files/ftpd.c-pam | 10 |
2 files changed, 19 insertions, 2 deletions
diff --git a/ftp/wu-ftpd+ipv6/Makefile b/ftp/wu-ftpd+ipv6/Makefile index f9865ea1dc28..56287f652554 100644 --- a/ftp/wu-ftpd+ipv6/Makefile +++ b/ftp/wu-ftpd+ipv6/Makefile @@ -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 diff --git a/ftp/wu-ftpd+ipv6/files/ftpd.c-pam b/ftp/wu-ftpd+ipv6/files/ftpd.c-pam new file mode 100644 index 000000000000..70623d3b8134 --- /dev/null +++ b/ftp/wu-ftpd+ipv6/files/ftpd.c-pam @@ -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 + */ |