Not sure whether this is minor or counts as an enhancement: the ebuild for net-misc/icaclient chooses to want the RPM available to complete the emerge (which needs to be fetched from www.citrix.com).. but I note there's a .tar.gz available for download too. Is there some reason not to cut rpm out of the DEPEND and use the tarball? It'd save a bit of space and time (unless a system already has rpm..) Reproducible: Always Steps to Reproduce: 1. emerge -av icaclient 2. wait a while 3. Actual Results: Am asked to fetch ICAClient.9-0-1.i386.rpm Expected Results: Would be a little nicer to be asked to fetch Linuxx86.tar.gz instead (although the filename is a bit generic..)
At the time I took over maintaining this package, RPM was still the only format available. Also, IIRC, earlier versions of the tarball prompted you to page through a license, which doesnt' work so well when trying to do an automated install. I'll look into this and see if that's still the case. If not, I'll whip up a new version of the ebuild to use the tar.
The tarball seems to be missing several things currently that the RPM provides (some utilities that allow for configs to be stored in a user's home directoryand .desktop files for Gnome are the notables). Will continue looking into this to see if this stuff we can address without having to worry about redistribution issues.
Changing ownership.
The tarball uses the same name for every version, meaning you will constantly get digest problems. I've sent emails to Citrix repeatedly asking them to simply rename the tarball on their site to something sensible with little to no response. As it stands now, the RPM is the only versioned packaging available from Citrix.
*** Bug 141610 has been marked as a duplicate of this bug. ***
In the short run, why not switch from requiring rpm to app-arch/rpm2targz (like several other packages do)? As a less than 3k script, it would save both space and compile time
Feel free to attach a patch to the ebuild to make that happen.
Created attachment 92975 [details, diff] patch to use rpm2targz instead of building rpm I don't want to claim that I know what I am doing here, but it seemed to work. :) The install output: >>> checking ebuild checksums ;-) >>> checking auxfile checksums ;-) >>> checking miscfile checksums ;-) >>> checking ICAClient-9.0-1.i386.rpm ;-) >>> Unpacking source... >>> Unpacking ICAClient-9.0-1.i386.rpm to /var/tmp/portage/icaclient-9.0/work >>> Source unpacked. >>> Compiling source in /var/tmp/portage/icaclient-9.0/work/usr ... >>> Source compiled. >>> Test phase [not enabled]: net-misc/icaclient-9.0 >>> Install icaclient-9.0 into /var/tmp/portage/icaclient-9.0/image/ category net-misc >>> Completed installing icaclient-9.0 into /var/tmp/portage/icaclient-9.0/image/ man: QA Notice: pre-stripped files found: /var/tmp/portage/icaclient-9.0/image/opt/ICAClient/PDCRYPT1.DLL /var/tmp/portage/icaclient-9.0/image/opt/ICAClient/VDCM.DLL /var/tmp/portage/icaclient-9.0/image/opt/ICAClient/VDSCARD.DLL /var/tmp/portage/icaclient-9.0/image/opt/ICAClient/npica.so /var/tmp/portage/icaclient-9.0/image/opt/ICAClient/libctxssl.so /var/tmp/portage/icaclient-9.0/image/opt/ICAClient/util/echo_cmd /var/tmp/portage/icaclient-9.0/image/opt/ICAClient/util/nslaunch /var/tmp/portage/icaclient-9.0/image/opt/ICAClient/util/pacexec /var/tmp/portage/icaclient-9.0/image/opt/ICAClient/util/xcapture /var/tmp/portage/icaclient-9.0/image/opt/ICAClient/wfcmgr.bin /var/tmp/portage/icaclient-9.0/image/opt/ICAClient/wfica strip: x86_64-pc-linux-gnu-strip --strip-unneeded opt/ICAClient/CHARICONV.DLL opt/ICAClient/NDS.DLL opt/ICAClient/PDCRYPT2.DLL opt/ICAClient/TW1.DLL QA Notice: the following files contain runtime text relocations Text relocations force the dynamic linker to perform extra work at startup, waste system resources, and may pose a security risk. On some architectures, the code may not even function properly, if at all. For more information, see http://hardened.gentoo.org/pic-fix-guide.xml Please include this file in your report: /var/tmp/portage/icaclient-9.0/temp/scanelf-textrel.log "TEXTREL opt/ICAClient/CHARICONV.DLL" "TEXTREL opt/ICAClient/NDS.DLL" "TEXTREL opt/ICAClient/PDCRYPT1.DLL" "TEXTREL opt/ICAClient/PDCRYPT2.DLL" "TEXTREL opt/ICAClient/TW1.DLL" "TEXTREL opt/ICAClient/VDCM.DLL" "TEXTREL opt/ICAClient/VDSCARD.DLL" "TEXTREL opt/ICAClient/npica.so" "TEXTREL opt/ICAClient/libctxssl.so" >>> Merging net-misc/icaclient-9.0 to / --- /opt/ >>> /opt/ICAClient/ >>> /opt/ICAClient/.config/ >>> /opt/ICAClient/.config/appsrv.ini >>> /opt/ICAClient/.config/keyboard.ini >>> /opt/ICAClient/.config/module.ini >>> /opt/ICAClient/.config/wfclient.ini >>> /opt/ICAClient/Npica >>> /opt/ICAClient/Npica.ad >>> /opt/ICAClient/CHARICONV.DLL >>> /opt/ICAClient/NDS.DLL >>> /opt/ICAClient/PDCRYPT1.DLL >>> /opt/ICAClient/PDCRYPT2.DLL >>> /opt/ICAClient/TW1.DLL >>> /opt/ICAClient/VDCM.DLL >>> /opt/ICAClient/VDSCARD.DLL >>> /opt/ICAClient/Wfcmgr >>> /opt/ICAClient/Wfcmgr.ad >>> /opt/ICAClient/Wfica >>> /opt/ICAClient/Wfica.ad >>> /opt/ICAClient/eula.txt >>> /opt/ICAClient/npica.so >>> /opt/ICAClient/readme.txt >>> /opt/ICAClient/libctxssl.so >>> /opt/ICAClient/cache/ >>> /opt/ICAClient/config/ >>> /opt/ICAClient/config/appsrv.ini >>> /opt/ICAClient/config/module.ini >>> /opt/ICAClient/config/wfclient.ini >>> /opt/ICAClient/config/.server >>> /opt/ICAClient/help/ >>> /opt/ICAClient/help/index.htm >>> /opt/ICAClient/nls/ >>> /opt/ICAClient/nls/en/ >>> /opt/ICAClient/nls/en/pna.nls >>> /opt/ICAClient/icons/ >>> /opt/ICAClient/icons/citrix16.xpm >>> /opt/ICAClient/icons/citrix32.xpm >>> /opt/ICAClient/icons/citrix48.xpm >>> /opt/ICAClient/keyboard/ >>> /opt/ICAClient/keyboard/age2.kbd >>> /opt/ICAClient/keyboard/agex2.kbd >>> /opt/ICAClient/keyboard/automatic.kbd >>> /opt/ICAClient/keyboard/dcint401.kbd >>> /opt/ICAClient/keyboard/dcintpcx.kbd >>> /opt/ICAClient/keyboard/dcus401.kbd >>> /opt/ICAClient/keyboard/dcuspcx.kbd >>> /opt/ICAClient/keyboard/dec401.kbd >>> /opt/ICAClient/keyboard/dec401uk.kbd >>> /opt/ICAClient/keyboard/decpcx.kbd >>> /opt/ICAClient/keyboard/decpcxuk.kbd >>> /opt/ICAClient/keyboard/dg.kbd >>> /opt/ICAClient/keyboard/dgfr.kbd >>> /opt/ICAClient/keyboard/dggr.kbd >>> /opt/ICAClient/keyboard/dguk.kbd >>> /opt/ICAClient/keyboard/dgus.kbd >>> /opt/ICAClient/keyboard/hp101.kbd >>> /opt/ICAClient/keyboard/hpfritf.kbd >>> /opt/ICAClient/keyboard/hpgritf.kbd >>> /opt/ICAClient/keyboard/hpint101.kbd >>> /opt/ICAClient/keyboard/hpintps2.kbd >>> /opt/ICAClient/keyboard/hpitf.kbd >>> /opt/ICAClient/keyboard/hpps2.kbd >>> /opt/ICAClient/keyboard/hpuk101.kbd >>> /opt/ICAClient/keyboard/hpukitf.kbd >>> /opt/ICAClient/keyboard/hpukps2.kbd >>> /opt/ICAClient/keyboard/hpus101.kbd >>> /opt/ICAClient/keyboard/hpusitf.kbd >>> /opt/ICAClient/keyboard/hpusps2.kbd >>> /opt/ICAClient/keyboard/ibm.kbd >>> /opt/ICAClient/keyboard/keyboard.ini >>> /opt/ICAClient/keyboard/linux-ja.kbd >>> /opt/ICAClient/keyboard/linux.kbd >>> /opt/ICAClient/keyboard/mac101.kbd >>> /opt/ICAClient/keyboard/ncdn-101.kbd >>> /opt/ICAClient/keyboard/ncdn-102.kbd >>> /opt/ICAClient/keyboard/netbsd.kbd >>> /opt/ICAClient/keyboard/scoos5.kbd >>> /opt/ICAClient/keyboard/scouw2.kbd >>> /opt/ICAClient/keyboard/sg.kbd >>> /opt/ICAClient/keyboard/sgindy.kbd >>> /opt/ICAClient/keyboard/sgindyfr.kbd >>> /opt/ICAClient/keyboard/sgindygr.kbd >>> /opt/ICAClient/keyboard/sgindyuk.kbd >>> /opt/ICAClient/keyboard/sgindyus.kbd >>> /opt/ICAClient/keyboard/sngr.kbd >>> /opt/ICAClient/keyboard/sparc3.kbd >>> /opt/ICAClient/keyboard/sparc4.kbd >>> /opt/ICAClient/keyboard/sparc5.kbd >>> /opt/ICAClient/keyboard/sparc6usb.kbd >>> /opt/ICAClient/keyboard/sparcfr4.kbd >>> /opt/ICAClient/keyboard/sparcfr5.kbd >>> /opt/ICAClient/keyboard/sparcgr4.kbd >>> /opt/ICAClient/keyboard/sparcgr5.kbd >>> /opt/ICAClient/keyboard/sparcuk4.kbd >>> /opt/ICAClient/keyboard/sparcuk5.kbd >>> /opt/ICAClient/keyboard/sparcus3.kbd >>> /opt/ICAClient/keyboard/sparcus4.kbd >>> /opt/ICAClient/keyboard/sparcus5.kbd >>> /opt/ICAClient/keyboard/trimodal.kbd >>> /opt/ICAClient/keystore/ >>> /opt/ICAClient/keystore/cacerts/ >>> /opt/ICAClient/keystore/cacerts/BTCTRoot.crt >>> /opt/ICAClient/keystore/cacerts/Class3PCA_G2_v2.crt >>> /opt/ICAClient/keystore/cacerts/Class4PCA_G2_v2.crt >>> /opt/ICAClient/keystore/cacerts/GTECTGlobalRoot.crt >>> /opt/ICAClient/keystore/cacerts/GTECTRoot.crt >>> /opt/ICAClient/keystore/cacerts/Pcs3ss_v4.crt >>> /opt/ICAClient/keystore/cacerts/SecureServer.crt >>> /opt/ICAClient/util/ >>> /opt/ICAClient/util/XCapture >>> /opt/ICAClient/util/XCapture.ad >>> /opt/ICAClient/util/echo_cmd >>> /opt/ICAClient/util/icalicense.sh >>> /opt/ICAClient/util/integrate.sh >>> /opt/ICAClient/util/nslaunch >>> /opt/ICAClient/util/pac.js >>> /opt/ICAClient/util/pacexec >>> /opt/ICAClient/util/xcapture >>> /opt/ICAClient/util/disintegrate.sh -> /opt/ICAClient/util/integrate.sh >>> /opt/ICAClient/wfcmgr >>> /opt/ICAClient/wfcmgr.bin >>> /opt/ICAClient/wfica --- /etc/ --- /etc/env.d/ >>> /etc/env.d/10ICAClient --- /usr/ --- /usr/lib32/ --- /usr/lib32/nsbrowser/ --- /usr/lib32/nsbrowser/plugins/ >>> /usr/lib32/nsbrowser/plugins/npica.so -> /opt/ICAClient/npica.so --- /usr/share/ --- /usr/share/pixmaps/ >>> /usr/share/pixmaps/citrix16.xpm >>> /usr/share/pixmaps/citrix32.xpm >>> /usr/share/pixmaps/citrix48.xpm --- /usr/share/applications/ >>> /usr/share/applications/wfcmgr-icaclient.desktop --- /usr/bin/ >>> /usr/bin/wfcmgr >>> /opt/ICAClient/nls/C -> en >>> Regenerating /etc/ld.so.cache... >>> net-misc/icaclient-9.0 merged. >>> Recording net-misc/icaclient in "world" favorites file... >>> No packages selected for removal by clean. >>> Auto-cleaning packages... >>> No outdated packages were found on your system. * GNU info directory index is up-to-date.
That patch seemed just fine. Thanks!