diff --git a/gdm-2.20.3-cap-user-list-length.patch b/gdm-2.20.3-cap-user-list-length.patch new file mode 100644 index 0000000..711ea96 --- /dev/null +++ b/gdm-2.20.3-cap-user-list-length.patch @@ -0,0 +1,12 @@ +diff -up gdm-2.20.3/gui/gdmuser.c.cap-user-list-length gdm-2.20.3/gui/gdmuser.c +--- gdm-2.20.3/gui/gdmuser.c.cap-user-list-length 2008-03-10 11:43:49.000000000 -0400 ++++ gdm-2.20.3/gui/gdmuser.c 2008-03-10 11:43:53.000000000 -0400 +@@ -266,7 +266,7 @@ setup_user (struct passwd *pwent, + gboolean read_faces) + { + GdmUser *user; +- int cnt = 0; ++ static int cnt = 0; + + if (pwent->pw_shell && + gdm_check_shell (pwent->pw_shell) && diff --git a/gdm.spec b/gdm.spec index 2e6443d..1dfcd26 100644 --- a/gdm.spec +++ b/gdm.spec @@ -16,7 +16,7 @@ Summary: The GNOME Display Manager Name: gdm Version: 2.20.3 -Release: 1%{?dist} +Release: 2%{?dist} Epoch: 1 License: GPLv2+ Group: User Interface/X @@ -65,6 +65,9 @@ Patch43: gdm-2.20.1-keymouselistener-segfault.patch # FIXME need to file upstream and get fixed in 2.20 Patch44: gdm-2.18.4-tcp-wrappers.patch +# https://bugzilla.redhat.com/show_bug.cgi?id=383051 +Patch45: gdm-2.20.3-cap-user-list-length.patch + Patch100: gdm-2.20.2-change-defaults.patch Patch101: stupid-bullets.patch @@ -154,6 +157,7 @@ Extra icons / faces for the GNOME Display Manager. %patch41 -p1 -b .pixbuf-ref %patch43 -p1 -b .keymouselistener-segfault %patch44 -p1 -b .tcp-wrappers +%patch45 -p1 -b .cap-user-list-length %patch100 -p1 -b .change-defaults %patch101 -p1 -b .stupid-bullets @@ -368,6 +372,9 @@ fi %{_datadir}/pixmaps/faces/extras/*.jpg %changelog +* Mon Mar 10 2008 Ray Strode - 1:2.20.3-2 +- Cap user list to 1000 users (bug 383051) + * Tue Jan 08 2008 - Bastien Nocera - 1:2.20.3-1 - Update to 2.20.3 - Remove obsolete patches