diff options
author | Peter Korsgaard <peter@korsgaard.com> | 2017-09-12 19:00:56 +0200 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2017-09-12 23:34:42 +0200 |
commit | 81bf606d160ecd2479d338e18111e56f4020728c (patch) | |
tree | 19776f9dfc6d5a4fea62fa9c9a496b1bdc72fcc7 /package/fscryptctl | |
parent | ac5cb4106fad69939bdb516544c4ee9946aa5cd0 (diff) | |
download | buildroot-81bf606d160ecd2479d338e18111e56f4020728c.tar.gz buildroot-81bf606d160ecd2479d338e18111e56f4020728c.zip |
fscryptctl: new package
fscryptctl is a low-level tool written in C that handles raw keys and
manages policies for Linux filesystem encryption.
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/fscryptctl')
-rw-r--r-- | package/fscryptctl/Config.in | 12 | ||||
-rw-r--r-- | package/fscryptctl/fscryptctl.hash | 3 | ||||
-rw-r--r-- | package/fscryptctl/fscryptctl.mk | 20 |
3 files changed, 35 insertions, 0 deletions
diff --git a/package/fscryptctl/Config.in b/package/fscryptctl/Config.in new file mode 100644 index 0000000000..91b9ba8ebe --- /dev/null +++ b/package/fscryptctl/Config.in @@ -0,0 +1,12 @@ +config BR2_PACKAGE_FSCRYPTCTL + bool "fscryptctl" + help + fscryptctl is a low-level tool written in C that handles raw + keys and manages policies for Linux filesystem encryption. + + Notice: Fscrypt support on EXT4 requires a kernel with + CONFIG_EXT4_ENCRYPTION=y and a file system with the + encryption option and block size equal to CPU page size + (BR2_TARGET_ROOTFS_EXT2_MKFS_OPTIONS="-O encrypt -b 4096") + + https://github.com/google/fscryptctl diff --git a/package/fscryptctl/fscryptctl.hash b/package/fscryptctl/fscryptctl.hash new file mode 100644 index 0000000000..ea3a47b057 --- /dev/null +++ b/package/fscryptctl/fscryptctl.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 ad5ca31fa2372d4d9c01439bf5b9717d4b9775630d7947b9c6b69377150e76a1 fscryptctl-18428569e4b23cf33b90046aaed3b5fbdab3b191.tar.gz +sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE diff --git a/package/fscryptctl/fscryptctl.mk b/package/fscryptctl/fscryptctl.mk new file mode 100644 index 0000000000..843cb7887b --- /dev/null +++ b/package/fscryptctl/fscryptctl.mk @@ -0,0 +1,20 @@ +################################################################################ +# +# fscryptctl +# +################################################################################ + +FSCRYPTCTL_VERSION = 18428569e4b23cf33b90046aaed3b5fbdab3b191 +FSCRYPTCTL_SITE = $(call github,google,fscryptctl,$(FSCRYPTCTL_VERSION)) +FSCRYPTCTL_LICENSE = Apache-2.0 +FSCRYPTCTL_LICENSE_FILES = LICENSE + +define FSCRYPTCTL_BUILD_CMDS + $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) fscryptctl +endef + +define FSCRYPTCTL_INSTALL_TARGET_CMDS + $(INSTALL) -m 0755 -D $(@D)/fscryptctl $(TARGET_DIR)/usr/bin/fscryptctl +endef + +$(eval $(generic-package)) |