Skip to content

syncthing: update from 1.22.2 to 1.23.0 #2825

Merged
merged 1 commit into from
Jan 10, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 20 additions & 7 deletions syncthing.be0
Original file line number Diff line number Diff line change
@@ -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