ports/audio/mumble/patches/patch-scripts_murmur_ini

60 lines
2 KiB
Text

Comment unavailable options and set default database and log locations.
Index: scripts/murmur.ini
--- scripts/murmur.ini.orig
+++ scripts/murmur.ini
@@ -13,7 +13,7 @@
; Path to database. If blank, will search for
; murmur.sqlite in default locations or create it if not found.
-database=
+database=${LOCALSTATEDIR}/murmur/murmur.sqlite
; Murmur defaults to using SQLite with its default rollback journal.
; In some situations, using SQLite's write-ahead log (WAL) can be
@@ -51,7 +51,7 @@ database=
; Murmur defaults to not using D-Bus. If you wish to use dbus, which is one of the
; RPC methods available in Murmur, please specify so here.
;
-;dbus=session
+;dbus=system
; Alternate D-Bus service name. Only use if you are running distinct
; murmurd processes connected to the same D-Bus daemon.
@@ -62,7 +62,7 @@ database=
; with ICE, you should only use it if you trust all the users who have
; shell access to your machine.
; Please see the ICE documentation on how to specify endpoints.
-ice="tcp -h 127.0.0.1 -p 6502"
+;ice="tcp -h 127.0.0.1 -p 6502"
; Ice primarily uses local sockets. This means anyone who has a
; user account on your machine can connect to the Ice services.
@@ -77,7 +77,7 @@ ice="tcp -h 127.0.0.1 -p 6502"
; access will be denied.
;icesecretread=
-icesecretwrite=
+;icesecretwrite=
; If you want to expose Murmur's experimental gRPC API, you
; need to specify an address to bind on.
@@ -99,7 +99,7 @@ icesecretwrite=
; logs to the file 'murmur.log'. If you leave this field blank
; on Unix-like systems, Murmur will force itself into foreground
; mode which logs to the console.
-;logfile=murmur.log
+logfile=${LOCALSTATEDIR}/murmur/murmur.log
; If set, Murmur will write its process ID to this file
; when running in daemon mode (when the -fg flag is not
@@ -438,6 +438,6 @@ allowping=true
; leave the defaults as they are.
; Please note that this section has to be last in the configuration file.
;
-[Ice]
-Ice.Warn.UnknownProperties=1
-Ice.MessageSizeMax=65536
+;[Ice]
+;Ice.Warn.UnknownProperties=1
+;Ice.MessageSizeMax=65536