Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 171411 - net-misc/xrdp-0.4 version bump
Summary: net-misc/xrdp-0.4 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal with 1 vote (vote)
Assignee: Patrick McLean
URL: http://sourceforge.net/project/showfi...
Whiteboard:
Keywords:
: 195302 (view as bug list)
Depends on: 168133
Blocks: 176723
  Show dependency tree
 
Reported: 2007-03-19 09:59 UTC by Wolfram Schlich (RETIRED)
Modified: 2009-03-01 15:09 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
net-misc/xrdp-0.4.0.ebuild (xrdp-0.4.0.ebuild,2.11 KB, text/plain)
2008-04-02 14:19 UTC, Christoph Brill (egore) (RESIGNED)
Details
xrdp-0.4.0-curdir.patch (xrdp-0.4.0-curdir.patch,1.83 KB, patch)
2008-04-02 14:20 UTC, Christoph Brill (egore) (RESIGNED)
Details | Diff
0.4.1 ebuild (xrdp-0.4.1.ebuild,1.57 KB, text/plain)
2009-02-23 23:18 UTC, dacook
Details

Note You need to log in before you can comment on or make changes to this bug.
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.