From 857397e1178c098db275fd944d1ffcb94bb5bf51 Mon Sep 17 00:00:00 2001 From: Kate Hsuan Date: Wed, 31 Jan 2024 15:35:53 +0800 Subject: [PATCH] Update to 0.5.4 Resolves: #2258599, #2253895, #2250086, #2217123, #2193292 --- .gitignore | 1 + sources | 2 +- uresourced-remove-unneeded-directive.patch | 26 ---------------------- uresourced.spec | 3 +-- 4 files changed, 3 insertions(+), 29 deletions(-) delete mode 100644 uresourced-remove-unneeded-directive.patch diff --git a/.gitignore b/.gitignore index 8246599..9fff2cb 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ /uresourced-v0.5.1.tar.bz2 /uresourced-v0.5.2.tar.bz2 /uresourced-v0.5.3.tar.bz2 +/uresourced-v0.5.4.tar.bz2 diff --git a/sources b/sources index b3638b9..6eaafcf 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (uresourced-v0.5.3.tar.bz2) = 6947c31b9190ad48fbd5b7aefa4538feeac177403762dcb6c283e3292894790f9938fa9ef10d29c4c93650a14558173689a97c3c62ae07af3ed1d50dc66eea93 +SHA512 (uresourced-v0.5.4.tar.bz2) = c9c6499968aeeb4cb0e7a72d12b3778f4460d0f278e592feca1deb5d54c91dd19a27f8741c34b5e3d142e72b10a945e86b45c3ecd2864b45f1dd2acad319fb66 diff --git a/uresourced-remove-unneeded-directive.patch b/uresourced-remove-unneeded-directive.patch deleted file mode 100644 index e32c4b9..0000000 --- a/uresourced-remove-unneeded-directive.patch +++ /dev/null @@ -1,26 +0,0 @@ -From af9cac5b78507c58f72ab6e389583755f50cdc5f Mon Sep 17 00:00:00 2001 -From: Luca Boccassi -Date: Wed, 16 Nov 2022 12:03:56 +0000 -Subject: [PATCH] user unit: remove ProtectSystem= - -In a user unit ProtectSystem= cannot work without PrivateUsers=yes, -as mounts can only be done in a user namespace when not running as root. -In the future this will be implicit, so remove it to avoid unintended -sandboxing from being enabled. ---- - data/user/uresourced.service.in | 1 - - 1 file changed, 1 deletion(-) - -diff --git a/data/user/uresourced.service.in b/data/user/uresourced.service.in -index 09212a2..0be14e8 100644 ---- a/data/user/uresourced.service.in -+++ b/data/user/uresourced.service.in -@@ -20,5 +20,4 @@ ExecStart=@libexecdir@/uresourced --user - TimeoutStopSec=5s - - --ProtectSystem=strict - RestrictAddressFamilies=AF_UNIX --- -GitLab - diff --git a/uresourced.spec b/uresourced.spec index 6d0be40..82cb9d0 100644 --- a/uresourced.spec +++ b/uresourced.spec @@ -1,12 +1,11 @@ Name: uresourced -Version: 0.5.3 +Version: 0.5.4 Release: %autorelease Summary: Dynamically allocate resources to the active user License: LGPL-2.1-or-later URL: https://gitlab.freedesktop.org/benzea/uresourced Source0: %{url}/-/archive/v%{version}/%{name}-v%{version}.tar.bz2 -Patch0: %{url}/-/commit/af9cac5b78507c58f72ab6e389583755f50cdc5f.patch#/uresourced-remove-unneeded-directive.patch BuildRequires: gcc BuildRequires: meson