blob: 3de2bfac86c95636d4a94f1c2a978697db9a6d2b [file] [log] [blame]
Richard Marian Thomaiyar14fddef2018-07-13 23:55:56 +05301SUMMARY = "low-level tool handling Linux filesystem encryption"
2DESCIPTION = "fscryptctl is a low-level tool written in C that handles raw keys and manages \
3policies for Linux filesystem encryption (https://lwn.net/Articles/639427). \
4For a tool that presents a higher level interface and manages metadata, key \
5generation, key wrapping, PAM integration, and passphrase hashing, see \
6fscrypt (https://github.com/google/fscrypt)."
7HOMEPAGE = "https://github.com/google/fscryptctl"
8SECTION = "base"
9LICENSE = "Apache-2.0"
10LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
11
Andrew Geisslerdc9d6142023-05-19 09:38:37 -050012SRCREV = "7c80c73c084ce9ea49a03b814dac7a82fd7b4c23"
Patrick Williams53961c22022-01-20 11:06:23 -060013SRC_URI = "git://github.com/google/fscryptctl.git;branch=master;protocol=https"
Richard Marian Thomaiyar14fddef2018-07-13 23:55:56 +053014
15S = "${WORKDIR}/git"
16
Andrew Geisslerdc9d6142023-05-19 09:38:37 -050017do_compile:prepend() {
18 sed -i 's/fscryptctl\.1//g' ${S}/Makefile
19 sed -i 's/install-man//g' ${S}/Makefile
20}
21
Richard Marian Thomaiyar14fddef2018-07-13 23:55:56 +053022do_install() {
Andrew Geissler9d3cc052021-03-31 13:36:22 -050023 oe_runmake DESTDIR=${D} PREFIX=/usr install
Richard Marian Thomaiyar14fddef2018-07-13 23:55:56 +053024}
25
Patrick Williams213cb262021-08-07 19:21:33 -050026RRECOMMENDS:${PN} += "\
Richard Marian Thomaiyar14fddef2018-07-13 23:55:56 +053027 keyutils \
28 kernel-module-cbc \
29 kernel-module-cts \
30 kernel-module-ecb \
31 kernel-module-xts \
32"