ring crate source patched for x-only assembly
Description
Bundles the source of the ring crate patched to work with OpenBSD's
execute only policy. Use this as a BUILD_DEPENDS for ports depending
on ring 0.16. It is not needed for ring >= 0.17.
Package information
- Ports path
- security/rust-ring
- Package architecture
- amd64
- Maintainer
- Theo Buehler <tb@openbsd.org>
- Categories
- security
- Available flavors
- None listed
Ports list build and test dependencies as well as runtime dependencies. pkg_add selects those needed for installation.
Direct dependencies
None listed.
OpenBSD README
This README contains unresolved ports variables; replace them before using its commands.
+-----------------------------------------------------------------------
| Running rust-ring on OpenBSD
+-----------------------------------------------------------------------
It is possible to use this port for locally built crates depending on
ring. The following snippet can be added to ~/.cargo/config.toml to
replace ring from crates.io with the patched source from this port:
[patch.crates-io]
ring = { path = "${LOCALBASE}/share/ring-${VERSION}" }
One side effect one needs to be aware of is that it changes Cargo.lock
files, so one needs to be careful when dealing with projects that have
it checked into git. This is typically the case for binary crates.
Used by (1 dependency relationships)
Includes library, runtime, build and test dependencies.