Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #2870 from mariux64/update-syncthing-1232
syncthing: update from 1.22.2 to 1.23.2
  • Loading branch information
wwwutz committed Mar 9, 2023
2 parents 12fa122 + 0c0d829 commit 3f6f9d7
Showing 1 changed file with 12 additions and 20 deletions.
32 changes: 12 additions & 20 deletions syncthing.be0
@@ -1,10 +1,12 @@
#!/bin/env beesh

# BEE_VERSION syncthing-1.23.1-0
# BEE_VERSION syncthing-1.23.2-1

## 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/28f33461580ea4d6391e792d66ef826e/syncthing-v1.23.1.tar.gz"

#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/f07a093bce5eb809de65e51ace6115fc/syncthing-v1.23.2.tar.gz"

## Add URLs/paths to patch files
# PATCHURL+=()
Expand All @@ -28,33 +30,23 @@ SRCURL[0]="https://beehive.molgen.mpg.de/28f33461580ea4d6391e792d66ef826e/syncth
#}

mee_build() {

export GOCACHE="${B}/.cache/go-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
cd ${S}
go run -x -a -v build.go
go run -x -a -v build.go -no-upgrade build syncthing
}

## mee_install() should install into "${D}"
## default: 'make install DESTDIR="${D}"'

mee_install() {
mkdir -p ${D}/usr/bin

# 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}/syncthing ${D}/usr/bin
for b in stevents stcompdirs stvanity stfindignored stfileinfo stwatchfile stsigtool stdisco stdiscosrv stfinddevice stgenfiles stwatchfile; do
cp ${S}/bin/$b ${D}/usr/bin
done

Expand Down

0 comments on commit 3f6f9d7

Please sign in to comment.