Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 171411

Summary: net-misc/xrdp-0.4 version bump
Product: Gentoo Linux Reporter: Wolfram Schlich (RETIRED) <wschlich>
Component: Current packagesAssignee: Patrick McLean <chutzpah>
Status: RESOLVED FIXED    
Severity: normal CC: joakim.tjernlund, paolo.pedroni, patrick, schism, sven.koehler
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://sourceforge.net/project/showfiles.php?group_id=112022&package_id=195021&release_id=457328
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 168133    
Bug Blocks: 176723    
Attachments: net-misc/xrdp-0.4.0.ebuild
xrdp-0.4.0-curdir.patch
0.4.1 ebuild

Description Wolfram Schlich (RETIRED) gentoo-dev 2007-03-19 09:59:00 UTC
Released 2006-10-20.
Comment 1 Wolfram Schlich (RETIRED) gentoo-dev 2007-03-19 10:15:30 UTC
Hmm, there's only one little change in xrdp-0.3.2/sesman/env.c -- might
be security related?!

--8<--
--- xrdp-0.3.1/sesman/env.c     2006-07-30 06:39:17.000000000 +0200
+++ xrdp-0.3.2/sesman/env.c     2006-10-21 05:02:19.000000000 +0200
@@ -70,11 +70,11 @@
   if (error == 0)
   {
     error = g_setgid(pw_gid);
+    g_initgroups(username, pw_gid);
     if (error == 0)
     {
       uid = pw_uid;
       error = g_setuid(uid);
-      g_initgroups(username, pw_gid);
     }
     if (error == 0)
     {
--8<--

So the other patches from 0.3.1 still need to be applied.
Comment 2 Paolo Pedroni 2007-05-22 13:32:47 UTC
Bump!
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-10-10 06:23:49 UTC
*** Bug 195302 has been marked as a duplicate of this bug. ***
Comment 4 Christoph Brill (egore) (RESIGNED) 2008-04-02 14:19:34 UTC
Created attachment 148088 [details]
net-misc/xrdp-0.4.0.ebuild

Ebuild to bump to 0.4.0, also fixes bug #143230 and bug #168133
Comment 5 Christoph Brill (egore) (RESIGNED) 2008-04-02 14:20:22 UTC
Created attachment 148089 [details, diff]
xrdp-0.4.0-curdir.patch

Forward port patch from 0.3.1
Comment 6 Marcus Furlong 2008-08-07 01:50:35 UTC
0.4.1 is out now
Comment 7 dacook 2009-02-23 23:18:22 UTC
Created attachment 182971 [details]
0.4.1 ebuild

Here's an ebuild that works well for me against 0.4.1.  It addresses bug 143230, bug 168133, bug 176723 (also has an ebuild), bug 252022, and bug 250499 (a direct dupe, has an ebuild).  It does not address security bug 255148, as upstream hasn't yet released their [checked in] fixes.

I deviated from the original by using sed to fix the CFLAGS, libdir, and rpath issues (less work for me) and by installing some extra bits (libscp) that the default 'installdeb' doesn't do.  Also had to add '-j1' to 'emake' to avoid QA complaints.
Comment 8 Patrick Lauer gentoo-dev 2009-03-01 15:09:34 UTC
+  01 Mar 2009; Patrick Lauer <patrick@gentoo.org>
+  +files/xrdp-0.4.1-curdir.patch, +xrdp-0.4.1.ebuild:
+  Bump to 0.4.1. Fixes #171411. Ebuild contributed by schism@subverted.org,
+  patch by Christoph Brill.