summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rwxr-xr-xbin-net/syncthing-bin/BUILD1
-rwxr-xr-xbin-net/syncthing-bin/DETAILS27
-rwxr-xr-xbin-net/syncthing-bin/FINAL4
-rw-r--r--bin-net/syncthing-bin/HISTORY2
-rwxr-xr-xbin-net/syncthing-bin/INSTALL1
6 files changed, 38 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 7e78265..338a8a5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2022-09-04 Vlad Glagolev <stealth@sourcemage.org>
+ * bin-net/syncthing-bin: new spell, open decentralized synchronization utility
+
2022-07-30 Vlad Glagolev <stealth@sourcemage.org>
* 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 <stealth@sourcemage.org>
+ * 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"