diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-12-01 08:42:15 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-12-01 12:21:11 +0000 |
commit | f21bf3e8d18493dc017f11c14e6a7b5330a3cf99 (patch) | |
tree | b5f461c16572fc6da3000385ca8896297ee0ba60 /testing | |
parent | 71d9333f20f8df491be2cd630249847120e0faef (diff) | |
download | aports-f21bf3e8d18493dc017f11c14e6a7b5330a3cf99.tar.bz2 aports-f21bf3e8d18493dc017f11c14e6a7b5330a3cf99.tar.xz |
testing/lightdm: set allow-guest to false by default
Diffstat (limited to 'testing')
-rw-r--r-- | testing/lightdm/APKBUILD | 4 | ||||
-rw-r--r-- | testing/lightdm/disallow-guest.patch | 22 |
2 files changed, 25 insertions, 1 deletions
diff --git a/testing/lightdm/APKBUILD b/testing/lightdm/APKBUILD index 2c49382605..f4ab08e0bf 100644 --- a/testing/lightdm/APKBUILD +++ b/testing/lightdm/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=lightdm pkgver=1.1.0 -pkgrel=3 +pkgrel=4 pkgdesc="A cross-desktop display manager" url="http://www.freedesktop.org/wiki/Software/LightDM" arch="all" @@ -15,6 +15,7 @@ install="$pkgname.pre-install" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" source="http://people.ubuntu.com/~robert-ancell/lightdm/releases/lightdm-$pkgver.tar.gz lightdm-x11-configure.patch + disallow-guest.patch lightdm.initd" _builddir="$srcdir"/lightdm-$pkgver @@ -55,4 +56,5 @@ package() { md5sums="c2347200b1af29c677ef5ad83855217b lightdm-1.1.0.tar.gz 10b9a72013ed824a12a8720ff28810a1 lightdm-x11-configure.patch +04956acfe2817e8d953f012ad6c72998 disallow-guest.patch 9eb01e4202919424face9bafbda4936c lightdm.initd" diff --git a/testing/lightdm/disallow-guest.patch b/testing/lightdm/disallow-guest.patch new file mode 100644 index 0000000000..b9ed6b3c28 --- /dev/null +++ b/testing/lightdm/disallow-guest.patch @@ -0,0 +1,22 @@ +--- ./data/lightdm.conf.orig ++++ ./data/lightdm.conf +@@ -63,7 +63,7 @@ + #greeter-session=example-gtk-gnome + #greeter-hide-users=false + #user-session=default +-#allow-guest=true ++#allow-guest=false + #guest-session=UNIMPLEMENTED + #session-wrapper=lightdm-session + #display-setup-script= +--- ./src/lightdm.c.orig ++++ ./src/lightdm.c +@@ -957,7 +957,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-session")) + config_set_string (config_get_instance (), "SeatDefaults", "greeter-session", GREETER_SESSION); + if (!config_has_key (config_get_instance (), "SeatDefaults", "user-session")) |