mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
network/NetworkManager-openconnect: Fix dbus error
/etc/dbus-1/system.d/nm-openconnect-service.conf refers to a user account that is not present on the system, and according to testing feedback, this account is not necessary at all. Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
parent
712c81ecee
commit
8418b42dc8
2 changed files with 18 additions and 1 deletions
|
@ -24,7 +24,7 @@
|
|||
|
||||
PRGNAM=NetworkManager-openconnect
|
||||
VERSION=${VERSION:-0.8.1}
|
||||
BUILD=${BUILD:-1}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
|
@ -69,6 +69,9 @@ find . \
|
|||
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
||||
-exec chmod 644 {} \;
|
||||
|
||||
# Remove mention of an extraneous user account from the dbus config file
|
||||
patch -p1 < $CWD/nm-openconnect-service.conf.diff
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
diff -Nur NetworkManager-openconnect-0.8.1.orig//nm-openconnect-service.conf NetworkManager-openconnect-0.8.1/nm-openconnect-service.conf
|
||||
--- NetworkManager-openconnect-0.8.1.orig//nm-openconnect-service.conf 2009-04-20 06:09:58.000000000 -0500
|
||||
+++ NetworkManager-openconnect-0.8.1/nm-openconnect-service.conf 2010-09-12 11:57:41.100526093 -0500
|
||||
@@ -6,10 +6,6 @@
|
||||
<allow own="org.freedesktop.NetworkManager.openconnect"/>
|
||||
<allow send_destination="org.freedesktop.NetworkManager.openconnect"/>
|
||||
</policy>
|
||||
- <policy user="nm-openconnect">
|
||||
- <allow own="org.freedesktop.NetworkManager.openconnect"/>
|
||||
- <allow send_destination="org.freedesktop.NetworkManager.openconnect"/>
|
||||
- </policy>
|
||||
<policy context="default">
|
||||
<deny own="org.freedesktop.NetworkManager.openconnect"/>
|
||||
<deny send_destination="org.freedesktop.NetworkManager.openconnect"/>
|
Loading…
Reference in a new issue