svn commit: r435007 - in head/math: . acalc

Alexey Dokuchaev danfe at FreeBSD.org
Fri Mar 3 11:47:22 UTC 2017


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


More information about the svn-ports-head mailing list