diff --git a/srcpkgs/tracker-miners/patches/sqlite-seccomp.patch b/srcpkgs/tracker-miners/patches/sqlite-seccomp.patch new file mode 100644 index 00000000000..7aaeda5ed52 --- /dev/null +++ b/srcpkgs/tracker-miners/patches/sqlite-seccomp.patch @@ -0,0 +1,24 @@ +Change ioctl(..., F2FS_IOC_GET_FEATURES, ...) from an assertion to an errno. +This is necessary for sqlite SQLITE_ENABLE_BATCH_ATOMIC_WRITE. + +--- a/src/libtracker-miners-common/tracker-seccomp.c ++++ b/src/libtracker-miners-common/tracker-seccomp.c +@@ -34,6 +34,7 @@ + #include + #include + #include ++#include + #include + + #include +@@ -246,6 +247,10 @@ tracker_seccomp_init (void) + SCMP_CMP(0, SCMP_CMP_EQ, 2)) < 0) + goto out; + ++ if (seccomp_rule_add (ctx, SCMP_ACT_ERRNO (EACCES), SCMP_SYS(ioctl), 1, ++ SCMP_CMP(1, SCMP_CMP_EQ, _IOR(0xf5, 12, __u32))) < 0) ++ goto out; ++ + /* Special requirements for open/openat, allow O_RDONLY calls, + * but fail if write permissions are requested. + */ diff --git a/srcpkgs/tracker-miners/template b/srcpkgs/tracker-miners/template index 9e8cdc492c2..3e7966c2b4a 100644 --- a/srcpkgs/tracker-miners/template +++ b/srcpkgs/tracker-miners/template @@ -1,6 +1,6 @@ # Template file for 'tracker-miners' pkgname=tracker-miners -version=3.4.2 +version=3.4.3 revision=1 build_style=meson build_helper=qemu @@ -24,10 +24,10 @@ makedepends="tracker-devel ffmpeg-devel dbus-devel exempi-devel short_desc="Data miners for tracker" maintainer="Orphaned " license="GPL-2.0-or-later" -homepage="https://developer.gnome.org/libtracker-miner/stable" +homepage="https://tracker.gnome.org/" changelog="https://gitlab.gnome.org/GNOME/tracker-miners/-/raw/master/NEWS" distfiles="${GNOME_SITE}/tracker-miners/${version%.*}/tracker-miners-${version}.tar.xz" -checksum=101e3608f1c28bfed8ae25522f7a720b559f889a76e280afbe50a4d8b064f92c +checksum=8e4f3976472641b648d0f8f20debae1b1629ca5b560b8616e117d29d756fbeeb make_check=no # relies on unsupported ops in chroot tracker3-miners_package() {