svn commit: r443109 - in head/lang/rust: . files

Thomas Zander riggs at FreeBSD.org
Sat Jun 10 17:49:00 UTC 2017


Author: riggs
Date: Sat Jun 10 17:48:58 2017
New Revision: 443109
URL: https://svnweb.freebsd.org/changeset/ports/443109

Log:
  Update to upstream version 1.18.0, set MAINTAINER to rust@

Modified:
  head/lang/rust/Makefile
  head/lang/rust/distinfo
  head/lang/rust/files/patch-src_librustc__llvm_build.rs

Modified: head/lang/rust/Makefile
==============================================================================
--- head/lang/rust/Makefile	Sat Jun 10 17:48:23 2017	(r443108)
+++ head/lang/rust/Makefile	Sat Jun 10 17:48:58 2017	(r443109)
@@ -2,10 +2,11 @@
 # $FreeBSD$
 
 PORTNAME=	rust
-PORTVERSION?=	1.17.0
+PORTVERSION?=	1.18.0
 CATEGORIES=	lang
 MASTER_SITES=	http://static.rust-lang.org/dist/:src \
 		https://static.rust-lang.org/dist/:rust_bootstrap \
+		https://static.rust-lang.org/dist/:cargo_bootstrap \
 		https://s3.amazonaws.com/rust-lang-ci/cargo-builds/:cargo_bootstrap \
 		LOCAL/marino:bootstrap
 DISTNAME?=	${PORTNAME}c-${PORTVERSION}-src
@@ -22,7 +23,7 @@ DISTFILES+=	${CARGO_REGISTRY}:registry
 DIST_SUBDIR?=	rust
 EXTRACT_ONLY?=	${DISTFILES:N*\:*bootstrap:C/:.*//}
 
-MAINTAINER?=	riggs at FreeBSD.org
+MAINTAINER?=	rust at FreeBSD.org
 COMMENT=	Language with a focus on memory safety and concurrency
 
 LICENSE=	APACHE20 \
@@ -43,13 +44,13 @@ CONFLICTS_BUILD?=	rust-nightly
 CONFLICTS_BUILD+=	${PKGBASE}
 CONFLICTS_INSTALL?=	rust-nightly
 
-RUST_BOOTSTRAP_DIR?=		2017-03-11
-RUST_BOOTSTRAP_VERSION?=	1.16.0
+RUST_BOOTSTRAP_DIR?=		2017-04-27
+RUST_BOOTSTRAP_VERSION?=	1.17.0
 RUSTC_BOOTSTRAP=		${RUST_BOOTSTRAP_DIR}/rustc-${RUST_BOOTSTRAP_VERSION}-${RUST_TARGET}.tar.gz
 RUST_STD_BOOTSTRAP=		${RUST_BOOTSTRAP_DIR}/rust-std-${RUST_BOOTSTRAP_VERSION}-${RUST_TARGET}.tar.gz
 
-CARGO_BOOTSTRAP_DIR?=		6b05583d71f982bcad049b9fa094c637c062e751
-CARGO_BOOTSTRAP_VERSION?=	nightly
+CARGO_BOOTSTRAP_DIR?=		${RUST_BOOTSTRAP_DIR}
+CARGO_BOOTSTRAP_VERSION?=	0.18.0
 CARGO_BOOTSTRAP=		${CARGO_BOOTSTRAP_DIR}/cargo-${CARGO_BOOTSTRAP_VERSION}-${RUST_TARGET}.tar.gz
 CARGO_REGISTRY=			${PORTNAME}-registry-${DISTVERSIONFULL}.tar.xz
 

Modified: head/lang/rust/distinfo
==============================================================================
--- head/lang/rust/distinfo	Sat Jun 10 17:48:23 2017	(r443108)
+++ head/lang/rust/distinfo	Sat Jun 10 17:48:58 2017	(r443109)
@@ -1,17 +1,17 @@
-TIMESTAMP = 1494452289
-SHA256 (rust/rustc-1.17.0-src.tar.gz) = 4baba3895b75f2492df6ce5a28a916307ecd1c088dc1fd02dbfa8a8e86174f87
-SIZE (rust/rustc-1.17.0-src.tar.gz) = 31570599
-SHA256 (rust/2017-03-11/rustc-1.16.0-x86_64-unknown-freebsd.tar.gz) = d88e4990850cf8bbcc26c5209008b1ecf18fedec1520c33e9aa991f71dcdd45b
-SIZE (rust/2017-03-11/rustc-1.16.0-x86_64-unknown-freebsd.tar.gz) = 41099546
-SHA256 (rust/2017-03-11/rust-std-1.16.0-x86_64-unknown-freebsd.tar.gz) = d228af9d8600394e5fe706495c715065f8cd03b987bec1e95fb6ca761f252ad5
-SIZE (rust/2017-03-11/rust-std-1.16.0-x86_64-unknown-freebsd.tar.gz) = 54920061
-SHA256 (rust/6b05583d71f982bcad049b9fa094c637c062e751/cargo-nightly-x86_64-unknown-freebsd.tar.gz) = 924b172afe6a990ae19b346ef5ca2a6203f68a22af8d7229039fdc28068ff125
-SIZE (rust/6b05583d71f982bcad049b9fa094c637c062e751/cargo-nightly-x86_64-unknown-freebsd.tar.gz) = 4970379
-SHA256 (rust/2017-03-11/rustc-1.16.0-i686-unknown-freebsd.tar.gz) = 6d32e211c0e9d33adc65f96f06d3996d8e167a29df85ddc6d877d424f82c7443
-SIZE (rust/2017-03-11/rustc-1.16.0-i686-unknown-freebsd.tar.gz) = 42809380
-SHA256 (rust/2017-03-11/rust-std-1.16.0-i686-unknown-freebsd.tar.gz) = 62c2f030cefe475b7c9e349543f134d3a9ad22830b0422db8230f47e7619fc5f
-SIZE (rust/2017-03-11/rust-std-1.16.0-i686-unknown-freebsd.tar.gz) = 56177493
-SHA256 (rust/6b05583d71f982bcad049b9fa094c637c062e751/cargo-nightly-i686-unknown-freebsd.tar.gz) = d78cf656a4393e2b65d03391e29081fa6e337fd2cf4ad896227a385cbbec7cf4
-SIZE (rust/6b05583d71f982bcad049b9fa094c637c062e751/cargo-nightly-i686-unknown-freebsd.tar.gz) = 4793178
-SHA256 (rust/rust-registry-1.17.0.tar.xz) = 6f42ca97bbcc195d8140a3e62db6797c8ed2e86ed763b7c63aaf32edcbcd2556
-SIZE (rust/rust-registry-1.17.0.tar.xz) = 7364540
+TIMESTAMP = 1497099586
+SHA256 (rust/2017-04-27/rustc-1.17.0-x86_64-unknown-freebsd.tar.gz) = 7eb40cae153251596668a76ff8d4852a6d40249d8d0bc11dc8e15f58379c63e7
+SIZE (rust/2017-04-27/rustc-1.17.0-x86_64-unknown-freebsd.tar.gz) = 41907092
+SHA256 (rust/2017-04-27/rust-std-1.17.0-x86_64-unknown-freebsd.tar.gz) = 2ddbd37c51b9d6496448393ccf1940f3dd8f44720205f869cf98e151b4faeafe
+SIZE (rust/2017-04-27/rust-std-1.17.0-x86_64-unknown-freebsd.tar.gz) = 56083145
+SHA256 (rust/2017-04-27/cargo-0.18.0-x86_64-unknown-freebsd.tar.gz) = 171147f876c08cf82a6da60fabf737fd580df90e2fec9c57368642beaea67450
+SIZE (rust/2017-04-27/cargo-0.18.0-x86_64-unknown-freebsd.tar.gz) = 5039329
+SHA256 (rust/rustc-1.18.0-src.tar.gz) = d2dc36e99b9e2269488b2bcddde43c234e6bde03edf70cba82a027ff49c36111
+SIZE (rust/rustc-1.18.0-src.tar.gz) = 33111774
+SHA256 (rust/2017-04-27/rustc-1.17.0-i686-unknown-freebsd.tar.gz) = c6d9685862ad8c539698e8d2a936598bb5d57c8cd074e03c66aa4367453ddf50
+SIZE (rust/2017-04-27/rustc-1.17.0-i686-unknown-freebsd.tar.gz) = 43636047
+SHA256 (rust/2017-04-27/rust-std-1.17.0-i686-unknown-freebsd.tar.gz) = 51304792a00ce0009be97f802511df0bd18abae3892ddc3f3828fa60e94996ff
+SIZE (rust/2017-04-27/rust-std-1.17.0-i686-unknown-freebsd.tar.gz) = 57341618
+SHA256 (rust/2017-04-27/cargo-0.18.0-i686-unknown-freebsd.tar.gz) = 30ec4cfc667e3a8fca3cb0377b6a6f5dbcd19ad7143046db24e37432646e60a2
+SIZE (rust/2017-04-27/cargo-0.18.0-i686-unknown-freebsd.tar.gz) = 4914461
+SHA256 (rust/rust-registry-1.18.0.tar.xz) = 86c74c61aec5b94c9db9f569e6aa5cfeab2dde2a4ba73ea1da4c7320b31f5b36
+SIZE (rust/rust-registry-1.18.0.tar.xz) = 7714840

Modified: head/lang/rust/files/patch-src_librustc__llvm_build.rs
==============================================================================
--- head/lang/rust/files/patch-src_librustc__llvm_build.rs	Sat Jun 10 17:48:23 2017	(r443108)
+++ head/lang/rust/files/patch-src_librustc__llvm_build.rs	Sat Jun 10 17:48:58 2017	(r443109)
@@ -1,11 +1,11 @@
---- src/librustc_llvm/build.rs.orig	2017-02-09 01:37:48 UTC
+--- src/librustc_llvm/build.rs.orig	2017-06-06 00:42:59 UTC
 +++ src/librustc_llvm/build.rs
-@@ -233,6 +233,8 @@ fn main() {
-     // OpenBSD has a particular C++ runtime library name
+@@ -241,6 +241,8 @@ fn main() {
      let stdcppname = if target.contains("openbsd") {
+         // OpenBSD has a particular C++ runtime library name
          "estdc++"
 +    } else if target.contains("freebsd") {
 +        "c++"
-     } else {
-         "stdc++"
-     };
+     } else if target.contains("netbsd") && llvm_static_stdcpp.is_some() {
+         // NetBSD uses a separate library when relocation is required
+         "stdc++_pic"


More information about the svn-ports-all mailing list