diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2002-01-02 10:13:04 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2002-01-02 10:13:04 +0000 |
commit | 778c300fc7a128182eded69032f3843fbacf8475 (patch) | |
tree | c7f27efabf2aff21973e7075e07097802ac11b28 /x11 | |
parent | acec4b49e25886fb0d484b1e74ebe7551bd5807a (diff) | |
download | ports-778c300fc7a128182eded69032f3843fbacf8475.tar.gz ports-778c300fc7a128182eded69032f3843fbacf8475.zip |
Notes
Diffstat (limited to 'x11')
-rw-r--r-- | x11/gdm/Makefile | 3 | ||||
-rw-r--r-- | x11/gdm/distinfo | 2 | ||||
-rw-r--r-- | x11/gdm/files/patch-daemon::slave.c | 20 | ||||
-rw-r--r-- | x11/gdm2/Makefile | 3 | ||||
-rw-r--r-- | x11/gdm2/distinfo | 2 | ||||
-rw-r--r-- | x11/gdm2/files/patch-daemon::slave.c | 20 |
6 files changed, 4 insertions, 46 deletions
diff --git a/x11/gdm/Makefile b/x11/gdm/Makefile index cbaf368b0d02..a70580909880 100644 --- a/x11/gdm/Makefile +++ b/x11/gdm/Makefile @@ -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 diff --git a/x11/gdm/distinfo b/x11/gdm/distinfo index e652a6b1b7b0..a8d4876a1a5d 100644 --- a/x11/gdm/distinfo +++ b/x11/gdm/distinfo @@ -1 +1 @@ -MD5 (gdm-2.2.5.3.tar.gz) = 977459dea2297f1410d1483d9ac25001 +MD5 (gdm-2.2.5.4.tar.gz) = 5e11652d2e2e80319403a0efbc74f4bb diff --git a/x11/gdm/files/patch-daemon::slave.c b/x11/gdm/files/patch-daemon::slave.c deleted file mode 100644 index bb3251603058..000000000000 --- a/x11/gdm/files/patch-daemon::slave.c +++ /dev/null @@ -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, diff --git a/x11/gdm2/Makefile b/x11/gdm2/Makefile index cbaf368b0d02..a70580909880 100644 --- a/x11/gdm2/Makefile +++ b/x11/gdm2/Makefile @@ -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 diff --git a/x11/gdm2/distinfo b/x11/gdm2/distinfo index e652a6b1b7b0..a8d4876a1a5d 100644 --- a/x11/gdm2/distinfo +++ b/x11/gdm2/distinfo @@ -1 +1 @@ -MD5 (gdm-2.2.5.3.tar.gz) = 977459dea2297f1410d1483d9ac25001 +MD5 (gdm-2.2.5.4.tar.gz) = 5e11652d2e2e80319403a0efbc74f4bb diff --git a/x11/gdm2/files/patch-daemon::slave.c b/x11/gdm2/files/patch-daemon::slave.c deleted file mode 100644 index bb3251603058..000000000000 --- a/x11/gdm2/files/patch-daemon::slave.c +++ /dev/null @@ -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, |