View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0017873 | CentOS-7 | curl | public | 2020-11-19 16:58 | 2020-11-23 11:40 |
Reporter | salmira | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | new | Resolution | open | ||
Platform | x86_64 | OS | CentOS | OS Version | 7 |
Product Version | 7.9.2009 | ||||
Summary | 0017873: Curl Metalink support needed: now --metalink option is ignored because the binary is built without the Metalink support. | ||||
Description | Curl Metalink support needed! Now curl '--metalink' option is ignored because the binary is built without the Metalink support. Is it possible to include a curl version built with the Metalink support for CentOS 7? | ||||
Steps To Reproduce | 1. Create metalink file /dist/metalink with content like: <?xml version="1.0" encoding="UTF-8"?> <metalink version="3.0" xmlns="http://www.metalinker.org/"> <files> <file name="cmake-3.18.4-Linux-x86_64.sh"> <verification> <hash type="md5">28a965040d7e738e93f7b1e43d6977f1</hash> <hash type="sha256">3d6e838e98cbeeeedb83860dc4ef9cc5d559b78bad5fd48b014b8d863d575356</hash> </verification> <resources> <url type="https" location="en" preference="10">https://github.com/Kitware/CMake/releases/download/v3.18.4/cmake-3.18.4-Linux-x86_64.sh</url> <url type="https" location="ch" preference="90">http://185.13.148.211/downloads3/2020-11-12-15-13-13-download-cmake-3.18.4-Linux-x86_64.sh</url> </resources> </file> </files> </metalink> 2. Run command from the same directory where metalink file created: sudo curl --metalink file:///dist/metalink -s -o cmake-3.18.4-Linux-x86_64.sh Warning: --metalink option is ignored because the binary is built without the Warning: Metalink support. Expected Results: cmake-3.18.4-Linux-x86_64.sh file downloaded. Actual Result: You see metalink file content instead of a requested file inside cmake-3.18.4-Linux-x86_64.sh. or sudo curl --metalink file:///dist/metalink Warning: --metalink option is ignored because the binary is built without the Warning: Metalink support. <?xml version="1.0" encoding="UTF-8"?> <metalink version="3.0" xmlns="http://www.metalinker.org/"> <files> <file name="cmake-3.18.4-Linux-x86_64.sh"> <verification> <hash type="md5">28a965040d7e738e93f7b1e43d6977f1</hash> <hash type="sha256">3d6e838e98cbeeeedb83860dc4ef9cc5d559b78bad5fd48b014b8d863d575356</hash> </verification> <resources> <url type="https" location="en" preference="10">https://github.com/Kitware/CMake/releases/download/v3.18.4/cmake-3.18.4-Linux-x86_64.sh</url> <url type="https" location="ch" preference="90">http://185.13.148.211/downloads3/2020-11-12-15-13-13-download-cmake-3.18.4-Linux-x86_64.sh</url> </resources> </file> </files> </metalink> Expected Results: cmake-3.18.4-Linux-x86_64.sh file downloaded. Actual Result: You see metalink file content instead of a requested file. | ||||
Additional Information | curl --version curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets uname -smor Linux 3.10.0-1160.2.2.el7.x86_64 x86_64 GNU/Linux | ||||
Tags | curl, metalink | ||||
abrt_hash | |||||
URL | |||||
CentOS is a rebuild of the sources used to create RHEL and aims to reproduce RHEL bug for bug and feature for feature. Please submit your request to Redhat via bugzilla.redhat.com and if/when RH accepts it and incorporates it into RHEL and releases a patched version, then CentOS will pick it up automatically. For easier tracking, please crosslink this bug with the one opened at bugzilla.redhat.com. |
|
Available packages to build curl with Metalink support: (EPEL Release repo) libmetalink.x86_64 : Metalink library written in C libmetalink-devel.x86_64 : Files needed for developing with libmetalink mirrorbrain.x86_64 : A download redirector and metalink generator aria2.x86_64 : High speed download utility with resuming and segmented downloading mod_autoindex_mb.x86_64 : Apache module generating directory indexes for MirrorBrain |
|
Even if the packages needed to rebuild curl are available, you still have to report it to RedHat and persuade them to implement the change , as I have explained earlier. However given the late stage of RHEL 7's life and the need for using packages from outside the distro, I very much doubt that your request will be accepted for RHEL 7. | |
The same bug reported to RHEL7 https://bugzilla.redhat.com/show_bug.cgi?id=1900559 | |
Date Modified | Username | Field | Change |
---|---|---|---|
2020-11-19 16:58 | salmira | New Issue | |
2020-11-19 16:58 | salmira | Tag Attached: curl | |
2020-11-19 16:58 | salmira | Tag Attached: metalink | |
2020-11-19 17:04 | ManuelWolfshant | Note Added: 0037945 | |
2020-11-19 17:04 | ManuelWolfshant | Note Edited: 0037945 | |
2020-11-19 17:09 | salmira | Note Added: 0037946 | |
2020-11-20 01:08 | ManuelWolfshant | Note Added: 0037952 | |
2020-11-23 11:40 | salmira | Note Added: 0037979 |