From 7e04941bccb2683f8a6e3ee38a99c50129234dd1 Mon Sep 17 00:00:00 2001 From: Lena Date: Thu, 1 Jan 2026 00:00:00 +0000 Subject: rsend: push phone folders to a home SSH host over rsync A small Android app for one-way folder backup, a KISS alternative to Syncthing. It bundles rsync (built from pinned source via the NDK) and a pure-Go SSH transport, both shipped in the APK as lib*.so and run from the native library directory. rsend pins the host key, stores the ed25519 identity Keystore-encrypted, pushes each folder additively or as a mirror, and runs on demand or on a WiFi-only schedule. The build is self-contained and reproducible: make setup provisions the toolchain, make builds rsync, rsh, and the APK. --- versions | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 versions (limited to 'versions') diff --git a/versions b/versions new file mode 100644 index 0000000..bb4987a --- /dev/null +++ b/versions @@ -0,0 +1,28 @@ +# rsend pinned versions. Single source of truth. +# +# Sourced by the build scripts (POSIX sh: . ./versions) and mirrored by the +# F-Droid recipe. Keep builds reproducible: bump deliberately, never float. + +# Native rsync, built from source via the Android NDK. The tarball sha256 lives +# in rsync/rsync-${RSYNC_VERSION}.tar.gz.sha256, which the build verifies. +RSYNC_VERSION=3.4.1 +RSYNC_URL=https://download.samba.org/pub/rsync/src/rsync-${RSYNC_VERSION}.tar.gz + +# Go SSH transport (rsh). Matches the go.mod go directive; x/crypto needs 1.25+. +GO_VERSION=1.25.0 + +# Android toolchain. ANDROID_NDK is the sdkmanager package revision. +ANDROID_NDK=27.2.12479018 +ANDROID_CMDLINE_TOOLS=11076708 +ANDROID_BUILD_TOOLS=35.0.0 +ANDROID_PLATFORM=35 +ANDROID_MIN_SDK=30 +ANDROID_TARGET_SDK=35 +AGP_VERSION=8.7.3 +GRADLE_VERSION=8.9 +KOTLIN_VERSION=2.0.21 +JDK_VERSION=17 + +# Native ABIs to build. arm64-v8a ships on the phone; x86_64 is for host and +# emulator tests. Add armeabi-v7a to support 32-bit phones. +ABIS="arm64-v8a x86_64" -- cgit v1.2.3