mirror of
https://git.freebsd.org/ports.git
synced 2025-06-25 06:30:29 -04:00
- Add patch to use setusercontext(3) to setup user environment, so it respects login.conf among other things [1] - Use autoreconf, since patch requires regenerating configure script to check for setusercontext(3) [2] - Explicitly disable libaudit support, not supported in FreeBSD [3] - Add QT5 options, disabled by default, to control linking against qt5 [4] - Import patch adding option to enable alternative location for .xsession-errors file [5] - Correctly define runtime dependencies - Forcibly disable installation of apparmor files - Install PAM configuration files as samples, so in the future they are not overwritten if customized - Pet portclippy/portfmt - Regenerate patches Upstreaming: [1] https://github.com/canonical/lightdm/pull/334 [5] https://github.com/canonical/lightdm/pull/335 Many thanks to all people involved! PR: 266532 [1] [2], 273720 [1], 275885 [3] [4] [5] Tested by: Ivan Rozhuk <rozhuk.im@gmail.com>, Daniel Tameling <tamelingdaniel@gmail.com> (provided setusercontext patch), Anton Saietskii <vsasjason@gmail.com>
20 lines
1.3 KiB
C
20 lines
1.3 KiB
C
--- src/lightdm.c.orig 2022-07-10 21:17:23 UTC
|
|
+++ src/lightdm.c
|
|
@@ -758,6 +758,8 @@ main (int argc, char **argv)
|
|
config_set_boolean (config_get_instance (), "LightDM", "backup-logs", TRUE);
|
|
if (!config_has_key (config_get_instance (), "LightDM", "dbus-service"))
|
|
config_set_boolean (config_get_instance (), "LightDM", "dbus-service", TRUE);
|
|
+ if (!config_has_key (config_get_instance (), "LightDM", "smart-xsession-errors"))
|
|
+ config_set_boolean (config_get_instance (), "LightDM", "smart-xsession-errors", FALSE);
|
|
if (!config_has_key (config_get_instance (), "Seat:*", "type"))
|
|
config_set_string (config_get_instance (), "Seat:*", "type", "local");
|
|
if (!config_has_key (config_get_instance (), "Seat:*", "pam-service"))
|
|
@@ -813,7 +815,7 @@ main (int argc, char **argv)
|
|
if (!config_has_key (config_get_instance (), "XDMCPServer", "hostname"))
|
|
config_set_string (config_get_instance (), "XDMCPServer", "hostname", g_get_host_name ());
|
|
if (!config_has_key (config_get_instance (), "LightDM", "logind-check-graphical"))
|
|
- config_set_boolean (config_get_instance (), "LightDM", "logind-check-graphical", TRUE);
|
|
+ config_set_boolean (config_get_instance (), "LightDM", "logind-check-graphical", FALSE);
|
|
|
|
/* Override defaults */
|
|
if (log_dir)
|