blob: 6af9fc9c09184de832f3c3af3bb0c9a216967b86 [file] [log] [blame]
Andrew Geissler82c905d2020-04-13 13:39:40 -05001SUMMARY = "Implementation of a fully functional filesystem in a userspace program"
2DESCRIPTION = "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 "
7HOMEPAGE = "https://github.com/libfuse/libfuse"
8SECTION = "libs"
9LICENSE = "GPLv2 & LGPLv2"
10LIC_FILES_CHKSUM = "file://GPL2.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
11 file://LGPL2.txt;md5=4fbd65380cdd255951079008b364516c \
12 file://LICENSE;md5=a55c12a2d7d742ecb41ca9ae0a6ddc66"
13
14SRC_URI = "https://github.com/libfuse/libfuse/releases/download/fuse-${PV}/fuse-${PV}.tar.xz \
15"
William A. Kennington III49e95662021-09-15 16:19:36 -070016SRC_URI[sha256sum] = "b2e283485d47404ac896dd0bb7f7ba81e1470838e677e45f659804c3a3b69666"
Andrew Geissler82c905d2020-04-13 13:39:40 -050017
18S = "${WORKDIR}/fuse-${PV}"
19
20UPSTREAM_CHECK_URI = "https://github.com/libfuse/libfuse/releases"
21UPSTREAM_CHECK_REGEX = "fuse\-(?P<pver>3(\.\d+)+).tar.xz"
22
Andrew Geisslereef63862021-01-29 15:58:13 -060023CVE_PRODUCT = "fuse_project:fuse"
24
Andrew Geisslerd221e032020-07-10 16:13:21 -050025inherit meson pkgconfig ptest
26
27SRC_URI += " \
28 file://run-ptest \
29"
30
Patrick Williams213cb262021-08-07 19:21:33 -050031RDEPENDS:${PN}-ptest += " \
Andrew Geisslerd221e032020-07-10 16:13:21 -050032 ${PYTHON_PN}-pytest \
33 bash \
34"
35
36do_install_ptest() {
37 install -d ${D}${PTEST_PATH}/test
38 cp -rf ${S}/test/* ${D}${PTEST_PATH}/test/
39}
Andrew Geissler82c905d2020-04-13 13:39:40 -050040
41DEPENDS = "udev"
42
43PACKAGES =+ "fuse3-utils"
44
Patrick Williams213cb262021-08-07 19:21:33 -050045RPROVIDES:${PN}-dbg += "fuse3-utils-dbg"
Andrew Geissler82c905d2020-04-13 13:39:40 -050046
Patrick Williams213cb262021-08-07 19:21:33 -050047RRECOMMENDS:${PN}:class-target = "kernel-module-fuse fuse3-utils"
Andrew Geissler82c905d2020-04-13 13:39:40 -050048
Patrick Williams213cb262021-08-07 19:21:33 -050049FILES:${PN} += "${libdir}/libfuse3.so.*"
50FILES:${PN}-dev += "${libdir}/libfuse3*.la"
Andrew Geissler82c905d2020-04-13 13:39:40 -050051
52EXTRA_OEMESON += " \
53 -Dexamples=false \
54"
55
56# Forbid auto-renaming to libfuse3-utils
Patrick Williams213cb262021-08-07 19:21:33 -050057FILES:fuse3-utils = "${bindir} ${base_sbindir}"
58DEBIAN_NOAUTONAME:fuse3-utils = "1"
59DEBIAN_NOAUTONAME:${PN}-dbg = "1"
Andrew Geissler82c905d2020-04-13 13:39:40 -050060
Patrick Williams213cb262021-08-07 19:21:33 -050061do_install:append() {
Andrew Geissler82c905d2020-04-13 13:39:40 -050062 rm -rf ${D}${base_prefix}/dev
63}