summaryrefslogtreecommitdiff
path: root/net/pure-ftpd
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2010-02-04 12:34:08 +0000
committerobache <obache@pkgsrc.org>2010-02-04 12:34:08 +0000
commit65eda0a04c105dcaa9ce4cdf150e9cbb8c85e855 (patch)
treec9ec3b7d987bcd93bcb1823d614b522289ee174d /net/pure-ftpd
parent8d0773242b02da4ef7f8a85786d981558786971a (diff)
downloadpkgsrc-65eda0a04c105dcaa9ce4cdf150e9cbb8c85e855.tar.gz
Update pure-ftpd to 1.0.27.
Based on PR#42711 by Fredrik Pettai. Pkgsrc changes: Honor VARBASE. * Version 1.0.27: - IPv6 connections are accepted again (regression from version 1.0.26) - SSLv3 renegociation has been disabled - .pureftpd-upload-* files can be deleted by users with no quota. - The server can be forced to shut down on iPhone. * Version 1.0.26: - Fix incompatibilities with Cyberduck and dramatically speed up directory listings and transfers when TLS is enabled with some other clients like LFTP. - Allow authentication of non-chrooted users again. It was a regression from version 1.0.25. Spotted by Juergen Daubert. * Version 1.0.25: - The FTP server can now be built as a library for iPhone and iPod Touch. - Display symbolic links in the MSLD command as symbolic links, unless the broken clients mode is enabled, just like STAT/LIST/NLST. - Enhanced compatibility with gcc 2.x and with custom installation paths. - Fix packaging issues, especially when the server isn't installed in the default paths - Downloads now require less CPU and less memory. - Fix an infinite loop that could lead to a client process burning a CPU core if the client didn't disconnect properly. Reported by Thomas Min and Margus Kaidja. - Handle fake download resumes the traditional way for the sake of being compatible with weird clients that insist on doing that. - The group name is now always displayed instead of the gid when it matches the primary user group. * Version 1.0.24: - When using LDAP in BIND mode, empty passwords are refused. Reported by Henning Brauer. * Version 1.0.23: - The LDAP schema has been fixed. - LDAP authentication through binding is now possible in addition to passwords. This allows for the FTP server to run with an unprivileged LDAP account. - In LDAP objects, the "enabled" value is accepted again as a FTPStatus property. - Privilege separation is now enabled by default. - The server should now properly compile on Solaris with privsep. - Charset conversions are properly made on directory names. - Transfers now handle every kind of disconnection. - More informative log messages for errors and activity reporting. - Virtual quotas are way more reliable and uploads are interrupted as soon as quotas are exceeded. - Atomic uploads are only used when necessary and only if --notruncate is enabled. - Dangling .pureftpd-upload files should be a thing of past. - Enhanced conformance with RFCs and better compatibility with FTP clients. - Improved SSL performance, compatibility and commands support. - By default, up to 10000 files per directory can be listed instead of 2000. - ALLO can now tell clients whether an upload would blow quotas before the upload actually starts. - PAM is now enabled by default on OSX. - Switch euid to the _pure-ftpd account (unless it's nonexistent) in the privsep process. - --without-banner is not necessary any more. Having a cookie file (--fortunefile=...) automatically disables the default banner, thus allowing full customization of the welcome banner. - ./configure --localstatedir is now honored in order to change the run-time directory. - Support for building a FTPS (implicit SSL/TLS) server, using --with-implicittls * Version 1.0.22: - the LDAP authentication backend now supports TLS encryption. - TLS encryption is supported on data channels. - downloads require way less CPU time on platforms with slow mmap() calls. - MySQL 5+ stored procedures can now be used in the authentication process. - time zones issues should be fixed for good. - on-demand directories can now be created with any set of permissions. - password scrambling of MySQL 5+ is now supported. - a catalan translation has been contributed. - spurious disconnections due to some clients keepalive tricks have been fixed. - custom authentication handlers are now informed about the encryption status of the session. - standard-conformance and compatibility with several clients have improved. - large files are now supported by default. - enhanced support for Solaris. - a bunch of bug fixes, optimizations and compatibility with newer libraries and operating system versions. - "ftp" and "anonymous" user names can have passwords if the -E switch (no anonymous logins) is specified. - in compatibility mode, non-dangling symbolic links are now displayed as if they were regular files/directories. - --with-everything now includes privsep.
Diffstat (limited to 'net/pure-ftpd')
-rw-r--r--net/pure-ftpd/Makefile13
-rw-r--r--net/pure-ftpd/distinfo8
-rw-r--r--net/pure-ftpd/files/pure_ftpd.sh4
3 files changed, 14 insertions, 11 deletions
diff --git a/net/pure-ftpd/Makefile b/net/pure-ftpd/Makefile
index 0e2b03a231b..545bc9f11e6 100644
--- a/net/pure-ftpd/Makefile
+++ b/net/pure-ftpd/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.22 2008/06/12 02:14:41 joerg Exp $
+# $NetBSD: Makefile,v 1.23 2010/02/04 12:34:08 obache Exp $
-DISTNAME= pure-ftpd-1.0.21
+DISTNAME= pure-ftpd-1.0.27
CATEGORIES= net
MASTER_SITES= ftp://ftp.pureftpd.org/pub/pure-ftpd/releases/
MASTER_SITES+= http://download.pureftpd.org/pub/pure-ftpd/releases/
@@ -21,12 +21,15 @@ PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-everything
-CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
+CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
+CONFIGURE_ARGS+= --localstatedir=${VARBASE}
+
+BUILD_DEFS+= VARBASE
.include "../../mk/bsd.prefs.mk"
-.if ${OPSYS} != "Interix"
-CONFIGURE_ARGS+= --with-privsep
+.if ${OPSYS} == "Interix"
+CONFIGURE_ARGS+= --without-privsep
.endif
.include "options.mk"
diff --git a/net/pure-ftpd/distinfo b/net/pure-ftpd/distinfo
index c5e43c6308b..33033909999 100644
--- a/net/pure-ftpd/distinfo
+++ b/net/pure-ftpd/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.8 2006/02/24 14:35:30 ghen Exp $
+$NetBSD: distinfo,v 1.9 2010/02/04 12:34:08 obache Exp $
-SHA1 (pure-ftpd-1.0.21.tar.gz) = 0374031beb847d6a9aa61627c3db26cb81a28e92
-RMD160 (pure-ftpd-1.0.21.tar.gz) = 5f5a86f118cf34dc52650cebc38e50130ab0c7cf
-Size (pure-ftpd-1.0.21.tar.gz) = 594394 bytes
+SHA1 (pure-ftpd-1.0.27.tar.gz) = abd547ff4753e3e921e309175a786069393a8911
+RMD160 (pure-ftpd-1.0.27.tar.gz) = 1ac601910ba6b92ff7671259d4a6216cb4ba391b
+Size (pure-ftpd-1.0.27.tar.gz) = 568556 bytes
diff --git a/net/pure-ftpd/files/pure_ftpd.sh b/net/pure-ftpd/files/pure_ftpd.sh
index 7c378228030..3c7a57c9b20 100644
--- a/net/pure-ftpd/files/pure_ftpd.sh
+++ b/net/pure-ftpd/files/pure_ftpd.sh
@@ -1,6 +1,6 @@
#!@RCD_SCRIPTS_SHELL@
#
-# $NetBSD: pure_ftpd.sh,v 1.1.1.1 2003/07/12 14:43:08 salo Exp $
+# $NetBSD: pure_ftpd.sh,v 1.2 2010/02/04 12:34:08 obache Exp $
#
# PROVIDE: pure_ftpd
# REQUIRE: DAEMON
@@ -12,7 +12,7 @@ help_name="pure-ftpd"
rcvar=$name
command="@PREFIX@/sbin/${help_name}"
command_args="-B"
-pidfile="/var/run/${help_name}.pid"
+pidfile="@VARBASE@/run/${help_name}.pid"
load_rc_config $name
run_rc_command "$1"