Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 1 | DESCRIPTION = "A a package of utilities for doing and managing mounts of the Linux CIFS filesystem." |
| 2 | HOMEPAGE = "http://wiki.samba.org/index.php/LinuxCIFS_utils" |
| 3 | SECTION = "otherosfs" |
| 4 | LICENSE = "GPLv3 & LGPLv3" |
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" |
| 6 | |
| 7 | PV = "6.10" |
| 8 | |
| 9 | SRCREV = "5ff5fc2ecc10353fd39ad508db5c2828fd2d8d9a" |
| 10 | SRC_URI = "git://git.samba.org/cifs-utils.git" |
| 11 | |
| 12 | S = "${WORKDIR}/git" |
| 13 | DEPENDS += "libtalloc" |
| 14 | |
| 15 | PACKAGECONFIG ??= "" |
| 16 | PACKAGECONFIG[cap] = "--with-libcap,--without-libcap,libcap" |
| 17 | # when enabled, it creates ${bindir}/cifscreds and --ignore-fail-on-non-empty in do_install_append is needed |
| 18 | PACKAGECONFIG[cifscreds] = "--enable-cifscreds,--disable-cifscreds,keyutils" |
| 19 | # when enabled, it creates ${sbindir}/cifs.upcall and --ignore-fail-on-non-empty in do_install_append is needed |
| 20 | PACKAGECONFIG[cifsupcall] = "--enable-cifsupcall,--disable-cifsupcall,krb5 libtalloc keyutils" |
| 21 | PACKAGECONFIG[cifsidmap] = "--enable-cifsidmap,--disable-cifsidmap,keyutils samba" |
| 22 | PACKAGECONFIG[cifsacl] = "--enable-cifsacl,--disable-cifsacl,samba" |
| 23 | PACKAGECONFIG[pam] = "--enable-pam --with-pamdir=${base_libdir}/security,--disable-pam,libpam keyutils" |
| 24 | |
| 25 | SRC_URI += " \ |
| 26 | file://0001-Bugfix-Modify-the-dir-of-install-exec-hook-and.patch \ |
| 27 | " |
| 28 | |
| 29 | inherit autotools pkgconfig |
| 30 | |
| 31 | do_install_append() { |
| 32 | # Remove empty /usr/bin and /usr/sbin directories since the mount helper |
| 33 | # is installed to /sbin |
| 34 | rmdir --ignore-fail-on-non-empty ${D}${bindir} ${D}${sbindir} |
| 35 | } |
| 36 | |
| 37 | FILES_${PN} += "${base_libdir}/security" |
| 38 | FILES_${PN}-dbg += "${base_libdir}/security/.debug" |
| 39 | RRECOMMENDS_${PN} = "kernel-module-cifs" |