From owner-svn-ports-all@freebsd.org Fri Mar 3 11:47:22 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6EF4DCF5CCB; Fri, 3 Mar 2017 11:47:22 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 50D1C127C; Fri, 3 Mar 2017 11:47:22 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1033) id 9CC3936FC; Fri, 3 Mar 2017 11:47:21 +0000 (UTC) Date: Fri, 3 Mar 2017 11:47:21 +0000 From: Alexey Dokuchaev To: Sunpoet Po-Chuan Hsieh Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r435007 - in head/math: . acalc Message-ID: <20170303114721.GA65297@FreeBSD.org> References: <201702280844.v1S8im9S043013@repo.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.7.1 (2016-10-04) X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Mar 2017 11:47:22 -0000 On Fri, Mar 03, 2017 at 07:24:26PM +0800, Sunpoet Po-Chuan Hsieh wrote: > > New Revision: 435007 > > URL: https://svnweb.freebsd.org/changeset/ports/435007 > > > > Log: > > `math/acalc' is a simple and pretty Qt4-based expression calculator. > > > > Because GitHub releases (tarballs) are not fetched with correct > > modification time, set TIMESTAMP to 1481206796 which corresponds to > > commit 6c032ba tagged as this release. > > You do not need to set TIMESTAMP manually for this port and > graphics/azpainter. The TIMESTAMP is not the time of tarball but the > time you generate distinfo. Default behavior is bogus and there are several potential problems with this naive approach; we've had a brief discussions about this before. For now I have to obtain it manually. Luckily, it's not too hard: for distfiles fetched from servers that set LastModified header correctly it's ``stat -f %m /usr/ports/distfiles/foobar-0.42.tar.gz''; for GitHub you can pick any file within the tarball (just make sure it was not yet patched by b.p.m. and friends). ./danfe