a16bc14e18
* Don't split large commands into multiple commands; just fail on them. This prevents cross-site request forgery (CSRF)-like attacks, when a web browser is used to access an ftp server. * Enhance -C to support an optional @host ('-C user[@host]'): checks whether user as connecting from host would be granted access by ftpusers(5). * Support IPv6 in the host directive of ftpusers(5). * Implement -n to disable hostname lookups. * Disable SOCKS support; I don't have the ability to test it, and the autoconf checks were very out of date. * Add configure --with-pam to enable PAM authentication support. Defaults to checking for PAM. * Add configure --with-skey to enable S/Key authentication support. Incompatible with --with-pam, defaults to no. * Fix pathnames in the installed manual pages to contain the appropriate $(prefix) substitution. * Use fcntl(3) locking instead of flock(3) or lockf(3). * Various other portability improvements.
17 lines
377 B
Makefile
17 lines
377 B
Makefile
# $NetBSD: options.mk,v 1.2 2008/10/09 04:14:29 lukem Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.tnftpd
|
|
PKG_SUPPORTED_OPTIONS= inet6 pam
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
.if !empty(PKG_OPTIONS:Minet6)
|
|
CONFIGURE_ARGS+= --enable-ipv6
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-ipv6
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mpam)
|
|
.include "../../mk/pam.buildlink3.mk"
|
|
CONFIGURE_ARGS+= --with-pam
|
|
.endif
|