Skip to content

Commit

Permalink
usbguard: Ensure users in wheel can use IPC
Browse files Browse the repository at this point in the history
Signed-off-by: Ikey Doherty <[email protected]>
  • Loading branch information
ikeycode committed Jan 18, 2025
1 parent 367ce68 commit 5c78b33
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 2 deletions.
Binary file modified u/usbguard/manifest.x86_64.bin
Binary file not shown.
2 changes: 1 addition & 1 deletion u/usbguard/manifest.x86_64.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,6 @@
}
},
"source-name": "usbguard",
"source-release": "2",
"source-release": "3",
"source-version": "1.1.3"
}
26 changes: 26 additions & 0 deletions u/usbguard/pkg/0001-usbguard-daemon-Fix-default-config.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
From 7f626edae9cbb3061e8d6fe50d38af313cf784a0 Mon Sep 17 00:00:00 2001
From: Ikey Doherty <[email protected]>
Date: Sat, 18 Jan 2025 11:18:43 +0000
Subject: [PATCH] usbguard-daemon: Fix default config

Signed-off-by: Ikey Doherty <[email protected]>
---
usbguard-daemon.conf.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/usbguard-daemon.conf.in b/usbguard-daemon.conf.in
index f53f03b..21996cd 100644
--- a/usbguard-daemon.conf.in
+++ b/usbguard-daemon.conf.in
@@ -152,7 +152,7 @@ IPCAllowedUsers=root
#
# IPCAllowedGroups=groupname1 groupname2 ...
#
-IPCAllowedGroups=
+IPCAllowedGroups=wheel

#
# IPC access control definition files path.
--
2.47.1

3 changes: 2 additions & 1 deletion u/usbguard/stone.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#
name : usbguard
version : 1.1.3
release : 2
release : 3
homepage : https://usbguard.github.io/
upstreams :
- https://github.com/USBGuard/usbguard/releases/download/usbguard-1.1.3/usbguard-1.1.3.tar.gz : 707dad2938923202697f636c2b4e0be80f192242039a2af3fc7ac35d03f78551
Expand All @@ -26,6 +26,7 @@ builddeps :
- pkgconfig(polkit-gobject-1)
- pkgconfig(protobuf)
setup : |
%patch %(pkgdir)/0001-usbguard-daemon-Fix-default-config.patch
%configure --disable-static \
--with-crypto-library=openssl \
--with-bundled-catch \
Expand Down

0 comments on commit 5c78b33

Please sign in to comment.