[PATCH xserver 1/2] meson: Enable SUN-DES-1 auth code

Adam Jackson ajax at redhat.com
Mon Jan 8 20:50:28 UTC 2018


Signed-off-by: Adam Jackson <ajax at redhat.com>
---
 include/meson.build | 1 +
 meson_options.txt   | 1 +
 os/meson.build      | 4 ++++
 3 files changed, 6 insertions(+)

diff --git a/include/meson.build b/include/meson.build
index 216744ca24..d6ec0d7cd3 100644
--- a/include/meson.build
+++ b/include/meson.build
@@ -90,6 +90,7 @@ conf_data.set_quoted('SYSCONFDIR', join_paths(get_option('prefix'), get_option('
 conf_data.set('XORG_VERSION_CURRENT', release)
 
 conf_data.set('HASXDMAUTH', get_option('xdm-auth-1'))
+conf_data.set('SECURE_RPC', get_option('secure-rpc'))
 
 conf_data.set('HAVE_DBM_H', cc.has_header('dbm.h'))
 conf_data.set('HAVE_DLFCN_H', cc.has_header('dlfcn.h'))
diff --git a/meson_options.txt b/meson_options.txt
index d1341ede2e..294279a5d4 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -25,6 +25,7 @@ option('module_dir', type: 'string',
 option('glx', type: 'boolean', value: true)
 option('xdmcp', type: 'boolean', value: true)
 option('xdm-auth-1', type: 'boolean', value: true)
+option('secure-rpc', type: 'boolean', value: true)
 option('ipv6', type: 'combo', choices: ['true', 'false', 'auto'], value: 'auto')
 
 option('xkb_dir', type: 'string')
diff --git a/os/meson.build b/os/meson.build
index 940c6f4d01..54124d32a9 100644
--- a/os/meson.build
+++ b/os/meson.build
@@ -54,6 +54,10 @@ if get_option('xdmcp')
     srcs_os += 'xdmcp.c'
 endif
 
+if get_option('secure-rpc')
+    srcs_os += 'rpcauth.c'
+endif
+
 libxlibc = []
 if srcs_libc.length() > 0
     libxlibc = static_library('libxlibc',
-- 
2.14.3



More information about the xorg-devel mailing list