Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Mar 2017 11:47:21 +0000
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        Sunpoet Po-Chuan Hsieh <sunpoet@freebsd.org>
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>
In-Reply-To: <CAMHz58QHOeptdc=QsiBNnyWryAoOqf3dGn0=zSoq%2BGrSkx5YVA@mail.gmail.com>
References:  <201702280844.v1S8im9S043013@repo.freebsd.org> <CAMHz58QHOeptdc=QsiBNnyWryAoOqf3dGn0=zSoq%2BGrSkx5YVA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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