Diff syncthing-1.1.4 with a syncthing-1.2.1

/usr/portage/net-p2p/syncthing/syncthing-1.2.1.ebuild 2019-10-08 18:09:00.000000000 +0300
7 7

  
8 8
EGO_VENDOR=(
9 9
	"github.com/AudriusButkevicius/go-nat-pmp 452c97607362b2ab5a7839b8d1704f0396b640ca"
10
	"github.com/AudriusButkevicius/pfilter 0.0.5"
10 11
	"github.com/AudriusButkevicius/recli v0.0.5"
11 12
	"github.com/bkaradzic/go-lz4 7224d8d8f27ef618c0a95f1ae69dbb0488abc33a"
12 13
	"github.com/calmh/du v1.0.1"
13 14
	"github.com/calmh/xdr v1.1.0"
15
	"github.com/ccding/go-stun be486d185f3d"
16
	"github.com/certifi/gocertifi d2eda7129713"
17
	"github.com/cheekybits/genny v1.0.0"
14 18
	"github.com/chmduquesne/rollinghash a60f8e7142b536ea61bb5d84014171189eeaaa81"
15 19
	"github.com/d4l3k/messagediff v1.2.1"
16 20
	"github.com/davecgh/go-spew v1.1.1"
17 21
	"github.com/flynn-archive/go-shlex 3f9db97f856818214da2e1057f8ad84803971cff"
22
	"github.com/getsentry/raven-go v0.2.0"
18 23
	"github.com/gobwas/glob 51eb1ee00b6d931c66d229ceeb7c31b985563420"
19 24
	"github.com/gogo/protobuf v1.2.1"
20 25
	"github.com/golang/groupcache 84a468cf14b4376def5d68c722b139b881c450a4"
21
	"github.com/golang/snappy 553a641470496b2327abcac10b36396bd98e45c9"
26
	"github.com/golang/snappy v0.0.1"
22 27
	"github.com/jackpal/gateway 5795ac81146e01d3fab7bcf21c043c3d6a32b006"
23 28
	"github.com/kballard/go-shellquote cd60e84ee657ff3dc51de0b4f55dd299a3e136f2"
24 29
	"github.com/kr/pretty v0.1.0"
25
	"github.com/lib/pq v1.1.1"
30
	"github.com/lib/pq v1.2.0"
31
	"github.com/lucas-clemente/quic-go v0.11.2"
32
	"github.com/marten-seemann/qtls v0.2.3"
33
	"github.com/maruel/panicparse v1.3.0"
26 34
	"github.com/mattn/go-isatty v0.0.7"
27 35
	"github.com/minio/sha256-simd cc1980cb03383b1d46f518232672584432d7532d"
28
	"github.com/onsi/ginkgo 6c46eb8334b30dc55b42f1a1c725d5ce97375390"
29
	"github.com/onsi/gomega ba3724c94e4dd5d5690d37c190f1c54b2c1b4e64"
36
	"github.com/onsi/ginkgo v1.8.0"
37
	"github.com/onsi/gomega v1.5.0"
30 38
	"github.com/oschwald/geoip2-golang v1.3.0"
31 39
	"github.com/oschwald/maxminddb-golang 26fe5ace1c706491c2936119e1dc69c1a9c04d7f"
32 40
	"github.com/petermattis/goid 3db12ebb2a599ba4a96bea1c17b61c2f78a40e02"
33 41
	"github.com/pkg/errors v0.8.1"
34 42
	"github.com/pmezard/go-difflib v1.0.0"
35
	"github.com/prometheus/client_golang v0.9.2"
43
	"github.com/prometheus/client_golang v0.9.4"
36 44
	"github.com/rcrowley/go-metrics e181e095bae94582363434144c61a9653aff6e50"
37 45
	"github.com/sasha-s/go-deadlock v0.2.0"
38
	"github.com/stretchr/testify v1.2.2"
39
	"github.com/syncthing/notify 4e389ea6c0d84e6195eb585ffaf62c8c143306ae"
40
	"github.com/syndtr/goleveldb 34011bf325bce385408353a30b101fe5e923eb6e"
46
	"github.com/stretchr/testify v1.3.0"
47
	"github.com/syncthing/notify 69c7a957d3e2"
48
	"github.com/syndtr/goleveldb c3a204f8e965"
41 49
	"github.com/thejerf/suture v3.0.2"
42 50
	"github.com/urfave/cli v1.20.0"
43 51
	"github.com/vitrun/qart bf64b92db6b05651d6c25a3dabf2d543b360c0aa"
44
	"golang.org/x/crypto 0fcca4842a8d74bfddc2c96a073bd2a4d2a7a2e8 github.com/golang/crypto"
45
	"golang.org/x/net 351d144fa1fc0bd934e2408202be0c29f25e35a0 github.com/golang/net"
46
	"golang.org/x/sys 4d1cda033e0619309c606fc686de3adcf599539e github.com/golang/sys"
47
	"golang.org/x/text e19ae1496984b1c655b8044a65c0300a3c878dd3 github.com/golang/text"
52
	"golang.org/x/crypto 5c40567a22f8 github.com/golang/crypto"
53
	"golang.org/x/net d28f0bde5980 github.com/golang/net"
54
	"golang.org/x/sys 04f50cda93cb github.com/golang/sys"
55
	"golang.org/x/text v0.3.2 github.com/golang/text"
48 56
	"golang.org/x/time 6dc17368e09b0e8634d71cac8168d853e869a0c7 github.com/golang/time"
49 57
	"gopkg.in/asn1-ber.v1 v1.2 github.com/go-asn1-ber/asn1-ber"
50 58
	"gopkg.in/check.v1 788fd78401277ebd861206a03c884797c6ec5541 github.com/go-check/check"
51 59
	"gopkg.in/ldap.v2 v2.5.1 github.com/go-ldap/ldap"
52
	"gopkg.in/yaml.v2 v2.0.0 github.com/go-yaml/yaml"
60
	"gopkg.in/yaml.v2 v2.2.2 github.com/go-yaml/yaml"
53 61
	# These are only used by the test suite but conditional vendoring is messy
54
	"github.com/beorn7/perks 3a771d992973f24aa725d07868b467d1ddfceafb"
55
	"github.com/golang/protobuf v1.2.0"
62
	"github.com/beorn7/perks v1.0.0"
63
	"github.com/golang/protobuf v1.3.1"
56 64
	"github.com/matttproud/golang_protobuf_extensions v1.0.1"
57 65
	"github.com/prometheus/client_model 5c3871d89910bfb32f5fcab2aa4b9ec68e65a99f"
58
	"github.com/prometheus/common v0.1.0"
59
	"github.com/prometheus/procfs 1dc9a6cbc91aacc3e8b2d63db4d2e957a5394ac4"
66
	"github.com/prometheus/common v0.4.1"
67
	"github.com/prometheus/procfs v0.0.2"
60 68
)
61 69

  
62
inherit golang-vcs-snapshot systemd user xdg-utils
70
inherit golang-vcs-snapshot systemd xdg-utils
63 71

  
64 72
DESCRIPTION="Open Source Continuous File Synchronization"
65 73
HOMEPAGE="https://syncthing.net"
......
68 76

  
69 77
LICENSE="Apache-2.0 BSD BSD-2 ISC MIT MPL-2.0 Unlicense"
70 78
SLOT="0"
71
KEYWORDS="amd64 arm x86"
79
KEYWORDS="~amd64 ~arm ~x86"
72 80
IUSE="selinux tools"
73 81

  
74 82
BDEPEND="<dev-lang/go-1.13"
75
RDEPEND="selinux? ( sec-policy/selinux-syncthing )"
83
RDEPEND="acct-group/syncthing
84
	acct-user/syncthing
85
	tools? ( acct-group/stdiscosrv
86
		acct-group/strelaysrv
87
		acct-user/stdiscosrv
88
		acct-user/strelaysrv )
89
	selinux? ( sec-policy/selinux-syncthing )"
76 90

  
77 91
DOCS=( README.md AUTHORS CONTRIBUTING.md )
78 92

  
79
pkg_setup() {
80
	enewgroup ${PN}
81
	enewuser ${PN} -1 -1 /var/lib/${PN} ${PN}
82

  
83
	if use tools ; then
84
		# separate user for the discovery server
85
		enewgroup stdiscosrv
86
		enewuser stdiscosrv -1 -1 /var/lib/stdiscosrv stdiscosrv
87
		keepdir /var/lib/stdiscosrv
88
		fowners stdiscosrv:stdiscosrv /var/lib/stdiscosrv
89

  
90
		# separate user for the relay server
91
		enewgroup strelaysrv
92
		enewuser strelaysrv -1 -1 /var/lib/strelaysrv strelaysrv
93
		# and his home folder
94
		keepdir /var/lib/strelaysrv
95
		fowners strelaysrv:strelaysrv /var/lib/strelaysrv
96
	fi
97
}
98

  
99 93
src_prepare() {
100 94
	# Bug #679280
101 95
	xdg_environment_reset
Thank you!