Commit Graph

46 Commits

Author SHA1 Message Date
Changqing Li
4785cc2cd3 fuse3: support ptest
fuse3 test is designed to run under source dir, there are
many places like "progname = pjoin(basename, 'example', 'ioctl')"
in the testcases, which will try to find compiled program. As
our S != B, and the don't run test under source dir. Test will fail
with following errors:
No such file or directory: '/usr/lib64/fuse3/ptest/test/../example/printcap'

Fix by install needed programs for the test

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-08-12 01:24:27 -07:00
wangmy
e5dbca1451 fuse3: upgrade 3.10.5 -> 3.11.0
Changelog:
=========
    Add support for flag FOPEN_NOFLUSH for avoiding flush on close.
    Fixed returning an error condition to ioctl(2)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-05-09 08:59:46 -07:00
Khem Raj
a32fc41775 recipes: Update LICENSE variable to use SPDX license identifiers
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-04 17:41:45 -08:00
zhengruoqin
fa667d2009 fuse3: upgrade 3.10.4 -> 3.10.5
Various improvements to make unit tests more robust.

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-09-08 21:29:52 -07:00
Martin Jansa
c61dc077bb Convert to new override syntax
This is the result of automated script (0.9.1) conversion:

oe-core/scripts/contrib/convert-overrides.py .

converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-03 10:21:25 -07:00
Khem Raj
37afc556c2 fuse: Define closefrom if not available
Fixes build with glibc 2.34+

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-08-03 08:53:03 -07:00
zangrc
74a31b6125 fuse3: upgrade 3.10.3 -> 3.10.4
Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-06-18 08:42:25 -07:00
zangrc
dff2f7f4e0 fuse3: upgrade 3.10.2 -> 3.10.3
Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-04-15 20:01:48 -07:00
zangrc
8df1a9aa65 fuse3: upgrade 3.10.1 -> 3.10.2
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-02-21 23:44:22 -08:00
Mikko Rapeli
3bf13d697b fuse: set CVE_PRODUCT to "fuse_project:fuse"
Other products like "RedHat:fuse" introduce false CVE findings like:

https://nvd.nist.gov/vuln/detail/CVE-2018-10906
https://nvd.nist.gov/vuln/detail/CVE-2019-14860
https://nvd.nist.gov/vuln/detail/CVE-2020-25689

Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-01-17 11:47:41 -08:00
zangrc
5fba32bddf fuse3: upgrade 3.10.0 -> 3.10.1
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-12-18 08:23:14 -08:00
Khem Raj
ac2b49017d fuse3: Upgrade to 3.10.0
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-09 00:00:05 -08:00
Zang Ruochen
e17cf136a5 fuse3: upgrade 3.9.2 -> 3.9.3
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-09-08 11:53:53 -07:00
Zang Ruochen
c7beb2bb43 fuse3: Enable ptest
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-07-06 07:28:04 -07:00
Pierre-Jean Texier
b6979461fd fuse3: upgrade 3.9.1 -> 3.9.2
See changelog https://github.com/libfuse/libfuse/releases/tag/fuse-3.9.2

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-06-14 22:31:24 -07:00
Konrad Weihmann
0c0fb11a13 physfs: fix typo for HOMEPAGE
Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-05-31 22:42:25 -07:00
Zang Ruochen
525f1c4ade fuse3: upgrade 3.9.0 -> 3.9.1
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-26 20:36:03 -07:00
Wang Mingyu
a0ae09137d fuse3: upgrade 3.8.0 -> 3.9.0
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-18 15:47:20 -08:00
Zang Ruochen
dcc3aa1d5e fuse3: upgrade 3.7.0 -> 3.8.0
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-13 07:15:17 -08:00
Zheng Ruoqin
1443826671 fuse3: upgrade 3.6.2 -> 3.7.0
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-10-26 02:41:33 -07:00
Robert Yang
69f234b65e fuse: Fix installed-vs-shipped for nativesdk
There are two problems:
* The /dev is installed to '${D}/dev', not '${D}${base_prefix}'
* The /etc is installed ${D}, but should be ${D}${sysconfdir}

It works for target is because target's base_prefix is NULL, but it isn't work
for native or nativesdk.

Fixed:
$ bitbake nativesdk-fuse
ERROR: nativesdk-fuse-2.9.9-r0 do_package: QA Issue: nativesdk-fuse: Files/directories were installed but not shipped in any package:
  /dev
  /etc
  /etc/init.d
  /etc/udev
  /etc/init.d/fuse
  /etc/udev/rules.d
  /etc/udev/rules.d/99-fuse.rules

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-25 09:48:19 -07:00
Stefan Agner
b5767f5928 fuse3: add libfuse3 recipe
Add recipe for libfuse version 3 series. Follow the scheme other
distributions use and create a new recipe with 3 in its name.
To avoid conflict with the fuse (2) recipe this recipe does not
provide init scripts/configuration files which automatically load
the fuse kernel driver.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-10 18:35:34 -07:00
Yi Zhao
d5880159ce fuse: upgrade 2.9.8 -> 2.9.9
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-06-15 16:46:50 -07:00
Andreas Müller
35e0ade330 physfs: Fix license checksum
Copyright year was changed

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-22 09:33:00 -07:00
Andreas Müller
74bab845c6 physfs: upgrade 3.0.1 -> 3.0.2
Announcement [1] says:

This is a collection of small fixes to 3.0.1. All 3.0 users should
definitely upgrade right away.

[1] https://icculus.org/pipermail/physfs/2019-March/001280.html

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-21 05:57:14 -07:00
Andreas Müller
f75c5e0481 physfs: Fix multilib install
| ERROR: physfs-1_3.0.1-r0 do_package: QA Issue: physfs: Files/directories were installed but not shipped in any package:
|   /usr/lib/libphysfs.so
|   /usr/lib/libphysfs.so.1
|   /usr/lib/libphysfs.a
|   /usr/lib/libphysfs.so.3.0.1
|   /usr/lib/pkgconfig
|   /usr/lib/pkgconfig/physfs.pc
| Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-08 15:17:32 -08:00
Hongxu Jia
ed779d3f1b fuse: split one dpg package only
Multiple -dbg packages per recipe is not encouraged, and only one is
recommended and the code only works properly in some cases for one.

Add RPROVIDES_${PN}-dbg to be compatiable with previous dbg packages
requiring.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-17 22:23:29 -07:00
Yi Zhao
c53786a254 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>
2018-08-19 16:09:28 -07:00
Yi Zhao
54309afab1 fuse: add UPSTREAM_CHECK_URI
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-05-30 12:40:17 -07:00
Khem Raj
a0d4053fc3 physfs: Update to 3.0.1
License-Update: copyright years updated along with a note removal about LZMA SDK and LGPL
see
https://hg.icculus.org/icculus/physfs/rev/5b31ba402270
https://hg.icculus.org/icculus/physfs/rev/8f14bdf15b2a

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-05-17 08:22:20 -07:00
Alex Stewart
a246dd26a5 fuse: Correct runlevels and startup order
:**/fuse*.bb
* Assert INITSCRIPT_PARAMS to install the fuse initscript according to
  its LSB header instead of defaults. Script now starts only during
  runlevel 'S'.
* Also set priority to 03 such that fuse is loaded before udev. This
  enables systems which utilize udev to mount exfat and other
  fuse-provided filesystems as a part of the boot process.

Natinst-CAR-ID: 630632

Signed-off-by: Alex Stewart <alex.stewart@ni.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-24 18:57:33 +02:00
Ismo Puustinen
d3dd8bc372 fuse: fix fetcher error.
The recent fuse recipe update broke fetching the sources when building
fuse-native (it tried to fetch non-existent package
fuse-native-2.9.7.tar.gz).

Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-06-14 14:51:17 +02:00
Krisztian Litkey
5ab7b440bc fuse: let overriding base_sbindir have the proper effect.
Set MOUNT_FUSE_PATH explicitly to ${base_sbindir} before configure.
Making this explicit will let people override base_sbindir with the
desired effect (for instance when building a distro with merged /
and /usr).

Signed-off-by: Krisztian Litkey <krisztian.litkey@intel.com>
2017-06-14 14:51:15 +02:00
Kyle Russell
90a65b7d31 fuse: update 2.9.4 to 2.9.7
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-06-12 06:56:24 +02:00
mike.looijmans@topic.nl
0d0709cf06 fuse: Remove unneeded RDEPENDS on util-linux-mount
Fuse claimed to need util-linux-mount at runtime, which isn't true. This
drags util-linux-mount into any image that uses fuse.

Encountered no problems with busybox's mount command and fuse (and never
had). Fuse doesn't call the "mount" program anywhere, so the dependency
doesn't make sense anyway.

Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-04 12:39:51 +01:00
Patrick Ohly
f732d17969 fuse: support native compilation
This is required for swtpm-native (from meta-security) and
simulating a virtual TPM in qemu. Right now, accessing
swtpm only works via CUSE and thus needs fuse.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-02-13 18:43:32 +01:00
Andreas Müller
c3dad0ba49 Revert "physfs: move to sources found at github/supertux"
This reverts commit 3bbec2b792.

The commit was intended to make supertux in meta-games happy. Now I found out
that:

* other packets e.g meta-retro d1x-rebirth segfault with supertux version of physfs
* supertux can be configured to use it's own physfs as static library

To avoid package version counting backwards PE = 1 was added. The patch
required for supertux was already applied in meta-games.

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-11-22 13:38:14 +01:00
Andreas Müller
3bbec2b792 physfs: move to sources found at github/supertux
* It seems that physfs is still maintained there and has the functionality
  required by latest supertux.
* License changed Copyright year causing checksum change.

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-10-03 19:19:57 +02:00
Jackie Huang
90eb8fa980 fuse: upgrade to 2.9.4
Changes:
 * Remove 001-fix_exec_environment_for_mount_and_umount.patch
   which has been included in the new version

 * Add sysvinit and systemd support

 * For systemd, there is not a fuse.service since systemd provides
   sys-fs-fuse-connections.mount to mount the fuse control
   filesystem, so instead, only fuse.conf is added to modules-load.d
   to load the required fuse kernel module.

 * Add RDEPENDS on util-linux-mount

 * Add a patch to fix the return value of "--help" option

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-09-23 15:39:46 +02:00
Tudor Florea
96a4d9ad7b fuse: fix for CVE-2015-3202 Privilege Escalation
fusermount in FUSE before 2.9.3-15 does not properly clear the environment before
invoking (1) mount or (2) umount as root, which allows local users to write
to arbitrary files via a crafted LIBMOUNT_MTAB environment variable that is
used by mount's debugging feature.

References:
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-3202
http://www.openwall.com/lists/oss-security/2015/05/21/9

Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-07-30 21:03:26 +02:00
Martin Jansa
8192e4a3d8 fuse: remove unrecognized configure option
* fixes following QA warning:
  fuse-2.9.3: fuse: configure was passed unrecognised options:
  --disable-kernel-module [unknown-configure-option]

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-08-11 10:59:20 +02:00
Robert Yang
f1363ffca4 meta-filesystems: use BPN in SRC_URI
Fixed SRC_URI:
* ${PN} -> ${BPN}, use ${BP} if it was ${PN}-${PV}
* ${P} -> ${BP}

Otherwise we would meet do_fetch errors when we do the multilib, native
or nativesdk build.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-07-15 14:56:55 +02:00
Richard Purdie
f5580b13df fuse/libmtp/tcsh/enca: Add missing explict gettext-native dependency
This is needed for the AM_ICONV macro and friends.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-07-15 14:53:31 +02:00
Matthieu CRAPET
c95e155780 recipes: convert remaining SUMMARY/DESCRIPTION cosmetic issues
Changes:
- rename SUMMARY with length > 80 to DESCRIPTION
- rename DESCRIPTION with length < 80 to (non present tag) SUMMARY
- drop final point character at the end of SUMMARY string
- remove trailing whitespace of SUMMARY line

Note: don't bump PR

Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-02-23 23:20:02 +01:00
Hongxu Jia
292a16868a physfs: move to meta-filesystems
Move physfs from meta-oe to meta-filesystems

[YOCTO #4178]

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-08-16 15:10:39 +02:00
Hongxu Jia
5972198b0f fuse: move to meta-filesystems and upgrade
- Move fuse from meta-oe to meta-filesystems
- Upgrade fuse to 2.9.3

[YOCTO #4178]

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-08-16 12:58:31 +02:00