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 | |
Andrew Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame] | 7 | SRCREV = "ded4e81796a18cde73329e838357f084aa05720f" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 8 | SRC_URI = "git://git.samba.org/cifs-utils.git" |
| 9 | |
| 10 | S = "${WORKDIR}/git" |
| 11 | DEPENDS += "libtalloc" |
| 12 | |
| 13 | PACKAGECONFIG ??= "" |
| 14 | PACKAGECONFIG[cap] = "--with-libcap,--without-libcap,libcap" |
| 15 | # when enabled, it creates ${bindir}/cifscreds and --ignore-fail-on-non-empty in do_install_append is needed |
| 16 | PACKAGECONFIG[cifscreds] = "--enable-cifscreds,--disable-cifscreds,keyutils" |
| 17 | # when enabled, it creates ${sbindir}/cifs.upcall and --ignore-fail-on-non-empty in do_install_append is needed |
| 18 | PACKAGECONFIG[cifsupcall] = "--enable-cifsupcall,--disable-cifsupcall,krb5 libtalloc keyutils" |
| 19 | PACKAGECONFIG[cifsidmap] = "--enable-cifsidmap,--disable-cifsidmap,keyutils samba" |
| 20 | PACKAGECONFIG[cifsacl] = "--enable-cifsacl,--disable-cifsacl,samba" |
| 21 | PACKAGECONFIG[pam] = "--enable-pam --with-pamdir=${base_libdir}/security,--disable-pam,libpam keyutils" |
| 22 | |
| 23 | SRC_URI += " \ |
| 24 | file://0001-Bugfix-Modify-the-dir-of-install-exec-hook-and.patch \ |
| 25 | " |
| 26 | |
| 27 | inherit autotools pkgconfig |
| 28 | |
| 29 | do_install_append() { |
| 30 | # Remove empty /usr/bin and /usr/sbin directories since the mount helper |
| 31 | # is installed to /sbin |
| 32 | rmdir --ignore-fail-on-non-empty ${D}${bindir} ${D}${sbindir} |
| 33 | } |
| 34 | |
| 35 | FILES_${PN} += "${base_libdir}/security" |
| 36 | FILES_${PN}-dbg += "${base_libdir}/security/.debug" |
| 37 | RRECOMMENDS_${PN} = "kernel-module-cifs" |