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

Bug 536026

Summary: =net-misc/icaclient-12.1.0 - pkg_nofetch() message should print specific architecture dependent files instead of printing SRC_URI entirely
Product: Gentoo Linux Reporter: eroen <erikdenstore+gbugs>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description eroen 2015-01-08 14:53:47 UTC
Currently, pkg_nofetch prints:

Fetch instructions for net-misc/icaclient-12.1.0:
 * Download the client RPM file x86? ( ICAClient-12.1.0-0.i386.rpm )
 * 	amd64? ( ICAClient_12.1.0-0.x86_64.rpm ) from
 * 	http://www.citrix.com/English/ss/downloads/details.asp?downloadId=2323812&productId=1689163
 * and place it in /var/distfiles.

This requires the user to understand rudimentary use conditional syntax, and to know/remember what arch they are on. It might also give the impression that additional action must be taken to inform about which of the files were downloaded.

Modifying the ebuild line
    elog "Download the client RPM file ${SRC_URI} from
to
    elog "Download the client RPM file ${A} from
gives the more friendly message:

Fetch instructions for net-misc/icaclient-12.1.0:
 * Download the client RPM file ICAClient_12.1.0-0.x86_64.rpm from
 * 	http://www.citrix.com/English/ss/downloads/details.asp?downloadId=2323812&productId=1689163
 * and place it in /var/distfiles.
Comment 1 Jan Buecken 2015-09-18 10:30:22 UTC
As far as I can see, the ebuild for the newer version
icaclient-13.2.0.322243.ebuild 
respect this?

From /usr/portage/net-misc/icaclient/icaclient-13.2.0.322243.ebuild:

pkg_nofetch() {
        elog "Download the client file ${A} from
        http://www.citrix.com/downloads/citrix-receiver/linux/receiver-for-linux-13-2.html"
        elog "and place it in ${DISTDIR:-/usr/portage/distfiles}."
Comment 2 eroen 2016-05-28 10:14:16 UTC
This is amended in all versions currently in gentoo.