Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Nov 2010 13:17:26 GMT
From:      Oliver Heesakkers <dev2@heesakkers.info>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/152573: ftp/pure-ftpd requires HAVE_TIMEGM
Message-ID:  <201011251317.oAPDHQW9090769@yellow.freebsd.org>
Resent-Message-ID: <201011251320.oAPDKA9B085057@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011251317.oAPDHQW9090769>