Hi,

Just to let builders to know that devel/cargo is currently broken.

The problem is that when using ftp(1) to download crates (tgz file) from
https://crates.io/api/v1/crates/, the site starts to behave differently
if Accept HTTP header is present or not.

As ftp(1) doesn't provide this header, the site serves an HTTP error
instead of the tgz.

I opened an issue upstream for the problem:
https://github.com/rust-lang/crates.io/issues/466

As we doesn't mirrored the downloaded files due to licenses issues (that
part should be resolved in near future), we are currently unable to
download the required parts of the source.

I hope this problem will be resolved soon.
-- 
Sebastien Marie

Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/cargo/Makefile,v
retrieving revision 1.4
diff -u -p -r1.4 Makefile
--- Makefile    5 Oct 2016 16:51:22 -0000       1.4
+++ Makefile    12 Nov 2016 06:26:58 -0000
@@ -1,6 +1,8 @@
 # $OpenBSD: Makefile,v 1.4 2016/10/05 16:51:22 danj Exp $
 COMMENT = package manager for Rust language
 
+BROKEN = crates.io requires Accept: HTTP header
+
 # cargo version
 CARGO_VERSION =                0.13.0
 

Reply via email to