Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 103745 - net-misc/curl should have "idn" USE flag
Summary: net-misc/curl should have "idn" USE flag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Alastair Tse (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 101518
  Show dependency tree
 
Reported: 2005-08-25 13:45 UTC by Marcin Kryczek (RETIRED)
Modified: 2005-08-27 09:03 UTC (History)
0 users

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


Attachments
curl-7.14.0.ebuild.patch (curl.patch,603 bytes, patch)
2005-08-27 08:31 UTC, Marcin Kryczek (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marcin Kryczek (RETIRED) gentoo-dev 2005-08-25 13:45:08 UTC
current version of curl (7.14.0) automatically checks if net-dns/libidn is 
installed and if so, it links with that, which is illegal according to gentoo 
policy:

curl compiled on system without libidl installed:
<root@CogES>/tmp/curl-7.14.0: ldd /usr/lib/libcurl.so.3.0.0
        /etc/libcwait.so (0xb7ee3000)
        linux-gate.so.1 =>  (0xffffe000)
        libssl.so.0.9.7 => /usr/lib/libssl.so.0.9.7 (0xb7e92000)
        libcrypto.so.0.9.7 => /usr/lib/libcrypto.so.0.9.7 (0xb7d8a000)
        libdl.so.2 => /lib/libdl.so.2 (0xb7d86000)
        libz.so.1 => /lib/libz.so.1 (0xb7d73000)
        libc.so.6 => /lib/libc.so.6 (0xb7c47000)
        /lib/ld-linux.so.2 (0x80000000)

curl compiled on the same system without changing USE flags, but after 
instalation of libidn:
<root@CogES>/tmp/curl-7.14.0: ldd /usr/lib/libcurl.so.3.0.0
        /etc/libcwait.so (0xb7ef6000)
        linux-gate.so.1 =>  (0xffffe000)
        libidn.so.11 => /usr/lib/libidn.so.11 (0xb7ea7000)
        libssl.so.0.9.7 => /usr/lib/libssl.so.0.9.7 (0xb7e75000)
        libcrypto.so.0.9.7 => /usr/lib/libcrypto.so.0.9.7 (0xb7d6d000)
        libdl.so.2 => /lib/libdl.so.2 (0xb7d69000)
        libz.so.1 => /lib/libz.so.1 (0xb7d56000)
        libc.so.6 => /lib/libc.so.6 (0xb7c2a000)
        /lib/ld-linux.so.2 (0x80000000)
Comment 1 Marcin Kryczek (RETIRED) gentoo-dev 2005-08-27 08:31:52 UTC
Created attachment 66980 [details, diff]
curl-7.14.0.ebuild.patch

this is simple patch for curl ebuild, which solves described problem
Comment 2 Marcin Kryczek (RETIRED) gentoo-dev 2005-08-27 08:33:11 UTC
i forgot one thing: note 'idn' flag is local, so it should either be moved to 
global (4 packages make use of it already) or added for curl to use.local.desc 
Comment 3 Karol Wojtaszek (RETIRED) gentoo-dev 2005-08-27 09:03:30 UTC
Fixed in the tree, thanks.