blob: b1125002c50c79a1c89e6ef967b0839aaea30a36 (
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
|
DESCRIPTION = "eCryptfs: A stacked cryptographic filesystem for Linux"
SECTION = "base"
LICENSE = "GPLv2"
DEPENDS = "keyutils libgcrypt libpam"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b"
SRC_URI = "https://launchpad.net/ecryptfs/trunk/100/+download/ecryptfs-utils_100.orig.tar.gz \
file://ecryptfs-fix-disable-nss.patch \
file://ecryptfs.service \
"
SRC_URI[md5sum] = "efaa5eabbd368268874536036397f73b"
SRC_URI[sha256sum] = "a31cb155483d44a59f1506ab53990ac36f81630e0cb3fd2f4dcba35fab614689"
inherit autotools
EXTRA_OECONF += "--disable-nss --disable-pywrap --enable-openssl --prefix=/ --datarootdir=/usr/share"
EXTRA_OEMAKE += "'CFLAGS+= -lgcrypt '"
FILES_${PN} += " \
${libdir}/ecryptfs/* \
${libdir}/security/pam_ecryptfs.so \
"
FILES_${PN}-doc += " \
/share/locale/* \
"
FILES_${PN}-dbg += "${libdir}/ecryptfs/.debug \
${libdir}/security/.debug \
"
PACKAGES =+ "${PN}-systemd"
FILES_${PN}-systemd = "${libdir}/systemd/system/"
do_install_append() {
mkdir -p ${D}/${libdir}/systemd/system
install -m 644 ${WORKDIR}/ecryptfs.service ${D}/${libdir}/systemd/system
}
# Skip useless warning as we have /usr and / on the same partition
WARN_QA = "ldflags useless-rpaths rpaths staticdev"
|