From e2853d21b5ff7408454abf4923445a203aff4a37 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 28 Mar 2014 22:32:35 +0100 Subject: [PATCH] cifs-utils: Add recipe based on the 5.x recipe of meta-networking --- recipes-apps/cifs-utils/cifs-utils_6.2.bb | 29 +++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 recipes-apps/cifs-utils/cifs-utils_6.2.bb diff --git a/recipes-apps/cifs-utils/cifs-utils_6.2.bb b/recipes-apps/cifs-utils/cifs-utils_6.2.bb new file mode 100644 index 0000000..8ca0865 --- /dev/null +++ b/recipes-apps/cifs-utils/cifs-utils_6.2.bb @@ -0,0 +1,29 @@ +DESCRIPTION = "A a package of utilities for doing and managing mounts of the Linux CIFS filesystem." +HOMEPAGE = "http://wiki.samba.org/index.php/LinuxCIFS_utils" + +LICENSE = "GPLv3 & LGPLv3" +LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" + +PR = "r1" + +SRCREV = "ec983ad90408b689408c2c89179bf8f7b35665a6" +SRC_URI = "git://git.samba.org/cifs-utils.git" + +S = "${WORKDIR}/git" + +PACKAGECONFIG ??= "" +PACKAGECONFIG[cap] = "--with-libcap,--without-libcap,libcap" +# when enabled, it creates ${bindir}/cifscreds and --ignore-fail-on-non-empty in do_install_append is needed +PACKAGECONFIG[cifscreds] = "--enable-cifscreds,--disable-cifscreds,keyutils" +# when enabled, it creates ${sbindir}/cifs.upcall and --ignore-fail-on-non-empty in do_install_append is needed +PACKAGECONFIG[cifsupcall] = "--enable-cifsupcall,--disable-cifsupcall,krb5 talloc keyutils" + +inherit autotools pkgconfig + +do_install_append() { + # Remove empty /usr/bin and /usr/sbin directories since the mount helper + # is installed to /sbin + rmdir --ignore-fail-on-non-empty ${D}${bindir} ${D}${sbindir} +} + +RRECOMMENDS_${PN} = "kernel-module-cifs"