diff options
Diffstat (limited to 'meta-ivi/recipes-support-ivi/ecryptfs-utils/ecryptfs-utils_111.bb')
-rw-r--r-- | meta-ivi/recipes-support-ivi/ecryptfs-utils/ecryptfs-utils_111.bb | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/meta-ivi/recipes-support-ivi/ecryptfs-utils/ecryptfs-utils_111.bb b/meta-ivi/recipes-support-ivi/ecryptfs-utils/ecryptfs-utils_111.bb new file mode 100644 index 0000000..841c850 --- /dev/null +++ b/meta-ivi/recipes-support-ivi/ecryptfs-utils/ecryptfs-utils_111.bb @@ -0,0 +1,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] = "83513228984f671930752c3518cac6fd" +SRC_URI[sha256sum] = "112cb3e37e81a1ecd8e39516725dec0ce55c5f3df6284e0f4cc0f118750a987f" + +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" |