summaryrefslogtreecommitdiffstats
path: root/x11/gdm
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2002-01-31 08:48:14 +0000
committersobomax <sobomax@FreeBSD.org>2002-01-31 08:48:14 +0000
commitc098b9cf38a2d2b3dc236318a8e3404622be2f0f (patch)
tree396f14a269e3e354fa3a08ddbf6aa1fb6624dd1b /x11/gdm
parent22c61f3e9888a1bb3a2e14cfb199aff7e7492aeb (diff)
downloadFreeBSD-ports-c098b9cf38a2d2b3dc236318a8e3404622be2f0f.zip
FreeBSD-ports-c098b9cf38a2d2b3dc236318a8e3404622be2f0f.tar.gz
Make face browser working.
PR: 34429 Submitted by: Joe Marcus Clarke <marcus@marcuscom.com>
Diffstat (limited to 'x11/gdm')
-rw-r--r--x11/gdm/Makefile2
-rw-r--r--x11/gdm/files/patch-gui::gdmlogin.c27
2 files changed, 28 insertions, 1 deletions
diff --git a/x11/gdm/Makefile b/x11/gdm/Makefile
index 89e2acc..3f0101d 100644
--- a/x11/gdm/Makefile
+++ b/x11/gdm/Makefile
@@ -7,7 +7,7 @@
PORTNAME= gdm
PORTVERSION= 2.2.5.4
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= x11 gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= stable/sources/gdm
diff --git a/x11/gdm/files/patch-gui::gdmlogin.c b/x11/gdm/files/patch-gui::gdmlogin.c
new file mode 100644
index 0000000..69eb353
--- /dev/null
+++ b/x11/gdm/files/patch-gui::gdmlogin.c
@@ -0,0 +1,27 @@
+
+--- gui/gdmlogin.c.orig Mon Dec 31 21:51:17 2001
++++ gui/gdmlogin.c Tue Jan 29 18:12:12 2002
+@@ -3326,7 +3326,9 @@
+ static gboolean
+ gdm_login_check_exclude (struct passwd *pwent)
+ {
++#ifdef HAVE_SHADOW
+ const char * const lockout_passes[] = { "*", "!!", NULL };
++#endif
+ gint i;
+
+ if ( ! GdmAllowRoot && pwent->pw_uid == 0)
+@@ -3335,11 +3337,13 @@
+ if ( ! GdmAllowRemoteRoot && ! login_is_local && pwent->pw_uid == 0)
+ return TRUE;
+
++#ifdef HAVE_SHADOW
+ for (i=0 ; lockout_passes[i] != NULL ; i++) {
+ if (strcmp (lockout_passes[i], pwent->pw_passwd) == 0) {
+ return TRUE;
+ }
+ }
++#endif
+
+ if (GdmExclude != NULL &&
+ GdmExclude[0] != '\0') {
OpenPOWER on IntegriCloud