diff options
| author | Yi Zhao <yi.zhao@windriver.com> | 2018-08-16 11:05:07 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2018-08-19 16:09:28 -0700 |
| commit | c53786a25479c9e3a19e245da1f402ac254aaf26 (patch) | |
| tree | 05ae96bb787d5d8fa3a9ac84eb11984e9dce6228 /meta-filesystems/recipes-support/fuse/fuse_2.9.8.bb | |
| parent | 47aff1dd523cb1dbaba7094d3c4e4435d121a087 (diff) | |
| download | meta-openembedded-c53786a25479c9e3a19e245da1f402ac254aaf26.tar.gz | |
fuse: upgrade 2.9.7 -> 2.9.8
Security fixes:
CVE-2018-10906
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-10906
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-filesystems/recipes-support/fuse/fuse_2.9.8.bb')
| -rw-r--r-- | meta-filesystems/recipes-support/fuse/fuse_2.9.8.bb | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/meta-filesystems/recipes-support/fuse/fuse_2.9.8.bb b/meta-filesystems/recipes-support/fuse/fuse_2.9.8.bb new file mode 100644 index 0000000000..1815aa59c7 --- /dev/null +++ b/meta-filesystems/recipes-support/fuse/fuse_2.9.8.bb | |||
| @@ -0,0 +1,72 @@ | |||
| 1 | SUMMARY = "Implementation of a fully functional filesystem in a userspace program" | ||
| 2 | DESCRIPTION = "FUSE (Filesystem in Userspace) is a simple interface for userspace \ | ||
| 3 | programs to export a virtual filesystem to the Linux kernel. FUSE \ | ||
| 4 | also aims to provide a secure method for non privileged users to \ | ||
| 5 | create and mount their own filesystem implementations. \ | ||
| 6 | " | ||
| 7 | HOMEPAGE = "https://github.com/libfuse/libfuse" | ||
| 8 | SECTION = "libs" | ||
| 9 | LICENSE = "GPLv2 & LGPLv2" | ||
| 10 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ | ||
| 11 | file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c" | ||
| 12 | |||
| 13 | SRC_URI = "https://github.com/libfuse/libfuse/releases/download/${BP}/${BP}.tar.gz \ | ||
| 14 | file://gold-unversioned-symbol.patch \ | ||
| 15 | file://aarch64.patch \ | ||
| 16 | file://0001-fuse-fix-the-return-value-of-help-option.patch \ | ||
| 17 | file://fuse.conf \ | ||
| 18 | " | ||
| 19 | SRC_URI[md5sum] = "f365e848a82504edb0b7a33df790ca78" | ||
| 20 | SRC_URI[sha256sum] = "5e84f81d8dd527ea74f39b6bc001c874c02bad6871d7a9b0c14efb57430eafe3" | ||
| 21 | |||
| 22 | UPSTREAM_CHECK_URI = "https://github.com/libfuse/libfuse/releases" | ||
| 23 | UPSTREAM_CHECK_REGEX = "fuse\-(?P<pver>2(\.\d+)+).tar.gz" | ||
| 24 | |||
| 25 | inherit autotools pkgconfig update-rc.d systemd | ||
| 26 | |||
| 27 | INITSCRIPT_NAME = "fuse" | ||
| 28 | INITSCRIPT_PARAMS = "start 3 S . stop 20 0 6 ." | ||
| 29 | |||
| 30 | SYSTEMD_SERVICE_${PN} = "" | ||
| 31 | |||
| 32 | DEPENDS = "gettext-native" | ||
| 33 | |||
| 34 | PACKAGES =+ "fuse-utils-dbg fuse-utils libulockmgr libulockmgr-dev libulockmgr-dbg" | ||
| 35 | |||
| 36 | RRECOMMENDS_${PN}_class-target = "kernel-module-fuse libulockmgr fuse-utils" | ||
| 37 | |||
| 38 | FILES_${PN} += "${libdir}/libfuse.so.*" | ||
| 39 | FILES_${PN}-dev += "${libdir}/libfuse*.la" | ||
| 40 | |||
| 41 | FILES_libulockmgr = "${libdir}/libulockmgr.so.*" | ||
| 42 | FILES_libulockmgr-dev += "${libdir}/libulock*.la" | ||
| 43 | FILES_libulockmgr-dbg += "${libdir}/.debug/libulock*" | ||
| 44 | |||
| 45 | # Forbid auto-renaming to libfuse-utils | ||
| 46 | FILES_fuse-utils = "${bindir} ${base_sbindir}" | ||
| 47 | FILES_fuse-utils-dbg = "${bindir}/.debug ${base_sbindir}/.debug" | ||
| 48 | DEBIAN_NOAUTONAME_fuse-utils = "1" | ||
| 49 | DEBIAN_NOAUTONAME_fuse-utils-dbg = "1" | ||
| 50 | |||
| 51 | do_configure_prepend() { | ||
| 52 | # Make this explicit so overriding base_sbindir propagates properly. | ||
| 53 | export MOUNT_FUSE_PATH="${base_sbindir}" | ||
| 54 | } | ||
| 55 | |||
| 56 | do_install_append() { | ||
| 57 | rm -rf ${D}${base_prefix}/dev | ||
| 58 | |||
| 59 | # systemd class remove the sysv_initddir only if systemd_system_unitdir | ||
| 60 | # contains anything, but it's not needed if sysvinit is not in DISTRO_FEATURES | ||
| 61 | if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'false', 'true', d)}; then | ||
| 62 | rm -rf ${D}${sysconfdir}/init.d/ | ||
| 63 | fi | ||
| 64 | |||
| 65 | # Install systemd related configuration file | ||
| 66 | if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then | ||
| 67 | install -d ${D}${sysconfdir}/modules-load.d | ||
| 68 | install -m 0644 ${WORKDIR}/fuse.conf ${D}${sysconfdir}/modules-load.d | ||
| 69 | fi | ||
| 70 | } | ||
| 71 | |||
| 72 | BBCLASSEXTEND = "native nativesdk" | ||
