62 Commits

Author SHA1 Message Date
Yuri Victorovich
f99a708957 Mk/Uses/cargo.mk: Remove cross-compilation options for Rust-based ports
Reasons:
* Port build shouldn't use cross-compilation mode
  because it buids for the same architecture.
* RUSTFLAGS isn't passed to the build of all or some Rust ports
  in the cross-compilation mode.

Essential changes:
* Remove the CARGO_BUILD_TARGET make variable.
* Remove CARGO_BUILD_TARGET and CARGO_TARGET_* from CARGO_ENV.
* Update many ports that used CARGO_BUILD_TARGET.
* Build paths now don't include the architecture triplet part.

Immadiate benefits:
* Unbreak build on architectures like i386 that sometimes require
  special RUSTFLAGS that were not effective in the cross-compilation
  mode.

Ports that really need cross-compilation for some reason should
enable it on case-by-case basis. Example: net-p2p/cncli
(Not sure why does net-p2p/cncli actually need it, but it only
builds with these options.)

PR:		280305
Approved by:	rust@FreeBSD.org (maintainer's timeout; 98 days)
2024-10-22 20:11:24 -07:00
Mikael Urankar
89ab81d0e2 lang/rust: Bump revisions after 1.81.0
PR:		281300
2024-09-10 13:00:34 +02:00
Jan Beich
92acef7292 security/authenticator: drop maintainership 2024-09-03 15:26:30 +02:00
Jan Beich
725a430174 security/authenticator: update to 4.4.0
Changes:	https://gitlab.gnome.org/World/Authenticator/-/compare/4.3.1...4.4.0
Reported by:	Repology
2024-09-01 05:17:22 +02:00
Mikael Urankar
7a55f95425 lang/rust: Bump revisions after 1.80.1
PR:		280490
2024-08-26 10:08:01 +02:00
Mikael Urankar
21476ca8a9 lang/rust: Bump revisions after 1.79.0
PR:		279707
2024-06-18 12:59:14 +02:00
Vsevolod Stakhov
b66e4949cb security/libsodium: update to 1.0.19, bump dependent ports
PR:	278259
Reported by:	Andrey Korobkov <alster-vinterdalen.se>
2024-05-20 10:33:03 +00:00
Mikael Urankar
2322b66100 lang/rust: Bump revisions after 1.78.0
PR:		278834
2024-05-13 13:03:24 +02:00
Mikael Urankar
d632fbe55e lang/rust: Bump revisions after 1.77.0
PR:		277786
2024-03-23 10:41:46 +01:00
Mikael Urankar
7f5a7b0e52 lang/rust: Bump revisions after 1.76.0
PR:		276920
2024-02-19 12:59:23 +01:00
Mikael Urankar
109c3d4629 lang/rust: Bump revisions after 1.75.0
PR:		276033
2024-01-09 13:15:54 +01:00
Mikael Urankar
b2afd89fb2 lang/rust: Bump revisions after 1.74.1
PR:		275243
2023-12-08 16:04:09 +01:00
Mikael Urankar
dd10dc88a7 lang/rust: Bump revisions after 1.73.0
PR:		274499
2023-10-24 12:22:32 +02:00
Mikael Urankar
aba8da2be1 lang/rust: Bump revisions after 1.72.0
PR:		273331
2023-09-08 11:06:24 +02:00
Mikael Urankar
cdf28617b4 lang/rust: Bump revisions after 1.71.0
PR:		272449
2023-07-17 17:58:38 +02:00
Jan Beich
b875c53363 security/authenticator: drop GL_TAGNAME 2023-07-12 21:44:31 +00:00
Felix Palmen
7d1faa7179 bsd.sites.mk: Update all ports using USE_GITLAB
Replace GL_COMMIT by GL_TAGNAME in all ports. The new GL_TAGNAME is
backwards-compatible (accepting any commit hash as before), but also
understands an actual tag name. Moving to tag names where appropriate is
left to individual ports' maintainers.

Approved by:		portmgr (tcberner, mentor)
Differential Revision:	https://reviews.freebsd.org/D37077
2023-07-12 20:56:04 +02:00
Mikael Urankar
e1d1045bc7 lang/rust: Bump revisions after 1.70.0
PR:		271797
2023-06-09 13:38:16 +02:00
Christian Weisgerber
feb1fa34f5 audio/opus: bump consumers after update to 1.4 2023-04-25 17:17:15 +02:00
Mikael Urankar
3db55c4e97 lang/rust: Bump revisions after 1.69.0
PR:		270953
2023-04-23 15:14:05 +02:00
Jan Beich
2d7d9f7ed9 security/authenticator: mark BROKEN on i386 after 8cc97869cbf5
error[E0277]: the trait bound `[core::arch::x86::__m128i; 11]: Zeroize` is not satisfied
   --> cargo-crates/aes-0.8.2/src/ni.rs:195:43
    |
195 |                   zeroize::Zeroize::zeroize(&mut self.round_keys);
    |                   ------------------------- ^^^^^^^^^^^^^^^^^^^^ the trait `Zeroize` is not implemented for `[core::arch::x86::__m128i; 11]`
    |                   |
    |                   required by a bound introduced by this call
...
330 | / define_aes_impl!(
331 | |     Aes128,
332 | |     Aes128Enc,
333 | |     Aes128Dec,
...   |
338 | |     "AES-128",
339 | | );
    | |_- in this macro invocation
    |
    = help: the following other types implement trait `Zeroize`:
              [MaybeUninit<Z>]
              [Z; N]
              [Z]
    = note: this error originates in the macro `define_aes_impl` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0277]: the trait bound `[core::arch::x86::__m128i; 11]: Zeroize` is not satisfied
   --> cargo-crates/aes-0.8.2/src/ni.rs:269:43
    |
269 |                   zeroize::Zeroize::zeroize(&mut self.round_keys);
    |                   ------------------------- ^^^^^^^^^^^^^^^^^^^^ the trait `Zeroize` is not implemented for `[core::arch::x86::__m128i; 11]`
    |                   |
    |                   required by a bound introduced by this call
...
330 | / define_aes_impl!(
331 | |     Aes128,
332 | |     Aes128Enc,
333 | |     Aes128Dec,
...   |
338 | |     "AES-128",
339 | | );
    | |_- in this macro invocation
    |
    = help: the following other types implement trait `Zeroize`:
              [MaybeUninit<Z>]
              [Z; N]
              [Z]
    = note: this error originates in the macro `define_aes_impl` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0277]: the trait bound `[core::arch::x86::__m128i; 13]: Zeroize` is not satisfied
   --> cargo-crates/aes-0.8.2/src/ni.rs:195:43
    |
195 |                   zeroize::Zeroize::zeroize(&mut self.round_keys);
    |                   ------------------------- ^^^^^^^^^^^^^^^^^^^^ the trait `Zeroize` is not implemented for `[core::arch::x86::__m128i; 13]`
    |                   |
    |                   required by a bound introduced by this call
...
341 | / define_aes_impl!(
342 | |     Aes192,
343 | |     Aes192Enc,
344 | |     Aes192Dec,
...   |
349 | |     "AES-192",
350 | | );
    | |_- in this macro invocation
    |
    = help: the following other types implement trait `Zeroize`:
              [MaybeUninit<Z>]
              [Z; N]
              [Z]
    = note: this error originates in the macro `define_aes_impl` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0277]: the trait bound `[core::arch::x86::__m128i; 13]: Zeroize` is not satisfied
   --> cargo-crates/aes-0.8.2/src/ni.rs:269:43
    |
269 |                   zeroize::Zeroize::zeroize(&mut self.round_keys);
    |                   ------------------------- ^^^^^^^^^^^^^^^^^^^^ the trait `Zeroize` is not implemented for `[core::arch::x86::__m128i; 13]`
    |                   |
    |                   required by a bound introduced by this call
...
341 | / define_aes_impl!(
342 | |     Aes192,
343 | |     Aes192Enc,
344 | |     Aes192Dec,
...   |
349 | |     "AES-192",
350 | | );
    | |_- in this macro invocation
    |
    = help: the following other types implement trait `Zeroize`:
              [MaybeUninit<Z>]
              [Z; N]
              [Z]
    = note: this error originates in the macro `define_aes_impl` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0277]: the trait bound `[core::arch::x86::__m128i; 15]: Zeroize` is not satisfied
   --> cargo-crates/aes-0.8.2/src/ni.rs:195:43
    |
195 |                   zeroize::Zeroize::zeroize(&mut self.round_keys);
    |                   ------------------------- ^^^^^^^^^^^^^^^^^^^^ the trait `Zeroize` is not implemented for `[core::arch::x86::__m128i; 15]`
    |                   |
    |                   required by a bound introduced by this call
...
352 | / define_aes_impl!(
353 | |     Aes256,
354 | |     Aes256Enc,
355 | |     Aes256Dec,
...   |
360 | |     "AES-256",
361 | | );
    | |_- in this macro invocation
    |
    = help: the following other types implement trait `Zeroize`:
              [MaybeUninit<Z>]
              [Z; N]
              [Z]
    = note: this error originates in the macro `define_aes_impl` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0277]: the trait bound `[core::arch::x86::__m128i; 15]: Zeroize` is not satisfied
   --> cargo-crates/aes-0.8.2/src/ni.rs:269:43
    |
269 |                   zeroize::Zeroize::zeroize(&mut self.round_keys);
    |                   ------------------------- ^^^^^^^^^^^^^^^^^^^^ the trait `Zeroize` is not implemented for `[core::arch::x86::__m128i; 15]`
    |                   |
    |                   required by a bound introduced by this call
...
352 | / define_aes_impl!(
353 | |     Aes256,
354 | |     Aes256Enc,
355 | |     Aes256Dec,
...   |
360 | |     "AES-256",
361 | | );
    | |_- in this macro invocation
    |
    = help: the following other types implement trait `Zeroize`:
              [MaybeUninit<Z>]
              [Z; N]
              [Z]
    = note: this error originates in the macro `define_aes_impl` (in Nightly builds, run with -Z macro-backtrace for more info)

For more information about this error, try `rustc --explain E0277`.
error: could not compile `aes` due to 6 previous errors
2023-04-22 14:40:04 +00:00
Jan Beich
8cc97869cb security/authenticator: update to 4.3.1
Changes:	https://gitlab.gnome.org/World/Authenticator/-/compare/4.2.0...4.3.1
Reported by:	GitLab (notify releases)
2023-04-22 14:36:57 +00:00
Jan Beich
2465b9abe2 security/authenticator: drop gtk4 < 4.10 workaround after a4aab0806301 2023-04-20 03:57:18 +03:00
Jan Beich
fb25cc968a security/authenticator: convert to WRKSRC_crate 2023-04-06 00:50:13 +00:00
Mikael Urankar
ebf29acc6c lang/rust: Bump revisions after 1.68.0
PR:		270080
2023-03-16 12:11:52 +01:00
Tobias C. Berner
fa81a4f5f8 accessibility/at-spi2-core: update to 2.46.0
What's new in at-spi2-core 2.46.0:
* Fix GetInterfaces documentation on org.a11y.atspi.Accessible
  interface.

What's new in at-spi2-core 2.45.91:
* Send device event controller events using the same signature as other
  events.
* Document the Accessible, Action, and Cache dbus interfaces.
* Fix license of atspi-gmain.c (#87).

What's new in at-spi2-core 2.45.90:
* xml: Add some documentation.
* xml: Fix event arguments.
* xml: Add some missing DeviceEventController methods.
* Bind the AT-SPI bus to the graphical session.
* Mark bus service as belonging to the session slice.
* Add ATSPI_ROLE_PUSH_BUTTON_MENU.
* Add an "announcement" event/signal to allow objects to send
  notifications (!63).
* Various code clean-ups and test improvements.

What's new in at-spi2-core 2.45.1:
* Atk and at-spi2-atk are now merged into this project.
* Now requires meson 0.56.2 and glib 2.67.4.
* at-spi2-atk: Expose the accessible hierarchy via dbus introspection.
* Properly escape the AT-SPI bus address; fixes warnings about the address
  not containing a colon (!55).
* Add a text value to AtspiValue, so that a value can expose a textual
  description, as in the new Atk value API.
* Add atspi_event_listener_register_with_app, to allow an event listener
  to be registered only for a given application (!52).

- accessibility/atk and accessibility/at-spi2-atk have been merged into
  accessibility/at-spi2-core

- accessibility/at-spi2-core: bump consumers of removed ports atk and at-spi2-atk

PR:		269704
Exp-run by:	antoine
---
2023-03-02 06:23:10 +01:00
Mikael Urankar
109e35fd59 lang/rust: Bump revisions after 1.67.1
PR:		269336
2023-02-13 15:52:59 +01:00
Daniel Engberg
12f1c627d4 */*: Bump rust (cargo) ports to reflect on WITH_LTO
Bump ports in tree so they get rebuilt with new default settings
for cargo ports
2023-01-07 20:24:18 +01:00
Jan Beich
6738d67c7f security/authenticator: update to 4.2.0
Changes:	https://gitlab.gnome.org/World/Authenticator/-/compare/4.1.6...4.2.0
Reported by:	GitLab (notify releases)
2022-12-27 14:39:26 +00:00
Jan Beich
54cd447747 devel/rust-bindgen: switch to LLVM_CONFIG from USES=llvm 2022-12-24 16:56:12 +00:00
Jan Beich
8d75ee0eee security/authenticator: convert to USES=llvm 2022-12-24 16:35:30 +00:00
Mikael Urankar
ba14e01a52 lang/rust: Bump revisions after 1.66.0
PR:		268415
2022-12-20 18:37:15 +01:00
Mikael Urankar
9bf6a99963 lang/rust: Bump revisions after 1.65.0
PR:		267622
2022-11-17 08:06:14 +01:00
Jan Beich
c818b3c58a */*: move CARGO_CRATES to Makefile.crates in my ports 2022-11-03 14:10:55 +00:00
Mikael Urankar
afe651cf62 lang/rust: Bump revisions after 1.64.0
PR:		267173
2022-10-30 13:07:09 +01:00
Jan Beich
5d3ee59429 security/authenticator: re-enable camera after 7f9937ae4015 2022-10-16 00:18:09 +00:00
Jan Beich
f51593e104 security/authenticator: drop gstreamer1 < 1.18 workaround after e3b732b4791c 2022-10-15 21:21:45 +00:00
Jan Beich
88a566688d security/authenticator: update to 4.1.6
Changes:	https://gitlab.gnome.org/World/Authenticator/-/compare/4.0.3...4.1.6
Reported by:	Repology
2022-09-16 16:56:48 +00: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
783c056d7d Revert "lang/rust: Bump revisions after 1.63.0"
This reverts commit c7912d97754bb7aa9a18eb33df53f91cba4cd82d.

PR:	265915
2022-08-25 12:49:39 +02:00
Mikael Urankar
c7912d9775 lang/rust: Bump revisions after 1.63.0 2022-08-25 10:51:32 +02:00
Mikael Urankar
a50372b91f lang/rust: Bump revisions after 1.62.0 2022-07-02 15:47:05 +02:00
Mikael Urankar
e9a35a1c50 lang/rust: Bump revisions after 1.61.0 2022-05-31 15:06:17 +02:00
Tobias Kortkamp
57c3caaa6c
lang/rust: Relink ports after the Rust 1.60.0 update 2022-05-03 10:00:34 +02:00
Tobias C. Berner
ca3f925d6e framework: convert bsd.gstreamer.mk to Uses/gstreamer.mk
- convert bsd.gstreamer.mk to Uses/gstreamer.mk
- convert ports tree to make use of USES=gstreamer
- remove duplicate dependency lines from the tree

Differential Revision: https://reviews.freebsd.org/D35097
2022-04-30 10:03:20 +02:00
Jan Beich
45a670a20a security/authenticator: runtime broken after 3da07b6b1695
$ authenticator
ld-elf.so.1: /usr/local/bin/authenticator: Undefined symbol "adw_leaflet_set_can_swipe_back@LIBADWAITA_1_0"

$ poudriere testport -j 130amd64 security/authenticator
[...]
  = note: ld: error: undefined symbol: adw_leaflet_set_can_swipe_back
          >>> referenced by libadwaita.3d16eeaf-cgu.3
          >>>               libadwaita-881a92bfe1b5add6.libadwaita.3d16eeaf-cgu.3.rcgu.o:(libadwaita::auto::leaflet::Leaflet::set_can_swipe_back::h18ac8777b066b1b0)
          >>> in archive
          >>> _build/target/x86_64-unknown-freebsd/release/deps/liblibadwaita-881a92bfe1b5add6.rlib
          cc: error: linker command failed with exit code 1 (use -v to see invocation)
2022-03-24 00:50:45 +00:00
Mikael Urankar
e255ac5487 lang/rust: Bump revisions after 1.59.0 2022-03-15 10:51:58 +01:00
Tobias Kortkamp
d64a2a380f
lang/rust: Relink consumers
PR:		261449
Security:	ee26f513-826e-11ec-8be6-d4c9ef517024
2022-02-03 15:02:32 +01:00