93 Commits

Author SHA1 Message Date
Mikael Urankar
7e86fe10e4 lang/rust: Update to 1.78.0
While here, disable RUST_BACKTRACE on ppc64le only

Announce:	https://blog.rust-lang.org/2024/05/02/Rust-1.78.0.html
ChangeLog:	https://github.com/rust-lang/rust/releases/tag/1.78.0

PR:		278834
Tested by:	pkubaj,mikael
2024-05-13 13:03:21 +02:00
Mikael Urankar
73941e6741 lang/rust: Update to 1.77.0
Announce:	https://blog.rust-lang.org/2024/03/21/Rust-1.77.0.html
ChangeLog:	https://github.com/rust-lang/rust/releases/tag/1.77.0

PR:		277786
Tested by:	mikael
2024-03-23 10:41:45 +01:00
Mikael Urankar
2252f9df9d lang/rust: Update to 1.76.0
Announce:	https://blog.rust-lang.org/2024/02/08/Rust-1.76.0.html
ChangeLog:	https://github.com/rust-lang/rust/releases/tag/1.76.0

PR:		276920
Tested by:	mikael,pkubaj
2024-02-19 12:59:01 +01:00
Mikael Urankar
ba388fc3bb lang/rust: Update to 1.75.0
Announce:	https://blog.rust-lang.org/
ChangeLog:	https://github.com/rust-lang/rust/releases/tag/1.75.0

PR:		276033
Tested by:	mikael,pkubaj
2024-01-09 13:13:49 +01:00
Muhammad Moinur Rahman
bbab7f59e9 */*: Sunset 12.4-RELEASE/12-STABLE from ports tree
- Remove all references to defunct ARCH arm
- Remove all references to defunct ARCH sparc64
- Remove x11-drivers/xf86-video-sunffb which requires defunct sparc64
  ARCH
- Remove sysutils/afbinit requires defunct sparc64 ARCH
- Remove all references to bktr driver
- Remove all references to defunct FreeBSD_12
- Remove all references to OSVERSION/OSREL corresponding to 12
- Remove conditionals in Mk/Uses/cabal.mk
- Remove sparc reference from Mk/Uses/qt-dist.mk
- Remove BROKEN_sparc64/NOT_FOR_ARCH=sparc64
- Remove BROKEN_FreeBSD_12* from:
- Remove OpenSSL patches from:
- Remove conditional flags for OSVERSION >= 1300000 to fixed flags.
  Also move conditional flags for non sparc64/arm ARCH to fixed flags.

Reviewed by:	brooks, jbeich, rene, salvadore
Differential Revision: https://reviews.freebsd.org/D42068
2023-12-31 01:37:05 +01:00
Mikael Urankar
c926bbff4b lang/rust: Update to 1.74.1
Announce:	https://blog.rust-lang.org/2023/12/07/Rust-1.74.0.html
		https://blog.rust-lang.org/2023/11/16/Rust-1.74.1.html
ChangeLog:	https://github.com/rust-lang/rust/releases/tag/1.74.0
		https://github.com/rust-lang/rust/releases/tag/1.74.1

PR:		275243
Tested by:	mikael,pkubaj
2023-12-08 16:02:25 +01:00
Mikael Urankar
13de47f0ac lang/rust: Update to 1.73.0
Announce:	https://blog.rust-lang.org/2023/10/05/Rust-1.73.0.html
ChangeLog:	https://github.com/rust-lang/rust/releases/tag/1.73.0

PR:		274499
Tested by:	mikael,pkubaj
2023-10-24 12:21:32 +02:00
Mikael Urankar
fa87481392 lang/rust: Update to 1.72.0
Announce:	https://blog.rust-lang.org/2023/08/24/Rust-1.72.0.html
ChangeLog:	https://github.com/rust-lang/rust/releases/tag/1.72.0

PR:		244316
Tested by:	mikael,pkubaj
2023-09-08 11:05:43 +02:00
Mikael Urankar
e3d08dfcd4 lang/rust: Update to 1.71.0
Announce:	https://blog.rust-lang.org/2023/07/13/Rust-1.71.0.html
ChangeLog:	https://github.com/rust-lang/rust/releases/tag/1.71.0

PR:		272449
Tested by:	mikael,pkubaj,vishwin
2023-07-17 17:57:41 +02:00
Rene Ladan
3d9a815d9c all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.

Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.

finance/quickfix: mark BROKEN with PYTHON

libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++ -DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable -Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi -Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings -Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x -MT _quickfix_la-QuickfixPython.lo -MD -MP -MF .deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp  -fPIC -DPIC -o .libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
          ^~~~~~~~~~
1 warning and 1 error generated.

Reviewed by:	portmgr, vishwin, yuri
Differential Revision:	<https://reviews.freebsd.org/D40568>
2023-06-27 21:34:34 +02:00
Mikael Urankar
6b9789547d lang/rust: Update to 1.70.0
Announce:	https://blog.rust-lang.org/2023/06/01/Rust-1.70.0.html
ChangeLog:	https://github.com/rust-lang/rust/releases/tag/1.70.0

PR:		271797
Tested by:	mikael,pkubaj
2023-06-09 13:38:15 +02:00
Mikael Urankar
8cc5eb3159 lang/rust: Update to 1.69.0
Announce:	https://blog.rust-lang.org/2023/04/20/Rust-1.69.0.html
ChangeLog:	https://github.com/rust-lang/rust/releases/tag/1.69.0

PR:		270953
Tested by:	mikael,pkubaj
2023-04-23 15:13:48 +02:00
Mikael Urankar
a22be893ea lang/rust: Update to 1.68.0
Announce:	https://blog.rust-lang.org/2023/03/09/Rust-1.68.0.html
ChangeLog:	https://github.com/rust-lang/rust/releases/tag/1.68.0

PR:		270080
Tested by:	mikael,pkubaj
2023-03-16 12:11:14 +01:00
Mikael Urankar
be2a720ce7 lang/rust: Update to 1.67.1
Announce:	https://blog.rust-lang.org/2023/01/26/Rust-1.67.0.html
		https://blog.rust-lang.org/2023/02/09/Rust-1.67.1.html
ChangeLog:      https://github.com/rust-lang/rust/releases/tag/1.67.0
		https://github.com/rust-lang/rust/releases/tag/1.67.1

PR:		269336
Reviewed by:	pkubaj
Tested by:	mikael,pkubaj
2023-02-13 10:38:08 +01:00
Piotr Kubaj
0f2b3db66a lang/rust-bootstrap: enable on powerpc64
All the flavors (apart from armv7, for which no armv7-freebsd-sysroot is available on big-endian) build.
2023-01-28 15:32:40 +00:00
Piotr Kubaj
30308e8902 lang/rust-bootstrap: remove old armv6-related entry 2022-12-29 21:17:59 +00:00
Piotr Kubaj
beba8b0b8d lang/rust-bootstrap: add powerpc64 flavor 2022-12-29 21:16:45 +00:00
Mikael Urankar
0f9b08f604 lang/rust: Update to 1.66.0
Announce:	https://blog.rust-lang.org/2022/12/15/Rust-1.66.0.html
ChangeLog:	https://github.com/rust-lang/rust/releases/tag/1.66.0
PR:		268415
Exp-run by:	antoine
Tested by:	mikael,pkubaj
2022-12-20 18:36:07 +01:00
Mikael Urankar
b7ddc05690 lang/rust-bootstrap: Do not build with debug=true on riscv64
It causes a build failure with rust 1.66.0

Reported upstream as https://github.com/rust-lang/rust/issues/105957

PR:		268415
2022-12-20 18:36:06 +01:00
Antoine Brodin
45373222a9 lang/rust-bootstrap: sync flavors with freebsd-sysroot 2022-12-14 17:46:40 +00:00
Mikael Urankar
af39fba608 lang/rust: Update to 1.65.0
Announce:	https://blog.rust-lang.org/2022/11/03/Rust-1.65.0.html
ChangeLog:	https://github.com/rust-lang/rust/releases/tag/1.65.0

PR:		267622
Reviewed by:	tokib, pkubaj
Tested by:	mikael, pkubaj
2022-11-17 08:06:13 +01:00
Mikael Urankar
264a6c503e lang/rust: Update to 1.64.0
Announce: https://blog.rust-lang.org/2022/09/22/Rust-1.64.0.html
ChangeLog: https://github.com/rust-lang/rust/releases/tag/1.64.0

PR:		267173
2022-10-30 13:07:07 +01:00
Daniel Engberg
e2438a86b8 */*: Update path set in BUILD_DEPENDS for CMake in more ports
Commit b23ea4e2d2f51b53d8915fe9fd7b4efbdd575e38 changed its location to
devel/cmake-core

Approved by:	portmgr (blanket)
2022-09-09 23:02:04 +02:00
Stefan Eßer
fb16dfecae Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
2022-09-07 23:58:51 +02:00
Stefan Eßer
b7f05445c0 Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.

This commit implements such a proposal and moves one of the WWW: entries
of each pkg-descr file into the respective port's Makefile. A heuristic
attempts to identify the most relevant URL in case there is more than
one WWW: entry in some pkg-descr file. URLs that are not moved into the
Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr
files in order to preserve them.

There are 1256 ports that had no WWW: entries in pkg-descr files. These
ports will not be touched in this commit.

The portlint port has been adjusted to expect a WWW entry in each port
Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as
deprecated.

Approved by:		portmgr (tcberner)
2022-09-07 23:10:59 +02:00
Baptiste Daroussin
b9b250f912 rust: bring back update to 1.63
Revert back the revert of the update of rust and related commits

This revert was drive by beside validation by portmgr via exp-run
and not respectful of the etiquette we have between committers

This reverts commit 8ecb1f8141144c1603eb4026122d2e60eeaccd64.
This reverts commit 04d257baa182926cff158f32cf459e560426add0.
This reverts commit 2757c63bd0e6d01f9f0657fe03bb3a7b49adcae2.
This reverts commit 75f4713de5e3fbd1c6a0cb572e08121814a4072e.
This reverts commit e88e592111c86fdd1c0ac8717dbef9342e15e27c.
This reverts commit 783c056d7d681d66e2c5c59251c275d65274028e.

With hat:	portmgr
2022-08-25 16:49:50 +02:00
Piotr Kubaj
8ecb1f8141 Revert "lang/rust: Update to 1.63.0"
This reverts commit f36cc819accadae1fefc14c203e5fbe9c74e1492.

I asked for an exp-run for powerpc and powerpc64 on a recently provided
cluster machine but got no reply.

PR:	265915
2022-08-25 12:49:36 +02:00
Mikael Urankar
f36cc819ac lang/rust: Update to 1.63.0
Announce:		https://blog.rust-lang.org/2022/08/11/Rust-1.63.0.html
ChangeLog:		https://github.com/rust-lang/rust/releases/tag/1.63.0
Tested by:		mikael, pkubaj
Exp-run by:		antoine
Differential Revision:	https://reviews.freebsd.org/D36247
2022-08-25 10:50:04 +02:00
Mikael Urankar
558a5e4515 lang/rust: Update to 1.62.0
Announce:	https://blog.rust-lang.org/2022/06/30/Rust-1.62.0.html
ChangeLog:	https://github.com/rust-lang/rust/blob/master/RELEASES.md#version-1610-2022-06-30
Tested by:	mikael, pkubaj

Differential Revision:  https://reviews.freebsd.org/D35675
2022-07-02 15:47:05 +02:00
Mikael Urankar
aa578f2b89 lang/rust: Update to 1.61.0
Announce:		https://blog.rust-lang.org/2022/05/19/Rust-1.61.0.html
ChangeLog:		https://github.com/rust-lang/rust/blob/master/RELEASES.md#version-1610-2022-05-19
Reviewed by:		pkubaj
Differential Revision:	https://reviews.freebsd.org/D35335
2022-05-31 15:06:17 +02:00
Mikael Urankar
e57dfbf323 lang/rust: Update to 1.60.0
- Switch to using "x.py dist" instead of "x.py build" in the do-build phase as
    we are missing the rustc-dev component on nightly
  - Revert part of [1] as it causes cross build problem with lang/rust-bootstrap@powerpc
  - Mark devel/racer as deprecated: it's hard to maintain due to recurrent build problem
    and it's not actively maintained. Upstream advises to use devel/rust-analyzer instead.

[1] 07dae5a97b

Announce:		https://blog.rust-lang.org/2022/04/07/Rust-1.60.0.html
ChangeLog:		https://github.com/rust-lang/rust/blob/master/RELEASES.md#version-1600-2022-04-07
Reviewed by:		tobik
Exp-run by:		antoine
Differential Revision:	https://reviews.freebsd.org/D34823
2022-05-01 18:39:19 +02:00
Tobias Kortkamp
33b1845275
lang/rust-bootstrap/sync.sh: put bootstraps in /home/rust 2022-04-15 10:34:24 +02:00
Mikael Urankar
53e44579be lang/rust: Update to 1.59.0
Changes: https://blog.rust-lang.org/FIXME/Rust-1.59.0.html
PR:		262449
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D34471
2022-03-15 10:51:50 +01:00
Tobias Kortkamp
bd3a927931
lang/rust: Update to 1.58.1
https://blog.rust-lang.org/2022/01/20/Rust-1.58.1.html

PR:		261449
Security:	ee26f513-826e-11ec-8be6-d4c9ef517024
2022-02-03 15:02:31 +01:00
Tobias Kortkamp
183588879e
lang/rust: Update to 1.58.0
Changes:	https://blog.rust-lang.org/2022/01/13/Rust-1.58.0.html
PR:		261150
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D33864
2022-01-17 12:56:32 +01:00
Tobias Kortkamp
96eec29c9a
lang/rust: Add riscv64 (riscv64gc-unknown-freebsd) support
A kernel with COMPAT_FREEBSD11 is required for now like on all
other FreeBSD archs. FreeBSD11 never had riscv64 support, so
GENERIC does not have it and a kernel rebuild is required. The
same issue existed on powerpc64le.

The riscv64gc-unknown-freebsd target was upstreamed and will
be part of Rust 1.59.0 (2021-02-24).

Reviewed by:	jrtc27, pkubaj
Differential Revision:	https://reviews.freebsd.org/D32881
2021-12-23 11:10:16 +01:00
Piotr Kubaj
23b31964fc lang/rust-bootstrap: enable on powerpc64le
All the flavors build fine.
2021-12-18 19:06:38 +00:00
Tobias Kortkamp
237b36fa2e
lang/rust: Update to 1.57.0
- Unbreak build with LibreSSL 3.4.x [0]
- Disable backtrace's libunwind backend on armv* since it or
  libunwind in base seem to be buggy and cause rustc to crash when
  building some consumers [1]
- Follow rust-nightly in d5f09dc31fcfdb77b69c86b9093bf67ec67653d9
  and reenable hardlinks in the build

Changes:	https://blog.rust-lang.org/2021/12/02/Rust-1.57.0.html
PR:		259738 [0]
PR:		259799 [1]
PR:		260140
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D33190
With hat:	rust
2021-12-05 13:35:41 +01:00
Tobias Kortkamp
55d82f6a7c
lang/rust-bootstrap: Chase c4816e4763b8d395b4a2cb670a8aaaf33bb8def1 2021-11-26 10:30:47 +01:00
Tobias Kortkamp
c4816e4763
lang/rust*: Move the build artifacts out of source
Move the build artifacts out of source to decrease likelihood
of ccache misses because of changed build directory prefix
(rustc-1.55.0-src/ vs. rustc-1.56.0-src/) per PR 246245.
2021-11-25 21:01:04 +01:00
Tobias Kortkamp
a8d8cef02a
lang/rust-bootstrap: Relax x86 host requirement 2021-11-13 10:09:12 +01:00
Alexey Dokuchaev
61b6613393 Style: improve ONLY_FOR_ARCHS_REASON (grammar, markup, etc.)
ONLY_FOR_ARCHS_REASON is used as part of the sentence and thus should
start with lower-case letter and not end with a period which is added
by the framework, similar to other knobs like BROKEN, IGNORE, et al.

While here, remove needless quoting, add missing Oxford comma, expand
contractions and jargonisms, use correct spelling for proper names.
2021-10-25 12:58:29 +00:00
Tobias Kortkamp
124261fa7d
lang/rust: Update to 1.56.0
- Drop codegen-units=1 again as it seems to negatively impact build
  time for some people [1]

Changes:	https://blog.rust-lang.org/2021/10/21/Rust-1.56.0.html
PR:		256099 [1]
PR:		259251
Reviewed by:	jbeich, mikael, pkubaj
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D32553
2021-10-25 10:46:49 +02:00
Stefan Eßer
f05888cb2b lang/rust-bootstrap: Add CPE information
Approved by:	portmgr (blanket)
2021-10-19 13:14:32 +02:00
Rene Ladan
620968a43a cleanup: drop support for EOL FreeBSD 11.X
Search criteria used:
- 11.4
- OSREL*
- OSVER*
- *_FreeBSD_11

Input from:
- adridg: devel/qca-legacy
- jbeich: _WITH_DPRINTF, _WITH_GETLINE, GNU bfd workarounds
- sunpoet: security/p5-*OpenSSL*

Reviewed by:	doceng, kde, multimedia, perl, python, ruby, rust
Differential Revision: https://reviews.freebsd.org/D32008
Test Plan: make index
2021-09-30 23:23:30 +02:00
Tobias Kortkamp
4e617b25b8
lang/rust-bootstrap: Use devel/freebsd-sysroot 2021-09-19 11:03:22 +02:00
Tobias Kortkamp
6f1fefb50e
lang/rust: Update to 1.55.0
- Set codegen-units=1 [1]
- Add hack to skip cargo update on git sources as a step towards solving [2]
- Fix 'capacity overflow' panics on armv* [3]

Changes:	https://blog.rust-lang.org/2021-09-09/Rust-1.55.0.html
PR:		258337
PR:		256099 [1]
PR:		256581 [2]
PR:		257419 [3]
Reviewed by:	mikael, pkubaj
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D31872
With hat:	rust
2021-09-19 11:03:21 +02:00
Tobias Kortkamp
b1670e2c3d
lang/rust*: Mk/Uses/cargo.mk: Move TMPDIR to WRKDIR
rustc stashes intermediary files in TMPDIR (default /tmp) which
might cause issues for users that for some reason space limit their
/tmp.  WRKDIR should have plenty of space.

Other ports that use rustc might be affected too, but set it only
in USES=cargo and lang/rust* ports for now.

PR:		258126
With hat:	rust
2021-09-06 21:28:28 +02:00
Tobias Kortkamp
1090228081
lang/rust-bootstrap: Fix sync.sh to work with any package extension 2021-09-06 21:27:27 +02:00
pouet
55dbddeb07 lang/rust: Update to 1.54.0
- Update lang/rust to 1.54.0
 - Update devel/racer to 2.1.48
 - Fix various consumers

Changes:	https://blog.rust-lang.org/2021/07/29/Rust-1.54.0.html
Reviewed by:	tobik, pkubaj
Differential Revision:        https://reviews.freebsd.org/D31617
With hat:	rust
2021-08-28 15:38:37 +02:00