diff options
author | Marek Szuba <marecki@gentoo.org> | 2020-04-09 18:50:00 +0100 |
---|---|---|
committer | Marek Szuba <marecki@gentoo.org> | 2020-04-09 18:51:11 +0100 |
commit | 6db1692c9128336a355a9cd90c7189eb515a4881 (patch) | |
tree | 43baafdbff27c32856b2bdfa6da2c4d9f47e2d73 /net-p2p | |
parent | sys-apps/util-linux: keyword 2.35.1-r1 for ~riscv (diff) | |
download | gentoo-6db1692c9128336a355a9cd90c7189eb515a4881.tar.gz gentoo-6db1692c9128336a355a9cd90c7189eb515a4881.tar.bz2 gentoo-6db1692c9128336a355a9cd90c7189eb515a4881.zip |
net-p2p/syncthing: bump to 1.4.2
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/syncthing/Manifest | 3 | ||||
-rw-r--r-- | net-p2p/syncthing/syncthing-1.4.2.ebuild | 374 |
2 files changed, 377 insertions, 0 deletions
diff --git a/net-p2p/syncthing/Manifest b/net-p2p/syncthing/Manifest index c29d5cfe4615..f6d00066657c 100644 --- a/net-p2p/syncthing/Manifest +++ b/net-p2p/syncthing/Manifest @@ -21,6 +21,8 @@ DIST github.com%2Fbeorn7%2Fperks%2F@v%2Fv1.0.1.mod 40 BLAKE2B 6cc86f2bceda861767 DIST github.com%2Fbeorn7%2Fperks%2F@v%2Fv1.0.1.zip 14678 BLAKE2B 6647c66a45f2dc67b83a1e493bc73d4439de7962f7f1472dc267be9a9408b5ddda66b8ee2fdadf18b2973648035fb3907fe539a8b7ccb768b8c99c4cae573eab SHA512 f973efba5ce7c651d9c3e4e467a1423b00b102034a054874d09977957b7b55557e05da06fb4c158e693db7bac01bf601f950cae0d411dc92afd0686d7e1de4cf DIST github.com%2Fbkaradzic%2Fgo-lz4%2F@v%2Fv0.0.0-20160924222819-7224d8d8f27e.mod 35 BLAKE2B b72f1745a8734c646bdb6ab095688c77ecffd09e2b7e0ff97a109352859856311bf014f494690c2e20c15852d76e45c2cb02d7c34595953a89cc007250ae82ec SHA512 275168df29882669d2a20f57797716eaedfa9e818136be114dda8dcd41fc0e23dee400acd39340b9a4af3c466470e364142c926922b622f1deaba63598fb70d7 DIST github.com%2Fbkaradzic%2Fgo-lz4%2F@v%2Fv0.0.0-20160924222819-7224d8d8f27e.zip 239955 BLAKE2B cd259f30efc7bc507e37792fdf9e3ad1bb26d35130deb0e5a0fd827b72b0580d25f07b22ec8eaee7669e103830d7f4f33d4005f91e76f42450f7b8922bf6c3ec SHA512 96ee04d71203d53b0d187f035eb2797e8331e49cff30ac14862758f68fa4fe4bfe6952bac1606ed6644feb679724e082a7a33a3ef900f8b2be410b2201aee99f +DIST github.com%2Fcalmh%2Fmurmur3%2F@v%2Fv1.1.1-0.20200226160057-74e9af8f47ac.mod 32 BLAKE2B 1128fe3f80973d257344409fd81e2fe94caca3bda3e6e8e77500f6cb8a504cdeaeefcce5b288fffbed3befffd70879bc9bd16c97980ecd770f00caee350b1af5 SHA512 776b798bab9352542b1f10d720bdd618f382abc5a9a89f575f4cacf7f3182f1e4c75d69143548080e503ad768471e8fdee58b04809e26542638921a5e8f6620a +DIST github.com%2Fcalmh%2Fmurmur3%2F@v%2Fv1.1.1-0.20200226160057-74e9af8f47ac.zip 10247 BLAKE2B 016433159829546278f497d7a51c27e92f34975f73f7097e435af7dd3e1c7a527e689da8d9792b529386199e0e012e9ceb51789caa7b85a7837ba79f0fe1f093 SHA512 6179b46a9b453143ddc1d079a0f84af0af6dfac198dd2e645029f6a34f8913380f1106da9cfbac933ec4b0b3175a03f0a6f4b1559e2e4126f68d93cdbfa51245 DIST github.com%2Fcalmh%2Fxdr%2F@v%2Fv1.1.0.mod 28 BLAKE2B 7282ac1bbc8a4b0abf64728d2da626d64f158a221773df3f19a5d9922c277d568f08ca60d8b8eb99161d2c6095e930a53b892b5fe2c9ea9df0530cdc8bb0e04b SHA512 763c680d4141560b54bcead3dd920b8430f78306fac5d30519e80c5699bf99ff2570d6afad17d06039617c7d65eac8de56a91d9ea7175bb842061899527e23d5 DIST github.com%2Fcalmh%2Fxdr%2F@v%2Fv1.1.0.zip 15127 BLAKE2B 8bdc6fc2c97fbcc6a245ab6a5be99efd7cbf9cddd5275d16101b8789c735739b8cd64df587d08c9170737f4a98b88788f1d58043a5579f1f5e8991bb6514a957 SHA512 2f535e9c39119d67f72e6c75129fe2623c595b53cd7dd196d5e63212cb1f8e289f278e35342241839bbd8e33d6a504d636616e8433bb3324111aa4335c477189 DIST github.com%2Fccding%2Fgo-stun%2F@v%2Fv0.0.0-20180726100737-be486d185f3d.mod 33 BLAKE2B 892090e0e83bf116de08b60aa324ecb1b00b97cfce85ee06b31f789d05c82f8cbed678cf3d4149e160e28e7d80e1fdece0766440ef39ef62bbe6b2c23c64d808 SHA512 6726736751a353a7c1beaf5e0a04a272044dfb35ae16091f74fdb757bb2aabd800abc9b8f53603ed4b5d4b4973efb15a2b9e5bc5e771d7bc597d3b95b4ee6a6c @@ -325,3 +327,4 @@ DIST gopkg.in%2Fyaml.v2%2F@v%2Fv2.2.2.zip 78275 BLAKE2B 139c8eb7c405dddbb67321ea DIST syncthing-1.1.4.tar.gz 4700261 BLAKE2B bf766d7d3701ac66d0d4ac266d9b4a9f02b2f97a6fa320b192f3e46fbe9055091ea5ae71bf405ccce4a9665efdf41477098af3b98562ea06bf0c4f828653bd51 SHA512 cb57cdf6bbab0147a700f72e800cddff0855835280a176883089e5e1dc06352e0dacf615569a35b16f98a857651f534c915f369c46bb592d416d7a01efe5b5ba DIST syncthing-1.3.4.tar.gz 4785353 BLAKE2B 01ea21d207fd8d84d28b03125f6c3b2071a458b7e2fd611d31ae3b24e0eb38e9b28afed7b2b15272a362394e3b6d77e3385e74b97afe021915211cc394422b5b SHA512 1584e0856a7c559d4e809b171c6c7aa0cd01ca94a513607bc3ce6543a82ecb454647c990dfed221cf9d3d566b6c5b522f3fc3549aefbb0487111ecf54366f8b8 DIST syncthing-1.4.0.tar.gz 4788918 BLAKE2B 4c86b7110b8da8c7653ff6e0ec742b7ead0d8c3fcd90716d8a752e7bb3f096b318c98d45221542f2243e2612388530479da9bcb192b54aa257e31bdcbc2dd534 SHA512 efa87219816f43d1e3b7050699ef8bfec94f8290f0d705d8c2a4bb017cc61b01a6e8a4df9044c1a146a677d97e8379827426ede1771811f84f2d8457e79ea7d4 +DIST syncthing-1.4.2.tar.gz 4792506 BLAKE2B 32f5944b54f994e827226c4704e1c6a66e39124a7f72f5b3864b5a204d59b7c89c65df1fa1715096fa8af3a397fb4e7d695720faab639747018909c437c555aa SHA512 39631ce3da7e77edff92809cc0dc4224b7311da791b8a60aaaf06d60a476d2e9d6b914d4f4b9c13d33dad19cec98093c6cacc75abe431bb3809b5b5fdc883591 diff --git a/net-p2p/syncthing/syncthing-1.4.2.ebuild b/net-p2p/syncthing/syncthing-1.4.2.ebuild new file mode 100644 index 000000000000..7b3436014f4d --- /dev/null +++ b/net-p2p/syncthing/syncthing-1.4.2.ebuild @@ -0,0 +1,374 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit go-module systemd xdg-utils + +EGO_SUM=( + "github.com/AudriusButkevicius/pfilter v0.0.0-20190627213056-c55ef6137fc6" + "github.com/AudriusButkevicius/pfilter v0.0.0-20190627213056-c55ef6137fc6/go.mod" + "github.com/AudriusButkevicius/recli v0.0.5" + "github.com/AudriusButkevicius/recli v0.0.5/go.mod" + "github.com/BurntSushi/toml v0.3.1/go.mod" + "github.com/StackExchange/wmi v0.0.0-20180116203802-5d049714c4a6" + "github.com/StackExchange/wmi v0.0.0-20180116203802-5d049714c4a6/go.mod" + "github.com/StackExchange/wmi v0.0.0-20190523213315-cbe66965904d" + "github.com/StackExchange/wmi v0.0.0-20190523213315-cbe66965904d/go.mod" + "github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod" + "github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751" + "github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod" + "github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod" + "github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4" + "github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4/go.mod" + "github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973" + "github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod" + "github.com/beorn7/perks v1.0.0" + "github.com/beorn7/perks v1.0.0/go.mod" + "github.com/beorn7/perks v1.0.1" + "github.com/beorn7/perks v1.0.1/go.mod" + "github.com/bkaradzic/go-lz4 v0.0.0-20160924222819-7224d8d8f27e" + "github.com/bkaradzic/go-lz4 v0.0.0-20160924222819-7224d8d8f27e/go.mod" + "github.com/calmh/murmur3 v1.1.1-0.20200226160057-74e9af8f47ac" + "github.com/calmh/murmur3 v1.1.1-0.20200226160057-74e9af8f47ac/go.mod" + "github.com/calmh/xdr v1.1.0" + "github.com/calmh/xdr v1.1.0/go.mod" + "github.com/ccding/go-stun v0.0.0-20180726100737-be486d185f3d" + "github.com/ccding/go-stun v0.0.0-20180726100737-be486d185f3d/go.mod" + "github.com/certifi/gocertifi v0.0.0-20190905060710-a5e0173ced67" + "github.com/certifi/gocertifi v0.0.0-20190905060710-a5e0173ced67/go.mod" + "github.com/cespare/xxhash/v2 v2.1.0" + "github.com/cespare/xxhash/v2 v2.1.0/go.mod" + "github.com/cheekybits/genny v1.0.0" + "github.com/cheekybits/genny v1.0.0/go.mod" + "github.com/chmduquesne/rollinghash v0.0.0-20180912150627-a60f8e7142b5" + "github.com/chmduquesne/rollinghash v0.0.0-20180912150627-a60f8e7142b5/go.mod" + "github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d" + "github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d/go.mod" + "github.com/d4l3k/messagediff v1.2.1" + "github.com/d4l3k/messagediff v1.2.1/go.mod" + "github.com/davecgh/go-spew v1.1.0/go.mod" + "github.com/davecgh/go-spew v1.1.1" + "github.com/davecgh/go-spew v1.1.1/go.mod" + "github.com/flynn-archive/go-shlex v0.0.0-20150515145356-3f9db97f8568" + "github.com/flynn-archive/go-shlex v0.0.0-20150515145356-3f9db97f8568/go.mod" + "github.com/fsnotify/fsnotify v1.4.7" + "github.com/fsnotify/fsnotify v1.4.7/go.mod" + "github.com/getsentry/raven-go v0.2.0" + "github.com/getsentry/raven-go v0.2.0/go.mod" + "github.com/go-kit/kit v0.8.0/go.mod" + "github.com/go-kit/kit v0.9.0/go.mod" + "github.com/go-logfmt/logfmt v0.3.0/go.mod" + "github.com/go-logfmt/logfmt v0.4.0/go.mod" + "github.com/go-ole/go-ole v1.2.1" + "github.com/go-ole/go-ole v1.2.1/go.mod" + "github.com/go-ole/go-ole v1.2.4" + "github.com/go-ole/go-ole v1.2.4/go.mod" + "github.com/go-stack/stack v1.8.0/go.mod" + "github.com/gobwas/glob v0.2.3" + "github.com/gobwas/glob v0.2.3/go.mod" + "github.com/gogo/protobuf v1.1.1/go.mod" + "github.com/gogo/protobuf v1.3.1" + "github.com/gogo/protobuf v1.3.1/go.mod" + "github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6" + "github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod" + "github.com/golang/mock v1.2.0" + "github.com/golang/mock v1.2.0/go.mod" + "github.com/golang/mock v1.3.1" + "github.com/golang/mock v1.3.1/go.mod" + "github.com/golang/protobuf v1.2.0" + "github.com/golang/protobuf v1.2.0/go.mod" + "github.com/golang/protobuf v1.3.0/go.mod" + "github.com/golang/protobuf v1.3.1" + "github.com/golang/protobuf v1.3.1/go.mod" + "github.com/golang/protobuf v1.3.2" + "github.com/golang/protobuf v1.3.2/go.mod" + "github.com/golang/snappy v0.0.1" + "github.com/golang/snappy v0.0.1/go.mod" + "github.com/google/go-cmp v0.3.0" + "github.com/google/go-cmp v0.3.0/go.mod" + "github.com/google/gofuzz v1.0.0/go.mod" + "github.com/hpcloud/tail v1.0.0" + "github.com/hpcloud/tail v1.0.0/go.mod" + "github.com/jackpal/gateway v1.0.5" + "github.com/jackpal/gateway v1.0.5/go.mod" + "github.com/jackpal/go-nat-pmp v1.0.2" + "github.com/jackpal/go-nat-pmp v1.0.2/go.mod" + "github.com/json-iterator/go v1.1.6/go.mod" + "github.com/json-iterator/go v1.1.7/go.mod" + "github.com/julienschmidt/httprouter v1.2.0/go.mod" + "github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51" + "github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51/go.mod" + "github.com/kisielk/errcheck v1.2.0/go.mod" + "github.com/kisielk/gotool v1.0.0/go.mod" + "github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod" + "github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod" + "github.com/kr/pretty v0.1.0" + "github.com/kr/pretty v0.1.0/go.mod" + "github.com/kr/pty v1.1.1/go.mod" + "github.com/kr/text v0.1.0" + "github.com/kr/text v0.1.0/go.mod" + "github.com/lib/pq v1.2.0" + "github.com/lib/pq v1.2.0/go.mod" + "github.com/lucas-clemente/quic-go v0.12.1" + "github.com/lucas-clemente/quic-go v0.12.1/go.mod" + "github.com/marten-seemann/qpack v0.1.0/go.mod" + "github.com/marten-seemann/qtls v0.3.2" + "github.com/marten-seemann/qtls v0.3.2/go.mod" + "github.com/maruel/panicparse v1.3.0" + "github.com/maruel/panicparse v1.3.0/go.mod" + "github.com/mattn/go-colorable v0.1.1" + "github.com/mattn/go-colorable v0.1.1/go.mod" + "github.com/mattn/go-isatty v0.0.5/go.mod" + "github.com/mattn/go-isatty v0.0.7" + "github.com/mattn/go-isatty v0.0.7/go.mod" + "github.com/mattn/go-isatty v0.0.11" + "github.com/mattn/go-isatty v0.0.11/go.mod" + "github.com/matttproud/golang_protobuf_extensions v1.0.1" + "github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod" + "github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b" + "github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b/go.mod" + "github.com/minio/sha256-simd v0.1.1" + "github.com/minio/sha256-simd v0.1.1/go.mod" + "github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod" + "github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod" + "github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod" + "github.com/modern-go/reflect2 v1.0.1/go.mod" + "github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod" + "github.com/onsi/ginkgo v1.6.0/go.mod" + "github.com/onsi/ginkgo v1.7.0" + "github.com/onsi/ginkgo v1.7.0/go.mod" + "github.com/onsi/ginkgo v1.9.0" + "github.com/onsi/ginkgo v1.9.0/go.mod" + "github.com/onsi/gomega v1.4.3" + "github.com/onsi/gomega v1.4.3/go.mod" + "github.com/onsi/gomega v1.6.0" + "github.com/onsi/gomega v1.6.0/go.mod" + "github.com/oschwald/geoip2-golang v1.4.0" + "github.com/oschwald/geoip2-golang v1.4.0/go.mod" + "github.com/oschwald/maxminddb-golang v1.6.0" + "github.com/oschwald/maxminddb-golang v1.6.0/go.mod" + "github.com/petermattis/goid v0.0.0-20180202154549-b0b1615b78e5" + "github.com/petermattis/goid v0.0.0-20180202154549-b0b1615b78e5/go.mod" + "github.com/pkg/errors v0.8.0/go.mod" + "github.com/pkg/errors v0.8.1" + "github.com/pkg/errors v0.8.1/go.mod" + "github.com/pkg/errors v0.9.0" + "github.com/pkg/errors v0.9.0/go.mod" + "github.com/pkg/errors v0.9.1" + "github.com/pkg/errors v0.9.1/go.mod" + "github.com/pmezard/go-difflib v1.0.0" + "github.com/pmezard/go-difflib v1.0.0/go.mod" + "github.com/prometheus/client_golang v0.9.1/go.mod" + "github.com/prometheus/client_golang v1.0.0/go.mod" + "github.com/prometheus/client_golang v1.2.1" + "github.com/prometheus/client_golang v1.2.1/go.mod" + "github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910" + "github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod" + "github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90" + "github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod" + "github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4" + "github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod" + "github.com/prometheus/common v0.4.1" + "github.com/prometheus/common v0.4.1/go.mod" + "github.com/prometheus/common v0.7.0" + "github.com/prometheus/common v0.7.0/go.mod" + "github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod" + "github.com/prometheus/procfs v0.0.2" + "github.com/prometheus/procfs v0.0.2/go.mod" + "github.com/prometheus/procfs v0.0.5" + "github.com/prometheus/procfs v0.0.5/go.mod" + "github.com/rcrowley/go-metrics v0.0.0-20190826022208-cac0b30c2563" + "github.com/rcrowley/go-metrics v0.0.0-20190826022208-cac0b30c2563/go.mod" + "github.com/russross/blackfriday/v2 v2.0.1" + "github.com/russross/blackfriday/v2 v2.0.1/go.mod" + "github.com/sasha-s/go-deadlock v0.2.0" + "github.com/sasha-s/go-deadlock v0.2.0/go.mod" + "github.com/shirou/gopsutil v0.0.0-20190714054239-47ef3260b6bf" + "github.com/shirou/gopsutil v0.0.0-20190714054239-47ef3260b6bf/go.mod" + "github.com/shirou/w32 v0.0.0-20160930032740-bb4de0191aa4/go.mod" + "github.com/shurcooL/sanitized_anchor_name v1.0.0" + "github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod" + "github.com/sirupsen/logrus v1.2.0/go.mod" + "github.com/sirupsen/logrus v1.4.2" + "github.com/sirupsen/logrus v1.4.2/go.mod" + "github.com/spaolacci/murmur3 v1.1.0" + "github.com/spaolacci/murmur3 v1.1.0/go.mod" + "github.com/stretchr/objx v0.1.0/go.mod" + "github.com/stretchr/objx v0.1.1/go.mod" + "github.com/stretchr/testify v1.2.2" + "github.com/stretchr/testify v1.2.2/go.mod" + "github.com/stretchr/testify v1.3.0" + "github.com/stretchr/testify v1.3.0/go.mod" + "github.com/stretchr/testify v1.4.0" + "github.com/stretchr/testify v1.4.0/go.mod" + "github.com/syncthing/notify v0.0.0-20190709140112-69c7a957d3e2" + "github.com/syncthing/notify v0.0.0-20190709140112-69c7a957d3e2/go.mod" + "github.com/syndtr/goleveldb v1.0.1-0.20190923125748-758128399b1d" + "github.com/syndtr/goleveldb v1.0.1-0.20190923125748-758128399b1d/go.mod" + "github.com/thejerf/suture v3.0.2+incompatible" + "github.com/thejerf/suture v3.0.2+incompatible/go.mod" + "github.com/urfave/cli v1.20.0" + "github.com/urfave/cli v1.20.0/go.mod" + "github.com/urfave/cli v1.22.2" + "github.com/urfave/cli v1.22.2/go.mod" + "github.com/vitrun/qart v0.0.0-20160531060029-bf64b92db6b0" + "github.com/vitrun/qart v0.0.0-20160531060029-bf64b92db6b0/go.mod" + "github.com/willf/bitset v1.1.10" + "github.com/willf/bitset v1.1.10/go.mod" + "github.com/willf/bloom v2.0.3+incompatible" + "github.com/willf/bloom v2.0.3+incompatible/go.mod" + "golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod" + "golang.org/x/crypto v0.0.0-20190228161510-8dd112bcdc25/go.mod" + "golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2" + "golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod" + "golang.org/x/crypto v0.0.0-20190829043050-9756ffdc2472" + "golang.org/x/crypto v0.0.0-20190829043050-9756ffdc2472/go.mod" + "golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod" + "golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod" + "golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7/go.mod" + "golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod" + "golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod" + "golang.org/x/net v0.0.0-20190613194153-d28f0bde5980/go.mod" + "golang.org/x/net v0.0.0-20190827160401-ba9fcec4b297" + "golang.org/x/net v0.0.0-20190827160401-ba9fcec4b297/go.mod" + "golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod" + "golang.org/x/sync v0.0.0-20181108010431-42b317875d0f" + "golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod" + "golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod" + "golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod" + "golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod" + "golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod" + "golang.org/x/sys v0.0.0-20180926160741-c2ed4eda69e7/go.mod" + "golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod" + "golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a" + "golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod" + "golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223" + "golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod" + "golang.org/x/sys v0.0.0-20190228124157-a34e9553db1e" + "golang.org/x/sys v0.0.0-20190228124157-a34e9553db1e/go.mod" + "golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod" + "golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod" + "golang.org/x/sys v0.0.0-20191010194322-b09406accb47" + "golang.org/x/sys v0.0.0-20191010194322-b09406accb47/go.mod" + "golang.org/x/sys v0.0.0-20191026070338-33540a1f6037" + "golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod" + "golang.org/x/sys v0.0.0-20191224085550-c709ea063b76" + "golang.org/x/sys v0.0.0-20191224085550-c709ea063b76/go.mod" + "golang.org/x/text v0.3.0" + "golang.org/x/text v0.3.0/go.mod" + "golang.org/x/text v0.3.2" + "golang.org/x/text v0.3.2/go.mod" + "golang.org/x/time v0.0.0-20190308202827-9d24e82272b4" + "golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod" + "golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod" + "golang.org/x/tools v0.0.0-20181030221726-6c7e314b6563/go.mod" + "golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod" + "google.golang.org/genproto v0.0.0-20180831171423-11092d34479b/go.mod" + "gopkg.in/alecthomas/kingpin.v2 v2.2.6" + "gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod" + "gopkg.in/asn1-ber.v1 v1.0.0-20181015200546-f715ec2f112d" + "gopkg.in/asn1-ber.v1 v1.0.0-20181015200546-f715ec2f112d/go.mod" + "gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod" + "gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127" + "gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod" + "gopkg.in/fsnotify.v1 v1.4.7" + "gopkg.in/fsnotify.v1 v1.4.7/go.mod" + "gopkg.in/ldap.v2 v2.5.1" + "gopkg.in/ldap.v2 v2.5.1/go.mod" + "gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7" + "gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod" + "gopkg.in/yaml.v2 v2.2.1" + "gopkg.in/yaml.v2 v2.2.1/go.mod" + "gopkg.in/yaml.v2 v2.2.2" + "gopkg.in/yaml.v2 v2.2.2/go.mod" +) + +go-module_set_globals + +DESCRIPTION="Open Source Continuous File Synchronization" +HOMEPAGE="https://syncthing.net" +SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz + ${EGO_SUM_SRC_URI}" + +LICENSE="Apache-2.0 BSD BSD-2 ISC MIT MPL-2.0 Unlicense" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc64 ~x86" +IUSE="selinux tools" + +RDEPEND="acct-group/syncthing + acct-user/syncthing + tools? ( acct-group/stdiscosrv + acct-group/strelaysrv + acct-user/stdiscosrv + acct-user/strelaysrv ) + selinux? ( sec-policy/selinux-syncthing )" + +DOCS=( README.md AUTHORS CONTRIBUTING.md ) + +src_prepare() { + # Bug #679280 + xdg_environment_reset + + default + sed -i \ + 's|^ExecStart=.*|ExecStart=/usr/libexec/syncthing/strelaysrv|' \ + cmd/strelaysrv/etc/linux-systemd/strelaysrv.service \ + || die + + # As of 1.4.2, stupgrades still fails to compile. This command was not present + # in releases older than 1.3.0, is not compiled in by default (USE=tools + # must be set) an in any case we do not really need this, therefore just + # get rid of the offending code until upstream has fixed it. + rm -rf cmd/stupgrades +} + +src_compile() { + go run build.go -version "v${PV}" -no-upgrade install \ + $(usex tools "all" "") || die "build failed" +} + +src_test() { + go run build.go test || die "test failed" +} + +src_install() { + doman man/*.[157] + einstalldocs + + dobin bin/syncthing + if use tools ; then + exeinto /usr/libexec/syncthing + local exe + for exe in bin/* ; do + [[ "${exe}" == "bin/syncthing" ]] || doexe "${exe}" + done + fi + + # openrc and systemd service files + systemd_dounit etc/linux-systemd/system/${PN}{@,-resume}.service + systemd_douserunit etc/linux-systemd/user/${PN}.service + newconfd "${FILESDIR}/${PN}.confd" ${PN} + newinitd "${FILESDIR}/${PN}.initd" ${PN} + + keepdir /var/{lib,log}/${PN} + fowners ${PN}:${PN} /var/{lib,log}/${PN} + insinto /etc/logrotate.d + newins "${FILESDIR}/${PN}.logrotate" ${PN} + + if use tools ; then + # openrc and systemd service files + + systemd_dounit "${FILESDIR}/stdiscosrv.service" + newconfd "${FILESDIR}/stdiscosrv.confd" stdiscosrv + newinitd "${FILESDIR}/stdiscosrv.initd" stdiscosrv + + systemd_dounit cmd/strelaysrv/etc/linux-systemd/strelaysrv.service + newconfd "${FILESDIR}/strelaysrv.confd" strelaysrv + newinitd "${FILESDIR}/strelaysrv.initd" strelaysrv + + insinto /etc/logrotate.d + newins "${FILESDIR}/stdiscosrv.logrotate" strelaysrv + newins "${FILESDIR}/strelaysrv.logrotate" strelaysrv + fi +} |