[seahorse/nielsdg/disable-avahi] meson: Disable DNS-SD keysharing by default




commit b3acc380c7ef43081a9d31615a667b4e3e3648fa
Author: Niels De Graef <nielsdegraef gmail com>
Date:   Sun Jun 5 23:40:10 2022 +0200

    meson: Disable DNS-SD keysharing by default
    
    It's been causing crashes for people, even when not doing anything.
    Given that I've never met anyone who actually uses it, let's just
    disable it for now.
    
    If nobody speaks up, it could be removed in some distant future.

 meson.build       | 4 ++++
 meson_options.txt | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index 5a79bcb8..ec83e64f 100644
--- a/meson.build
+++ b/meson.build
@@ -82,6 +82,10 @@ libsoup = dependency('libsoup-2.4', version: '>= 2.33.92', required: get_option(
 avahi_client = dependency('avahi-client', required: get_option('key-sharing'))
 avahi_glib = dependency('avahi-glib', version: '>= 0.6', required: get_option('key-sharing'))
 
+if get_option('key-sharing')
+  message('NOTE: key-sharing over DNS-SD will possibly be removed in the feature')
+endif
+
 
 # Project-wide flags
 add_project_arguments([
diff --git a/meson_options.txt b/meson_options.txt
index e6c2da14..62a728a7 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -6,5 +6,5 @@ option('pkcs11-support', type: 'boolean', value: true, description: 'Add support
 option('keyservers-support', type: 'boolean', value: true, description: 'Add support for keyservers')
 option('hkp-support', type: 'boolean', value: true, description: 'Add support for keyservers using HKP')
 option('ldap-support', type: 'boolean', value: true, description: 'Add support for keyservers using LDAP')
-option('key-sharing', type: 'boolean', value: true, description: 'Add support for DNS-SD key sharing')
+option('key-sharing', type: 'boolean', value: false, description: 'Add support for DNS-SD key sharing')
 option('manpage', type: 'boolean', value: false, description: 'Build and install the manpage (requires 
xsltproc)')


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]