summaryrefslogtreecommitdiff
path: root/net/pure-ftpd/options.mk
diff options
context:
space:
mode:
authorghen <ghen@pkgsrc.org>2006-02-24 14:35:30 +0000
committerghen <ghen@pkgsrc.org>2006-02-24 14:35:30 +0000
commit03ad8dcc80c08b47ec19ce7c0899e48bad94fa33 (patch)
tree27900a296fa4316a34c0b78fe59784643e200857 /net/pure-ftpd/options.mk
parent7cb3b4bcc83494cd6985d85c828ffaadc084a1f2 (diff)
downloadpkgsrc-03ad8dcc80c08b47ec19ce7c0899e48bad94fa33.tar.gz
Update pure-ftpd to version 1.0.21 and add an option for (experimental) utf8-
support, from unex@linija.org via PR pkg/32901. Changes: * When SHA1HANDSOFF is defined, we shouldn't cast a pointer to a large union to a char buffer, because of alignment required by some architectures. * WITH_THROTTLING should actually be THROTTLING in src/log_extauth.c . It fixes throttling with extauth. Reported and fixed by Marcus Merighi <mcmer@tor.at> through Brad our beloved OpenBSD maintainer. * Rendezvous has been renamed Bonjour. * A double-close in the CHMOD command has been fixed. * The old PAM sample has been removed. * -F option added to pure-pw. * MAX_USER_LENGTH has been bumped to 127 due to popular demand. * pam/* can now be used if security/* doesn't exist. Fixes PAM detection on MacOS X. * Call tzset() in chrooted apps in order to get correct time zones in syslog messages. * simplify() simplifies paths ending by /. and /.. * MySQL's hash_password() needs 3 arguments since mySQL 4.1. * Experimental support for RFC2640 (UTF-8 filename encoding) has been added, derived from code by Jui-Nan Lin ===> added as "utf8" pkgsrc option. * The LDAP schema has been changed: FTPStatus should be a boolean. * New switch: -p (--pidfile=) for pure-authd and pure-uploadscript, by Old Sparky. * By popular request, even non-chrooted users are now denied access if their home directory is not mounted. * If die() is called during a TLS-enabled session, encrypt the death message. Contributed by Cynix. * Don't wrongly abort transfer during file upload. Fix by Patrick Gosling. * WITH_LARGE_FILES is now defined by default. * sendfile64() support on Linux. * privsep and main processes were swapped out so that pure-ftpwho displays the right pid. * OPTS MLST has been implemented. * SITE UTIME has been implemented. * TCP_CORK is on by default again. A new configure switch, --without-cork, can disable it. * Correctly format %c and %% in fakesprintf(). * The connection socket is now created with the Nagle algorithm disabled. It was the trick to dramatically improve performance when transfering a lot of small files. * Updated getopt_long() and realpath() substitutes. * Allow logging to named pipes (thanks to Steve Marple). * Use CLIENT_MULTI_STATEMENTS while connecting to a MySQL server. * Documentation updates. * MySQL errors are now logged.
Diffstat (limited to 'net/pure-ftpd/options.mk')
-rw-r--r--net/pure-ftpd/options.mk10
1 files changed, 8 insertions, 2 deletions
diff --git a/net/pure-ftpd/options.mk b/net/pure-ftpd/options.mk
index df97f6de279..d6b7e7a32c6 100644
--- a/net/pure-ftpd/options.mk
+++ b/net/pure-ftpd/options.mk
@@ -1,7 +1,7 @@
-# $NetBSD: options.mk,v 1.4 2006/02/24 09:15:38 ghen Exp $
+# $NetBSD: options.mk,v 1.5 2006/02/24 14:35:30 ghen Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.pureftpd
-PKG_SUPPORTED_OPTIONS= ldap mysql pgsql ssl virtualchroot
+PKG_SUPPORTED_OPTIONS= ldap mysql pgsql ssl virtualchroot utf8
PKG_OPTIONS_LEGACY_VARS+= PURE_FTPD_USE_MYSQL:mysql
PKG_OPTIONS_LEGACY_VARS+= PURE_FTPD_USE_PGSQL:pgsql
@@ -33,3 +33,9 @@ CONFIGURE_ARGS+= --with-tls
.if !empty(PKG_OPTIONS:Mvirtualchroot)
CONFIGURE_ARGS+= --with-virtualchroot
.endif
+
+.if !empty(PKG_OPTIONS:Mutf8)
+# Experimental
+. include "../../converters/libiconv/buildlink3.mk"
+CONFIGURE_ARGS+= --with-rfc2640
+.endif