From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Nov 25 13:20:10 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A51D61065675 for ; Thu, 25 Nov 2010 13:20:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 677628FC15 for ; Thu, 25 Nov 2010 13:20:10 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id oAPDKAcj085058 for ; Thu, 25 Nov 2010 13:20:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oAPDKA9B085057; Thu, 25 Nov 2010 13:20:10 GMT (envelope-from gnats) Resent-Date: Thu, 25 Nov 2010 13:20:10 GMT Resent-Message-Id: <201011251320.oAPDKA9B085057@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Oliver Heesakkers Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 30DF01065670 for ; Thu, 25 Nov 2010 13:17:27 +0000 (UTC) (envelope-from nobody@yellow.freebsd.org) Received: from www.freebsd.org (unknown [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 1FBA28FC1A for ; Thu, 25 Nov 2010 13:17:27 +0000 (UTC) Received: from yellow.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id oAPDHQeU090770 for ; Thu, 25 Nov 2010 13:17:26 GMT (envelope-from nobody@yellow.freebsd.org) Received: (from nobody@localhost) by yellow.freebsd.org (8.14.3/8.14.3/Submit) id oAPDHQW9090769; Thu, 25 Nov 2010 13:17:26 GMT (envelope-from nobody) Message-Id: <201011251317.oAPDHQW9090769@yellow.freebsd.org> Date: Thu, 25 Nov 2010 13:17:26 GMT From: Oliver Heesakkers To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/152573: ftp/pure-ftpd requires HAVE_TIMEGM X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Nov 2010 13:20:10 -0000 >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: