non port: Mk/Uses/cargo.mk |
Number of commits found: 126 (showing only 26 on this page) |
Thursday, 14 Mar 2019
|
17:31 jbeich
USES=cargo to omit -C link-arg if LDFLAGS is empty
DPorts overrides USE_GCC logic and doesn't opt in into SSP_CFLAGS, so
its LDFLAGS are empty by default.
PR: 236529
Reported by: Antonio Huete Jimenez
|
Saturday, 2 Mar 2019
|
00:35 tobik
Mk/Uses/cargo.mk: Require ports gcc on powerpc64 same as lang/rust
PR: 235063
|
Thursday, 28 Feb 2019
|
18:51 jbeich
lang/rust: update to 1.33.0
- www/firefox temporarily loses SIMD in charset conversion, see
https://bugzilla.mozilla.org/show_bug.cgi?id=1521249
- Force rebuild all consumers to catch regressions early
Changes: https://blog.rust-lang.org/2019/02/28/Rust-1.33.0.html
Tested by: Mikael Urankar (aarch64, armv6, armv7, powerpc64), Piotr Kubaj
(powerpc64)
Approved by: rust (tobik)
Differential Revision: https://reviews.freebsd.org/D19354
|
18:47 jbeich
USES=cargo to update libc to 0.2.49 for Tier2
PR: 235063
Differential Revision: https://reviews.freebsd.org/D19309
|
Friday, 15 Feb 2019
|
12:04 tobik
Add a CRATESIO entry for crates.io to bsd.sites.mk
Switch cargo.mk over to it.
Differential Revision: https://reviews.freebsd.org/D19133
|
09:33 ale
Don't break when there are multiple libc versions in crates.
|
Friday, 8 Feb 2019
|
12:19 tobik
Mk/Uses/cargo.mk: Silence "you need USES=ssl" QA warning
We already have it via CARGO_CRATES=openssl-sys-*.
Differential Revision: https://reviews.freebsd.org/D19044
|
Thursday, 17 Jan 2019
|
19:50 jbeich
lang/rust: update to 1.32.0
- devel/racer no longer needs to dowgrade rustc-ap-syntax
- Force rebuild all consumers to catch regressions early
Changes: https://blog.rust-lang.org/2019/01/17/Rust-1.32.0.html
Approved by: rust (tobik)
Differential Revision: https://reviews.freebsd.org/D18858
|
Friday, 4 Jan 2019
|
04:00 jbeich
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
|
Sunday, 16 Dec 2018
|
12:08 tobik
Mk/Uses/cargo.mk: Fix install for Rust 2018 edition applications
`cargo install` currently fails with:
error: Using `cargo install` to install the binaries for the package
in current working directory is no longer supported, use `cargo
install --path .` instead.
Also see https://github.com/rust-lang/cargo/issues/5327
|
Friday, 14 Dec 2018
|
18:20 jbeich
USES=cargo to respect CC for linking
Reported by: tijl
Approved by: rust (tobik)
Differential Revision: https://reviews.freebsd.org/D18528
|
Thursday, 6 Dec 2018
|
17:11 jbeich
lang/rust: update to 1.31.0
- devel/racer no longer needs to dowgrade rustc-ap-syntax
- Force rebuild all consumers to catch regressions early
Changes: https://blog.rust-lang.org/2018/12/06/Rust-1.31.0.html
Approved by: rust (tobik)
Differential Revision: https://reviews.freebsd.org/D18427
|
17:07 jbeich
USES=cargo to convert LDFLAGS into RUSTFLAGS
Approved by: rust (tobik)
Differential Revision: https://reviews.freebsd.org/D18039
|
Thursday, 29 Nov 2018
|
11:05 tobik
Warn maintainers when OpenSSL 1.1.1 support is missing when using
an outdated openssl < 0.10.4 crate.
Submitted by: jbeich
Differential Revision: https://reviews.freebsd.org/D18292
|
Friday, 26 Oct 2018
|
16:18 tobik
Bump minimum Rust version after rP482993
|
Friday, 28 Sep 2018
|
18:47 tobik
Bump minimum Rust version in Mk/Uses/cargo.mk
Given that at least ripgrep will soon require Rust >= 1.28.0 [1]
and given the recently discovered buffer overflow vulnerability in
the standard library of Rust < 1.29.1 [2] bump it to 1.29.1 to avoid
surprises.
[1] https://github.com/BurntSushi/ripgrep/issues/1019
[2]
https://groups.google.com/forum/#!topic/rustlang-security-announcements/CmSuTm-SaU0
|
Friday, 21 Sep 2018
|
11:16 jbeich
lang/rust: unbundle libgit2/libssh2
- libgit2 in ports is nowadays newer than bundled version
- libssh2 was already unbundled until 1.29.0 update
- Unbundle libssh2 for USES=cargo (unused atm)
PR: 231411
Approved by: rust (dumbbell, tobik)
|
Tuesday, 4 Sep 2018
|
07:26 tobik
Mk/Uses/cargo.mk: Let 'cargo-crates' generate Cargo.lock if it does not exist
This will make maintaining ports easier when upstream does not
provide a Cargo.lock on its own.
It uses the crate registry and will output the newest crate versions
available based on the restrictions in Cargo.toml. As such subsequent
runs of `make cargo-crates` might not generate the same output.
Upstream should still be encouraged to provide Cargo.lock if possible.
Requested by: mat
Differential Revision: https://reviews.freebsd.org/D17003
|
Tuesday, 7 Aug 2018
|
19:55 tobik
Mk/Uses/cargo.mk: Fix crate name and version split (take 2)
cargo.mk is still too eager in splitting a crate's name and version
in two when the name contains a dash followed by a number. For
example with utf-8-0.7.4 the wrong URL ends up being used in
MASTER_SITES
.../utf/8-0.7.4/download/...
instead of
.../utf-8/0.7.4/download/...
PR: 230413
Reported by: Thomas Hurst <tom@hur.st>
|
Thursday, 14 Jun 2018
|
09:56 tobik
Mk/Uses/cargo.mk: Encode more crate build dependencies
- Add build/lib dependencies, environment variables to ports using
the backtrace-sys, freetype-sys, gettext-sys, onig_sys,
thrussh-libsodium crates instead of doing this individually for
every port.
- Add a DEV_WARNING when using libc versions < 0.2.37 to prevent
instability of Rust applications on 12.0-CURRENT [1]
- Sort cargo-crates-licenses output
Reviewed by: pizzamig, jbeich [1]
Differential Revision: https://reviews.freebsd.org/D15463
|
Wednesday, 29 Nov 2017
|
11:06 tobik
Mk/Uses/cargo.mk: Respect CPUTYPE
C and C++ code can be built targeting newer CPUs if user defined
CPUTYPE in make.conf. Let's opt-in for Rust as well.
PR: 223939
Submitted by: jbeich
|
Sunday, 15 Oct 2017
|
14:05 madpilot
Retire WITHOUT_DEBUG flag.
The flag has partial support across the tree, and the same effect
can be obtained by using ".undef WITH_DEBUG".
Reviewed by: mat, rene
Approved by: portmgr (rene)
Differential Revision: https://reviews.freebsd.org/D12548
|
Thursday, 12 Oct 2017
|
10:51 tobik
Mk/Uses/cargo.mk: Fix crate name and version split
cargo.mk is a little too eager in splitting a crate's name and version
in two when the version contains a dash (e.g. csv-1.0.0-beta.4) and
the wrong URL ends up being used in MASTER_SITES e.g.
.../csv-1.0.0/beta.4/download/...
instead of the correct one
.../csv/1.0.0-beta.4/download/...
Reviewed by: dumbbell
Differential Revision: https://reviews.freebsd.org/D12628
|
Friday, 22 Sep 2017
|
13:57 dumbbell
Mk/Uses/cargo.mk: Fix version of Rust which started to ship Cargo
Cargo started to ship with Rust in 1.19.0_2. I forgot to indicate the
port revision in the 1.19.0_2 commit.
Reported by: jbeich@
Differential Revision: https://reviews.freebsd.org/D12460
|
Friday, 15 Sep 2017
|
18:01 dumbbell
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,
in order to allow offline builds). So now, we don't need to prepare the
registry when updating this port.
This has several other benefits:
* It fixes the build with sudo(8).
* It fixes the use of the ino-64 patch (it was not applied to the
registry, thus not used).
Compilation errors were fixed in the ino-64 patch.
Various `.cargo-checksum.json` files are updated after the sources are
patched (FBSD10_FIX, ino-64, and so on). This fixes builds which were
failing with errors such as:
error: the listed checksum of
`.../rustc-1.19.0-src/src/vendor/lzma-sys/xz-5.2.3/build-aux/config.rpath` has
changed:
expected: c8b4c017079da9dfb3086a0583e60ffe736184d89005dc5973f0bb0fd17c04bb
actual: 561b00eb30ecaef2c9da17bc195e7d2a7ea63facea38ea9849fbb0ed340bebba
PR: 221088
Reported by: joneum@, nwhitehorn@, romain@,
Ekaterina Vaartis <vaartis@cock.li>,
david@catwhisker.org,
fullermd@over-yonder.net,
rum1cro@yandex.ru,
w.schwarzenfeld@utanet.at
Differential Revision: https://reviews.freebsd.org/D11783
|
Wednesday, 21 Jun 2017
|
16:22 tobik
Add USES=cargo to make creating ports of Rust applications easier
Approved by: mat (mentor)
Reviewed by: dumbbell, mat
Differential Revision: https://reviews.freebsd.org/D11162
|
Number of commits found: 126 (showing only 26 on this page) |