Subject: pkg/20610: Updated package net/pureftpd
To: None <>
From: None <>
List: netbsd-bugs
Date: 03/07/2003 13:41:51
>Number:         20610
>Category:       pkg
>Synopsis:       Updated package net/pureftpd
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Mar 07 04:42:01 PST 2003
>Originator:     Juan RP
>Release:        NetBSD 1.6P
System: NetBSD redemption 1.6P NetBSD 1.6P ($xtrakernel-2003-03-04$) #0: Tue Mar 4 16:35:16 CET 2003 i386
Architecture: i386
Machine: i386

Update pureftpd to the latest version ( 1.0.14 ) and add a few options to it.


* Version 1.0.14:
    Use random() if available, not rand() for fortune cookies.
    Remove broken lseek(fd, -1, 0).
    When writing to clients data sockets fails, the client probably
hung up. IE, for instance, doesn't seem to properly abort transfers
and say "QUIT" when a transfer is canceled by the user. So, log
    Check whether we are inside a Virtuozzo virtual environment, and
disable sendfile() if this is the case. Thanks to Kittiwat Manosuthi
for his help on this issue.
    Automake has been upgraded to version 1.7, autoconf to version 2.57.
    Introduce privsep.h, privsep_p.h, privsep.c and --with-privsep.
    Drop capabilities after the call to nice() because we need
    Don't waste time with in dopasv() to get the name of the socket we
just created.
    Add "ptracetest".
    Enable __EXTENSIONS__ and _XPG4_2 on Solaris in ./
    Also check whether a client has gone away by testing xferfd, and
introduce safe_fd_isset() that just works like SAFE_FD_ISSET() but doesn't
choke when the descriptor is -1. It fixes bus errors on FreeBSD.
    Add force_passive_ip_s in order to store the argument of -P.
Passive IP addresses are now resolved in doit() for every new
connection, by popular request. It means that "-P" now
works, even for dynamic addresses.
    Split the funtion that creates an active data socket into two
parts : doport2() and doport3(). doport3() actually creates it,
doport2() does other gadgets like checking for FXP, etc.
    Carefully check whether we have OpenBSD/MicroBSD-like MD5/SHA1
functions in libc, and not an incompatible variant like Cyrus SASL.
    The "Welcome to Pure-FTPd" decorations were replaced with
something more neutral.
    Introduce ISCTRLCODE() instead of doing it by hand every time, and
properly reject Unicode control chars while we are at it.
    New contrib : Webmin module, by La Shampoo.

* Version 1.0.13a:
    Fix with old versions of the Perl interpreter.
    Fix compilation with PostgreSQL, thanks to Sakari Tanhua 
<> .
* Version 1.0.13 :
    Swap simplified and traditional chinese settings. Reported by Ying-Chieh
Liao <> .
    Ignore ESTA if a passive IP is forced or the NAT mode is enabled, because
the private address is probably meaningless.
    README documentation improvements, contributed by Jeffrey Lim
    Avoid NGROUPS_MAX when possible - Idea from CVS tree.
    LDAP schema changed to work with newer OpenLDAP releases.
    New LDAP directives : LDAPFilter, LDAPHomeDir and LDAPVersion.
    Be a bit more heavy when creating home directories, it should solve
troubles users had with path containing extra slashes.
    Try again when the pipe can't be opened in pure-uploadscript.
    New --with-boring switch (BORING_MODE macro) .
    Fix sendfile() support on Solaris, thanks to Emmanuel Hocdet
    Add uptime support for pure-mrtginfo on FreeBSD. Contributed by
Ying-Chieh Liao <> .
    Fix error when deleting files with an absolute directory when quotas are
enabled. Contributed by Johannes Erdfelt <> .
    dobanner() rewritten. It's now the same code to display .message and
.banner files, and the content is sent line by line. We can't afford to load
everything and simply call addreply_noformat(), because if a banner starts
with a digit, it would be complicated to insert spaces to be RFC conformant.
    Fix typo in the example configuration file (pureftp -> pureftpd) .
Reported by Kyle Herbert ( .
    Spanish translation updated (Lluis) .
    Chinese translation updated (Fygul) .
    There's now an unique official spelling : "Pure-FTPd".
    Autoconf 2.54, Automake 1.6.3.
    Move getloadavg() and similar functions to getloadavg.{h,c}.
    Get the 5-min load average, not the instant load.
    Raise the default maxdiskpct from 90% to 99%, as many people don't figure
out why they can't upload an ISO image when there's 700Mb free on a
7Gb partition.
    Relax permissions enforcement in dochmod() when quotas are enabled
- Thanks to Claudiu.
    Introduce checkprintable() function in ls.c : don't display files
whoose name contains characters < 32.
    Contributed sfv-crc-check has been removed (people reported that it simply
doesn't work) .
    PAM sample fixed : ftplockout should really be ftpusers. Add some
common system accounts by the way.
    More flexible RPM spec file, contributed by Johannes Erdfelt
<> .
    New translation : Czech, contributed by Martin Sarfy
<> .
    Merge Clive Goodhead's patch to implement MYSQLDefaultGID and
MYSQLDefaultUID, and port it to PostgreSQL. has been completely rewritten in a clean way by
Aristoteles Pagaltzis <> .
    New contrib : .
    Remove backtitle in gui/, it breaks radio lists on some
dialog versions.
    Enable --without-ascii by default on Win32. It means that text
files must be in Windows format (CR+LF) on the server, no more in an
Unix fashion, or clients will get bare LFs (and intelligent clients
will switch to binary mode, so files sent in Unix format will be
retrieved in Unix format - great) .
    redhat.init now uses as different configuration
files was confusing people.


Index: Makefile
RCS file: /cvsroot/pkgsrc/net/pureftpd/Makefile,v
retrieving revision 1.8
diff -u -r1.8 Makefile
--- Makefile	2003/01/28 22:03:55	1.8
+++ Makefile	2003/03/07 12:38:23
@@ -1,10 +1,9 @@
 # $NetBSD: Makefile,v 1.8 2003/01/28 22:03:55 jlam Exp $
-DISTNAME=	pure-ftpd-1.0.12
+DISTNAME=	pure-ftpd-1.0.14
-EXTRACT_SUFX=	.tar.bz2
@@ -14,7 +13,14 @@
 CONFIGURE_ARGS+=	--with-sysquotas	\
-			--with-ftpwho
+			--with-ftpwho		\
+			--with-virtualvhosts	\
+			--with-virtualchroot	\
+			--with-diraliases	\
+			--with-ratios		\
+			--with-throttling	\
+			--with-altlog		\
+			--with-puredb		
 DEPENDS+=	mysql-client>=3.23:../../databases/mysql-client
Index: distinfo
RCS file: /cvsroot/pkgsrc/net/pureftpd/distinfo,v
retrieving revision 1.4
diff -u -r1.4 distinfo
--- distinfo	2002/06/11 11:14:31	1.4
+++ distinfo	2003/03/07 12:38:23
@@ -1,4 +1,4 @@
 $NetBSD: distinfo,v 1.4 2002/06/11 11:14:31 wiz Exp $
-SHA1 (pure-ftpd-1.0.12.tar.bz2) = 605f8a21bea527e893e090392c054802c3aca0c4
-Size (pure-ftpd-1.0.12.tar.bz2) = 395495 bytes
+SHA1 (pure-ftpd-1.0.14.tar.gz) = baacfd8d4d8d454c71365b550a8a51ca63d15706
+Size (pure-ftpd-1.0.14.tar.gz) = 501681 bytes