Pure-ftpd supports the "SITE UTIME" command, which allows the client to set the
modification time of a file to a particular timestamp, expressed in UTC.
However, pure-ftpd passes the UTC timestamp directly to the operating system's
utime() function, which is a bug, because utime() requires that the timestamp be
in local time instead of UTC.
For example for server with MSK localtime:
> ---> MDTM cuba2008_1.mpeg.stat
> <--- 213 20090106074437
> ---> SITE UTIME cuba2008_1.mpeg.stat 20090106104437 20090106104437 20090106104437 UTC
> <--- 250 UTIME OK
PR: ports/131645
Submitted by: Yar Odin <yarodin@gmai.com>
We have not checked for this KEYWORD for a long time now, so this
is a complete noop, and thus no PORTREVISION bump. Removing it at
this point is mostly for pedantic reasons, and partly to avoid
perpetuating this anachronism by copy and paste to future scripts.
change where config files get installed from /etc to PREFIX/etc [1]
add a startscript for etc/rc.d [1]
PR: 46853 [1]
Requested by: maintainer [0]
Approved By: maintainer [0],[1]