summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2002-01-31 08:48:14 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2002-01-31 08:48:14 +0000
commit5049ba00ba13345ba3c5b69060325c2639780abe (patch)
treef02c50929de4f0f955f584630850b2b37401bff9 /x11
parent(forced) (diff)
Make face browser working.
PR: 34429 Submitted by: Joe Marcus Clarke <marcus@marcuscom.com>
Diffstat (limited to 'x11')
-rw-r--r--x11/gdm/Makefile2
-rw-r--r--x11/gdm/files/patch-gui::gdmlogin.c27
-rw-r--r--x11/gdm2/Makefile2
-rw-r--r--x11/gdm2/files/patch-gui::gdmlogin.c27
4 files changed, 56 insertions, 2 deletions
diff --git a/x11/gdm/Makefile b/x11/gdm/Makefile
index 89e2accdc8f3..3f0101da094d 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 000000000000..69eb35342a0f
--- /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') {
diff --git a/x11/gdm2/Makefile b/x11/gdm2/Makefile
index 89e2accdc8f3..3f0101da094d 100644
--- a/x11/gdm2/Makefile
+++ b/x11/gdm2/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/gdm2/files/patch-gui::gdmlogin.c b/x11/gdm2/files/patch-gui::gdmlogin.c
new file mode 100644
index 000000000000..69eb35342a0f
--- /dev/null
+++ b/x11/gdm2/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') {