FreshPorts -- The Place For Ports If you buy from Amazon USA, please support us by using this link.
Follow us
Blog
Twitter

We also have a status page: https://freshports.wordpress.com/

Port details
rust Language with a focus on memory safety and concurrency
1.22.1_2 lang on this many watch lists=9 search for ports that depend on this port Find issues related to this port Report an issue related to this port
Maintainer: rust@FreeBSD.org search for ports maintained by this maintainer
Port Added: 23 Jan 2012 16:07:20
License: APACHE20 MIT
Rust is an open-source systems programming language that runs blazingly
fast, prevents almost all crashes, and eliminates data races.
Some of its features:

  - Algebraic data types, type inference
  - Pattern matching and closures
  - Concurrency without data races
  - Guaranteed memory safety
  - Optional garbage collection
  - Zero-cost abstractions
  - Minimal runtime
  - Efficient C bindings

WWW: http://www.rust-lang.org/
SVNWeb : Homepage : PortsMon
    Pseudo-pkg-plist information, but much better, from make generate-plist
    Expand this list (6 items)
  1. lib/rustlib/components
  2. lib/rustlib/rust-installer-version
  3. /usr/local/share/licenses/rust-1.22.1_2/catalog.mk
  4. /usr/local/share/licenses/rust-1.22.1_2/LICENSE
  5. /usr/local/share/licenses/rust-1.22.1_2/APACHE20
  6. /usr/local/share/licenses/rust-1.22.1_2/MIT
  7. Collapse this list.

To install the port: cd /usr/ports/lang/rust/ && make install clean
To add the package: pkg install rust

PKGNAME: rust

ONLY_FOR_ARCHS: aarch64 amd64 i386

distinfo:

TIMESTAMP = 1511741686
SHA256 (rust/rustc-1.22.1-src.tar.gz) = 8b7a42bdd6eb205a8c533eb41b5c42389a88158d060aed1e0f461f68c1fd3fd3
SIZE (rust/rustc-1.22.1-src.tar.gz) = 54935620
SHA256 (rust/2017-10-12/rustc-1.21.0-aarch64-unknown-freebsd.tar.gz) = 6302769f6ec103bcfe4c41134c1e76747371261288059195dc9ff8a44e67601f
SIZE (rust/2017-10-12/rustc-1.21.0-aarch64-unknown-freebsd.tar.gz) = 44419411
SHA256 (rust/2017-10-12/rust-std-1.21.0-aarch64-unknown-freebsd.tar.gz) = 92bc37314a1bc044ce25df95ffa4f5222a96017da968e0e4256de02efa83e2a4
SIZE (rust/2017-10-12/rust-std-1.21.0-aarch64-unknown-freebsd.tar.gz) = 59227300
SHA256 (rust/2017-10-12/cargo-0.22.0-aarch64-unknown-freebsd.tar.gz) = df4127117966f55146624c4c198394754bdbe17a3ca6575b3f64d45b87929506
SIZE (rust/2017-10-12/cargo-0.22.0-aarch64-unknown-freebsd.tar.gz) = 3072402
SHA256 (rust/2017-10-12/rustc-1.21.0-i686-unknown-freebsd.tar.gz) = 166f977785da34b06d683d9c1b7a3618dd608832e862e9f8ea31c3362026e365
SIZE (rust/2017-10-12/rustc-1.21.0-i686-unknown-freebsd.tar.gz) = 44398731
SHA256 (rust/2017-10-12/rust-std-1.21.0-i686-unknown-freebsd.tar.gz) = db47d7f9f6f36d23c7cdc0369f1ca10335f9460e71552043a8c8753bb30733e4
SIZE (rust/2017-10-12/rust-std-1.21.0-i686-unknown-freebsd.tar.gz) = 59018318
SHA256 (rust/2017-10-12/cargo-0.22.0-i686-unknown-freebsd.tar.gz) = b2a27147d3ca741cb740f73a7651b9d816d583d7d89be189cae3b7eecff9104e
SIZE (rust/2017-10-12/cargo-0.22.0-i686-unknown-freebsd.tar.gz) = 5314447
SHA256 (rust/2017-10-12/rustc-1.21.0-x86_64-unknown-freebsd.tar.gz) = 39324408009725e4e8c3c4baeece26063d461d1c946d448351ce60add591d328
SIZE (rust/2017-10-12/rustc-1.21.0-x86_64-unknown-freebsd.tar.gz) = 43542981
SHA256 (rust/2017-10-12/rust-std-1.21.0-x86_64-unknown-freebsd.tar.gz) = f76b49330c15cbcfa14865e38a05de672501688b913d0ae7ded0be2937e1b795
SIZE (rust/2017-10-12/rust-std-1.21.0-x86_64-unknown-freebsd.tar.gz) = 58481493
SHA256 (rust/2017-10-12/cargo-0.22.0-x86_64-unknown-freebsd.tar.gz) = 8b1d824ca94d7737f526ad4e73f482dfae40c1346fdbdf83d5c23f03657fe01d
SIZE (rust/2017-10-12/cargo-0.22.0-x86_64-unknown-freebsd.tar.gz) = 5378813


Slave ports
  1. lang/rust-nightly

NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.

Build dependencies:
  1. cmake : devel/cmake
  2. gmake : devel/gmake
  3. pkgconf>=1.3.0_1 : devel/pkgconf
  4. python2.7 : lang/python27
Library dependencies:
  1. libcurl.so : ftp/curl
  2. libssh2.so : security/libssh2
  3. libedit.so.0 : devel/libedit

This port is required by:

for Build for Run * - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...
Configuration Options
===> The following configuration options are available for rust-1.22.1_2:
     DOCS=on: Build and/or install documentation
     GDB=off: Install ports gdb (necessary for debugging rust programs)
     LLNEXTGEN=off: Build with grammar verification
     SOURCES=off: Install source files
===> Use 'make config' to modify these settings

USES:
compiler gmake libedit pkgconfig python:2.7,build ssl

Master Sites:
    There is no master site for this port.
Notes from UPDATING
These upgrade notes are taken from /usr/ports/UPDATING
  • 2014-07-10
    Affects: users of lang/rust
    Author: robak@FreeBSD.org
    Reason: 
      The lang/rust port was updated to 0.11 and is now only working on FreeBSD
      versions 10 and 11 -- the 9.x support has been removed by upstream.
    
    
Port Moves
  • port moved here from devel/cargo on 2017-09-15
    REASON: Merged with lang/rust

Number of commits found: 100

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
30 Nov 2017 13:33:05
Original commit files touched by this commit  1.22.1_2
Revision:455198
dumbbell search for other commits by this committer
lang/rust: Disable "omit frame pointers"

Before the patch, the default behavior of the compiler was to omit frame
pointers. However, even though it looks fine for the code produced
by the compiler, the compiler itself was broken. When there was a
compilation error, rustc panics to report that error. While handling
that panic, it tries to unwind the stack but fails to do so, which
results in an abort(3).

Here is an example:

    $ rustc hello.rs
    error: invalid reference to argument `0` (no arguments given)
     --> hello.rs:2:5
      |
(Only the first 15 lines of the commit message are shown above View all of this commit message)
27 Nov 2017 22:02:30
Original commit files touched by this commit  1.22.1_1
Revision:454995
jbeich search for other commits by this committer
lang/rust: avoid LLVM targeting SSE2 on i386 by default

This may help ports like textproc/ripgrep to run on old hardware.
Rust itself still requires SSE2 until bootstrap is regenerated.

PR:		223415
Approved by:	rust (dumbbell)
27 Nov 2017 18:16:15
Original commit files touched by this commit  1.22.1
Revision:454983
dumbbell search for other commits by this committer
lang/rust: Remove the LLVM_PORT option

FTR, this option allowed to used LLVM from ports instead of building the
bundled copy.

The problem is that this combination isn't really tested upstream. This
led to regressions which are difficult to diagnose. For instance, in
Rust 1.21.0, the bundled LLVM provided a new API to query the features
supported by the target arch. The equivalent code inside Rust was
removed to use that new API. Unfortunately, building Rust 1.21.0+ with a
copy of LLVM not providing this API didn't failed but instead made that
list of CPU features empty. This resulted in the following obscure build
failure in Firefox:

    error[E0432]: unresolved import `x86::sse2`

To avoid future pain for both end users and maintainers, we decided to
remove that option. Yes, it will increase the (already long) time to
build Rust, but it should save time wasted on debugging what is not
really supported anyway.

PR:		223342, 223300
Reported by:	Many users
27 Nov 2017 08:20:32
Original commit files touched by this commit  1.22.1
Revision:454938
dumbbell search for other commits by this committer
lang/rust: Update to 1.22.1

Support for LibreSSL up-to 2.6.3 is now included, thus we can remove the
patches to the `openssl` and `openssl-sys` crates.

The renewed bootstrap for aarch64 was created on 11.0-RELEASE, instead
of 11.1-STABLE. It should allow it to run on all 11.x and thus fix the
build on 11.0-RELEASE. [1]

PR:		223009 [1]
09 Nov 2017 14:14:59
Original commit files touched by this commit  1.21.0_1
Revision:453810
dumbbell search for other commits by this committer
lang/rust: Add support for LibreSSL 2.6.3

Patches come from upstream:
    https://github.com/sfackler/rust-openssl

PR:		223500
Reported by:	Charlie Li <ml+freebsd-bugs@vishwin.info>
29 Oct 2017 12:38:09
Original commit files touched by this commit  1.21.0_1
Revision:453113
dumbbell search for other commits by this committer
lang/rust: Fix paths in `manifest-rls-preview`

Like other manifests, without this, it still references the stage
directory. This error is reported when DEVELOPER=YES is set.

While here, strip `bin/rls`.

Reported by:	bar@, cpm@
28 Oct 2017 09:13:21
Original commit files touched by this commit  1.21.0
Revision:453052
dumbbell search for other commits by this committer
lang/rust: Update to 1.21.0

The official bootstraps wouldn't work: rustc was stalled on a mutex
while compiling a crate early in the build. This was solved by creating
a new bootstraps for "rustc" and "rust-std" from the existing FreeBSD
package. We keep using the official "cargo" bootstrap.

PR:		223123
23 Oct 2017 22:58:48
Original commit files touched by this commit  1.20.0_1
Revision:452748
jbeich search for other commits by this committer
lang/rust: unbreak FFI for returning struct on i386

As this fixes Stylo on i386, remove the workaround in www/firefox.

PR:		223047
Suggested by:	Sebastien Marie <semarie@openbsd.org>
Approved by:	rust (dumbbell)
MFH:		2017Q4 (required by Firefox 57 scheduled on 2017-11-14)
11 Oct 2017 12:28:00
Original commit files touched by this commit  1.20.0
Revision:451743
dumbbell search for other commits by this committer
lang/rust: Add support for LibreSSL 2.6.1 and 2.6.2

Patches come from upstream:
    https://github.com/sfackler/rust-openssl

PR:		222359
Reported by:	Charlie Li <ml+freebsd-bugs@vishwin.info>,
		Piotr Kubaj <pkubaj@anongoth.pl>,
		w.schwarzenfeld@utanet.at,
		nhoyle@hoyletech.com
04 Oct 2017 08:13:38
Original commit files touched by this commit  1.20.0
Revision:451188
dumbbell search for other commits by this committer
lang/rust: Update to 1.20.0

This patch only upgrades the port to Rust 1.20.0. The PR also covers a
build failure with the latest LibreSSL, which is not addressed here.

PR:		222359
Reported by:	Charlie Li <ml+freebsd-bugs@vishwin.info>
15 Sep 2017 18:01:18
Original commit files touched by this commit  1.19.0_2
Revision:449914
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)
10 Sep 2017 16:49:46
Original commit files touched by this commit  1.19.0_1
Revision:449581
riggs search for other commits by this committer
Allow RUST_BACKTRACE to work without /proc mounted

Submitted by:	jbeich
Differential Revision:	https://reviews.freebsd.org/D11574
28 Jul 2017 23:03:27
Original commit files touched by this commit  1.19.0
Revision:446861
dumbbell search for other commits by this committer
lang/rust: Turn off PORT_LLVM by default

This change was accidentally committed with the previous commit.
28 Jul 2017 22:30:39
Original commit files touched by this commit  1.19.0
Revision:446858
dumbbell search for other commits by this committer
lang/rust: Fix build with PORT_LLVM

The path to `llvm-config40` was set to the empty string in the generated
`config.toml`, because I was still using the ${LLVM_PREFIX} variable
instead of the appropriate ${LLVM_CONFIG}. Bad completion and lack of
testing, sorry for that...

Reported by:	Rainer Hurling <rhurlin@gwdg.de>,
		Walter Schwarzenfeld <w.schwarzenfeld@utanet.at>,
		dim@
28 Jul 2017 16:29:08
Original commit files touched by this commit  1.19.0
Revision:446837
dumbbell search for other commits by this committer
lang/rust: Fix ${PORT_LLVM_BUILD_DEPENDS}

The BUILD_DEPENDS argument for the PORT_LLVM option was not updated: it
was using the ${LLVM_PREFIX} variable which was removed. Now, it uses
${LOCALBASE} and ${LLVM_VER} as a suffix to the executable verified.

Submitted by:	Rainer Hurling <rhurlin@gwdg.de>
Reported by:	Rainer Hurling <rhurlin@gwdg.de>
28 Jul 2017 10:18:54
Original commit files touched by this commit  1.19.0
Revision:446815
dumbbell search for other commits by this committer
lang/rust: Update to 1.19.0

The main change in the port is the switch from configure+make to the
`x.py` build script. This is the recommended way of building Rust. It
takes a configuration file, `config.toml`, which, in the port case,
indicates:

 * where to install things;
 * which release channel to use;
 * where to find Python and llvm-config;
 * if documentation should be also built.

The build process should now honor ${MAKE_JOBS_NUMBER} instead of always
using all available CPU cores.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
18 Jun 2017 12:20:01
Original commit files touched by this commit  1.18.0
Revision:443826
dumbbell search for other commits by this committer
lang/rust: Fix value of ${CARGO_BOOTSTRAP_DIR_aarch64}

It was pointing to the wrong directory.

Reported by:	jbeich@
17 Jun 2017 14:44:30
Original commit files touched by this commit  1.18.0
Revision:443777
dumbbell search for other commits by this committer
lang/rust: Enable on FreeBSD/aarch64 + various fixes

This port now uses an unofficial bootstrap of Rust 1.17.0 and Cargo
0.18.0 for FreeBSD/aarch64. Here are my notes to create this boostrap:
https://gist.github.com/dumbbell/b587da50ef014078da9e732a4331ebad

The port's Makefile was changed to:
    - allow to override the versions and directories of the bootstrap
      archives;
    - patch the bootstrap script and manifest with those
      versions/directories.

Beside changes to support FreeBSD/aarch64, the port received the
following fixes:
    - Pass python path to the configure script.
    - Fix and simplify the extraction of rust-std bootstrap by re-using
      existing variables.
    - Make sure tar(1) doesn't produce sparse file entries when it
      recreates the rust-std bootstrap because Python 2's tarfile module
      doesn't support them (PR 219842).

PR:		216143, 219842
Differential Revision:	https://reviews.freebsd.org/D10857
13 Jun 2017 05:34:55
Original commit files touched by this commit  1.18.0
Revision:443485
riggs search for other commits by this committer
Fix build on HEAD

Submitted by:	dim, rhurlin@gwdg.de (via mail)
10 Jun 2017 17:48:58
Original commit files touched by this commit  1.18.0
Revision:443109
riggs search for other commits by this committer
Update to upstream version 1.18.0, set MAINTAINER to rust@
29 May 2017 05:00:54
Original commit files touched by this commit  1.17.0
Revision:441966
riggs search for other commits by this committer
Fix build on pre-ino64 / on i386

Submitted by:	kib
Differential Revision:	https://reviews.freebsd.org/D10973
27 May 2017 12:06:40
Original commit files touched by this commit  1.17.0
Revision:441843
kib search for other commits by this committer
Fix lang/rust after ino64 src commit.

Approved by:  bapt, dumbbell
Sponsored by:	The FreeBSD Foundation
Differential revision:	https://reviews.freebsd.org/D10799
14 May 2017 15:26:44
Original commit files touched by this commit  1.17.0
Revision:440883
riggs search for other commits by this committer
Update to upstream version 1.17.0

Submitted by:	dumbbell (see phabric URL)
Reviewed by:	riggs
Differential Revision:	https://reviews.freebsd.org/D10691
26 Apr 2017 19:04:30
Original commit files touched by this commit  1.16.0
Revision:439485
ak search for other commits by this committer
- Remove checks for .PARSEDIR and vestiges of pmake support

PR:	218832
Approved by:	portmgr (antoine)
19 Mar 2017 12:08:08
Original commit files touched by this commit  1.16.0
Revision:436488
riggs search for other commits by this committer
Update to upstream version 1.16.0
06 Mar 2017 13:27:57
Original commit files touched by this commit  1.15.1
Revision:435537
dumbbell search for other commits by this committer
lang/rust, lang/rust-nightly: Generate PLIST in post-install

Several libraries have their filename computed and based on the absolute
path to source files. Therefore, we need to generate the PLIST. Rust
installer already produces manifests listing files it installs. The port
now uses those files to complete `${TMPPLIST}`.

While the port built fine in Poudriere, it failed when built directly on
the host (regular make or with portmaster(1)) or using a different tool
such as Synth. This commit fixes the build for those methods.

Handling of DOCS-specific files is also unified with normal files. This
gets rid of code duplication.

How to do reproducible builds will be studied later.

PR:		217309
Reported by:	Several people on freebsd-ports@ or Bugzilla
Tested by:	Almost everyone who reported the issue
Approved by:	antoine (mentor), riggs (maintainer of lang/rust)
Differential Revision:	https://reviews.freebsd.org/D9816
01 Mar 2017 23:35:05
Original commit files touched by this commit  1.15.1
Revision:435205
asomers search for other commits by this committer
lang/rust*: Advise users to mount procfs

Add a pkg-message to these ports advising users to mount procfs to see
backtraces.

Reviewed by:	dumbbell, riggs
Approved by:	dumbbell (ports)
Sponsored by:	Spectra Logic Corp
Differential Revision:	https://reviews.freebsd.org/D9838
22 Feb 2017 19:04:04
Original commit files touched by this commit  1.15.1
Revision:434631
dumbbell search for other commits by this committer
lang/rust, lang/rust-nightly: Update to 1.15.1 and 1.17.0 respectively

Both versions of Rust seen changes to their build system. Now they
require a bootstrap of Cargo and thus, a snapshot of Cargo's registry.

Each library has its own suffix instead of a common suffix for a given
version of Rust. Thus all future updates of the ports will include
changes to their plist.

$DISTFILES are now all under the `rust` directory in `$DISTDIR`. A
similar change will be committed to devel/cargo later.

lang/rust-nightly is enabled on i386 (bugzilla 216143). The source
snapshot also contains everything to build it on aarch64, but enabling
it will be committed later.

PR:		216143
Approved by:	riggs, bapt (mentor), antoine (mentor)
Differential Revision:	https://reviews.freebsd.org/D9286
01 Jan 2017 03:45:13
Original commit files touched by this commit  1.14.0
Revision:430235
sunpoet search for other commits by this committer
Remove BROKEN_FreeBSD_9

Approved by:	portmgr (blanket)
29 Dec 2016 17:52:05
Original commit files touched by this commit  1.14.0
Revision:429933
marino search for other commits by this committer
lang/rust: regenerate distinfo.x86_64 for DF rust 1.14

I'm not sure how this was misgenerated previously.  This matches the
version available via LOCAL/marino
27 Dec 2016 15:25:52
Original commit files touched by this commit  1.14.0
Revision:429624
marino search for other commits by this committer
lang/rust: Update distinfo.x86_64 for DragonFly support for v1.14

Preapproved by:	riggs
24 Dec 2016 19:40:55
Original commit files touched by this commit  1.14.0
Revision:429379
riggs search for other commits by this committer
Update to upstream version 1.14.0
15 Nov 2016 23:47:08
Original commit files touched by this commit  1.13.0
Revision:426192
marino search for other commits by this committer
lang/rust: Update distinfo.x86_64 for DragonFly support for v1.13

Preapproved by:	riggs
11 Nov 2016 21:45:40
Original commit files touched by this commit  1.13.0
Revision:425911
riggs search for other commits by this committer
Update to upstream version 1.13.0
02 Nov 2016 22:45:14
Original commit files touched by this commit  1.12.1
Revision:425174
mat search for other commits by this committer
Cleanup no longer needed CHMOD usage after r424898.

PR:		213743
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
22 Oct 2016 12:37:03
Original commit files touched by this commit  1.12.1
Revision:424470
riggs search for other commits by this committer
Update to upstream release 1.12.1

Release 1.12.1 is a maintenance release which fixes some
regressions in the 1.12.0 version, including memory corruption
under certain conditions. Details can be found in the release
announcement: https://blog.rust-lang.org/2016/10/20/Rust-1.12.1.html

MFH:		2016Q4
10 Oct 2016 23:54:26
Original commit files touched by this commit  1.12.0
Revision:423736
amdmi3 search for other commits by this committer
- Unconditionally verbosify build as per PHB

Approved by:	portmgr blanket
02 Oct 2016 01:07:32
Original commit files touched by this commit  1.12.0
Revision:423098
marino search for other commits by this committer
lang/rust: Update distinfo.x86_64 for DragonFly support for v1.12

Preapproved by:	riggs
01 Oct 2016 14:28:38
Original commit files touched by this commit  1.12.0
Revision:423067
riggs search for other commits by this committer
Update to upstream release 1.12.0
20 Aug 2016 23:28:17
Original commit files touched by this commit  1.11.0
Revision:420534
marino search for other commits by this committer
lang/rust: Update distinfo.x86_64 for DragonFly support for v1.11
20 Aug 2016 05:57:34
Original commit files touched by this commit  1.11.0
Revision:420500
riggs search for other commits by this committer
Update to upstream release 1.11.0
09 Aug 2016 21:41:25
Original commit files touched by this commit  1.10.0
Revision:419974
riggs search for other commits by this committer
Fix build with non-standard PREFIX

PR:		211686
Submitted by:	mi
26 Jul 2016 07:39:30
Original commit files touched by this commit  1.10.0
Revision:419100
dumbbell search for other commits by this committer
lang/rust-nightly: Update to 1.12.0; snapshot from 2016-07-17

Reviewed by:	asomers, jbeich, riggs
Approved by:	jbeich, riggs
Differential Revision:	https://reviews.freebsd.org/D7275
12 Jul 2016 11:49:50
Original commit files touched by this commit  1.10.0
Revision:418420
marino search for other commits by this committer
lang/rust: Update distinfo.x86_64 for DragonFly support

A custom bootstrap compiler package had to be created for DragonFly using
FreeBSD's as a model since upstream did not provide one for DF this time.

Approved by:	riggs (maintainer)
11 Jul 2016 10:47:33
Original commit files touched by this commit  1.10.0
Revision:418362
riggs search for other commits by this committer
Fix build with PORT_LLVM OPTION; rust now requires LLVM 3.8

Reported by:	Kevin Oberman <rkoberman@gmail.com> via e-mail
10 Jul 2016 04:20:09
Original commit files touched by this commit  1.10.0
Revision:418298
riggs search for other commits by this committer
Update to upstream version 1.10.0
02 Jul 2016 19:06:35
Original commit files touched by this commit  1.9.0_1
Revision:417938
riggs search for other commits by this committer
Add DOCS OPTION for html docs, bump PORTREVISION

PR:		210613
Reported by:	beyert@cs.ucr.edu
Reviewed by:	riggs, marino, jbeich
Differential Revision:	https://reviews.freebsd.org/D7050
31 May 2016 21:23:59
Original commit files touched by this commit  1.9.0
Revision:416219
riggs search for other commits by this committer
Update to upstream release 1.9.0
17 Apr 2016 10:33:47
Original commit files touched by this commit  1.8.0
Revision:413503
riggs search for other commits by this committer
Make recent stage0 snapshot known to build system on DragonFly

Language changes require very recent stage0 snapshots to build
rust 1.8.0. Upstream forgot to make these snapshots known to the
build system. While this was patched for FreeBSD in r413501, it
was missed for DragonFly. This changeset fixes this.
17 Apr 2016 10:21:20
Original commit files touched by this commit  1.8.0
Revision:413501
riggs search for other commits by this committer
Update to upstream version 1.8.0

While on it:
- Incorporate patch by jbeich (D5897) to allow build with gcc

Differential Revision:	https://reviews.freebsd.org/D5897
07 Apr 2016 07:17:45
Original commit files touched by this commit  1.7.0
Revision:412657
jbeich search for other commits by this committer
lang/rust: unbreak non-poudriere build after r412305

gmake[1]: Leaving directory '/wrkdirs/usr/ports/lang/rust/work/rustc-1.7.0'
sed:
/wrkdirs/usr/ports/lang/rust/work/stage/usr/local/lib/rustlib/manifest-rust-std-x86_64-unknown-:
No such file or directory
*** Error code 1

PR:		208527
Pointy hat:	jbeich
Tested by:	Marko Cupac <marko.cupac@mimar.rs>, pilot513@gmail.com
Approved by:	riggs (maintainer)
MFH:		2016Q2
02 Apr 2016 14:49:00
Original commit files touched by this commit  1.7.0
Revision:412407
jbeich search for other commits by this committer
lang/rust: enslave lang/rust-nightly

* rust: drop no longer used RUST_SOURCE variable
* rust: apply rust-nightly FIXME comment about stage-qa (strip)
* rust-nightly: properly conflict for install with rust package
* rust-nightly: inherit |make test| support from r401025
* rust-nightly: as DOCSDIR is the same drop unnecessary DOCS option

Approved by:	riggs, dumbbell (maintainers)
Differential Revision:	https://reviews.freebsd.org/D5789
01 Apr 2016 14:08:38
Original commit files touched by this commit  1.7.0
Revision:412347
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, categories h, i, j, k, and l.

With hat:	portmgr
Sponsored by:	Absolight
01 Apr 2016 01:16:08
Original commit files touched by this commit  1.7.0
Revision:412305
jbeich search for other commits by this committer
lang/rust: apply minor style

- Fix MIT view for LICENSES_ASK=1
- Convert BROKEN to new syntax
- Concatenate find(1) arguments and drop unnecessary `cd`
31 Mar 2016 20:04:49
Original commit files touched by this commit  1.7.0
Revision:412296
jbeich search for other commits by this committer
lang/rust: unblock DragonFly build

=> rust-stage0-.tar.bz2 doesn't seem to exist in /portdistfiles/.
=> Attempting to fetch
http://static.rust-lang.org/stage0-snapshots/rust-stage0-.tar.bz2
fetch: http://static.rust-lang.org/stage0-snapshots/rust-stage0-.tar.bz2: Not
Found

Reported by:	muscles.dragonflybsd.org
Approved by:	portmgr "just fix it" blanket
27 Mar 2016 17:10:15
Original commit files touched by this commit  1.7.0
Revision:411998
riggs search for other commits by this committer
Fix staging error on systems where security/sudo is present

PR:		207930
Reported by:	pete@hayes.id.au, kib (via mail)
25 Mar 2016 06:38:23
Original commit files touched by this commit  1.7.0
Revision:411819
riggs search for other commits by this committer
Re-enable build with ports LLVM by non-default OPTION

PR:		208250
Submitted by:	jbeich
05 Mar 2016 12:41:03
Original commit files touched by this commit  1.7.0
Revision:410175
riggs search for other commits by this committer
Update to upstream version 1.7.0
22 Jan 2016 06:13:25
Original commit files touched by this commit  1.6.0
Revision:406890
riggs search for other commits by this committer
Update to upstream version 1.6.0
13 Dec 2015 14:21:05
Original commit files touched by this commit  1.5.0
Revision:403672
riggs search for other commits by this committer
Update to upstream version 1.5.0; add OPTION to depend on gdb from ports
07 Nov 2015 22:17:36
Original commit files touched by this commit  1.4.0_1
Revision:401025
riggs search for other commits by this committer
- Take maintainership
- Provide target for 'make test': Use bundled rust regression test suite
- Use bundled LLVM for now: Built with it, rust passes more regression tests
- Bump PORTREVISION
30 Oct 2015 11:39:31
Original commit files touched by this commit  1.4.0
Revision:400535
riggs search for other commits by this committer
Update to upstream version 1.4.0
19 Sep 2015 18:22:07
Original commit files touched by this commit  1.3.0
Revision:397335
riggs search for other commits by this committer
Enable rust on i386
19 Sep 2015 12:18:13
Original commit files touched by this commit  1.3.0
Revision:397320
riggs search for other commits by this committer
Update to upstream version 1.3.0
12 Sep 2015 14:49:45
Original commit files touched by this commit  1.2.0
Revision:396750
dumbbell search for other commits by this committer
lang/rust and lang/rust-nightly: Build-conflict with themselves

A newer version of Rust fails to build if an older version is installed
because the build process picks libraries in %%LOCALBASE%%/lib before
those from the build directory.

In the pkg-plist of both ports, `x86_64-unknown-freebsd` is now a
variable automatically set in the Makefile. This avoids the need for a
separate port for DragonFlyBSD. [1]

Still in the pkg-plist, RUST_VSN_HASH is automatically computed in the
lang/rust's Makefile, like it was already done for lang/rust-nightly.

lang/rust-nightly USES libedit. patch-mk_main.mk was copied from
lang/rust so the correct library is picked (ie. the one from Ports, not
(Only the first 15 lines of the commit message are shown above View all of this commit message)
03 Sep 2015 15:22:08
Original commit files touched by this commit  1.2.0
Revision:395967
vanilla search for other commits by this committer
1: Upgrade to 1.2.0.
2: add libedit to USES.
27 Jun 2015 18:26:41
Original commit files touched by this commit  1.1.0
Revision:390720
riggs search for other commits by this committer
- Update to upstream release 1.1.0
- Fix bug 200449 in the process

PR:		201142, 200449
Submitted by:	andoriyu@gmail.com
24 Jun 2015 17:09:27
Original commit files touched by this commit  1.0.0_1
Revision:390497
dumbbell search for other commits by this committer
lang/rust: Use LLVM 3.6 from Ports instead of the bundled one

Dependencies are updated: Perl is not a dependency at all and Python is
a build dependency only.

Rust may fail to build if a previous version is already installed
because the bootstrapped rustc puts "-L/usr/local/lib" at the beginning
of the linker flags. Therefore, mark rust as a CONFLICTS_BUILD with
itself.

Fix the build as a normal user by setting permissions on all directories
to 0755 [1].

Be closer to the standalone installer's file hierarchy by installing
files such as "components", "manifest-rustc" and "uninstall.sh".

Add "files/patch-src_librustc__back_target_freebsd__base.rs"
to remove "-L/usr/local/lib", "-L/usr/local/lib/gcc46" and
"-L/usr/local/lib/gcc44" from the builtin linker flags.

Differential Revision:	https://reviews.freebsd.org/D2466
Submitted by:	Chris Hutchinson [1]
Reviewed by:	jonathan, kwm
Approved by:	jonathan
18 May 2015 22:32:18
Original commit files touched by this commit  1.0.0
Revision:386722
riggs search for other commits by this committer
- Update to first stable upstream release 1.0.0
- Reflect stable release in pkg-descr
- Pet portlint

PR:		200284
Submitted by:	maciej@pasternacki.net
Reviewed by:	riggs
26 Mar 2015 14:29:57
Original commit files touched by this commit  0.12.0_1
Revision:382320
marino search for other commits by this committer
lang/rust: Add special IGNORE for DragonFly

lang/rust-dragonfly is in dports and it is bleeding edge (updated every
couple of weeks)
29 Oct 2014 16:08:27
Original commit files touched by this commit  0.12.0_1
Revision:371692
robak search for other commits by this committer
lang/rust: add PORTREVISION mistakenly ommitted from yesterday's fix

Approved by:	mentors (implicit)
28 Oct 2014 14:21:29
Original commit files touched by this commit  0.12.0
Revision:371637
robak search for other commits by this committer
lang/rust: fixes

- Remove extra STRIP_CMD from the Makefile
- Fix SRIP_CMD that was stripping statically linked libraries

Approved by:	mentors (implicit)
26 Oct 2014 17:39:55
Original commit files touched by this commit  0.12.0
Revision:371509
robak search for other commits by this committer
lang/rust: update 0.11.0 -> 0.12.0

- Delete obsolete patch
- Convert to @dir usage

Approved by:	mentors (implicit)
20 Oct 2014 17:52:17
Original commit files touched by this commit  0.11.0_1
Revision:371288
mva search for other commits by this committer
- Convert ports of irc/ and lang/ to new USES=python

Approved by:	portmgr (implicit)
28 Jul 2014 22:58:33
Original commit files touched by this commit  0.11.0_1
Revision:363270
marino search for other commits by this committer
lang/rust: Fix link issue and build failure

[1] Linking fails with missing reference to __morestack symbol
[2] gpy fails with error about missing sem implementation

PR:		189357 [1]
PR:		191927 [2]
Submitted by:	bertrand.augereau (gmail) [1]
Submitted by:	maintainer: mitsuruike (gmail) [2]
23 Jul 2014 07:41:08
Original commit files touched by this commit  0.11.0
Revision:362630
danfe search for other commits by this committer
- Give the reason why the port is currently amd64-only
- Remove no-op patch file (builds just fine with -Werror as it seems)
- In BATCH or PACKAGE_BUILDING modes, produce verbose build logs
- Rework post-extract target: do not extract bootstrap compiler ourselves,
  put it into expected download directory instead; this also allows us to
  optimize away RUST_TARGET knob and post-patch hack
- Since the port is for FreeBSD 10+, no need to explicitly depend on
  libexecinfo.so
- Use OPTIONS helpers, perform some other minor Makefile cleanups
- Augment port description text while I am here
11 Jul 2014 07:27:38
Original commit files touched by this commit  0.11.0
Revision:361507
robak search for other commits by this committer
lang/rust: update 0.10 -> 0.11

Approved by:	marino (mentor)
10 Jun 2014 06:31:43
Original commit files touched by this commit  0.10
Revision:357273
linimon search for other commits by this committer
Reset maintainership.

PR:		190858
PR:		190859
PR:		190860
PR:		190861
PR:		190862
PR:		190863
PR:		190864
Submitted by:	former maintainer
Approved by:	portmgr (blanket)
20 May 2014 19:32:39
Original commit files touched by this commit  0.10
Revision:354670
tijl search for other commits by this committer
Quote ${CC} and similar variables in MAKE_ARGS.

Reported by:	Dominic Fandrey <kamikaze@bsdforen.de>
05 May 2014 15:31:20
Original commit files touched by this commit  0.10
Revision:353027
marino search for other commits by this committer
lang/rust: Couple OPSYS with OSVERSION (Unbreaks DragonFly)
27 Apr 2014 08:02:10
Original commit files touched by this commit  0.10
Revision:352402
swills search for other commits by this committer
- Update to 0.10
- Remove deprecated rustpkg functionality
- Stage improvements
- Add 10.x and 11.x compability
- Pet portlint

PR:		ports/188800
Submitted by:	Bartek Rutkowski <ports@robakdesign.com>
Approved by:	Jyun-Yan You <jyyou@cs.nctu.edu.tw> (maintainer)
15 Mar 2014 07:03:58
Original commit files touched by this commit  0.9
Revision:348291
eadler search for other commits by this committer
lang/rust: update to 0.9
- stagiy
- mark as broken on 10+
- update to 0.9
- add new options
- add LICENSE

PR:		ports/185868
PR:		ports/185865
Submitted by:	Oleksii Tsai <oleksii.tsai@googlemail.com>
Approved by:	Jyun-Yan You <jyyou@cs.nctu.edu.tw> (maintainer)
13 Jan 2014 21:00:04
Original commit files touched by this commit  0.8
Revision:339634
rene search for other commits by this committer
Python cleanup:
- USE_PYTHON* = 2.X -> USE_PYTHON* = 2
- USE_PYTHON* = 2.X+ -> USE_PYTHON* = yes
Reviewed by:	python (mva, rm)
Approved by:	portmgr-lurkers (mat)
06 Oct 2013 03:32:29
Original commit files touched by this commit  0.8
Revision:329526
vanilla search for other commits by this committer
Upgrade to 0.8.

PR:		ports/182502
Submitted by:	maintainer
20 Sep 2013 19:53:10
Original commit files touched by this commit  0.7
Revision:327741
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
lang)
17 Sep 2013 06:40:21
Refresh Original commit files touched by this commit
Revision:327452  Sanity Test Failure
bapt search for other commits by this committer
Convert to new perl framework
Convert from USE_GMAKE to USES=gmake
08 Sep 2013 15:10:43
Original commit files touched by this commit  0.7
Revision:326743
bdrewery search for other commits by this committer
Mark MAKE_JOBS_UNSAFE
09 Jul 2013 12:51:32
Original commit files touched by this commit  0.7
Revision:322557
vanilla search for other commits by this committer
Upgrade to 0.7.

PR:		ports/180405
Submitted by:	maintainer
24 Apr 2013 13:46:41
Original commit files touched by this commit  0.6
Revision:316436
lwhsu search for other commits by this committer
- Update to 0.6

PR:		ports/177665
Submitted by:	Jyun-Yan You <jyyou@cs.nctu.edu.tw> (maintainer)
07 Jan 2013 06:35:05
Original commit files touched by this commit  0.5
Revision:310023
lwhsu search for other commits by this committer
- Update to 0.5

PR:		ports/174670
Submitted by:	Jyun-Yan You <jyyou@cs.nctu.edu.tw> (maintainer)
18 Oct 2012 07:03:50
Original commit files touched by this commit  0.4
Revision:306053
vanilla search for other commits by this committer
Upgrade to 0.4.

PR:		ports/172791
Submitted by:	maintainer
Feature safe:   yes
19 Jul 2012 22:06:33
Original commit files touched by this commit  0.3
ak search for other commits by this committer
- Update to 0.3 (see
https://github.com/mozilla/rust/blob/release-0.3/RELEASES.txt)

PR:	ports/169906
Submitted by:	Jyun-Yan You <jyyou@cs.nctu.edu.tw> (maintainer)
28 Jun 2012 02:09:38
Original commit files touched by this commit  0.2
lwhsu search for other commits by this committer
- Use empty() to check if an option is not set

PR:             ports/169051
Submitted by:   Jyun-Yan You <jyyou@cs.nctu.edu.tw> (maintainer)
13 Jun 2012 17:01:04
Original commit files touched by this commit  0.2
lwhsu search for other commits by this committer
- Use the new options framework

PR:             ports/168703
Submitted by:   Jyun-Yan You <jyyou@cs.nctu.edu.tw> (maintainer)
24 May 2012 16:44:44
Original commit files touched by this commit  0.2
sperber search for other commits by this committer
- Add newline at the end of distinfo

Submitted by:   Alex Kozlov <spam _at_ rm-rf.kiev.ua> (maintainer)
Approved by:    beat (mentor)
22 May 2012 17:49:35
Original commit files touched by this commit  0.2
sperber search for other commits by this committer
This patch fixes the problem that it attempts to fetch a file during building.
It adds snapshot to distfiles and removes code for downloading.

PR:            ports/168223
Submitted by:  Jyun-Yan You <jyyou _at_ cs.nctu.edu.tw> (maintainer)
Reported by:   pointyhat-west
Approved by:   decke (mentor)
07 Apr 2012 16:22:24
Original commit files touched by this commit  0.2
scheidell search for other commits by this committer
- Update to 0.2
- The bootstrap compiler needs "cc" to link objects.

PR:             ports/166551
Submitted by:   Jyun-Yan You <jyyou@cs.nctu.edu.tw> (maintainer)
Feature safe:   yes
15 Mar 2012 15:28:13
Original commit files touched by this commit  0.1_1
gerald search for other commits by this committer
Replace USE_GCC=4.4+ by USE_GCC=4.6+, a noop on the build cluster.

Approved by:    maintainer (jyyou@cs.nctu.edu.tw)
Feature safe:   yes
02 Feb 2012 18:17:31
Original commit files touched by this commit  0.1_1
jgh search for other commits by this committer
- fix linker errors for systems that have installed llvm
- let clang build llvm
- fix build on ${OSVERSION} < 800107

PR: ports/164467
Submitted by: maintainer, jyyou at cs.nctu.edu.tw
Approved by:    crees (mentor)
23 Jan 2012 16:07:04
Original commit files touched by this commit  0.1
lwhsu search for other commits by this committer
Add rust 0.1, a language with a focus on memory safety and concurrency.

PR:             ports/164366
Submitted by:   Jyun-Yan You <jyyou@cs.nctu.edu.tw>

Number of commits found: 100

Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD

This site
What is FreshPorts?
About the authors
Issues
FAQ
How big is it?
The latest upgrade!
Privacy
Forums
Blog
Contact

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
jenkinsDec 15
jenkins-ltsDec 15
gitlabDec 14
nodeDec 14
node4Dec 14
node6Dec 14
node8Dec 14
torDec 14
asterisk13Dec 13
asterisk13*Dec 13
asterisk13*Dec 13
asterisk13*Dec 13
libxml2Dec 13
curl*Dec 11
linux-c7-curl*Dec 11

17 vulnerabilities affecting 108 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities

Last updated:
2017-12-15 16:33:45


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds

Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 32128
Broken 122
Deprecated 47
Ignore 358
Forbidden 0
Restricted 173
No CDROM 77
Vulnerable 43
Expired 10
Set to expire 39
Interactive 0
new 24 hours 0
new 48 hours6
new 7 days68
new fortnight110
new month45364

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2017 Dan Langille. All rights reserved.