tracker-miners: update to 3.4.3.

This commit is contained in:
oreo639 2023-01-23 16:31:44 -08:00 committed by Michal Vasilek
parent c4905eaecc
commit 407bbe668f
2 changed files with 27 additions and 3 deletions

View File

@ -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 <sys/prctl.h>
#include <sys/syscall.h>
#include <sys/socket.h>
+#include <sys/ioctl.h>
#include <fcntl.h>
#include <seccomp.h>
@@ -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.
*/

View File

@ -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 <orphan@voidlinux.org>"
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() {