git: 3692e105f597 - main - net/rosenpass: update to 0.22.2

From: Robert Clausecker <fuz_at_FreeBSD.org>
Date: Sun, 16 Jun 2024 12:57:03 UTC
The branch main has been updated by fuz:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3692e105f5975081bb871b326698e15507b18ed4

commit 3692e105f5975081bb871b326698e15507b18ed4
Author:     Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2024-06-15 22:05:30 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2024-06-16 11:53:28 +0000

    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
---
 net/rosenpass/Makefile                |  3 +--
 net/rosenpass/distinfo                |  6 +++---
 net/rosenpass/files/patch-rust-1.78.0 | 32 --------------------------------
 3 files changed, 4 insertions(+), 37 deletions(-)

diff --git a/net/rosenpass/Makefile b/net/rosenpass/Makefile
index 59d158b1dd77..375d37af10f1 100644
--- a/net/rosenpass/Makefile
+++ b/net/rosenpass/Makefile
@@ -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
diff --git a/net/rosenpass/distinfo b/net/rosenpass/distinfo
index fd8ad7259a4f..78bd73c58f02 100644
--- a/net/rosenpass/distinfo
+++ b/net/rosenpass/distinfo
@@ -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
diff --git a/net/rosenpass/files/patch-rust-1.78.0 b/net/rosenpass/files/patch-rust-1.78.0
deleted file mode 100644
index efdfe6ac90b7..000000000000
--- a/net/rosenpass/files/patch-rust-1.78.0
+++ /dev/null
@@ -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