I had a go at packaging the current version of syncthing (0.12.22), and have an approximately working package.
I've built the package and dependencies in a xenial PPA [1], but hopefully there should be minimal delta to unstable. Packaging is in git (gbp with pristine-tar) [2]. At least the following new dependencies are needed: * angular-translate.js * golang-github-bkaradzic-go-lz4 * golang-github-calmh-du * golang-github-calmh-luhn * golang-github-calmh-xdr * golang-github-thejerf-suture * golang-github-vitrun-qart Most of these are at least simple libraries with no further dependencies which dh-make-golang handled with minimal fuss. This build patches out most of the vendored javascript/css and uses system copies. The resulting interface seems to work, although since the versions aren't exact matches there might be subtle regressions. However, while I'm quite keen on seeing this built in debian (I'm currently using upstream's deb packages), introducing and maintaining all these packages is probably a certain amount of work, so I'm a bit dubious about taking this on alone (especially since I don't have a huge amount of experience with golang yet). Any takers? Gordon [1]: https://launchpad.net/~chronitis/+archive/ubuntu/syncthing [2]: https://git.chronitis.net/syncthing.git/