ports/152573: ftp/pure-ftpd requires HAVE_TIMEGM

Oliver Heesakkers dev2 at heesakkers.info
Thu Nov 25 13:20:10 UTC 2010


>Number:         152573
>Category:       ports
>Synopsis:       ftp/pure-ftpd requires HAVE_TIMEGM
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 25 13:20:10 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Oliver Heesakkers
>Release:        7.3 amd64
>Organization:
>Environment:
FreeBSD 7.3-RELEASE-p2 FreeBSD 7.3-RELEASE-p2 #0: Wed Jul 14 00:16:06 CEST 2010   /usr/obj/usr/src/sys/vps7  amd64
>Description:
After a bug [1] got fixed upstream the patch mentioned in that pr was removed from files. The upstream fix however depends on setting the variable HAVE_TIMEGM which is not done by default or available as a port configuration option. Without passing that variable my times are of by one hour (Western Europe).

[1] http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/131645
>How-To-Repeat:
- Install and run pure-ftpd
- Upload something with a client that uses SITE UTIME (I used Dolphin for testing, but seen it with multiple other clients
- Observe the time in the log
>Fix:
Pass HAVE_TIMEGM=1 while building pure-ftpd

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list