summaryrefslogtreecommitdiffstats
path: root/x11/gdm
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2009-10-15 01:00:33 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2009-10-15 01:00:33 +0800
commit1a19587ee7b0fb3859e41b32f24b675a148999ac (patch)
tree3db7264833476709493bba868bd8ac1ae94a34ed /x11/gdm
parentbeb9eeb99746fa565ad228de407f13cbbd25f1f8 (diff)
downloadmarcuscom-ports-1a19587ee7b0fb3859e41b32f24b675a148999ac.tar
marcuscom-ports-1a19587ee7b0fb3859e41b32f24b675a148999ac.tar.gz
marcuscom-ports-1a19587ee7b0fb3859e41b32f24b675a148999ac.tar.bz2
marcuscom-ports-1a19587ee7b0fb3859e41b32f24b675a148999ac.tar.lz
marcuscom-ports-1a19587ee7b0fb3859e41b32f24b675a148999ac.tar.xz
marcuscom-ports-1a19587ee7b0fb3859e41b32f24b675a148999ac.tar.zst
marcuscom-ports-1a19587ee7b0fb3859e41b32f24b675a148999ac.zip
Ignore all UIDs < 1000.
Reported by: Thomas Vogt <thomas@bsdunix.ch> git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@13119 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11/gdm')
-rw-r--r--x11/gdm/Makefile4
-rw-r--r--x11/gdm/files/patch-gui_simple-greeter_gdm-user-manager.c19
2 files changed, 16 insertions, 7 deletions
diff --git a/x11/gdm/Makefile b/x11/gdm/Makefile
index 9bc2b80ee..5d6fde4fa 100644
--- a/x11/gdm/Makefile
+++ b/x11/gdm/Makefile
@@ -3,12 +3,12 @@
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
-# $MCom: ports/x11/gdm/Makefile,v 1.158 2009/10/07 22:53:40 mezz Exp $
+# $MCom: ports/x11/gdm/Makefile,v 1.159 2009/10/07 23:07:23 mezz Exp $
#
PORTNAME= gdm
PORTVERSION= 2.28.0
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= x11 gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome2
diff --git a/x11/gdm/files/patch-gui_simple-greeter_gdm-user-manager.c b/x11/gdm/files/patch-gui_simple-greeter_gdm-user-manager.c
index aeaa0d29a..d0a5d73f5 100644
--- a/x11/gdm/files/patch-gui_simple-greeter_gdm-user-manager.c
+++ b/x11/gdm/files/patch-gui_simple-greeter_gdm-user-manager.c
@@ -1,6 +1,15 @@
---- gui/simple-greeter/gdm-user-manager.c.orig 2009-07-20 03:09:09.000000000 +0200
-+++ gui/simple-greeter/gdm-user-manager.c 2009-07-20 10:07:37.000000000 +0200
-@@ -1303,17 +1303,24 @@ reload_passwd (GdmUserManager *manager)
+--- gui/simple-greeter/gdm-user-manager.c.orig 2009-09-21 16:05:27.000000000 -0400
++++ gui/simple-greeter/gdm-user-manager.c 2009-10-14 12:58:37.000000000 -0400
+@@ -65,6 +65,8 @@
+
+ #ifdef __sun
+ #define DEFAULT_MINIMAL_UID 100
++#elif defined(__FreeBSD__)
++#define DEFAULT_MINIMAL_UID 1000
+ #else
+ #define DEFAULT_MINIMAL_UID 500
+ #endif
+@@ -1366,17 +1368,24 @@ reload_passwd (GdmUserManager *manager)
GSList *new_users;
GSList *list;
GSList *dup;
@@ -25,7 +34,7 @@
g_hash_table_foreach (manager->priv->users, listify_hash_values_hfunc, &old_users);
g_slist_foreach (old_users, (GFunc) g_object_ref, NULL);
-@@ -1327,7 +1334,11 @@ reload_passwd (GdmUserManager *manager)
+@@ -1390,7 +1399,11 @@ reload_passwd (GdmUserManager *manager)
}
}
@@ -37,7 +46,7 @@
GdmUser *user;
user = NULL;
-@@ -1398,7 +1409,11 @@ reload_passwd (GdmUserManager *manager)
+@@ -1461,7 +1474,11 @@ reload_passwd (GdmUserManager *manager)
out:
/* Cleanup */