From 339af2d30c0fdaa542cb01b0969cf661a5c2a955 Mon Sep 17 00:00:00 2001 From: Vlad Glagolev Date: Mon, 5 Sep 2022 03:48:09 +0000 Subject: syncthing-bin: new spell, open decentralized synchronization utility --- ChangeLog | 3 +++ bin-net/syncthing-bin/BUILD | 1 + bin-net/syncthing-bin/DETAILS | 27 +++++++++++++++++++++++++++ bin-net/syncthing-bin/FINAL | 4 ++++ bin-net/syncthing-bin/HISTORY | 2 ++ bin-net/syncthing-bin/INSTALL | 1 + 6 files changed, 38 insertions(+) create mode 100755 bin-net/syncthing-bin/BUILD create mode 100755 bin-net/syncthing-bin/DETAILS create mode 100755 bin-net/syncthing-bin/FINAL create mode 100644 bin-net/syncthing-bin/HISTORY create mode 100755 bin-net/syncthing-bin/INSTALL diff --git a/ChangeLog b/ChangeLog index 7e78265..338a8a5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2022-09-04 Vlad Glagolev + * bin-net/syncthing-bin: new spell, open decentralized synchronization utility + 2022-07-30 Vlad Glagolev * bin-utils/grit-bin: new spell, multitree-based personal task manager diff --git a/bin-net/syncthing-bin/BUILD b/bin-net/syncthing-bin/BUILD new file mode 100755 index 0000000..27ba77d --- /dev/null +++ b/bin-net/syncthing-bin/BUILD @@ -0,0 +1 @@ +true diff --git a/bin-net/syncthing-bin/DETAILS b/bin-net/syncthing-bin/DETAILS new file mode 100755 index 0000000..8fe682e --- /dev/null +++ b/bin-net/syncthing-bin/DETAILS @@ -0,0 +1,27 @@ + SPELL=syncthing-bin + SPELLX=${SPELL/-bin/} + VERSION=1.20.4 +if [[ "${SMGL_COMPAT_ARCHS[1]}" == "x86_64" || "${SMGL_COMPAT_ARCHS[1]}" == "em64t" ]]; then + ARCH=amd64 + SOURCE_HASH=sha256:ce577b08236c14ce4e3f2f589791b2521086bdd2ce952800847f0acd1b753dbe:UPSTREAM_HASH +else + ARCH=386 + SOURCE_HASH=sha256:7f8daa454a79e6c869afcec50f4b9b7906c697b37c14762dd5f217d3a9ad940e:UPSTREAM_HASH +fi + SOURCE=${SPELLX}-linux-${ARCH}-v${VERSION}.tar.gz + SOURCE_URL[0]=https://github.com/syncthing/${SPELLX}/releases/download/v${VERSION}/${SOURCE} +SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELLX}-linux-${ARCH}-v${VERSION}" + WEB_SITE=https://github.com/syncthing/syncthing + LICENSE[0]=MPL + ENTERED=20220904 + KEYWORDS="sync file-sharing" + SHORT="open decentralized synchronization utility" +cat << EOF +Syncthing is an application that lets you synchronize your files across +multiple devices. This means the creation, modification or deletion of files +on one machine will automatically be replicated to your other devices. We +believe your data is your data alone and you deserve to choose where it is +stored. Therefore Syncthing does not upload your data to the cloud but +exchanges your data across your machines as soon as they are online at the +same time. +EOF diff --git a/bin-net/syncthing-bin/FINAL b/bin-net/syncthing-bin/FINAL new file mode 100755 index 0000000..4b6a086 --- /dev/null +++ b/bin-net/syncthing-bin/FINAL @@ -0,0 +1,4 @@ +message "${MESSAGE_COLOR}You also want to consider the following:\n" +message "# Increase maximum receive socket buffer size to 2MiB for QUIC connections" +message "# see https://github.com/lucas-clemente/quic-go/wiki/UDP-Receive-Buffer-Size" +message "echo \"net.core.rmem_max=2097152\" >> /etc/sysctl.conf${DEFAULT_COLOR}\n" diff --git a/bin-net/syncthing-bin/HISTORY b/bin-net/syncthing-bin/HISTORY new file mode 100644 index 0000000..f458ab2 --- /dev/null +++ b/bin-net/syncthing-bin/HISTORY @@ -0,0 +1,2 @@ +2022-09-04 Vlad Glagolev + * DETAILS, BUILD, INSTALL, FINAL: created spell, version 1.20.4 diff --git a/bin-net/syncthing-bin/INSTALL b/bin-net/syncthing-bin/INSTALL new file mode 100755 index 0000000..8c97ae8 --- /dev/null +++ b/bin-net/syncthing-bin/INSTALL @@ -0,0 +1 @@ +install -vm 755 syncthing "${INSTALL_ROOT}/usr/bin/syncthing" -- cgit v1.2.3