notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
All times are UTC
Ukraine
The safest procedure: change your FreshPorts password. Anything you had set before Friday March 24 2023 09:49:20 UTC should be changed. You can read more here: SQL inejection issues fixed and FreshSource code fixes Sorry about the extra work for you.
All known SQL injection issues patched. There is no evidence it was exploited. That doesn’t mean it wasn’t. Please change your password.
Port details
cargo Rust's Package Manager
0.19.0 devel Deleted on this many watch lists=2 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout Version of this port present on the latest quarterly branch.
Maintainer: rust@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2015-07-20 20:49:47
Last Update: 2017-09-15 18:01:18
SVN Revision: 449914
People watching this port, also watch:: rust, tmux, tcpdump, monit
License: APACHE20 MIT
Description:
Homepage    cgit ¦ GitHub ¦ GitHub ¦ GitLab ¦ SVNWeb
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
Dependency lines:
  • cargo>0:devel/cargo
No installation instructions:
This port has been deleted.
PKGNAME: cargo
Flavors: there is no flavor information for this port.
ONLY_FOR_ARCHS: aarch64 amd64 i386
distinfo:

No package information for this port in our database
Sometimes this happens. Not all ports have packages. This is doubly so for new ports, like this one.
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. cmake : devel/cmake
  2. rust>=1.18.0 : lang/rust
  3. gmake : devel/gmake
  4. python2.7 : lang/python27
  5. pkgconf>=1.3.0_1 : devel/pkgconf
Runtime dependencies:
  1. rustc : lang/rust
Library dependencies:
  1. libssh2.so : security/libssh2
  2. libcurl.so : ftp/curl
There are no ports dependent upon this port

Configuration Options:
Options name:
USES:
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/rust-lang/cargo/tar.gz/0.19.0?dummy=/
Collapse this list.
Notes from UPDATING
These upgrade notes are taken from /usr/ports/UPDATING
  • 2017-09-15
    Affects: users of devel/cargo
    Author: rust@FreeBSD.org
    Reason: 
      Starting with version 1.19.0, Cargo is provided with Rust. Therefore,
      devel/cargo was merged into lang/rust.
    
    
Port Moves
  • port moved to lang/rust on 2017-09-15
    REASON: Merged with lang/rust

Number of commits found: 21

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.19.0
15 Sep 2017 18:01:18
Revision:449914Original commit files touched by this commit
dumbbell search for other commits by this committer
lang/rust: Install Cargo + use bundled crates

This port now provides Cargo. This is the recommended now because Cargo
won't be provided separately in the future.

To build Cargo, we set `extended = true` in `config.toml`. As a side
effect, this flag also installs Rust source code. The port has a new
`SOURCES` option (disabled by default) to keep those sources.

As a consequence of this, `devel/cargo` is removed. Several ports
and Makefiles in Mk were updated to depend on `lang/rust` instead of
`devel/cargo`.

The other big change in this patch is the use of the bundled crates,
instead of relying on Cargo's registry (which was part of the distfiles,
(Only the first 15 lines of the commit message are shown above View all of this commit message)
0.19.0
17 Jun 2017 15:38:28
Revision:443781Original commit files touched by this commit
dumbbell search for other commits by this committer
devel/cargo: Change maintainer to rust@FreeBSD.org
0.19.0
17 Jun 2017 15:37:26
Revision:443780Original commit files touched by this commit
dumbbell search for other commits by this committer
devel/cargo: Update to 0.19.0 + enable on FreeBSD/aarch64

See r443777 for details on the FreeBSD/aarch64 bootstrap.

PR:		216143
Differential Revision:	https://reviews.freebsd.org/D10867
0.17.0
23 Mar 2017 08:48:00
Revision:436758Original commit files touched by this commit
dumbbell search for other commits by this committer
devel/cargo: Update to 0.17.0

Beside the new upstream release, the port was cleaned up a bit to be
closer to the lang/rust* ports.

PR:		217338
Reported by:	jbeich
Approved by:	antoine
Differential Revision:	https://reviews.freebsd.org/D9906
0.15.0_2
29 Jan 2017 13:39:42
Revision:432742Original commit files touched by this commit
dumbbell search for other commits by this committer
devel/cargo: Add patch to fix LibreSSL support

Cargo crashes when compiled with LibreSSL. To fix this, it needs newer
versions of some crates it depends on. See the following GitHub pull
request:
https://github.com/rust-lang/cargo/pull/3521

The registry is also recreated because of those new crates.

`PORTREVISION` is bumped to 2.

PR:		216431
Reported by:	NHO (#freebsd-ports IRC channel)
Tested by:	NHO, matthew@reztek.cz, Ben Woods
Approved by:	antoine (mentor)
Differential Revision:	https://reviews.freebsd.org/D9327
0.15.0_1
23 Jan 2017 21:55:48
Revision:432293Original commit files touched by this commit
dumbbell search for other commits by this committer
devel/cargo: Fix bootstrap checksum + use ${OPENSSLBASE}

Because devel/cargo and lang/rust-nightly use a different DISTFILE with
the same name, the wrong checksum and size was selected in devel/cargo.
To fix this, keep the parent directory (a date) in the DISTFILE name.

Also, depending on the value of DEFAULT_VERSION=ssl= and whether OpenSSL
from ports is installed, the openssl-sys crate could fail to build.
Passing OpenSSL location to make was way too complicated anyway. So
simplify it and use ${OPENSSLBASE}. This was reported in PR 216385.

Bump PORTREVISION to 1.

PR:		216143, 216385
Reported by:	gja822@narod.ru (216385, SSL build failure)
Approved by:	antoine (mentor), jbeich
Differential Revision:	https://reviews.freebsd.org/D9295
0.15.0
22 Jan 2017 10:45:30
Revision:432111Original commit files touched by this commit
dumbbell search for other commits by this committer
devel/cargo: Update to 0.15.0, enable on i386

The new version requires cargo(1) to be available. Therefore, we let the
Ports system to extract the bootstrap cargo (it was done by the Cargo
build system before) and set a configure flag to point to it.

We need to set OPENSSL_DIR as a Make environment variable because the
openssl-sys crate's build.rs doesn't know about FreeBSD.

Finally, enable devel/cargo on i386. A bootstrap cargo executable is
available for FreeBSD/i386 since last October but I missed it. We can
now use it to build a port/package for i386.

PR:		216143
Approved by:	bapt (mentor)
Differential Revision:	https://reviews.freebsd.org/D9273
0.14.0
21 Nov 2016 21:07:30
Revision:426755Original commit files touched by this commit
dumbbell search for other commits by this committer
devel/cargo: Update to 0.14.0

This implicitely fixes the fact that the previous bootstrap archive
fetch was failing because it was updated from a snapshot of
0.12.0-nightly to 0.13.0-nightly, even though the same URL was used.

Approved by:	jbeich
Differential Revision:	https://reviews.freebsd.org/D8596
0.13.0
14 Oct 2016 13:21:47
Revision:423964Original commit files touched by this commit
amdmi3 search for other commits by this committer
- Always use verbose build

Approved by:	portmgr blanket
0.13.0
30 Sep 2016 10:03:36
Revision:422978Original commit files touched by this commit
jbeich search for other commits by this committer
devel/cargo: update to 0.13.0

Changes:	https://github.com/rust-lang/cargo/compare/0.12.0...0.13.0
0.12.0
31 Aug 2016 00:14:23
Revision:421137Original commit files touched by this commit
jbeich search for other commits by this committer
devel/cargo: update to 0.12.0
0.11.0
24 Aug 2016 14:50:17
Revision:420796Original commit files touched by this commit
mat search for other commits by this committer
Convert some port to the new GH_SUBDIR feature.

Sponsored by:	Absolight
0.11.0
10 Jul 2016 15:26:24
Revision:418326Original commit files touched by this commit
jbeich search for other commits by this committer
devel/cargo: update to 0.11.0
0.10.0
06 Jun 2016 04:40:20
Revision:416441Original commit files touched by this commit
jbeich search for other commits by this committer
devel/cargo: update to 0.10.0 to unbreak after r416219

Newer bootstrap snapshots are required, so update src/snapshots.txt
based on rustup verbose output[1]. I couldn't find one for DragonFly.

  $ fetch -o /tmp/rustup.sh https://sh.rustup.rs
  $ sh /tmp/rustup.sh -v
  [...]
  https://static.rust-lang.org/dist/channel-rust-stable.toml
  [...]
 
https://static.rust-lang.org/cargo-dist/2016-04-10/cargo-nightly-x86_64-unknown-freebsd.tar.gz

PR:		210017
Reported by:	pkg-fallout, Lacey Powers
Reported by:	dumbbell (maintainer) [1]
0.9.0
12 Apr 2016 08:47:12
Revision:413105Original commit files touched by this commit
dumbbell search for other commits by this committer
devel/cargo: Fix repeated word in pkg-descr

Approved by:	marino
Differential Revision:	https://reviews.freebsd.org/D5923
0.9.0
01 Apr 2016 14:00:57
Revision:412346Original commit files touched by this commit
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.

With hat:	portmgr
Sponsored by:	Absolight
0.9.0
05 Mar 2016 17:02:43
Revision:410191Original commit files touched by this commit
jbeich search for other commits by this committer
devel/cargo: update to 0.9.0
0.8.0
07 Feb 2016 00:34:38
Revision:408340Original commit files touched by this commit
dumbbell search for other commits by this committer
devel/cargo: Build on amd64 only

Cargo requires a prebuilt bootstrapped version of itself. The only one
available for FreeBSD is for amd64.

This prevents build failures on i386.

Reviewed by:	jbeich
Approved by:	jbeich
MFH:		2016Q1
Differential Revision:	https://reviews.freebsd.org/D5219
0.8.0
24 Jan 2016 00:04:27
Revision:407069Original commit files touched by this commit
jbeich search for other commits by this committer
devel/cargo: update to 0.8.0
0.7.0
17 Jan 2016 16:40:41
Revision:406516Original commit files touched by this commit
jbeich search for other commits by this committer
devel/cargo: update to 0.7.0 (release) and cleanup

- Compress :registry with xz(1) to save a few megabytes
- Add BOOTSTRAP option to build with already installed Cargo
- Generate distfiles with BOOTSTRAP=off for extra deps
- Require recent lang/rust to build (older versions not tested)
- Drop cargo-nightly and rust-nightly hacks. The latter is still supported
  via RUST_PORT=lang/rust-nightly in environment, make.conf, Makefile.local
- Drop MAKE_JOBS_UNSAFE, builds fine with MAKE_JOBS_NUMBER=32
- Drop _GH0 suffix from non-GitHub distfile
- Don't use OpenSSL port on 11.0-CURRENT (no RPATH in bootstrap)
- Don't install duplicate licenses under DOCSDIR
- Don't depend on lang/python2 when only lang/python27 is used
- Simplify manpage directory substitution
- Fix LICENSE_FILE when used with LICENSE_COMB != single
- Fix gen-registry target when WRKDIRPREFIX == MAKEOBJDIRPREFIX
- Cleanup gen-registry target
- Respect PREFIX != /usr/local
- Prepare CARGO_BOOT_SIG for i386 and DragonFly
- Apply minor style

PR:		205529
Approved by:	maintainer timeout (1 month)
MFH:		2016Q1
Differential Revision:	https://reviews.freebsd.org/D4562
0.4.0.20150720
20 Jul 2015 20:49:38
Revision:392600Original commit files touched by this commit
dumbbell search for other commits by this committer
devel/cargo: New port Rust's Package Manager

Reviewed by:	jonathan, kwm
Approved by:	jonathan, kwm
Differential Revision:	https://reviews.freebsd.org/D2799

Number of commits found: 21