Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 250499 - net-misc/xrdp-0.4.1 version bump
Summary: net-misc/xrdp-0.4.1 version bump
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-10 10:16 UTC by Theunis
Modified: 2010-09-27 13:05 UTC (History)
0 users

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


Attachments
the ebuild still requires work (xrdp-0.4.1.ebuild,1.61 KB, text/plain)
2008-12-10 10:24 UTC, Theunis
Details
patch to fix the current directory, copied from xrdp-0.3.1 (xrdp-0.4.1-curdir.patch,1.83 KB, patch)
2008-12-10 10:25 UTC, Theunis
Details | Diff
based on xrdp-0.3.1, added xup and libscp modifications (xrdp-0.4.1-respect-cflags.patch,2.75 KB, patch)
2008-12-10 10:26 UTC, Theunis
Details | Diff
copied from xrdp-0.3.1 (xrdp-confd,140 bytes, text/plain)
2008-12-10 10:28 UTC, Theunis
Details
copied from xrdp-0.3.1 (xrdp-initd,979 bytes, text/plain)
2008-12-10 10:29 UTC, Theunis
Details
copied from xrdp-0.3.1 (startwm.sh,203 bytes, text/plain)
2008-12-10 10:30 UTC, Theunis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Theunis 2008-12-10 10:16:06 UTC
This will install xrdp-0.4.1, but it still lacks a few manual alterations.

Reproducible: Always

Steps to Reproduce:
1. emerge =net-misc/xrdp-0.4.1
2.
3.

Actual Results:  
cannot find libscp.so

Expected Results:  
# /etc/init.d/xrdp start
 * Starting X remote desktop daemon ...                                                                                                                                               [ ok ]
 * Starting remote desktop session manager ...                                                                                                                                        [ ok ]


Copy the missing new library libscp.so and tools to /usr/lib64/xrdp (depending on arch)
Should update /etc/ld.so.conf to include /usr/lib64/xrdp (depending on arch)
Should replace the sesman.ini and xrdp.ini in /etc/xrdp/ with xrdp-0.3.1 configuration files. Unless somebody understands the difference between xrdp.ini.0.4.1 and xrdp.ini.0.3.1

Warning in the ebuild that indicates users should update their /etc/rc.conf file with an appropriate XSESSION value, and should not be blank.

Users on openrc requires an alternative method of choosing their default window manager and is not set in their /etc/rc.conf if I'm not mistaken. (This should be changed in the /usr/lib64/xrdp/startwm.sh to cater for openrc users)
Comment 1 Theunis 2008-12-10 10:24:23 UTC
Created attachment 174839 [details]
the ebuild still requires work
Comment 2 Theunis 2008-12-10 10:25:26 UTC
Created attachment 174841 [details, diff]
patch to fix the current directory, copied from xrdp-0.3.1
Comment 3 Theunis 2008-12-10 10:26:55 UTC
Created attachment 174842 [details, diff]
based on xrdp-0.3.1, added xup and libscp modifications
Comment 4 Theunis 2008-12-10 10:28:16 UTC
Created attachment 174844 [details]
copied from xrdp-0.3.1
Comment 5 Theunis 2008-12-10 10:29:34 UTC
Created attachment 174846 [details]
copied from xrdp-0.3.1
Comment 6 Theunis 2008-12-10 10:30:11 UTC
Created attachment 174847 [details]
copied from xrdp-0.3.1
Comment 7 Theunis 2008-12-10 10:39:38 UTC
I have no idea on how to modify the ebuild it self to include these changes.
xrdp included 2 new Makefiles/components. the libscp.so is not copied over, sandbox complains. What is the best approach to including libraries? I would think that binary and sesman should not be installed in /usr/bin/ and the libraries is installed in /usr/lib/xrdp ? My solution to get libscp.so to work was to copy libscp.so to /usr/lib/xrdp and then include that in /etc/ld.so.conf and ran ldconfig.

Please assist, I'm new to ebuilds/patching/security.

> Copy the missing new library libscp.so and tools to /usr/lib64/xrdp (depending
> on arch)
> Should update /etc/ld.so.conf to include /usr/lib64/xrdp (depending on arch)
> Should replace the sesman.ini and xrdp.ini in /etc/xrdp/ with xrdp-0.3.1
> configuration files. Unless somebody understands the difference between
> xrdp.ini.0.4.1 and xrdp.ini.0.3.1
> 
> Warning in the ebuild that indicates users should update their /etc/rc.conf
> file with an appropriate XSESSION value, and should not be blank.
> 
> Users on openrc requires an alternative method of choosing their default window
> manager and is not set in their /etc/rc.conf if I'm not mistaken. (This should
> be changed in the /usr/lib64/xrdp/startwm.sh to cater for openrc users)
> 

Comment 8 Petteri Räty (RETIRED) gentoo-dev 2008-12-10 14:47:59 UTC
1. You should not attach copies of existing files to bugzilla.
2. You should read the product descriptions before filing bugs:
Gentoo Linux:   	
The Gentoo Linux Distribution - Ebuilds and System related issues.
If you're unsure where your bugs go, then file them here.
Comment 9 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-09-27 13:05:28 UTC
The package has been removed from portage.