Update gitea port to 1.11.13 This release fixes three bugs. Release notes: https://blog.gitea.io/2020/03/gitea-1.11.3-and-1.10.6-released/ Also fix LDFLAGS so that the version number (among other things) is built into the binary correctly, and make the regexp used in the Makefile work with bsdgrep (both thanks to adamw).
Created attachment 212512 [details] Patch to update the port to Gitea 1.10.2
Created attachment 212513 [details] Patch to update the port to Gitea 1.11.3
Created attachment 212514 [details] Patch to update the port to Gitea 1.11.3
This closes bug 244671 and bug 244710.
Build info is available at https://gitlab.com/swills/freebsd-ports/pipelines/127573466
For future reference, its desirable and preferable to separate bug fixes from version updates, so that the former can be merged to the quarterly branch
The upstream regex is just ludicrous. The original one (in addition to bring broken) will match the 64 in amd64. The go version appears right after the word "go". I'm going to change the regex to just look for that. If you want me to change it back please just send me an email or attach a note here. The regex in the patch looks like it was copied from the NODE_VERSION regex, which is problematic (it'll fail on, for example, 2.0).
A commit references this bug: Author: adamw Date: Thu Mar 19 16:16:36 UTC 2020 New revision: 528729 URL: https://svnweb.freebsd.org/changeset/ports/528729 Log: gitea: Update to 1.11.3 This release fixes three bugs. Release notes: https://blog.gitea.io/2020/03/gitea-1.11.3-and-1.10.6-released/ Also fix LDFLAGS so that the version number (among other things) is built into the binary correctly, and make the regexp used in the Makefile work with bsdgrep (both thanks to adamw). Will MFH due to bsdgrep build failure and stopwatch panic fix. PR: 244898 Submitted by: maintainer MFH: 2020Q1 Changes: head/www/gitea/Makefile head/www/gitea/distinfo head/www/gitea/files/patch-Makefile
A commit references this bug: Author: adamw Date: Thu Mar 19 16:18:48 UTC 2020 New revision: 528731 URL: https://svnweb.freebsd.org/changeset/ports/528731 Log: MFH: r528631 r528729 www/gitea: Use OPTIONS_SUB gitea: Update to 1.11.3 This release fixes three bugs. Release notes: https://blog.gitea.io/2020/03/gitea-1.11.3-and-1.10.6-released/ Also fix LDFLAGS so that the version number (among other things) is built into the binary correctly, and make the regexp used in the Makefile work with bsdgrep (both thanks to adamw). Will MFH due to bsdgrep build failure and stopwatch panic fix. PR: 244898 Submitted by: maintainer Approved by: portmgr (with hat) Changes: _U branches/2020Q1/ branches/2020Q1/www/gitea/Makefile branches/2020Q1/www/gitea/distinfo branches/2020Q1/www/gitea/files/patch-Makefile branches/2020Q1/www/gitea/pkg-plist
(In reply to Adam Weinberger from comment #7) Absolutely fine by me. I#ve had quite the discussion upstream, let's see where that leads. https://github.com/go-gitea/gitea/pull/10765
This is all committed. I'll keep an eye on that upstream discussion though I suspect there will be a hilariously overengineered solution coming.