Subject: CVS commit: basesrc
To: None <source-changes@netbsd.org>
From: Luke Mewburn <lukem@netbsd.org>
List: source-changes
Date: 07/16/2000 19:30:57
Module Name: basesrc
Committed By: lukem
Date: Mon Jul 17 02:30:57 UTC 2000
Modified Files:
basesrc/libexec/ftpd: conf.c extern.h ftpcmd.y ftpd.8 ftpd.c
ftpd.conf.5 ftpusers.5 version.h
Log Message:
* add two new ftpd.conf(5) directives:
chroot specify dir to chroot to for GUEST and CHROOT users, to
override -a anondir or the user's homedir.
homedir specify dir to change to upon login; also used for ~ expansion
and $HOME for subprocesses)
both of these can take % escapes: %u (username), %d (homedir), %c (class).
* fix NLST to take a pathname not a STRING, so that ~ expansion works
* modify CWD to use the homedir parsed from curclass.homedir
* implement format_path(dst, src), to parse src expanding % escapes (see above)
into dst.
* rename format_file() to display_file()
To generate a diff of this commit:
cvs rdiff -r1.32 -r1.33 basesrc/libexec/ftpd/conf.c
cvs rdiff -r1.29 -r1.30 basesrc/libexec/ftpd/extern.h
cvs rdiff -r1.50 -r1.51 basesrc/libexec/ftpd/ftpcmd.y
cvs rdiff -r1.55 -r1.56 basesrc/libexec/ftpd/ftpd.8
cvs rdiff -r1.99 -r1.100 basesrc/libexec/ftpd/ftpd.c
cvs rdiff -r1.9 -r1.10 basesrc/libexec/ftpd/ftpd.conf.5
cvs rdiff -r1.6 -r1.7 basesrc/libexec/ftpd/ftpusers.5
cvs rdiff -r1.16 -r1.17 basesrc/libexec/ftpd/version.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.