Subject: pkg/20610: Updated package net/pureftpd
To: None <gnats-bugs@gnats.netbsd.org>
From: None <juan@xtraeme.unixbsd.org>
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
>Closed-Date:
>Last-Modified:
>Originator: Juan RP
>Release: NetBSD 1.6P
>Organization:
HispaBSD
>Environment:
System: NetBSD redemption 1.6P NetBSD 1.6P ($xtrakernel-2003-03-04$) #0: Tue Mar 4 16:35:16 CET 2003 root@xtraeme.unixbsd.org:/sources/obj/sys/arch/i386/compile/xtrakernel i386
Architecture: i386
Machine: i386
>Description:
Update pureftpd to the latest version ( 1.0.14 ) and add a few options to it.
Changes:
* 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
MSG_ABORTED instead of MSG_DATA_WRITE_FAILED.
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
CAP_SYS_NICE.
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 ./configure.ac
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 ftp.example.com" 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 pure-config.pl with old versions of the Perl interpreter.
Fix compilation with PostgreSQL, thanks to Sakari Tanhua
<stanhua@cc.hut.fi> .
* Version 1.0.13 :
Swap simplified and traditional chinese settings. Reported by Ying-Chieh
Liao <ijliao@csie.nctu.edu.tw> .
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
<jf_____@fastmail.fm>
Avoid NGROUPS_MAX when possible - Idea from tuxfamily.org 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
<man@t-online.fr>
Add uptime support for pure-mrtginfo on FreeBSD. Contributed by
Ying-Chieh Liao <ijliao@csie.nctu.edu.tw> .
Fix error when deleting files with an absolute directory when quotas are
enabled. Contributed by Johannes Erdfelt <johannes@erdfelt.com> .
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 (http://www.firstnetimpressions.com/) .
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
<johannes@erdfelt.com> .
New translation : Czech, contributed by Martin Sarfy
<xsarfy@informatics.muni.cz> .
Merge Clive Goodhead's patch to implement MYSQLDefaultGID and
MYSQLDefaultUID, and port it to PostgreSQL.
pure-config.pl has been completely rewritten in a clean way by
Aristoteles Pagaltzis <pagaltzis@gmx.de> .
New contrib : pure-vpopauth.pl .
Remove backtitle in gui/build.sh, 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 pure-config.pl as different configuration
files was confusing people.
>How-To-Repeat:
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
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pureftpd/}
-EXTRACT_SUFX= .tar.bz2
MAINTAINER= dawszy@arhea.net
HOMEPAGE= http://www.pureftpd.org/
@@ -14,7 +13,14 @@
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --with-sysquotas \
- --with-ftpwho
+ --with-ftpwho \
+ --with-virtualvhosts \
+ --with-virtualchroot \
+ --with-diraliases \
+ --with-ratios \
+ --with-throttling \
+ --with-altlog \
+ --with-puredb
.if defined(PURE_FTPD_USE_MYSQL) && ${PURE_FTPD_USE_MYSQL} == "YES"
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
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: