Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 10 additions & 11 deletions srcpkgs/localsearch/patches/sqlite-seccomp.patch
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,14 @@ This is necessary for sqlite SQLITE_ENABLE_BATCH_ATOMIC_WRITE.
+#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 defined(__linux__) && defined(__x86_64__)
@@ -299,6 +300,8 @@ tracker_seccomp_init (gboolean readonly)
CUSTOM_RULE (ioctl, SCMP_ACT_ALLOW, SCMP_CMP(1, SCMP_CMP_EQ, BTRFS_IOC_GET_SUBVOL_INFO));
#endif
CUSTOM_RULE (ioctl, SCMP_ACT_ALLOW, SCMP_CMP(1, SCMP_CMP_EQ, FS_IOC_GETFSUUID));
+
+ CUSTOM_RULE (ioctl, SCMP_ACT_ERRNO (EACCES), SCMP_CMP(1, SCMP_CMP_EQ, _IOR(0xf5, 12, __u32)));

+ 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.
*/
if (readonly) {
/* Special requirements for open/openat, allow O_RDONLY calls,

4 changes: 2 additions & 2 deletions srcpkgs/localsearch/template
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Template file for 'localsearch'
pkgname=localsearch
version=3.10.2
version=3.11.0
revision=1
build_style=meson
build_helper=qemu
Expand Down Expand Up @@ -28,7 +28,7 @@ homepage="https://tracker.gnome.org/"
changelog="https://gitlab.gnome.org/GNOME/localsearch/-/raw/main/NEWS"
#changelog="https://gitlab.gnome.org/GNOME/localsearch/-/raw/localsearch-3.9/NEWS"
distfiles="${GNOME_SITE}/localsearch/${version%.*}/localsearch-${version}.tar.xz"
checksum=b4dd89c85d76617101bad4ec9a33678f631ec5032e9880eb423dce52e878a285
checksum=c6774761a8b9f4a06f6812f1c8078bee2e937d65e376c3d2338b78993e5f4666
make_check_pre="dbus-run-session"
make_check=ci-skip # TODO: d-bus tests timeout ci

Expand Down
4 changes: 2 additions & 2 deletions srcpkgs/tinysparql/template
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Template file for 'tinysparql'
pkgname=tinysparql
version=3.10.1
version=3.11.0
revision=1
build_style=meson
build_helper="gir qemu"
Expand All @@ -18,7 +18,7 @@ homepage="https://gitlab.gnome.org/GNOME/tinysparql"
changelog="https://gitlab.gnome.org/GNOME/tinysparql/-/raw/main/NEWS"
#changelog="https://gitlab.gnome.org/GNOME/tinysparql/-/raw/tinysparql-3.9/NEWS"
distfiles="${GNOME_SITE}/tinysparql/${version%.*}/tinysparql-${version}.tar.xz"
checksum=5a7f3e789db6671a550ed6280ed4f60a60bea77368da92be68dc7d8d7e230265
checksum=011e758a53f31112a8c45700fd6039ae55617f0dac70119d9eddafc03cf68fe5
make_check_pre="dbus-run-session"
replaces="tracker>=0 tracker3>=0"

Expand Down