Date: Fri, 15 Nov 2013 19:10:30 +0000 (UTC) From: Steve Wills <swills@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r333912 - in head/net/xrdp-devel: . files Message-ID: <201311151910.rAFJAUNs041268@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: swills Date: Fri Nov 15 19:10:29 2013 New Revision: 333912 URL: http://svnweb.freebsd.org/changeset/ports/333912 Log: - Fix autologin PR: ports/183978 Submitted by: Koichiro IWAO <meta+ports@vmeta.jp> (maintainer) Added: head/net/xrdp-devel/files/patch-fix-autologin (contents, props changed) Modified: head/net/xrdp-devel/Makefile Modified: head/net/xrdp-devel/Makefile ============================================================================== --- head/net/xrdp-devel/Makefile Fri Nov 15 18:59:25 2013 (r333911) +++ head/net/xrdp-devel/Makefile Fri Nov 15 19:10:29 2013 (r333912) @@ -3,7 +3,7 @@ PORTNAME= xrdp PORTVERSION= 0.7.0.b20130912 -PORTREVISION= 0 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= net MASTER_SITES= GH Added: head/net/xrdp-devel/files/patch-fix-autologin ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/xrdp-devel/files/patch-fix-autologin Fri Nov 15 19:10:29 2013 (r333912) @@ -0,0 +1,22 @@ +--- xrdp/xrdp_wm.c.orig 2013-11-13 10:47:47.291991020 +0000 ++++ xrdp/xrdp_wm.c 2013-11-13 10:53:12.461993834 +0000 +@@ -509,12 +509,17 @@ + { + /* if no doamin is passed, and no autorun in xrdp.ini, + use the first item in the xrdp.ini +- file thats not named 'globals' */ ++ file thats not named ++ 'globals' or 'Logging' or channels */ ++ /* TODO: change this and have a 'autologin' ++ line in globals section */ + file_read_sections(fd, names); + for (index = 0; index < names->count; index++) + { + q = (char*)list_get_item(names, index); +- if (g_strncasecmp("globals", q, 8) != 0) ++ if ((g_strncasecmp("globals", q, 8) != 0) && ++ (g_strncasecmp("Logging", q, 8) != 0) && ++ (g_strncasecmp("channels", q, 9) != 0)) + { + g_strncpy(section_name, q, 255); + break;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311151910.rAFJAUNs041268>