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)
Created attachment 174839 [details] the ebuild still requires work
Created attachment 174841 [details, diff] patch to fix the current directory, copied from xrdp-0.3.1
Created attachment 174842 [details, diff] based on xrdp-0.3.1, added xup and libscp modifications
Created attachment 174844 [details] copied from xrdp-0.3.1
Created attachment 174846 [details] copied from xrdp-0.3.1
Created attachment 174847 [details] copied from xrdp-0.3.1
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) >
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.
The package has been removed from portage.