svn commits in the ports tree fail if distinfo has no TIMESTAMP field. portlint should warn if the TIMESTAMP is missing and if the TIMESTAMP has some value in the future or too far in the past.
A commit references this bug: Author: marcus Date: Wed Nov 9 00:39:19 UTC 2016 New revision: 425779 URL: https://svnweb.freebsd.org/changeset/ports/425779 Log: Update to 2.17.5. * Allow https URLs for the WWW line in pkg-descr. Why are we only NOW doing this? [1] * Check TIMESTAMP to make sure it's in the present/past, but not more than 30 days in the past. [2] PR: 212091 [2] Submitted by: amdmi3 [1] Differential Revision: D8462 [1] Changes: head/ports-mgmt/portlint/Makefile head/ports-mgmt/portlint/src/portlint.pl
Added to 2.17.5.
Created attachment 176866 [details] fix issue with timestamp check When checking the timestamp, comparisons were being made with 'TIMESTAMP = 1478803026' instead of just '1478803026'. This resulted in these errors. % portlint Argument "TIMESTAMP = 1478803026\n" isn't numeric in numeric gt (>) at /usr/local/bin/portlint line 398, <IN> line 1.
Whoops, didn't revert to $1. Thanks.
A commit references this bug: Author: marcus Date: Fri Nov 11 02:13:40 UTC 2016 New revision: 425858 URL: https://svnweb.freebsd.org/changeset/ports/425858 Log: Correct a typo with TIMESTAMP handling. While here, don't use a pure magic number for the 30 days worth of seconds. PR: 212091 Submitted by: jrm Changes: head/ports-mgmt/portlint/Makefile head/ports-mgmt/portlint/src/portlint.pl