aboutsummaryrefslogtreecommitdiffstats
path: root/testing/lightdm/disallow-guest.patch
diff options
context:
space:
mode:
authorTaner Tas <taner76@gmail.com>2018-04-29 21:23:23 +0300
committerTimo Teräs <timo.teras@iki.fi>2018-07-19 09:48:05 +0300
commit1930b07bb595290270526f94c53591876e0b56c7 (patch)
tree6130c65fe7faee091d666c1c6efdb85e7e172c15 /testing/lightdm/disallow-guest.patch
parentb5a9835750e46d565040f7dea69c64d577bac166 (diff)
downloadaports-1930b07bb595290270526f94c53591876e0b56c7.tar.bz2
aports-1930b07bb595290270526f94c53591876e0b56c7.tar.xz
testing/lightdm: Upgrade to 1.26.0, improve abuild
* Clarify license * Allow null passwords * Improve APKBUILD, update patches * Add -openrc subpackage
Diffstat (limited to 'testing/lightdm/disallow-guest.patch')
-rw-r--r--testing/lightdm/disallow-guest.patch30
1 files changed, 15 insertions, 15 deletions
diff --git a/testing/lightdm/disallow-guest.patch b/testing/lightdm/disallow-guest.patch
index 72782d3a79..237b571094 100644
--- a/testing/lightdm/disallow-guest.patch
+++ b/testing/lightdm/disallow-guest.patch
@@ -1,20 +1,20 @@
---- ./src/lightdm.c.orig
-+++ ./src/lightdm.c
-@@ -1067,7 +1067,7 @@
- if (!config_has_key (config_get_instance (), "SeatDefaults", "start-session"))
- config_set_boolean (config_get_instance (), "SeatDefaults", "start-session", TRUE);
- if (!config_has_key (config_get_instance (), "SeatDefaults", "allow-guest"))
-- config_set_boolean (config_get_instance (), "SeatDefaults", "allow-guest", TRUE);
-+ config_set_boolean (config_get_instance (), "SeatDefaults", "allow-guest", FALSE);
- if (!config_has_key (config_get_instance (), "SeatDefaults", "greeter-allow-guest"))
- config_set_boolean (config_get_instance (), "SeatDefaults", "greeter-allow-guest", TRUE);
- if (!config_has_key (config_get_instance (), "SeatDefaults", "greeter-show-remote-login"))
---- ./data/lightdm.conf.orig
-+++ ./data/lightdm.conf
-@@ -91,7 +91,7 @@
- #greeter-show-manual-login=false
+--- a/src/lightdm.c
++++ b/src/lightdm.c
+@@ -779,7 +779,7 @@
+ if (!config_has_key (config_get_instance (), "Seat:*", "allow-user-switching"))
+ config_set_boolean (config_get_instance (), "Seat:*", "allow-user-switching", TRUE);
+ if (!config_has_key (config_get_instance (), "Seat:*", "allow-guest"))
+- config_set_boolean (config_get_instance (), "Seat:*", "allow-guest", TRUE);
++ config_set_boolean (config_get_instance (), "Seat:*", "allow-guest", FALSE);
+ if (!config_has_key (config_get_instance (), "Seat:*", "greeter-allow-guest"))
+ config_set_boolean (config_get_instance (), "Seat:*", "greeter-allow-guest", TRUE);
+ if (!config_has_key (config_get_instance (), "Seat:*", "greeter-show-remote-login"))
+--- a/data/lightdm.conf
++++ b/data/lightdm.conf
+@@ -112,7 +112,7 @@
#greeter-show-remote-login=true
#user-session=default
+ #allow-user-switching=true
-#allow-guest=true
+#allow-guest=false
#guest-session=