Skip to content

Commit d93dcaf

Browse files
committed
localsearch: update to 3.11.0.
1 parent 7830433 commit d93dcaf

2 files changed

Lines changed: 12 additions & 13 deletions

File tree

srcpkgs/localsearch/patches/sqlite-seccomp.patch

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,14 @@ This is necessary for sqlite SQLITE_ENABLE_BATCH_ATOMIC_WRITE.
1010
+#include <sys/ioctl.h>
1111
#include <fcntl.h>
1212

13-
#include <seccomp.h>
14-
@@ -246,6 +247,10 @@ tracker_seccomp_init (void)
15-
SCMP_CMP(0, SCMP_CMP_EQ, 2)) < 0)
16-
goto out;
13+
#if defined(__linux__) && defined(__x86_64__)
14+
@@ -299,6 +300,8 @@ tracker_seccomp_init (gboolean readonly)
15+
CUSTOM_RULE (ioctl, SCMP_ACT_ALLOW, SCMP_CMP(1, SCMP_CMP_EQ, BTRFS_IOC_GET_SUBVOL_INFO));
16+
#endif
17+
CUSTOM_RULE (ioctl, SCMP_ACT_ALLOW, SCMP_CMP(1, SCMP_CMP_EQ, FS_IOC_GETFSUUID));
18+
+
19+
+ CUSTOM_RULE (ioctl, SCMP_ACT_ERRNO (EACCES), SCMP_CMP(1, SCMP_CMP_EQ, _IOR(0xf5, 12, __u32)));
1720

18-
+ if (seccomp_rule_add (ctx, SCMP_ACT_ERRNO (EACCES), SCMP_SYS(ioctl), 1,
19-
+ SCMP_CMP(1, SCMP_CMP_EQ, _IOR(0xf5, 12, __u32))) < 0)
20-
+ goto out;
21-
+
22-
/* Special requirements for open/openat, allow O_RDONLY calls,
23-
* but fail if write permissions are requested.
24-
*/
21+
if (readonly) {
22+
/* Special requirements for open/openat, allow O_RDONLY calls,
23+

srcpkgs/localsearch/template

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Template file for 'localsearch'
22
pkgname=localsearch
3-
version=3.10.2
3+
version=3.11.0
44
revision=1
55
build_style=meson
66
build_helper=qemu
@@ -28,7 +28,7 @@ homepage="https://tracker.gnome.org/"
2828
changelog="https://gitlab.gnome.org/GNOME/localsearch/-/raw/main/NEWS"
2929
#changelog="https://gitlab.gnome.org/GNOME/localsearch/-/raw/localsearch-3.9/NEWS"
3030
distfiles="${GNOME_SITE}/localsearch/${version%.*}/localsearch-${version}.tar.xz"
31-
checksum=b4dd89c85d76617101bad4ec9a33678f631ec5032e9880eb423dce52e878a285
31+
checksum=c6774761a8b9f4a06f6812f1c8078bee2e937d65e376c3d2338b78993e5f4666
3232
make_check_pre="dbus-run-session"
3333
make_check=ci-skip # TODO: d-bus tests timeout ci
3434

0 commit comments

Comments
 (0)