Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#39031 closed enhancement (fixed)

curl @7.30.0 - Add --metalink Support

Reported by: unwiredbrain@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: cooljeanius (Eric Gallager)
Port: curl

Description

Even though is available since version 7.27.0, the currently distributed curl port has no support for Metalinks:

$ sudo port install curl +ssl +ares +sftp_scp
Password:
--->  Computing dependencies for curl
--->  Cleaning curl
--->  Scanning binaries for linking errors: 100.0%
--->  No broken files found.
$ curl --metalink
Warning: --metalink option is ignored because the binary is built without the 
Warning: Metalink support.
curl: no URL specified!
curl: try 'curl --help' or 'curl --manual' for more information

Any chance to have this added by default? Or maybe via a variant?

Many thanks

Change History (11)

comment:1 Changed 12 years ago by unwiredbrain@…

Cc: unwiredbrain@… added

Cc Me!

comment:2 Changed 12 years ago by cooljeanius (Eric Gallager)

First someone would have to write a port for libmetalink, as MacPorts currently doesn't have it yet:

gl00b05048:~ egall$ port search metalink
No match for metalink found

There's both a Homebrew formula and a Fink package to work from, so it shouldn't be too hard to write a portfile for it... (I've been meaning to do this myself for a while now...)

Last edited 12 years ago by cooljeanius (Eric Gallager) (previous) (diff)

comment:3 Changed 12 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:4 Changed 12 years ago by mf2k (Frank Schima)

Cc: unwiredbrain@… removed
Keywords: curl metalink removed
Owner: changed from macports-tickets@… to ryandesign@…
Version: 2.1.3

In the future, please Cc the port maintainer(s), but not yourself since the reporter is automatically Cc'ed.

comment:5 Changed 12 years ago by unwiredbrain@…

Whoa! You guys are fast! :)

Thanks for the replies, I look forward metafiles are part of port (yes, pun intended.)

PS: sorry for the cc-me-thing!

comment:6 Changed 12 years ago by cooljeanius (Eric Gallager)

OK, made a new ticket for the creation of the libmetalink port: #39036. Once that one is closed we can move forward with this one.

comment:7 Changed 12 years ago by cooljeanius (Eric Gallager)

libmetalink was added in r105857

comment:8 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

curl +metalink variant added in r105859.

comment:9 Changed 12 years ago by unwiredbrain@…

Ooohh nice work! :)

Any estimate on when this will be available in the stable release?

Many thanks!

comment:10 in reply to:  9 Changed 12 years ago by larryv (Lawrence Velázquez)

Replying to unwiredbrain@…:

Any estimate on when this will be available in the stable release?

It’s already available. You just have to reinstall curl with the “metalink” variant.

sudo port selfupdate
sudo port upgrade --force --enforce-variants curl +metalink

comment:11 Changed 12 years ago by unwiredbrain@…

Awsesome! You guys were nothing less but awesome!

Many, many, many thanks!

Note: See TracTickets for help on using tickets.