Commit Graph

152 Commits

Author SHA1 Message Date
Martin Jansa
31519530f3
gpiod-sysfs-proxy, smbnetfs, zfs: add whitespace around assignments
With:
https://lists.openembedded.org/g/bitbake-devel/message/17508
there are WARNINGs like:

WARNING: meta-oe/meta-filesystems/recipes-filesystems/smbnetfs/smbnetfs_git.bb: meta-oe/meta-filesystems/recipes-filesystems/smbnetfs/smbnetfs_git.bb:9 has a lack of whitespace around the assignment: 'HOMEPAGE ="http://sourceforge.net/projects/smbnetfs"'
WARNING: meta-oe/meta-filesystems/recipes-filesystems/zfs/zfs_2.2.5.bb: meta-oe/meta-filesystems/recipes-filesystems/zfs/zfs_2.2.5.bb:5 has a lack of whitespace around the assignment: 'HOMEPAGE ="https://github.com/openzfs/zfs"'
WARNING: meta-oe/meta-filesystems/dynamic-layers/meta-python/recipes-support/gpiod-sysfs-proxy/gpiod-sysfs-proxy_0.1.2.bb: meta-oe/meta-filesystems/dynamic-layers/meta-python/recipes-support/gpiod-sysfs-proxy/gpiod-sysfs-proxy_0.1.2.bb:27 has a lack of whitespace around the assignment: 'export MOUNTPOINT="${@bb.utils.contains('PACKAGECONFIG', 'sys-class-mount', '/sys/class/gpio', '/run/gpio', d)}"'

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-02 09:49:30 -07:00
Nguyen Dat Tho
54c5800031
libburn: Fix build with gcc-15
Backport patch to fix the following error:
../libburn-1.5.6/test/poll.c: In function 'main':
../libburn-1.5.6/test/poll.c:67:27: error: assignment to '__sighandler_t' {aka 'void (*)(int)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types]
   67 |         newact.sa_handler = catch_int;
      |                           ^
../libburn-1.5.6/test/poll.c:17:13: note: 'catch_int' declared here
   17 | static void catch_int ()
      |             ^~~~~~~~~
In file included from ../libburn-1.5.6/test/poll.c:9:
/home/worker/nano-ai/build-nano-ai/BUILD/work/qcs8550_aihub-webos-linux/libburn/1.5.6/recipe-sysroot/usr/include/signal.h:72:16: note: '__sighandler_t' declared here
   72 | typedef void (*__sighandler_t) (int);
      |                ^~~~~~~~~~~~~~
make: *** [Makefile:1024: test/poll-poll.o] Error 1

Signed-off-by: Nguyen Dat Tho <tho3.nguyen@lge.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-31 14:42:08 -07:00
Richard Purdie
bd6a1bb278
recipes: Fix variable assignment whitespace
Recipes are much more readable with whitespace around the assignment operators.
Fix various assignments in meta-openembedded recipes to show this is definitely
the preferred formatting.

This fixes recipes with larger numbers of issues but there are just under 100
other references left to fix.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-31 10:34:03 -08:00
Yi Zhao
e2140c416c
zfs: enable packageconfig pam for pam distro feature
Enable pam packageconfig if pam is in DISTRO_FEATURES. Also set pam
module path to ${base_libdir}/security as this is the default path in
libpam.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-06 07:22:29 -08:00
Hongxu Jia
c452799c4d
ntfs-3g-ntfsprogs: fix CVE-2023-52890
Backport fix from upstream

  75dcdc2cf3

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-11-21 21:42:38 -08:00
Yoann Congal
4990a36eb4
zfs: fix host-related reproducibility
The zfs package content varies depending the host distro.
To fix this, force target distribution ("vendor") to Debian to match
default values for things like: NFS server service name, bash completion
path, configuration files, ...
The Debian values do match the OpenEmbedded ones.

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-31 12:04:02 -07:00
Khem Raj
e6b228a6b2
sshfs-fuse: Do not prompt for known_hosts during ptests
ptest runs are non-interactive, therefore ignore
adding to known_hosts on localhost

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-05 09:37:23 -07:00
Khem Raj
44fb41b449
sshfs-fuse: Add rdep on python3-compile for ptests
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-05 08:57:07 -07:00
Khem Raj
8cda256948
sshfs-fuse: Fix ptests
Symlink to sshfs parallel to test dir is needed
during test runs

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-04 00:49:23 -07:00
Khem Raj
ff9ea69ab6
zfs: Upgrade to 2.2.5 release
Enable linux builtins to fix zfs build

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-08-11 10:14:00 -07:00
Khem Raj
ffc64e9c6f
recipes: Start WORKDIR -> UNPACKDIR transition
Replace references of WORKDIR with UNPACKDIR where it makes sense to do
so in preparation for changing the default value of UNPACKDIR.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-05-23 08:44:44 -07:00
Yongchang Qiao
f6d6122ba7
packagegroup-meta-filesystems: Fix utils typo
This typo would cause all utils tools to be missing in the image when only installing packagegroup-meta-filesystems

Signed-off-by: Yongchang Qiao <qiaoyongchang@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-08 23:06:55 -07:00
Martin Jansa
e49860ee21
unionfs-fuse, dropwatch, postgresql, yasm, multipath-tools, python3-pybind11: add missing Upstream-Status
* add Pending to .patch files where it was accidentally droped
  with upgrades or modifications in:

  f88e5b146e postgresql: upgrade 15.5 -> 16.2
  c904e169db multipath-tools: upgrade 0.9.3 -> 0.9.8
  105be9b3d9 unionfs-fuse: upgrade 2.2 --> 3.4

  or new patches where the author didn't notice/care:

  2a7f74cdb0 dropwatch: Use header files from sysroot instead of build host
  f5cc9f272a yasm: improve reproducibility
  39028d0d9d python3-pybind11: Restore strip prevention patch

  authors of these added to CC, please be more careful with removing
  or not adding these or enable patch-status in ERROR_QA for your
  builds, see:
  https://lists.openembedded.org/g/openembedded-core/topic/104922136#197113

* added with:
  for p in `/OE/layers/openembedded-core/scripts/contrib/patchreview.py -v . | grep Missing.Upstream-Status.tag | sed 's/.*(//g;s/)$//g'`; do grep -q ^Upstream-Status: $p || sed -i "s/^---$/\nUpstream-Status: Pending\n---/g" $p;         grep -q ^Upstream-Status: $p || sed -i "1iUpstream-Status: Pending\n" $p;     done

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-17 13:10:09 -07:00
Robert Yang
1bafebf636
yaffs2-utils: Upgrade to 20221209
* The 20221209 is the commit date of SRCREV since this recipe has no version.
* Add 0001-yaffs_guts.h-define-YTIME_T-if-not-already-defined.patch to fix
  build error:
  yaffs_guts.h:501:9: error: unknown type name 'YTIME_T'

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-08 10:07:30 -08:00
Khem Raj
e886090d9a meta-multimedia-image-ptest: Add images to enable BBCLASSEXTEND parallel execution
In line with other layers like meta-oe, meta-python add capability to
run recipe ptests

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-22 19:23:55 -08:00
Khem Raj
2a86823036 meta-filesystems: Add meta-filesystems-image-ptest
This will help in running ptests like core layer, right now there are
just 3 but I hope to get more contributions now that infra is in place

to run all ptests

bitbake meta-filesystems-image-ptest-all

to run a single recipe ptests

bitbake meta-filesystems-image-ptest-fuse3

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-22 12:59:38 -08:00
Khem Raj
daa0049d23 sshfs-fuse: Fix ptest builds with python 3.12
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-22 12:59:38 -08:00
Tim Orling
3304673a5c
meta-filesystems: drop ${PYTHON_PN}
python 2 is long unsupported, so we no longer need this variable

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-19 23:22:25 -08:00
Martin Jansa
21f956598d
recipes: drop ${SRCPV} usage
* Drop SRCPV similarly like oe-core did in:
  https://git.openembedded.org/openembedded-core/commit/?h=nanbield&id=843f82a246a535c353e08072f252d1dc78217872

* SRCPV is deferred now from PV to PKGV since:
  https://git.openembedded.org/openembedded-core/commit/?h=nanbield&id=a8e7b0f932b9ea69b3a218fca18041676c65aba0

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
2024-02-09 09:52:12 -08:00
Bruce Ashfield
639d7378ce
zfs: update to 2.2.2
In addition to the zfs upstream commits:

  - This fixes the build against libc-headers/kernel 6.6+
  - adds bash-completion packaging, as 2.2.2 has support

Bumping zfs to version zfs-2.2.2, which comprises the following commits:

    494aaaed8 Tag zfs-2.2.2
    522414da3 FreeBSD: Fix ZFS so that snapshots under .zfs/snapshot are NFS visible
    a8c256046 ZIL: Call brt_pending_add() replaying TX_CLONE_RANGE
    eb34de04d zdb: fix printf() length for uint64_t devid
    d813aa853 Linux 6.6 compat: fix configure error with clang (#15558)
    3b267e72d zfs-dkms: fix shell-init error message
    349fb77f1 FreeBSD: Fix the build on FreeBSD 12
    2a953e0ac dmu_buf_will_clone: fix race in transition back to NOFILL
    e4985bf5a zdb: Fix zdb '-O|-r' options with -e/exported zpool
    e96675a7b zdb: show BRT statistics and dump its contents
    d702f86ea brt: lift internal definitions into _impl header
    41c4599cb ZTS: Fix zfs_load-key failures on F39
    56a2a0981 ZIL: Do not encrypt block pointers in lr_clone_range_t
    9b9b09f45 dnode_is_dirty: check dnode and its data for dirtiness
    89fcb8c6f Revert "Tune zio buffer caches and their alignments"
    55dd24c4c Tag zfs-2.2.1
    78287023c ZTS: Fix 'could not unmount datasets' on Alma 9
    479dca51c zfs-2.2.1: Disable block cloning by default
    87e9e8286 Add a tunable to disable BRT support.
    0733fe2aa Packaging: Auto-generate changelog during configure (#15528)
    fd836dfe2 Linux 6.6 compat: META
    e92a680c7 Workaround UBSAN errors for variable arrays
    f1659cc78 ZTS: Test for all known zpool feature sets
    f863ac3d0 Update zpool-features.7 for grub2 compatibility list updates
    f6d2e5c07 Workaround to allow openzfs-zfs-dkms install on Ubuntu
    f2fe4d51a Linux: reject read/write mapping to immutable file only on VM_SHARED
    76663fe37 Fix accounting error for pending sync IO ops in zpool iostat
    44c8ff9b0 Linux 6.6 compat: fix implicit conversion error with debug build
    f0ffcc3ad Remove obsolete_counts from grub2 compatibility list
    e534ba5ce Fix dkms installation of deb packages created with Alien.
    1c7048357 Add all read-only compatible zpool features to grub2 compatibility
    3ec4ea68d Unify arc_prune_async() code
    bd7a02c25 Tune zio buffer caches and their alignments
    e82e68400 DMU: Do not pre-read holes during write
    3f67e012e Linux 6.6 compat: fsync_bdev() has been removed in favor of sync_blockdev()
    21875dd09 Linux 6.6 compat: generic_fillattr has a new u32 request_mask added at arg2
    fe9d409e9 Linux 6.6 compat: use inode_get/set_ctime*(...)
    7aef672b7 Read prefetched buffers from L2ARC
    f9a9aea12 Add mutex_enter_interruptible() for interruptible sleeping IOCTLs
    8ba748d41 Revert "zvol: Temporally disable blk-mq"
    e860cb020 zvol: Remove broken blk-mq optimization
    86c3ed40e "ARC prefetch metadata accesses:" appears twice in the output.
    6e41aca51 Trust ARC_BUF_SHARED() more
    79f7de575 Remove lock from dsl_pool_need_dirty_delay()
    0ef1964c7 run-zts test procfs/pool_state failed with uncorrectable I/O failure
    eaa62d995 Properly pad struct tx_cpu to cache line
    8ca95d78c Fix typo in  tests/zfs-tests/tests/functional/cli_user/misc/misc.cfg
    edebca5df FreeBSD: taskq: Remove unused declaration
    1cc1bf4fa Set spa_ccw_fail_time=0 when expanding a vdev.
    0bcd1151f Fix ZED auto-replace for VDEVs using by-id paths
    78fd79eac Add zfs_prepare_disk script for disk firmware install
    6d693e20a Large sync writes perform worse with slog
    b76724ae4 FreeBSD: Improve taskq wrapper
    459c99ff2 Fix block cloning between unencrypted and encrypted datasets

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-12-30 00:56:11 -08:00
alperak
48e1843be8
fuse-exfat: Dropped md5sum
We do not need md5sum anymore.

Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-11-14 23:28:19 -08:00
alperak
12bd7824d2 fuse-exfat: upgrade 1.3.0 -> 1.4.0
Changelog:

* Added exfatattrib utility which prints or changes file attributes [Will
Thompson].
* Added FUSE 3 support. FUSE 2 continues to be supported.
* Added support for timezone offsets [Nathan Hunsperger].
* Fixed device opening error being reported as FS error.
* Fixed possible data leakage when uninitialized clusters were allocated using
NtSetInformationFile() call under Windows and FS was not unmounted correctly.
* Improved compatibility with autoconf 2.70.
* Fixed disk size reading on NetBSD [Dave Vasilevsky].
* Fixed "automounted" option handling on FreeBSD [Iouri V. Ivliev].
* Allowed to specify the "nonempty" mount option.
* Fixed file data contiguity handling bug which could cause performance
degradation [noctis].
* Fixed possible crashes on invalid UTF-8 sequences.
* Fixed a situation when FS could be erroneously marked as dirty (not cleanly
unmounted).

Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-11-12 12:18:47 -08:00
alperak
6b8877c3ac libisoburn: 1.5.4 -> 1.5.6
Changelog:

* Bug fix: False -status failure with -boot_image --interval:appended_partition
* Bug fix: -no_rc prevented pre-scanning of arguments for stdio output and
           others. Introduced by mistake in a62f6af5, 2011.10.18.162119.
* Bug fix: -not_leaf and -not_paths were not applied to -extract and alike
* Bug fix: -report_system_area cmd misperceived -part_like_isohybrid with
           -isohybrid-gpt-basdat
* Bug fix: -report_system_area cmd misperceived combination of isohybrid and
           appended partition in GPT
* Bug fix: -as mkisofs option -part_like_isohybrid did not cause a MBR
           partition table if the partitions are data files in the ISO
           rather than appended
* Bug fix: Split file directories (-split_size) were created with wrong
           permissions
* Bug fix: libisofs did not mark clones of imported files as imported.
           This could cause that original and clone occupy data storage
           in the newly written session. Thanks to Ivan Shmakov.
* Bug fix: Partition offset was preserved from -indev rather than from -outdev
* Bug fix: libisofs could misrepresent Rock Ridge information if many
           symbolic links or AAIP data were recorded in a directory
* Bug fix: Data files named /boot.catalog or ./boot.cat could be left out of
           the emerging ISO if the boot catalog was set to be hidden
* Bug fix: -toc reported wrong track LBA with overwritable media with
           unrecognized content (pseudo-closed)
* Bug fix: -find test -has_xattr matched "isofs." attributes
           in -xattr mode "any"
* New API call isoburn_assess_written_features()
* New API calls isoburn_igopt_set_max_ce_entries(),
  isoburn_igopt_get_max_ce_entries()
* New flag bit12 with isoburn_read_iso_head():
  Read even if start of multi-session emulation is damaged
* New -boot_image settings gpt_iso_bootable= and gpt_iso_not_ro=
* New -as mkisofs options --gpt-iso-bootable and --gpt-iso-not-ro
* New -as cdrecord option --obs_pad. Automatic no_emul_toc with -as cdrecord.
* New parameters "obs_pad" and "bdr_obs_exempt" for -dvd_obs
* New -as cdrecord option --bdr_obs_exempt
* New command -assess_indev_features
* New -find test -size
* New -compliance rules max_ce_entries=, max_ce_drop=
* Allowed lseekable device files with -cut_out.
  Proof-of-concept by Ivan Shmakov on bugs.debian.org. (Closes: #1010098)

Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-11-12 12:18:47 -08:00
alperak
cf05b1a258 libisofs: upgrade 1.5.4 -> 1.5.6
Changelog:

* Bug fix: iso_write_opts_set_part_like_isohybrid() did not cause a MBR
           partition table if the partitions are data files in the ISO
           rather than appended
* Bug fix: The lseek methods of IsoFileSource for local filesystem and loaded
           ISO returned libisofs error codes as positive off_t numbers
* Bug fix: Freshly cloned data files from imported image were not marked as
           imported. Thanks to Ivan Shmakov. (Closes: #1022851)
* Bug fix: Size of further CE area was calculated wrong if its CE entry ended
           exactly at a block boundary
* New iso_write_opts_set_system_area() option bits 16:
  GPT "Legacy BIOS bootable" and 17: GPT writable
* New API calls iso_assess_written_features(), iso_read_image_feature_named(),
  iso_read_image_features_text()
* Allowed lseekable device files with iso_tree_add_new_cut_out_node().
  Proof-of-concept by Ivan Shmakov.
* New API call iso_write_opts_set_max_ce_entries()

Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-11-12 12:18:47 -08:00
Alper Ak
105be9b3d9 unionfs-fuse: upgrade 2.2 --> 3.4
- DEPENDS fuse --> fuse3 because CMake throwing "No package 'fuse3' found" error.

- Updated patch because CMakeLists.txt path has been changed.

- Bash added to RDEPENDS, accordingly this error --> ERROR: unionfs-fuse-3.4-r0 do_package_qa: QA Issue: /usr/sbin/mount.unionfs contained in package unionfs-fuse requires /bin/bash, but no providers found in RDEPENDS:unionfs-fuse? [file-rdeps]

Changelog:

3.4
- default to fuse2 api on macos when compiling

3.3
- fixed fortified compilation
- disabled logging to file since it had some unresolved locking issues
- add support for direct_io

3.2
- various nfs fixes
- various race condition fixes

3.1
- just fixes version mess (in manual file, cmake, etc.)

3.0
- libfuse3 support (and use is as new default)
- add branch-preserving logic
- make it compile under MacOS again
- minor fixes

Signed-off-by: Alper Ak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-11-11 09:26:41 -08:00
Khem Raj
0cb0180594 images: Rename <layer>-image to <layer>-image-all
These are test images to build all recipes in layer. Renaming them makes
them refect what they are. Moreover we can rename the ptest images to
match OE-Core naming conventions for meta-oe/meta-perl/meta-python

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-10-06 08:37:21 -07:00
Khem Raj
e88b777cbe images: Delete layer specific base images
These were essentially duplicates of core-image-minimal, however
core-image-base is a better baseline for upper layers, so switched the
consumers of these images to use core-image-base

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-10-06 08:37:21 -07:00
Khem Raj
ef9d73fced images: Inherit from core-image-base
We really do not need to define base images which already exist in core
layer, reuse them here.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-10-06 08:37:21 -07:00
Bruce Ashfield
67e31c930d zfs: update to v2.2.0-rc4
Building against the 6.5+ kernel and headers resulted in a build failure
due to missing detected features. We can fix the issues by bumping to
2.2.0-rc4

Bumping zfs to version zfs-2.2.0-rc4-35-g229ca7d73, which comprises the following commits:

    739db06ce Tag 2.2.0-rc4
    4da8c7d11 Intel QAT 1.7 compatibility
    32949f256 Relax error reporting in zpool import and zpool split
    79ac1b29d ZIL: Change ZIOs issue order.
    7dc2baaa1 ZIL: Revert zl_lock scope reduction.
    5a7cb0b06 ZIL: Tune some assertions.
    400f56e3f dmu_buf_will_clone: change assertion to fix 32-bit compiler warning
    63159e5bd checkstyle: fix action failures
    7eabb0af3 Try to clarify wording to reduce zpool add incidents
    c65aaa838 Avoid save/restoring AMX registers to avoid a SPR erratum
    e99e684b3 zed: update zed.d/statechange-slot_off.sh
    1b696429c Make zoned/jailed zfsprops(7) make more sense.
    084ff4abd tests/block_cloning: rename and document get_same_blocks helper
    ab999406f Update outdated assertion from zio_write_compress
    d19304ffe zed: Add zedlet to power off slot when drive is faulted
    92f095a90 copy_file_range: fix fallback when source create on same txg
    645a7e4d9 Move zinject from openzfs-zfs-test to openzfs-zfsutils
    95649854b dracut: support mountpoint=legacy for root dataset
    895cb689d zfs_clone_range should return a descriptive error codes
    6bdc7259d libzfs: sendrecv: send_progress_thread: handle SIGINFO/SIGUSR1
    1e488eec6 linux/spl/kmem_cache: undefine `kmem_cache_alloc` before defining it
    c418edf1d Fix some typos
    df8c9f351 ZIL: Second attempt to reduce scope of zl_issuer_lock.
    bb31ded68 ZIL: Replay blocks without next block pointer.
    c1801cbe5 ZIL: Avoid dbuf_read() before dmu_sync().
    ffaedf0a4 Remove fastwrite mechanism.
    02ce9030e Avoid waiting in dmu_sync_late_arrival().
    0ae7bfc0a zpool_vdev_remove() should handle EALREADY error return
    bd1eab16e linux: zfs: ctldir: set [amc]time to snapshot's creation property
    b3c1807d7 readmmap.c: fix building with MUSL libc
    b5e245633 Check the return value in clonefile test
    c47f0f441 linux/copy_file_range: properly request a fallback copy on Linux <5.3
    12f2b1f65 zdb: include cloned blocks in block statistics
    4a104ac04 Tag 2.2.0-rc3
    c24a48063 BRT should return EOPNOTSUPP
    36d1a3ef4 zts: block cloning tests
    2768dc04c linux: implement filesystem-side copy/clone functions for EL7
    3366ceaf3 linux: implement filesystem-side clone ioctls
    5d12545da linux: implement filesystem-side copy/clone functions
    a3ea8c8ee dbuf_sync_leaf: check DB_READ in state assertions
    0426e1327 dmu_buf_will_clone: only check that current txg is clean
    8aa4f0f0f brt_vdev_realloc: use vmem_alloc for large allocation
    7698503dc zfs_clone_range: use vmem_malloc for large allocation
    b9aa32ff3 zed: Reduce log noise for large JBODs
    571762b29 Linux 6.4 compat: META
    991834f5d Remove zl_issuer_lock from zil_suspend().
    41a0f6627 ZIL: Fix config lock deadlock.
    c79d1bae7 Update changelog for OpenZFS 2.2.0 release
    70232483b Tag 2.2.0-rc2
    c5273e0c3 shellcheck: disable "unreachable command" check [SC2317]
    685ae4429 metaslab: tuneable to better control force ganging
    81be809a2 Adjust prefetch parameters.
    8a6fde821 Add explicit prefetches to bpobj_iterate().
    b6f618f8f Don't emit cksum_{actual_expected} in ereport.fs.zfs.checksum events
    51a2b5976 Don't emit checksum histograms in ereport.fs.zfs.checksum events
    8c81c0b05 zed: Fix zed ASSERT on slot power cycle
    b221f4394 Fix zpl_test_super race with zfs_umount
    e037327bf spa_min_alloc should be GCD, not min
    1a2e486d2 Don't panic if setting vdev properties is unsupported for this vdev type
    d8011707c Ignore pool ashift property during vdev attachment
    f5f5a2db9 Rollback before zfs root is mounted
    83b0967c1 Do not request data L1 buffers on scan prefetch.
    73ba5df31 Linux 6.5 compat: disk_check_media_change() was added
    1bc244ae9 Linux 6.5 compat: BLK_STS_NEXUS renamed to BLK_STS_RESV_CONFLICT
    931dc7055 Linux 6.5 compat: intptr_t definition is canonically signed
    5299f4f28 set autotrim default to 'off' everywhere
    f917cf1c0 Fix the ZFS checksum error histograms with larger record sizes
    56ed389a5 Fix raw receive with different indirect block size.
    e613e4bbe Avoid extra snprintf() in dsl_deadlist_merge().
    b4e630b00 Add missed DMU_PROJECTUSED_OBJECT prefetch.
    bf6cd3079 FreeBSD: catch up to __FreeBSD_version 1400093
    1266cebf8 FreeBSD: Fix build on stable/13 after 1302506.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-09-29 14:24:54 -07:00
Michael Opdenacker
f14244a98c remove unused AUTHOR variable
No longer used in generating packages
Also creates a possible confusion with the recipe maintainer
name.

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-08-03 09:14:20 -07:00
Khem Raj
29abcea7bb zfs: Disable builds on aarch64 for now
It does not build with 6.4+ kernel, it is using symbols which are not
abailable to non GPL modules anymore

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-07-15 23:43:27 -07:00
Khem Raj
7218ccd0d1 zfs: Update to 2.2.0 rc1
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-07-15 23:43:27 -07:00
Wang Mingyu
533de88306 libburn: upgrade 1.5.4 -> 1.5.6
Changelog:
===========
* Bug fix: Overburning with cdrskin option -force ended by a libburn error
* New API call burn_write_opts_set_bdr_obs_exempt()
* New cdrskin option --bdr_obs_exempt
* Officially enabled overburning with burn_write_opts_set_force(,1)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-06-27 13:44:47 -07:00
Martin Jansa
be8c765c7c *.patch: add Upstream-Status to all patches
There is new patch-status QA check in oe-core:
https://git.openembedded.org/openembedded-core/commit/?id=76a685bfcf927593eac67157762a53259089ea8a

This is temporary work around just to hide _many_ warnings from
optional patch-status (if you add it to WARN_QA).

This just added
Upstream-Status: Pending
everywhere without actually investigating what's the proper status.

This is just to hide current QA warnings and to catch new .patch files being
added without Upstream-Status, but the number of Pending patches is now terrible:

5 (26%) 	meta-xfce
6 (50%) 	meta-perl
15 (42%)        meta-webserver
21 (36%)        meta-gnome
25 (57%)        meta-filesystems
26 (43%)        meta-initramfs
45 (45%)        meta-python
47 (55%)        meta-multimedia
312 (63%)       meta-networking
756 (61%)       meta-oe

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-06-21 09:15:20 -07:00
Khem Raj
1c0e1d92b2 zfs: Fix build on musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-28 16:35:00 -07:00
Khem Raj
20cea78248 zfs: Fix build with aarch64
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-28 16:35:00 -07:00
Khem Raj
98353572fa zfs: Upgrade to 2.1.11
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-28 16:35:00 -07:00
Khem Raj
fe103d4322 zfs: Add a patch to fix aarch64 build with gcc13
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-28 16:35:00 -07:00
Ross Burton
293af81872 libisoburn: add new recipe
libisoburn is the library and command-line tool (xorriso) that can
construct ISO-9660 images and write them to physical media.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-09 17:27:51 -07:00
Ross Burton
5f64e51e5e libburn: move to meta-filesystems
This recipe is very much in the remit of meta-filesystems, so move the
recipe and update it. It ships a cdrecord wrapper so inherit lib_package,
and the license is GPLv2 or later not GPLv2 only, for example:

https://dev.lovelyhq.com/libburnia/libburn/src/branch/master/libburn/source.c

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-09 17:27:51 -07:00
Ross Burton
d63a3a9479 libisofs: add new recipe
libisofs from the libburnia project is a library to construct ISO-9660
filesystems.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-09 17:27:51 -07:00
Martin Jansa
e4fd963741 zfs: fix installation paths for multilib
* pass --with-systemd* variables to install in more typical directories
* adjust FILES:${PN} to package them and more explicitly list some of
  the directories like sudoers.d
* also remove unnecessary trailing /* and fix indentation of closing quote

* fixes:
ERROR: QA Issue: zfs: Files/directories were installed but not shipped in any package:
  /lib
  /lib/modules
  /lib/modules/6.1.20-v8
  /lib/modules/6.1.20-v8/extra
  /lib/modules/6.1.20-v8/extra/zstd
  /lib/modules/6.1.20-v8/extra/zfs
  /lib/modules/6.1.20-v8/extra/unicode
  /lib/modules/6.1.20-v8/extra/lua
  /lib/modules/6.1.20-v8/extra/spl
  /lib/modules/6.1.20-v8/extra/zcommon
  /lib/modules/6.1.20-v8/extra/avl
  /lib/modules/6.1.20-v8/extra/nvpair
  /lib/modules/6.1.20-v8/extra/icp
  /lib/modules/6.1.20-v8/extra/zstd/zzstd.ko.xz
  /lib/modules/6.1.20-v8/extra/zfs/zfs.ko.xz
  /lib/modules/6.1.20-v8/extra/unicode/zunicode.ko.xz
  /lib/modules/6.1.20-v8/extra/lua/zlua.ko.xz
  /lib/modules/6.1.20-v8/extra/spl/spl.ko.xz
  /lib/modules/6.1.20-v8/extra/zcommon/zcommon.ko.xz
  /lib/modules/6.1.20-v8/extra/avl/zavl.ko.xz
  /lib/modules/6.1.20-v8/extra/nvpair/znvpair.ko.xz
  /lib/modules/6.1.20-v8/extra/icp/icp.ko.xz
  /usr/lib/modules-load.d
  /usr/lib/systemd/system
  /usr/lib/systemd/system-preset
  /usr/lib/systemd/system-generators/zfs-mount-generator
  /usr/lib/systemd/system/zfs-scrub@.service
  /usr/lib/systemd/system/zfs-scrub-weekly@.timer
  /usr/lib/systemd/system/zfs-import.service
  /usr/lib/systemd/system/zfs-import-scan.service
  /usr/lib/systemd/system/zfs-share.service
  /usr/lib/systemd/system/zfs-mount.service
  /usr/lib/systemd/system/zfs-volume-wait.service
  /usr/lib/systemd/system/zfs.target
  /usr/lib/systemd/system/zfs-load-key.service
  /usr/lib/systemd/system/zfs-import.target
  /usr/lib/systemd/system/zfs-import-cache.service
  /usr/lib/systemd/system/zfs-zed.service
  /usr/lib/systemd/system/zfs-scrub-monthly@.timer
  /usr/lib/systemd/system/zfs-volumes.target
  /usr/lib/systemd/system-preset/50-zfs.preset
  /usr/lib/modules-load.d/zfs.conf
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
zfs: 42 installed and not shipped files. [installed-vs-shipped]

when libdir is /usr/lib64 with multilib.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-04 15:34:11 -07:00
Khem Raj
edf94a6e8d httpfs2: Do not use S during compile/install tasks
Point to SOURCEFORGE_MIRROR instead of hardcoding one

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-01 23:20:22 -07:00
Khem Raj
7ecfc79573 zfs: Update to 2.1.9
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-02-02 21:36:54 -08:00
Bruce Ashfield
174f2ea5f3 zfs: update to 2.1.7
Bumping zfs to fix builds for 6.x+ kernel versions (and libc-headers),
and we also pickup the following commits:

    21bd76613 Tag zfs-2.1.7
    7819b12f2 zfs-2.1.7: Use ubuntu-20.04 for zloop and sanity builders
    c8d2ab05e Fix setting the large_block feature after receiving a snapshot
    2c50512ad Make autodetection disable pyzfs for kernel/srpm configurations
    c4468a70c Don't leak packed recieved proprties
    e48aaef89 Fix NULL pointer dereference in dbuf_prefetch_indirect_done()
    0e3abd299 Lua: Fix bad bitshift in lua_strx2number()
    3d1e80809 Fix clang 13 compilation errors
    108c07c65 Remove final K&R definitions
    32f7499ac module: zfs: vdev_removal: remove unused num_indirect
    670d66e7a tests: cmd: draid: remove unused and undocumented -v
    ad0379bf0 linux: libspl: zone: () -> (void)
    2662b8e72 Correct multipathd.target to .service
    fa7d572a8 Handle and detect #13709's unlock regression (#14161)
    d9de079a4 Fix arc_p aggressive increase
    957c3776f FreeBSD: Fix out of bounds read in zfs_ioctl_ozfs_to_legacy()
    85537f77a Expose zfs_vdev_open_timeout_ms as a tunable
    5f53a444b Remove an unused variable
    572bd18c1 Make 1-bit bitfields unsigned
    256b74d0b Address warnings about possible division by zero from clangsa
    ac01b876c Avoid null pointer dereference in dsl_fs_ss_limit_check()
    e9a8fb17b Fix too few arguments to formatting function
    52e658edd Remove zpl_revalidate: fix snapshot rollback
    4c59fde1f Fix theoretical use of uninitialized values
    3830858c5 Fix memory leaks in dmu_send()/dmu_send_obj()
    af2e53f62 Fix possible NULL pointer dereference in sha2_mac_init()
    89c41f397 set_global_var() should not pass NULL pointers to dlclose()
    409c99a1d Fix NULL pointer dereference in spa_open_common()
    bbec0e60a Fix NULL pointer passed to strlcpy from zap_lookup_impl()
    a5f17a94d fm_fmri_hc_create() must call va_end() before returning
    5eaad8bdb Fix NULL pointer dereference in zdb
    4351d18fb ZED: Fix uninitialized value reads
    2453f9035 Fix theoretical array overflow in lua_typename()
    d016ca1a9 Fix potential NULL pointer dereference in lzc_ioctl()
    d05f247ae scripts/enum-extract.pl should not hard code perl path
    fa74250cd PAM: Fix unchecked return value from zfs_key_config_load()
    c562bbefc Fix potential NULL pointer dereference in dsl_dataset_promote_check()
    d4df36de5 Fix unreachable code in zstreamdump
    531361114 PAM: Fix uninitialized value read
    e11c4327f set_global_var_parse_kv() should pass the pointer from strdup()
    fbe150fe5 Call va_end() before return in zpool_standard_error_fmt()
    1ff8f4185 Fix potential NULL pointer dereference in zfsdle_vdev_online()
    c6d93d0a8 FreeBSD: Fix uninitialized pointer read in spa_import_rootpool()
    9f1691a96 Linux: Fix use-after-free in zfsvfs_create()
    12b859c97 Fix null pointer dereferences in PAM
    39a39b8ab Handle ECKSUM as new EZFS_CKSUM ‒ "insufficient replicas"
    1d5e569a6 Fix use-after-free bugs in icp code
    3f380df77 Remove incorrect free() in zfs_get_pci_slots_sys_path()
    b247d47be Cleanup: Make memory barrier definitions consistent across kernels
    792825724 zpool_load_compat() should create strings of length ZFS_MAXPROPLEN
    ab22031d7 icp: fix all !ENDBR objtool warnings in x86 Asm code
    33bc03dea icp: fix rodata being marked as text in x86 Asm code
    ee93cbc9d icp: properly fix all RETs in x86_64 Asm code
    1d9aa838e libzfs recv: Check if user prop before inheritable
    0f4ee295b dsl_prop_known_index(): check for invalid prop
    8c0684d32 zed: Avoid core dump if wholedisk property does not exist
    ca3a675c7 zed: Prevent special vdev to be replaced by hot spare
    cd1f02384 Deny receiving into encrypted datasets if the keys are not loaded (#14139)
    b27c7a145 zil: Relax assertion in zil_parse
    186e39f33 quota: extend quota for dataset
    1d2b0563f Fix ARC target collapse when zfs_arc_meta_limit_percent=100
    8929355b4 Propagate extent_bytes change to autotrim thread
    212ba9bd9 Linux 6.1 compat: change order of sys/mutex.h includes
    7ce097c87 Linux 6.0 compat: META
    3e767e34b Linux compat: fix DECLARE_EVENT_CLASS() test when ZFS is built-in
    df000276b zfs_domount: fix double-disown of dataset / double-free of zfsvfs_t
    7a1b6c51d Linux: Remove ZFS_AC_KERNEL_SRC_MODULE_PARAM_CALL_CONST autotools check
    4dd9c3b08 CI: bump actions/upload-artifact to v3
    1bbc09e1f CI: bump actions/checkout to v3
    37d5a3e04 Stop ganging due to past vdev write errors
    25096e118 zvol_wait logic may terminate prematurely
    820edcbf9 Remove ambiguity on demand vs prefetch stats reported by arc_summary
    37763ea2a Fix panic in dsl_process_sub_livelist for EINTR
    c8d6a91a9 Bring per_txg_dirty_frees_percent back to 30
    7ac732b8d Add options to zfs redundant_metadata property
    04f1983aa FreeBSD: vn_flush_cached_data: observe vnode locking contract
    4e3fecbdf FreeBSD: Fix a pair of bugs in zfs_fhtovp()
    fc1c0053f Fix sequential resilver drive failure race condition
    779597568 contrib: dracut: zfs-snapshot-bootfs: exit status fix
    3b935cc3e contrib: dracut: zfs-{rollback,snapshot}-bootfs: explicit snapname fix
    b0bc88239 kcfpool_alloc() should have its argument list marked void
    8cf59e97c etc: mask zfs-load-key.service
    4d22befde initramfs: use `mount.zfs` instead of `mount`
    6a6bd4939 Tag zfs-2.1.6
    566e908fa Fix bad free in skein code
    a2705b1dd zpool: Don't print "repairing" on force faulted drives
    63d4838b4 FreeBSD: handle V_PCATCH
    eec942cc5 FreeBSD: catch up to 1400068
    2c8e3e4b2 FreeBSD: stop passing LK_INTERLOCK to VOP_LOCK
    55816c64d FreeBSD: Fix integer conversion for vnlru_free{,_vfsops}()
    8dcd6af62 FreeBSD: Ignore symlink to i386 includes
    c973929b2 LUA: Fix CVE-2014-5461
    835e03682 Linux: Fix uninitialized variable usage in zio_do_crypt_data()
    33223cbc3 Refactor Log Size Limit
    91e02156d Revert "Reduce dbuf_find() lock contention"
    b66f8d3c2 Add zfs_btree_verify_intensity kernel module parameter
    5096ed31c Fix incorrect size given to bqueue_enqueue() call in dmu_redact.c
    035e52f59 Delay ZFS_PROP_SHARESMB property to handle it for encrypted raw receive
    d5105f068 zfs recv hangs if max recordsize is less than received recordsize
    faa1e4082 include: move SPA_MINBLOCKSHIFT and zio_encrypt to sys/fs/zfs.h
    44cec45f7 Improve too large physical ashift handling
    ebbbe01e3 Ask libtool to stop hiding some errors
    d05f3039f Add Module Parameter Regarding Log Size Limit
    999830a02 Optimize txg_kick() process (#12274)
    a5b0d4254 zfs recv hangs if max recordsize is less than received recordsize
    cde04badd make DMU_OT_IS_METADATA and DMU_OT_IS_ENCRYPTED return B_TRUE or B_FALSE
    3f7c174b5 vdev_draid_lookup_map() should not iterate outside draid_maps
    03fa3ef26 Add physical device size to SIZE column in 'zpool list -v'
    8bd3dca9b Introduce a tunable to exclude special class buffers from L2ARC
    c8f795ba5 config: check for parallel(1), use it for cstyle
    7bbfac9d0 zed: Fix config_sync autoexpand flood
    2010c183b Add xattr_handler support for Android kernels
    aa9e887d2 Fix column width in 'zpool iostat -v' and 'zpool list -v'
    78206a2e4 FreeBSD: Mark ZFS_MODULE_PARAM_CALL as MPSAFE
    b6ebf270e Apply arc_shrink_shift to ARC above arc_c_min
    15b64fbc9 Importing from cachefile can trip assertion
    b1be0a5c1 ZTS: Fix zpool_expand_001_pos
    65f8f92d1 zed: Look for NVMe DEVPATH if no ID_BUS
    acd746463 zed: Ignore false 'atari' partitions in autoreplace
    f48d9b426 rpm: Silence "unversioned Obsoletes" warnings on EL 9
    e1b49e3f1 rpm: Use the correct version-release information in dependencies
    8131a9654 Fix use-after-free in btree code
    979fd5a43 contrib: dracut: zfs-snapshot-bootfs: exit status fix
    533779f5f arcstat: fix -p option
    db5fd16f0 Fix problem with zdb_objset_id test.
    e0dbab1a1 Linux 6.0 compat: register_shrinker() now var-arg
    4063d7b6b Linux 5.20 compat: blk_cleanup_disk()
    58571ba44 Linux 5.20 compat: bdevname()
    57e1052d3 Linux 5.19 compat: META
    fcbddc7f7 Fix problem with zdb -d
    b06aff105 Fix checkstyle warning: E275 missing whitespace after keyword
    035ee628c Revert behavior of 59eab109 on not-Linux
    5c56591b5 Handle partial reads in zfs_read
    17512aba0 module: lua: ldo: fix pragma name
    98315be03 ZTS: Fix io_uring support check
    69ad0bd76 Fix objtool: missing int3 after ret warning
    b9d862f2d ICP: Add missing stack frame info to SHA asm files
    d2ff2196a Fix -Wformat-overflow warning in zfs_project_handle_dir()
    d483ef374 Fix -Wformat-truncation warning in upgrade_set_callback()
    60f2cfd24 Fix -Wuse-after-free warning in dbuf_destroy()
    6a8117302 Fix -Wuse-after-free warning in dbuf_issue_final_prefetch_done()
    087f5dedd Fix -Wattribute-warning in dsl layer
    c771583f2 Fix -Wattribute-warning in edonr
    ef0e506f4 Fix -Wattribute-warning in zfs_log_xvattr()
    d7a8c573c Silence -Winfinite-recursion warning in luaD_throw()
    2d235d58f config: prune unused -Wno-bool-compare checks
    37430e821 libtpool: -Wno-clobbered
    4b0977027 Remove sha1 hashing from OpenZFS, it's not used anywhere.
    15868d3ec Fix scrub resume from newly created hole.
    bbb50e612 Avoid memory copy when verifying raidz/draid parity
    03e33b2bb Avoid memory copies during mirror scrub
    4b8f16072 Fix and disable blocks statistics during scrub
    5e06805d8 Avoid two 64-bit divisions per scanned block
    dc91a6a66 Several B-tree optimizations
    a861aa2b9 Several sorted scrub optimizations
    881249de6 FreeBSD: Improve crypto_dispatch() handling
    916d9de15 Reduce ZIO io_lock contention on sorted scrub
    813e15f28 AVL: Remove obsolete branching optimizations
    884364ea8 More speculative prefetcher improvements
    6e1e90d64 Improve mg_aliquot math
    dd9c110ab Improve log spacemap load time
    fdb80a230 Add more control/visibility to spa_load_verify().
    72a4709a5 spa.c: Replace VERIFY(nvlist_*(...) == 0) with fnvlist_* (#12678)
    415882d22 Avoid small buffer copying on write
    5b860ae1f Remove refcount from spa_config_*()
    3920d7f32 Scrub mirror children without BPs

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-12-15 07:47:17 -08:00
Omkar Patil
5d5e885471 ntfs-3g-ntfsprogs: Upgrade 2022.5.17 to 2022.10.3
Changes:
Rejected zero-sized runs
Avoided merging runlists with no runs

Fix CVE-2022-40284

Signed-off-by: Omkar Patil <omkarpatil10.93@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-11-18 11:10:25 -08:00
Bruce Ashfield
9ef040501e zfs: update to v2.1.5
Updating to 2.1.5 primarily for kernel 5.19+ support. We refresh
one patch, and pick up the following changes:

Changes
  - Remove install of zfs-load-module.service for dracut #13574
  - FreeBSD: Silence clang unused-but-set-variable
  - Improve sorted scan memory accounting #13537
  - Corrected edge case in uncompressed ARC->L2ARC handling #13375
  - Remove wrong assertion in log spacemap #13486 #13513
  - libzfs: Fail making a dataset handle gracefully #13077
  - libzfs: mount: don't leak mnt_param_t if mnt_func fails #12968
  - Reject zfs send -RI with nonexistent fromsnap #12574 #12575
  - Linux 5.18 compat: META #13527
  - autoconf: AC_MSG_CHECKING consistency #13529
  - Linux 5.19 compat: asm/fpu/internal.h #13529
  - Linux 5.19 compat: zap_flags_t conflict #13515
  - Linux 5.19 compat: bdev_start_io_acct() / bdev_end_io_acct() #13515
  - Linux 5.19 compat: aops->read_folio() #13515
  - Linux 5.19 compat: blkdev_issue_secure_erase() #13515
  - Linux 5.19 compat: bdev_max_secure_erase_sectors() #13515
  - Linux 5.19 compat: bdev_max_discard_sectors() #13515
  - Linux 5.18 compat: bio_alloc() #13515
  - Silence unused-but-set-variable warning #13507
  - zed: support subject as header in zed_notify_email() #13440
  - rpm: Keep debug symbols if configured with '--enable-debuginfo' #13500
  - FreeBSD: libspl: Add locking around statfs globals #13484
  - Standardize RHEL version check in packages #13501
  - Modified ncompress requirement in RPM to exclude RHEL9 #13480 #13490
  - zed: Take no action on scrub/resilver checksum errors #13499
  - zdb: Fix handling of nul termination in symlink targets #13482
  - automake: don't install /e/d/zfs or /e/z/zfs-functions +x #13496
  - Multiple dracut module install script cleanups #13010
  - Remove absolute paths to udev rules and binaries for dracut #13010
  - Make dracut fail if essential files cannot be installed #13010
  - Make better use of dracut functions when building initramfs #13010
  - Fix compiler warnings about zero-length arrays in inline bitops #13463 #13465
  - Add missing AC_MSG_RESULT(no) to configure #13454
  - abd_os: remove redundant refcount creation for abd_children #13429
  - Fix functions without a prototype #13421
  - FreeBSD: use zero_region instead of allocating a dedicated page #13406
  - autoconf: Fail when __copy_from_user_inatomic is a non-GPL symbol #13389
  - PPC get_user workaround #11958 #12590 #13367
  - Adding ZERO_PAGE detection #13199
  - autoconf: Pretend CONFIG_MODULES is always on
  - kbuild: unify modules(_install) for in-tree and external modules #10832 #13361
  - Strengthen Linux kernel capabilities detection #13351
  - zvol_wait: Ignore locked zvols #10662
  - FreeBSD: Implement hole-punching support #12458
  - module: zstd: check we don't leak symbols; regenerate symbol map #12988 #13209
  - man: zpool-import.8: -d -or -c #13437
  - Reduce dbuf_find() lock contention #13405
  - contrib: dracut: remove getargbool polyfill #13291
  - Add dracut.zfs.7 #13291
  - contrib: dracut: zfs-needshutdown: don't list #13291
  - contrib: dracut: zfs-{rollback,snapshot}-bootfs: order after key loading #13291
  - contrib: dracut: don't require essentials to be under the same encroot #13291
  - contrib: dracut: inline single-use import_pool, move single-use ask_for_password #13291
  - contrib: dracut: zfs-lib: remove find_bootfs #13291
  - contrib: dracut: zfs-lib: simplify ask_for_password #13291
  - contrib; dracut: flatten zfs-load-key, simplify zfs-env-bootfs #13291
  - contrib; dracut: centralise root= parsing, actually support root=s #13291
  - contrib: dracut: parse-zfs: stop pretending we support FILESYSTEM= #13291
  - contrib: dracut: parse-zfs: drop initqueue-finished for i/f #13291
  - contrib/dracut: zfs-lib: export_all: replace with inline zpool export -a #13093
  - Remove REMAKE_INITRD #12781
  - Python 3.10 fixes, part 2 #12045 #12673
  - Silence unused-but-set-variable warnings
  - module: zfs: freebsd: fix unused, remove argsused #12844
  - FreeBSD: remove unused variable
  - zvol: remove unused variable #12917
  - fm: remove unused variables #12917
  - zvol: remove unused variable #12917
  - module/zfs: vdev_removal: spa_vdev_remove_thread: remove unused variable #12187
  - module/zfs: vdev_indirect: vdev_indirect_repair: remove unused variable #12187
  - module/zfs: dbuf: dbuf_read_impl: remove unused variable #12187
  - module/zfs: arc: arc_hdr_realloc_crypt: remove unused variables #12187
  - libzfs: zfs_send: remove unused variable #12187
  - libzutil: zpool_find_config: remove unused variable #12187
  - Skip spacemaps reading in case of pool readonly import #9095 #12687
  - zfs: holds: dequadratify #13372 #13373
  - Linux 5.18 compat: replace __set_page_dirty_nobuffers #13325 #13380
  - Fix O_APPEND for Linux 3.15 and older kernels #13370 #13377
  - Linux 5.18 compat: kobj_type.default_attrs replaced with default_groups #13357
  - FreeBSD: Fix translation from ABD to physical pages.
  - Corrected oversight in ZERO_RANGE behavior #13329 #13338
  - Document zfs inherit -S's interaction with noninheritable properties #11894 #13335
  - Linux 5.17 compat: GENHD_FL_EXT_DEVT / GENHD_FL_NO_PART_SCAN #13294 #13297
  - FreeBSD: Return Mach error codes from VOP_(GET|PUT)PAGES #13311
  - FreeBSD: Parameterize ZFS_ENTER/ZFS_VERIFY_VP with an error code #13311
  - libzfs: import: zpool_clear_label: actually fail if clearing l2arc header fails #13304
  - libzfs: sendrecv: always cancel progress thread in zfs_send_one() #11560 #13284
  - Linux 5.18 compat: use address_space_operations->readahead #13278
  - Linux 5.18 compat: blkg_tryget is moved to private headers #13278
  - Linux 5.18 compat: replace genhd.h with blkdev.h includes #13251
  - Linux 5.18 compat: 4-argument bio_alloc() #13251
  - FreeBSD: Use NDFREE_PNBUF if available #13277
  - Export minimal zfs_refcount interfaces #12613
  - Default to zfs_dmu_offset_next_sync=1 #12746
  - etc/systemd/zfs-mount-generator: serialise, handle keylocation=http[s]:// #12138
  - libzfs: diff: stream_bytes: use fputc, %hho formats chars #12829
  - zfs, libzfs: diff: accept -h/ZFS_DIFF_NO_MANGLE, disabling path escaping #12829

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-08-08 11:38:15 -07:00
Chen Qi
35a51898e7 ntfs-3g-ntfsprogs: upgrade to 2022.5.17
Upgrade from 2021.8.22 to 2022.5.17.
This upgrade mainly include CVE fixes.

According to https://github.com/tuxera/ntfs-3g/releases:
"""
Changelog:
* Improved defence against maliciously tampered NTFS partitions
* Improved defence against improper use of options
* Updated the documentation
"""

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-07-06 00:08:14 -04:00
Akash Hadke
dca1878ce4 ntfs-3g-ntfsprogs: Set CVE_PRODUCT to "tuxera:ntfs-3g"
Set CVE_PRODUCT to 'tuxera:ntfs-3g' for ntfs-3g-ntfsprogs recipe,
cve-check class is setting default CVE_PRODUCT to 'ntfs-3g-ntfsprogs'
which ignores the ntfs-3g-ntfsprogs CVEs from NVD Database.

Reference:
CVE-2019-9755
Link: https://nvd.nist.gov/vuln/detail/CVE-2019-9755

Signed-off-by: Akash Hadke <akash.hadke@kpit.com>
Signed-off-by: Akash Hadke <hadkeakash4@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-06-30 13:39:28 -04:00
Wang Mingyu
f50cffbd02 sshfs-fuse: upgrade 3.7.2 -> 3.7.3
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-06-06 13:58:43 -07:00