blob: c1e382bca9133e459018306e28b1bde687537ad2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
SUMMARY = "A stacked cryptographic filesystem for Linux"
DESCRIPTION = "eCryptfs stores cryptographic metadata in the header of each \
file written, so that encrypted files can be copied between hosts; the file \
will be decrypted with the proper key in the Linux kernel keyring"
SECTION = "base"
LICENSE = "GPLv2"
DEPENDS = "intltool-native keyutils libgcrypt libpam openssl glib-2.0-native"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b"
SRC_URI = "https://launchpad.net/ecryptfs/trunk/${PV}/+download/${BPN}_${PV}.orig.tar.gz \
file://ecryptfs-fix-disable-nss.patch \
file://ecryptfs.service \
"
SRC_URI[md5sum] = "bff8052636f6be642f15c6be45a14ea3"
SRC_URI[sha256sum] = "173e0add31e898789076103723894964ce474233988ef8d3309021bad8a7b6b4"
inherit pkgconfig autotools systemd
SYSTEMD_PACKAGES = "${PN}"
SYSTEMD_SERVICE_${PN} = "ecryptfs.service"
EXTRA_OECONF += "--disable-nss --disable-pywrap --enable-openssl --prefix=/ --sbindir=/sbin --datarootdir=/usr/share"
EXTRA_OEMAKE += "'CFLAGS+= -lgcrypt '"
FILES_${PN} += " \
${libdir}/ecryptfs/* \
${libdir}/security/pam_ecryptfs.so \
${systemd_unitdir}/system/ecryptfs.service \
"
FILES_${PN}-doc += " \
/share/locale/* \
"
FILES_${PN}-dbg += "${libdir}/ecryptfs/.debug \
${libdir}/security/.debug \
"
do_install_append() {
if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then
install -d ${D}${systemd_unitdir}/system/
install -m 0644 ${WORKDIR}/ecryptfs.service ${D}${systemd_unitdir}/system
fi
}
RDEPENDS_${PN} = "nspr nss"
|