Package Details: syncthing-discosrv 1:0.14.39-1

Git Clone URL: https://aur.archlinux.org/syncthing-discosrv.git (read-only)
Package Base: syncthing-discosrv
Description: Discover server for the syncthing P2P synchronization utility
Upstream URL: http://syncthing.net
Licenses: MIT
Submitter: prurigro
Maintainer: prurigro
Last Packager: prurigro
Votes: 7
Popularity: 0.224128
First Submitted: 2014-06-13 06:45
Last Updated: 2017-10-11 03:40

Latest Comments

prurigro commented on 2016-06-20 22:43

When I started this package there were no release tags, but I'll switch it over now that there are!

allspark commented on 2016-05-10 12:10

Hi,

please orphan or change to releases

Siosm commented on 2016-04-27 04:27

As per https://wiki.archlinux.org/index.php/VCS_package_guidelines, packages building directly from git should be name pkgname-git. Please reupload this package with the correct name (syncthing-discosrv-git) and ask for the merge of this one with the new one to keep comments.

This package should only be based on the release tags.

prurigro commented on 2015-09-14 23:47

@rumpelsepp: Interesting! Thanks for the FYI- I guess I'll have to wait for 0.12 to come out before upgrading

rumpelsepp commented on 2015-09-11 07:27

@prurigro: It does not connect because the master branch speaks the v0.12 discovery protocol; also it listens in a differnet port. I am too lazy to search this now, but it is somewhere documented. :)

prurigro commented on 2015-09-11 05:58

Alright, I just pushed an update that builds and runs via systemd service, and it should continue to work as things get updated upstream now that it's using go get. For some reason though, syncthing doesn't seem to want to connect to the server while it's running. Downgrading to a build from 10 days earlier does work, and one of the build between the two was built using the old way but still had the issue where it wouldn't connect, so I'm assuming this is an upstream problem...

The version that works is 20150809, if anyone wants to force the package to build that commit. Let me know if you figure out a solution on that note!

prurigro commented on 2015-09-10 23:01

@rumpelsepp: Thanks for the link!

Now that I know I can use go get, I'm rewriting the package to follow a similar strategy as the one used by the build.sh script. Stand by for a working update.

ThecaTTony commented on 2015-09-08 09:55

Again there is a missing github repo:
git+https://github.com/golang/net.git

Add an additional skip under sha512sums and under prepare() the following line:
install -d src/golang.org/x
mv crypto src/golang.org/x
+ mv net src/golang.org/x

But the build don't compile anything, and the package by mistake takes the file
src/github.com/syncthing/discosrv/main.go as syncthing-dircosvr

A workaraund (ugly):
cd /tmp
git clone https://aur.archlinux.org/syncthing-discosrv.git
cd syncthing-discosrv
makepkg (and wait until fail to build)
cd src/src/github.com/syncthing/discosrv
export GOPATH=/tmp/syncthing-discosrv
./build.sh (as normal user)
tar xvf discosrv-linux-amd64.tar.gz
mv discosrv-linux-amd64/discosrv ./
cd $GOPATH
nano PKGBUILD [change /main to /discosrv under last line of package()]
makepkg -R
sudo pacman -U syncthing-discosrv-20150820.r41.0dd76f7-1-x86_64.pkg.tar

timski commented on 2015-08-25 21:05

tried downgrading go to 1.4.2, same issue

timski commented on 2015-08-24 16:43

I fails to build on my machines

../syncthing/lib/beacon/multicast.go:14:2: cannot find package "golang.org/x/net/ipv6" in any of:
/usr/lib/go/src/golang.org/x/net/ipv6 (from $GOROOT)
/tmp/yaourt-tmp-tim/aur-syncthing-discosrv/src/src/golang.org/x/net/ipv6 (from $GOPATH)

this seems to have been appeared after the last go upgrade

All comments