From 6a451e9fc090d0808c9370b652d2a52252919971 Mon Sep 17 00:00:00 2001 From: Peter Marquardt Date: Thu, 12 Apr 2018 15:24:04 +0200 Subject: [PATCH 1/3] add syncthing-0.14.46 --- syncthing.be0 | 54 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100755 syncthing.be0 diff --git a/syncthing.be0 b/syncthing.be0 new file mode 100755 index 000000000..6efa2275c --- /dev/null +++ b/syncthing.be0 @@ -0,0 +1,54 @@ +#!/bin/env beesh + +# BEE_VERSION syncthing-0.14.46-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" + +## Add URLs/paths to patch files +# PATCHURL+=() + +## files that should not be added from the image directory. +# EXCLUDE+=() + +## uncomment to change default +build_in_sourcedir + +## specify different source directory +# sourcesubdir_append src + + +#mee_extract() { +# bee_extract "${@}" +#} + +#mee_patch() { +# bee_patch +#} + +#mee_configure() { +# bee_configure +#} + +mee_build() { + go run build.go + +} + +## mee_install() should install into "${D}" +## default: 'make install DESTDIR="${D}"' + +mee_install() { + + mkdir -p ${D}/usr/bin + cp ${S}/bin/syncthing ${D}/usr/bin + + mkdir -p ${D}/usr/share/man/man1 + cp ${S}/man/syncthing.1 ${D}/usr/share/man/man1 + + mkdir -p ${D}/usr/share/man/man5 + cp ${S}/man/syncthing-{config,stignore}.5 ${D}/usr/share/man/man5 + + mkdir -p ${D}/usr/share/man/man7 + cp ${S}/man/syncthing-*.7 ${D}/usr/share/man/man7 +} From cbdb568e8e54e8841983d423ba54e09868498f07 Mon Sep 17 00:00:00 2001 From: Peter Marquardt Date: Thu, 12 Apr 2018 15:46:39 +0200 Subject: [PATCH 2/3] syncthing: do not allow automagic upgrades --- syncthing.be0 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/syncthing.be0 b/syncthing.be0 index 6efa2275c..d642e5b65 100755 --- a/syncthing.be0 +++ b/syncthing.be0 @@ -1,6 +1,6 @@ #!/bin/env beesh -# BEE_VERSION syncthing-0.14.46-0 +# BEE_VERSION syncthing-0.14.46-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" @@ -31,7 +31,7 @@ build_in_sourcedir #} mee_build() { - go run build.go + go run build.go -no-upgrade } From 41729c47b97e52502e2076f0a1b13b176cef7dcf Mon Sep 17 00:00:00 2001 From: Peter Marquardt Date: Thu, 12 Apr 2018 15:48:15 +0200 Subject: [PATCH 3/3] syncthing:L whitespace stuff --- syncthing.be0 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/syncthing.be0 b/syncthing.be0 index d642e5b65..e46fad0a9 100755 --- a/syncthing.be0 +++ b/syncthing.be0 @@ -31,8 +31,9 @@ build_in_sourcedir #} mee_build() { - go run build.go -no-upgrade - + + go run build.go -no-upgrade + } ## mee_install() should install into "${D}"