Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #2825 from mariux64/update-syncthing-1230
syncthing: update from 1.22.2 to 1.23.0
  • Loading branch information
wwwutz committed Jan 10, 2023
2 parents 24fad62 + 941adb2 commit a8f9278
Showing 1 changed file with 20 additions and 7 deletions.
27 changes: 20 additions & 7 deletions syncthing.be0
@@ -1,17 +1,16 @@
#!/bin/env beesh

# BEE_VERSION syncthing-1.22.2-0
# BEE_VERSION syncthing-1.23.0-0

## The source URL(s) array
SRCURL[0]="https://github.com/syncthing/syncthing/releases/download/v${PKGVERSION}/syncthing-source-v${PKGVERSION}.tar.gz syncthing-v${PKGVERSION}.tar.gz"
SRCURL[0]="https://beehive.molgen.mpg.de/e76c2a4a7ebe0e972afe8bb42cf51aa0/syncthing-v1.22.2.tar.gz"

SRCURL[0]="https://beehive.molgen.mpg.de/39949305d527c0e74dea8ff7da455122/syncthing-v1.23.0.tar.gz"

## Add URLs/paths to patch files
# PATCHURL+=()

## uncomment to change default
build_in_sourcedir
#build_in_sourcedir

## specify different source directory
# sourcesubdir_append src
Expand All @@ -29,7 +28,13 @@ build_in_sourcedir
#}

mee_build() {
export GOPATH=${F}

export GOCACHE="${B}/.cache/go-build"
export GOENV="${B}/.config/go/env"
export GOMODCACHE="${B}/pkg/mod"

# we build in source dir but we don't 8-)
cd ${S}
# go clean -r -x build.go # NEVER EVER run this as root
go run -v build.go
go run -v build.go -no-upgrade build syncthing
Expand All @@ -40,8 +45,16 @@ mee_build() {

mee_install() {
mkdir -p ${D}/usr/bin
cp ${S}/syncthing ${D}/usr/bin
for b in stevents stcompdirs stvanity stfindignored stfileinfo stwatchfile stsigtool stdisco stdiscosrv stfinddevice stgenfiles stwatchfile; do

# not packaged:
# stcrahcreceiver
# strelaypoolsrv
# strelaysrv
# uraggregate
# ursrv
# stupgrades

for b in stcompdirs stdisco stdiscosrv stevents stfileinfo stfinddevice stfindignored stgenfiles stsigtool stvanity stwatchfile syncthing; do
cp ${S}/bin/$b ${D}/usr/bin
done

Expand Down

0 comments on commit a8f9278

Please sign in to comment.