Created attachment 220808 [details] Anonymize syncthing builder. syncthing reports a long version string that, by default, includes details of the user that built the package and the hostname it was built on. (This can be seen by previewing the "Anonymous Usage Reporting" under General Settings). Since (eg) "peter@server.rulingia.com" is not very anonymous, it would nice if the port changed this to a suitably general identifier. Luckily, the code allows the default value to be overridden via environment variables (see buildUser() and buildHost() in syncthing/build.go). Looking through the "Version 3" usage reporting data, there doesn't appear to be any other data of concern reported. Looking at the "Builder" strings reported via https://data.syncthing.net/, changing the defaults seems fairly common. The attached patch changes the identification string to "ports@freebsd".
A commit references this bug: Author: swills Date: Sun Dec 27 19:56:02 UTC 2020 New revision: 559415 URL: https://svnweb.freebsd.org/changeset/ports/559415 Log: net/syncthing - anonymize longVersion reported PR: 252043 Submitted by: peterj Changes: head/net/syncthing/Makefile
Committed, thanks!