From owner-svn-ports-all@freebsd.org Fri Jan 4 04:00:42 2019 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 56A5E144133B; Fri, 4 Jan 2019 04:00:42 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F122D77208; Fri, 4 Jan 2019 04:00:41 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id CB2AF2B222; Fri, 4 Jan 2019 04:00:41 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x0440fpW018880; Fri, 4 Jan 2019 04:00:41 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x0440es5018203; Fri, 4 Jan 2019 04:00:40 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201901040400.x0440es5018203@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Fri, 4 Jan 2019 04:00:40 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r489241 - in head: Mk Mk/Uses devel/rust-cbindgen net-im/fractal security/kr security/suricata www/cliqz X-SVN-Group: ports-head X-SVN-Commit-Author: jbeich X-SVN-Commit-Paths: in head: Mk Mk/Uses devel/rust-cbindgen net-im/fractal security/kr security/suricata www/cliqz X-SVN-Commit-Revision: 489241 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: F122D77208 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.98 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.997,0]; NEURAL_HAM_SHORT(-0.98)[-0.982,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-0.998,0] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jan 2019 04:00:42 -0000 Author: jbeich Date: Fri Jan 4 04:00:39 2019 New Revision: 489241 URL: https://svnweb.freebsd.org/changeset/ports/489241 Log: Allow overriding rust dependency Add DEFAULT_VERSIONS+=rust=rust-nightly to make.conf(5) if you want to build consumers using lang/rust-nightly. Approved by: rust (tobik) MFH: 2019Q1 (avoid merge conflicts during www/firefox updates) Differential Revision: https://reviews.freebsd.org/D18634 Modified: head/Mk/Uses/cargo.mk (contents, props changed) head/Mk/bsd.default-versions.mk (contents, props changed) head/Mk/bsd.gecko.mk (contents, props changed) head/devel/rust-cbindgen/Makefile (contents, props changed) head/net-im/fractal/Makefile (contents, props changed) head/security/kr/Makefile (contents, props changed) head/security/suricata/Makefile (contents, props changed) head/www/cliqz/Makefile (contents, props changed) Modified: head/Mk/Uses/cargo.mk ============================================================================== --- head/Mk/Uses/cargo.mk Fri Jan 4 01:20:56 2019 (r489240) +++ head/Mk/Uses/cargo.mk Fri Jan 4 04:00:39 2019 (r489241) @@ -46,7 +46,7 @@ DISTFILES+= ${CARGO_DIST_SUBDIR}/${_crate}.tar.gz:carg CARGO_BUILDDEP?= yes .if ${CARGO_BUILDDEP:tl} == "yes" -BUILD_DEPENDS+= rust>=1.31.0:lang/rust +BUILD_DEPENDS+= ${RUST_DEFAULT}>=1.31.0:lang/${RUST_DEFAULT} .endif # Location of cargo binary (default to lang/rust's Cargo binary) Modified: head/Mk/bsd.default-versions.mk ============================================================================== --- head/Mk/bsd.default-versions.mk Fri Jan 4 01:20:56 2019 (r489240) +++ head/Mk/bsd.default-versions.mk Fri Jan 4 04:00:39 2019 (r489241) @@ -88,6 +88,8 @@ PYTHON2_DEFAULT?= 2.7 PYTHON3_DEFAULT?= 3.6 # Possible values: 2.3, 2.4, 2.5 RUBY_DEFAULT?= 2.4 +# Possible values: rust, rust-nightly +RUST_DEFAULT?= rust # Possible values: 4.6, 4.7, 4.8 SAMBA_DEFAULT?= 4.7 # Possible values: base, openssl, openssl111, libressl, libressl-devel Modified: head/Mk/bsd.gecko.mk ============================================================================== --- head/Mk/bsd.gecko.mk Fri Jan 4 01:20:56 2019 (r489240) +++ head/Mk/bsd.gecko.mk Fri Jan 4 04:00:39 2019 (r489241) @@ -339,8 +339,7 @@ post-patch-SNDIO-on: .endif .if ${PORT_OPTIONS:MRUST} || ${MOZILLA_VER:R:R} >= 54 -BUILD_DEPENDS+= ${RUST_PORT:T}>=1.29:${RUST_PORT} -RUST_PORT?= lang/rust +BUILD_DEPENDS+= ${RUST_DEFAULT}>=1.29:lang/${RUST_DEFAULT} . if ${MOZILLA_VER:R:R} < 54 MOZ_OPTIONS+= --enable-rust . endif Modified: head/devel/rust-cbindgen/Makefile ============================================================================== --- head/devel/rust-cbindgen/Makefile Fri Jan 4 01:20:56 2019 (r489240) +++ head/devel/rust-cbindgen/Makefile Fri Jan 4 04:00:39 2019 (r489241) @@ -12,7 +12,7 @@ COMMENT= Generate C bindings from Rust code LICENSE= MPL20 -RUN_DEPENDS= cargo:lang/rust +RUN_DEPENDS= cargo:lang/${RUST_DEFAULT} USES= cargo USE_GITHUB= yes Modified: head/net-im/fractal/Makefile ============================================================================== --- head/net-im/fractal/Makefile Fri Jan 4 01:20:56 2019 (r489240) +++ head/net-im/fractal/Makefile Fri Jan 4 04:00:39 2019 (r489241) @@ -13,7 +13,7 @@ LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/LICENSE.txt # gmake for the backtrace-sys crate -BUILD_DEPENDS= cargo:lang/rust \ +BUILD_DEPENDS= cargo:lang/${RUST_DEFAULT} \ gmake:devel/gmake LIB_DEPENDS= libdbus-1.so:devel/dbus \ libgmp.so:math/gmp \ Modified: head/security/kr/Makefile ============================================================================== --- head/security/kr/Makefile Fri Jan 4 01:20:56 2019 (r489240) +++ head/security/kr/Makefile Fri Jan 4 04:00:39 2019 (r489241) @@ -13,7 +13,7 @@ BROKEN= fails to build NOT_FOR_ARCHS= i386 NOT_FOR_ARCHS_REASON= Uses 64bit types -BUILD_DEPENDS= rust>=1.19.0_2:lang/rust \ +BUILD_DEPENDS= ${RUST_DEFAULT}>=1.19.0_2:lang/${RUST_DEFAULT} \ bash>0:shells/bash USES= gmake go shebangfix Modified: head/security/suricata/Makefile ============================================================================== --- head/security/suricata/Makefile Fri Jan 4 01:20:56 2019 (r489240) +++ head/security/suricata/Makefile Fri Jan 4 04:00:39 2019 (r489241) @@ -112,7 +112,7 @@ REDIS_CONFIGURE_ON= --enable-hiredis \ --with-libhiredis-includes=${LOCALBASE}/include \ --with-libhiredis-libraries=${LOCALBASE}/lib -RUST_BUILD_DEPENDS= rustc:lang/rust +RUST_BUILD_DEPENDS= rustc:lang/${RUST_DEFAULT} RUST_CONFIGURE_ENABLE= rust TESTS_CONFIGURE_ENABLE= unittests Modified: head/www/cliqz/Makefile ============================================================================== --- head/www/cliqz/Makefile Fri Jan 4 01:20:56 2019 (r489240) +++ head/www/cliqz/Makefile Fri Jan 4 04:00:39 2019 (r489241) @@ -44,7 +44,7 @@ BUILD_DEPENDS= autoconf-2.13:devel/autoconf213 \ png>=1.6.34:graphics/png \ ${LOCALBASE}/include/pulse/pulseaudio.h:audio/pulseaudio \ ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \ - rust>=1.28:lang/rust \ + ${RUST_DEFAULT}>=1.28:lang/${RUST_DEFAULT} \ rust-cbindgen>=0.6.2:devel/rust-cbindgen \ sqlite3>=3.24.0:databases/sqlite3 \ v4l_compat>0:multimedia/v4l_compat \