package/gocryptfs: new package
Adds the gocryptfs encrypted FUSE filesystem. Currently uses without_openssl build tag, to use the native Go cryptography. However, the package could be improved by conditionally enabling openssl if it is also configured to be built by Buildroot. Signed-off-by: Christian Stewart <christian@paral.in> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
4e5d2c0b95
commit
ffc503fab7
@ -531,6 +531,7 @@ F: package/docker-proxy/
|
||||
F: package/embiggen-disk/
|
||||
F: package/fuse-overlayfs/
|
||||
F: package/go/
|
||||
F: package/gocryptfs/
|
||||
F: package/mbpfan/
|
||||
F: package/mosh/
|
||||
F: package/pkg-golang.mk
|
||||
|
@ -221,6 +221,7 @@ menu "Filesystem and flash utilities"
|
||||
source "package/genext2fs/Config.in"
|
||||
source "package/genpart/Config.in"
|
||||
source "package/genromfs/Config.in"
|
||||
source "package/gocryptfs/Config.in"
|
||||
source "package/imx-usb-loader/Config.in"
|
||||
source "package/mmc-utils/Config.in"
|
||||
source "package/mtd/Config.in"
|
||||
|
12
package/gocryptfs/Config.in
Normal file
12
package/gocryptfs/Config.in
Normal file
@ -0,0 +1,12 @@
|
||||
config BR2_PACKAGE_GOCRYPTFS
|
||||
bool "gocryptfs"
|
||||
depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
help
|
||||
gocryptfs is an encrypted FUSE overlay filesystem.
|
||||
|
||||
https://github.com/rfjakob/gocryptfs
|
||||
|
||||
comment "gocryptfs needs a toolchain w/ threads"
|
||||
depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
3
package/gocryptfs/gocryptfs.hash
Normal file
3
package/gocryptfs/gocryptfs.hash
Normal file
@ -0,0 +1,3 @@
|
||||
# Locally computed
|
||||
sha256 4d89b76fe0b0c7218099f6f0ea6c1c87efe13927d95579a6ede82f20b6dbe48a gocryptfs-2.2.0.tar.gz
|
||||
sha256 322a7e3b02cf18e38b7e6b18cafefb773df8676c65634b34e8a2beb931294a4b LICENSE
|
19
package/gocryptfs/gocryptfs.mk
Normal file
19
package/gocryptfs/gocryptfs.mk
Normal file
@ -0,0 +1,19 @@
|
||||
################################################################################
|
||||
#
|
||||
# gocryptfs
|
||||
#
|
||||
################################################################################
|
||||
|
||||
GOCRYPTFS_VERSION = 2.2.0
|
||||
GOCRYPTFS_SITE = $(call github,rfjakob,gocryptfs,v$(GOCRYPTFS_VERSION))
|
||||
GOCRYPTFS_LICENSE = MIT
|
||||
GOCRYPTFS_LICENSE_FILES = LICENSE
|
||||
|
||||
GOCRYPTFS_GOMOD = github.com/rfjakob/gocryptfs/v2
|
||||
|
||||
GOCRYPTFS_LDFLAGS = \
|
||||
-X main.GitVersion=$(GOCRYPTFS_VERSION) \
|
||||
-X main.GitVersionFuse=[vendored]
|
||||
GOCRYPTFS_TAGS = without_openssl
|
||||
|
||||
$(eval $(golang-package))
|
Loading…
Reference in New Issue
Block a user