mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-18 00:10:04 +00:00
net/rosenpass: update to 0.22.2
- remove now obsolete patch - security fix for an anticipated protocol weakness Changelog: https://github.com/rosenpass/rosenpass/releases/tag/v0.2.2 MFH: 2024Q2
This commit is contained in:
parent
cd7ad2b850
commit
3692e105f5
@ -1,7 +1,6 @@
|
||||
PORTNAME= rosenpass
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 0.2.1
|
||||
PORTREVISION= 8
|
||||
DISTVERSION= 0.2.2
|
||||
CATEGORIES= net net-vpn security
|
||||
|
||||
MAINTAINER= fuz@FreeBSD.org
|
||||
|
@ -1,4 +1,4 @@
|
||||
TIMESTAMP = 1701591502
|
||||
TIMESTAMP = 1718470305
|
||||
SHA256 (rust/crates/addr2line-0.21.0.crate) = 8a30b2e23b9e17a9f90641c7ab1549cd9b44f296d3ccbf309d2863cfe398a0cb
|
||||
SIZE (rust/crates/addr2line-0.21.0.crate) = 40807
|
||||
SHA256 (rust/crates/adler-1.0.2.crate) = f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe
|
||||
@ -361,5 +361,5 @@ SHA256 (rust/crates/zerocopy-derive-0.7.25.crate) = c2f140bda219a26ccc0cdb03dba5
|
||||
SIZE (rust/crates/zerocopy-derive-0.7.25.crate) = 528380
|
||||
SHA256 (rust/crates/zip-0.6.6.crate) = 760394e246e4c28189f19d488c058bf16f564016aefac5d32bb1f3b51d5e9261
|
||||
SIZE (rust/crates/zip-0.6.6.crate) = 65789
|
||||
SHA256 (rosenpass-rosenpass-v0.2.1_GH0.tar.gz) = 09dffa62c9bbf3bfa4b34c7667f4052f3c262195a45da9c21c8123f197e7742a
|
||||
SIZE (rosenpass-rosenpass-v0.2.1_GH0.tar.gz) = 4872159
|
||||
SHA256 (rosenpass-rosenpass-v0.2.2_GH0.tar.gz) = 0077cca7595a467a638988fab5267f89421d1b7589849d14c2db60636b8f353a
|
||||
SIZE (rosenpass-rosenpass-v0.2.2_GH0.tar.gz) = 4872109
|
||||
|
@ -1,32 +0,0 @@
|
||||
Comment the "#[doc = !($field)]" line
|
||||
Upstream has changed this code a lot and this line is not present anymore.
|
||||
|
||||
error: attribute value must be a literal
|
||||
--> rosenpass/src/msgs.rs:135:21
|
||||
|
|
||||
135 | #[doc = !($field)]
|
||||
| ^^^^^^^^^
|
||||
...
|
||||
258 | / data_lense! { Envelope<M> :=
|
||||
259 | | /// [MsgType] of this message
|
||||
260 | | msg_type: 1,
|
||||
261 | | /// Reserved for future use
|
||||
... |
|
||||
269 | | cookie: sodium::MAC_SIZE
|
||||
270 | | }
|
||||
| |_- in this macro invocation
|
||||
|
|
||||
= note: this error originates in the macro `data_lense` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
|
||||
--- rosenpass/src/msgs.rs.orig 2024-05-07 11:12:55 UTC
|
||||
+++ rosenpass/src/msgs.rs
|
||||
@@ -132,7 +132,7 @@ macro_rules! data_lense(
|
||||
impl<__ContainerType $(, $( $generic: LenseView ),+ )? > $type<__ContainerType $(, $( $generic ),+ )? >{
|
||||
$(
|
||||
/// Size in bytes of the field `
|
||||
- #[doc = !($field)]
|
||||
+ //#[doc = !($field)]
|
||||
/// `
|
||||
pub const fn [< $field _len >]() -> usize{
|
||||
$len
|
Loading…
Reference in New Issue
Block a user