1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00

Update to 2.2.5.4.

This commit is contained in:
Maxim Sobolev 2002-01-02 10:13:04 +00:00
parent acec4b49e2
commit 778c300fc7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=52488
6 changed files with 4 additions and 46 deletions

View File

@ -6,8 +6,7 @@
#
PORTNAME= gdm
PORTVERSION= 2.2.5.3
PORTREVISION= 1
PORTVERSION= 2.2.5.4
CATEGORIES= x11 gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= stable/sources/gdm

View File

@ -1 +1 @@
MD5 (gdm-2.2.5.3.tar.gz) = 977459dea2297f1410d1483d9ac25001
MD5 (gdm-2.2.5.4.tar.gz) = 5e11652d2e2e80319403a0efbc74f4bb

View File

@ -1,20 +0,0 @@
$FreeBSD$
--- daemon/slave.c.orig Fri Dec 7 07:56:17 2001
+++ daemon/slave.c Mon Dec 31 17:30:30 2001
@@ -1860,7 +1860,13 @@
setpgid (0, 0);
umask (022);
-
+
+ /* setup the user's correct group */
+ if (setgid (pwent->pw_gid) < 0)
+ gdm_child_exit (DISPLAY_REMANAGE, _("gdm_slave_session_start: Could not setgid %d. Aborting."), pwent->pw_gid);
+ if (initgroups (login, pwent->pw_gid) < 0)
+ gdm_child_exit (DISPLAY_REMANAGE, _("gdm_slave_session_start: initgroups() failed for %s. Aborting."), login);
+
/* setup the verify env vars */
if ( ! gdm_verify_setup_env (d))
gdm_child_exit (DISPLAY_REMANAGE,

View File

@ -6,8 +6,7 @@
#
PORTNAME= gdm
PORTVERSION= 2.2.5.3
PORTREVISION= 1
PORTVERSION= 2.2.5.4
CATEGORIES= x11 gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= stable/sources/gdm

View File

@ -1 +1 @@
MD5 (gdm-2.2.5.3.tar.gz) = 977459dea2297f1410d1483d9ac25001
MD5 (gdm-2.2.5.4.tar.gz) = 5e11652d2e2e80319403a0efbc74f4bb

View File

@ -1,20 +0,0 @@
$FreeBSD$
--- daemon/slave.c.orig Fri Dec 7 07:56:17 2001
+++ daemon/slave.c Mon Dec 31 17:30:30 2001
@@ -1860,7 +1860,13 @@
setpgid (0, 0);
umask (022);
-
+
+ /* setup the user's correct group */
+ if (setgid (pwent->pw_gid) < 0)
+ gdm_child_exit (DISPLAY_REMANAGE, _("gdm_slave_session_start: Could not setgid %d. Aborting."), pwent->pw_gid);
+ if (initgroups (login, pwent->pw_gid) < 0)
+ gdm_child_exit (DISPLAY_REMANAGE, _("gdm_slave_session_start: initgroups() failed for %s. Aborting."), login);
+
/* setup the verify env vars */
if ( ! gdm_verify_setup_env (d))
gdm_child_exit (DISPLAY_REMANAGE,