From 8171b29ed2cdee934c736d542896fcb11dec1711 Mon Sep 17 00:00:00 2001 From: marcus Date: Mon, 16 Jun 2003 21:29:04 +0000 Subject: sessreg requires the -l option despite how the manpage is worded. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@896 df743ca5-7f9a-e211-a948-0013205c9059 --- x11/gdm2/files/patch-config_PostSession.in | 7 +++---- x11/gdm2/files/patch-config_PreSession.in | 15 ++++----------- 2 files changed, 7 insertions(+), 15 deletions(-) (limited to 'x11/gdm2') diff --git a/x11/gdm2/files/patch-config_PostSession.in b/x11/gdm2/files/patch-config_PostSession.in index 5d6635086..0aa508fc9 100644 --- a/x11/gdm2/files/patch-config_PostSession.in +++ b/x11/gdm2/files/patch-config_PostSession.in @@ -1,12 +1,11 @@ ---- config/PostSession.in.orig Mon Jun 16 16:42:51 2003 -+++ config/PostSession.in Mon Jun 16 16:43:18 2003 +--- config/PostSession.in.orig Fri May 30 06:21:12 2003 ++++ config/PostSession.in Mon Jun 16 17:31:05 2003 @@ -2,7 +2,7 @@ PATH=@X_PATH@:$PATH -if command -v sessreg > /dev/null 2>&1; then -- sessreg -d -w /var/log/wtmp -u /var/run/utmp -x "$X_SERVERS" -h "$REMOTE_HOST" -l $DISPLAY $USER +if /usr/bin/which -s sessreg > /dev/null 2>&1; then -+ sessreg -d -w /var/log/wtmp -u /var/run/utmp -x "$X_SERVERS" -h "$REMOTE_HOST" $USER + sessreg -d -w /var/log/wtmp -u /var/run/utmp -x "$X_SERVERS" -h "$REMOTE_HOST" -l $DISPLAY $USER fi exit 0 diff --git a/x11/gdm2/files/patch-config_PreSession.in b/x11/gdm2/files/patch-config_PreSession.in index 8930336dd..c7dea60c9 100644 --- a/x11/gdm2/files/patch-config_PreSession.in +++ b/x11/gdm2/files/patch-config_PreSession.in @@ -1,6 +1,6 @@ ---- config/PreSession.in.orig Mon Jun 16 16:40:28 2003 -+++ config/PreSession.in Mon Jun 16 16:41:15 2003 -@@ -8,16 +8,16 @@ +--- config/PreSession.in.orig Fri May 30 06:21:12 2003 ++++ config/PreSession.in Mon Jun 16 17:30:38 2003 +@@ -8,11 +8,11 @@ # PATH=@X_PATH@:$PATH @@ -13,11 +13,4 @@ +if /usr/bin/which -s sessreg > /dev/null 2>&1; then # some output for easy debugging echo "$0: Registering your session with wtmp and utmp" -- echo "$0: running: sessreg -a -w /var/log/wtmp -u /var/run/utmp -x \"$X_SERVERS\" -h \"$REMOTE_HOST\" -l $DISPLAY $USER" -+ echo "$0: running: sessreg -a -w /var/log/wtmp -u /var/run/utmp -x \"$X_SERVERS\" -h \"$REMOTE_HOST\" $USER" - -- exec sessreg -a -w /var/log/wtmp -u /var/run/utmp -x "$X_SERVERS" -h "$REMOTE_HOST" -l $DISPLAY $USER -+ exec sessreg -a -w /var/log/wtmp -u /var/run/utmp -x "$X_SERVERS" -h "$REMOTE_HOST" $USER - # this is not reached - fi - + echo "$0: running: sessreg -a -w /var/log/wtmp -u /var/run/utmp -x \"$X_SERVERS\" -h \"$REMOTE_HOST\" -l $DISPLAY $USER" -- cgit v1.2.3