There is an updated pull request by fosslinux against master on the void-packages repository https://github.com/fosslinux/void-packages gitea-cross https://github.com/void-linux/void-packages/pull/23505 WIP gitea: update to 1.12.1, fix cross build This template now uses gitea's upstream Makefile. This is because the Makefile is the only official way to build. build_style=go is still used because it provides things like GOARCH for cross building. The upstream tarball has been changed to gitea's hand-generated ones because of the recent sha256sum debacle, as well as their existence (they should be preferred). In addition, create_wrksrc=yes is now required. gitea also now uses nodejs to generate css and js files. However, in the tarballs, they pre-generate them. We regenerate them ourselves because 1. weird crap on musl 2. no reason not to really and it's generally better The configuration file has been moved from /etc/gitea.conf to /etc/gitea/app.ini. This is the appropriate location and previously it was not being read by gitea. Also, the configuration file changes have been moved to a .patch because the changes were getting very dense and difficult to read in a sed. There was a strange error with go modules which was meant to be fixed by an upstream patch. 12030.patch is this patch. It doesn't work completely but is fully fixed by running `go mod vendor` in pre_build (NB: the patch is still needed). This may not be nessecary for the next release. Internally, in the makefile, the go tags are created by the variable TAGS. We set this. In addition, internally, they use LDFLAGS for the go command. :( This has been patched. @the-maldridge A patch file from https://github.com/void-linux/void-packages/pull/23505.patch is attached