forked from pool/usbguard
Accepting request 910442 from hardware
OBS-URL: https://build.opensuse.org/request/show/910442 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/usbguard?expand=0&rev=13
This commit is contained in:
commit
8ba6704182
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Aug 5 15:26:54 UTC 2021 - Robert Frohl <rfrohl@suse.com>
|
||||||
|
|
||||||
|
- move usbguard.pid from /var/run to /run
|
||||||
|
added usbguard.service.in.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jan 13 16:05:00 UTC 2021 - Robert Frohl <rfrohl@suse.com>
|
Wed Jan 13 16:05:00 UTC 2021 - Robert Frohl <rfrohl@suse.com>
|
||||||
|
|
||||||
|
13
usbguard.service.in.patch
Normal file
13
usbguard.service.in.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
Index: usbguard-1.0.0/usbguard.service.in
|
||||||
|
===================================================================
|
||||||
|
--- usbguard-1.0.0.orig/usbguard.service.in
|
||||||
|
+++ usbguard-1.0.0/usbguard.service.in
|
||||||
|
@@ -12,7 +12,7 @@ IPAddressDeny=any
|
||||||
|
LockPersonality=yes
|
||||||
|
MemoryDenyWriteExecute=yes
|
||||||
|
NoNewPrivileges=yes
|
||||||
|
-PIDFile=/var/run/usbguard.pid
|
||||||
|
+PIDFile=/run/usbguard.pid
|
||||||
|
PrivateDevices=yes
|
||||||
|
PrivateTmp=yes
|
||||||
|
ProtectControlGroups=yes
|
@ -33,6 +33,7 @@ Source2: usbguard.keyring
|
|||||||
Source3: usbguard-daemon.conf
|
Source3: usbguard-daemon.conf
|
||||||
Source4: usbguard-rpmlintrc
|
Source4: usbguard-rpmlintrc
|
||||||
Patch0: usbguard-pthread.patch
|
Patch0: usbguard-pthread.patch
|
||||||
|
Patch10: usbguard.service.in.patch
|
||||||
BuildRequires: asciidoc
|
BuildRequires: asciidoc
|
||||||
BuildRequires: audit-devel
|
BuildRequires: audit-devel
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
@ -92,6 +93,7 @@ software framework.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n usbguard-%{version}
|
%setup -q -n usbguard-%{version}
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
|
%patch10 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
mkdir -p ./m4
|
mkdir -p ./m4
|
||||||
|
Loading…
x
Reference in New Issue
Block a user