Just to confirm that I did get gocryptfs onto OpenWRT 22.03.5 by compiling using the SDK and modified version of the Makefile linked earlier.
But my skills are limited and although the binary built, the final packaging errored.
So I cheated and just SCP the binary onto the router.
But hey, at least it works
In case anyone is interested, the modified Makefile is:
# Copyright (C) 2010-2016 OpenWrt.org
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
# Needed so gocryptfs can see what version its dealing with:
echo $(PKG_VERSION) > $(PKG_BUILD_DIR)/VERSION
# Build without OpenSSL (fewer deps and speedtests show its faster without):
TITLE:=An encrypted overlay filesystem written in Go
DEPENDS:=$(GO_ARCH_DEPENDS) +libfuse +fuse-utils +kmod-fuse
An encrypted overlay filesystem written in Go
$(eval $(call GoBinPackage,gocryptfs))
$(eval $(call BuildPackage,gocryptfs))
EDIT: It doesn't produce an installable package, but the binary is there and works.
I'll post another topic on it perhaps and try and get some help to finish the job properly.