Changeset View
Changeset View
Standalone View
Standalone View
package.yml
| name : syncthing | name : syncthing | ||||
| version : 0.14.41 | version : 0.14.43 | ||||
| release : 32 | release : 33 | ||||
| homepage : https://syncthing.net | homepage : https://syncthing.net | ||||
| source : | source : | ||||
| - https://github.com/syncthing/syncthing/releases/download/v0.14.41/syncthing-source-v0.14.41.tar.gz : 0a7d3c260f5cc8071cf880923d3dc59d3e9163cdd402c169058be59700cd2ad2 | - https://github.com/syncthing/syncthing/releases/download/v0.14.43/syncthing-source-v0.14.43.tar.gz : bb0250e0bafce690a8ce3f43f0ab8349874ac1c8f3cdc224ed5d0110099bbd9c | ||||
| license : MPL-2.0 | license : MPL-2.0 | ||||
| extract : no | extract : no | ||||
| component : network.util | component : network.util | ||||
| summary : Syncthing is an open-source file synchronization client/server application | summary : Syncthing is an open-source file synchronization client/server application | ||||
| description: | | description: | | ||||
| Syncthing is an open-source file synchronization client/server application, written in Go, implementing its own, equally free Block Exchange Protocol. All transit communications between syncthing nodes are encrypted, and all nodes are uniquely identified with cryptographic certificates. | Syncthing is an open-source file synchronization client/server application, written in Go, implementing its own, equally free Block Exchange Protocol. All transit communications between syncthing nodes are encrypted, and all nodes are uniquely identified with cryptographic certificates. | ||||
| builddeps : | builddeps : | ||||
| - golang | - golang | ||||
| build : | | build : | | ||||
| export GOPATH="${workdir}" GOROOT_FINAL="/usr/bin" | export GOPATH="${workdir}" GOROOT_FINAL="/usr/bin" | ||||
| export syncdir="${workdir}/src/github.com/syncthing/" | export syncdir="${workdir}/src/github.com/syncthing/" | ||||
| mkdir -p $syncdir | mkdir -p $syncdir | ||||
| tar -xf $sources/syncthing-source-v${version}.tar.gz -C $syncdir | tar -xf $sources/syncthing-source-v${version}.tar.gz -C $syncdir | ||||
| cd $syncdir/syncthing | cd $syncdir/syncthing | ||||
| go run build.go -no-upgrade -version v${version} build | go run build.go -no-upgrade -version v${version} build | ||||
| install : | | install : | | ||||
| export syncdir="${workdir}/src/github.com/syncthing/" | export syncdir="${workdir}/src/github.com/syncthing/" | ||||
| cd $syncdir/syncthing | cd $syncdir/syncthing | ||||
| # Install binaries and systemd stuff | # Install binaries and systemd stuff | ||||
| install -Dm00755 syncthing $installdir/usr/bin/syncthing | install -Dm00755 syncthing $installdir/usr/bin/syncthing | ||||
| install -Dm00644 etc/linux-systemd/system/syncthing@.service $installdir/%libdir%/systemd/system/syncthing@.service | install -Dm00644 etc/linux-systemd/system/syncthing@.service $installdir/%libdir%/systemd/system/syncthing@.service | ||||
| install -Dm00644 etc/linux-systemd/user/syncthing.service $installdir/%libdir%/systemd/user/syncthing.service | install -Dm00644 etc/linux-systemd/user/syncthing.service $installdir/%libdir%/systemd/user/syncthing.service | ||||
| # Install man pages | # Install man pages | ||||
| cd man | cd man | ||||
| install -Dm0644 syncthing.1 $installdir/usr/share/man/man1/syncthing.1 | install -Dm00644 syncthing.1 $installdir/usr/share/man/man1/syncthing.1 | ||||
| for file in $(find . -name '*.5' -print); do | for file in $(find . -name '*.5' -print); do | ||||
| install -Dm0644 $file $installdir/usr/share/man/man5/$file | install -Dm00644 $file $installdir/usr/share/man/man5/$file | ||||
| done | done | ||||
| for file in $(find . -name '*.7' -print); do | for file in $(find . -name '*.7' -print); do | ||||
| install -Dm644 $file $installdir/usr/share/man/man7/$file | install -Dm00644 $file $installdir/usr/share/man/man7/$file | ||||
| done | done | ||||
Copyright © 2015-2021 Solus Project. The Solus logo is Copyright © 2016-2021 Solus Project. All Rights Reserved.