git: 32838a83ac1c - main - net-p2p/reticulum: Update to 0.7.0

From: Carlo Strub <cs_at_FreeBSD.org>
Date: Mon, 29 Jan 2024 21:49:48 UTC
The branch main has been updated by cs:

URL: https://cgit.FreeBSD.org/ports/commit/?id=32838a83ac1cff7aad8b4e83de0dc8b27a2da8dd

commit 32838a83ac1cff7aad8b4e83de0dc8b27a2da8dd
Author:     Carlo Strub <cs@FreeBSD.org>
AuthorDate: 2024-01-29 21:49:24 +0000
Commit:     Carlo Strub <cs@FreeBSD.org>
CommitDate: 2024-01-29 21:49:24 +0000

    net-p2p/reticulum: Update to 0.7.0
---
 net-p2p/reticulum/Makefile            |  2 +-
 net-p2p/reticulum/distinfo            |  6 +++---
 net-p2p/reticulum/files/config.sample | 25 ++++++++++++++++++++++++-
 net-p2p/reticulum/pkg-plist           | 19 +++++++++++++------
 4 files changed, 41 insertions(+), 11 deletions(-)

diff --git a/net-p2p/reticulum/Makefile b/net-p2p/reticulum/Makefile
index 7eafb2188db4..7fdcefd2299d 100644
--- a/net-p2p/reticulum/Makefile
+++ b/net-p2p/reticulum/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	reticulum
-DISTVERSION=	0.6.2
+DISTVERSION=	0.7.0
 CATEGORIES=	net-p2p
 MASTER_SITES=	PYPI
 DISTNAME=	rns-${DISTVERSION}
diff --git a/net-p2p/reticulum/distinfo b/net-p2p/reticulum/distinfo
index 044d34fe2e86..b32237bd29de 100644
--- a/net-p2p/reticulum/distinfo
+++ b/net-p2p/reticulum/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1696875514
-SHA256 (rns-0.6.2.tar.gz) = cb7a093b2fdc610055797d53cdcef276f698de5e2406e57eddb348c9c06d10d7
-SIZE (rns-0.6.2.tar.gz) = 295554
+TIMESTAMP = 1706564248
+SHA256 (rns-0.7.0.tar.gz) = 192abd1a1d2735ca1fb22c23a254bbc31b217245077d38610a14864638154427
+SIZE (rns-0.7.0.tar.gz) = 300223
diff --git a/net-p2p/reticulum/files/config.sample b/net-p2p/reticulum/files/config.sample
index 003c06bd5872..cc9dc03ac02e 100644
--- a/net-p2p/reticulum/files/config.sample
+++ b/net-p2p/reticulum/files/config.sample
@@ -14,7 +14,7 @@ dbdir = "/var/db/reticulum"
 # always-on. This directive is optional and can be removed
 # for brevity.
 
-enable_transport = False
+enable_transport = No
 
 
 # By default, the first program to launch the Reticulum
@@ -38,6 +38,18 @@ share_instance = Yes
 shared_instance_port = 37428
 instance_control_port = 37429
 
+
+# On systems where running instances may not have access
+# to the same shared Reticulum configuration directory,
+# it is still possible to allow full interactivity for
+# running instances, by manually specifying a shared RPC
+# key. In almost all cases, this option is not needed, but
+# it can be useful on operating systems such as Android.
+# The key must be specified as bytes in hexadecimal.
+
+# rpc_key = e5c032d3ec4e64a6aca9927ba8ab73336780f6d71790
+
+
 # You can configure Reticulum to panic and forcibly close
 # if an unrecoverable interface error occurs, such as the
 # hardware device for an interface disappearing. This is
@@ -47,6 +59,17 @@ instance_control_port = 37429
 panic_on_interface_error = No
 
 
+# When Transport is enabled, it is possible to allow the
+# Transport Instance to respond to probe requests from
+# the rnprobe utility. This can be a useful tool to test
+# connectivity. When this option is enabled, the probe
+# destination will be generated from the Identity of the
+# Transport Instance, and printed to the log at startup.
+# Optional, and disabled by default.
+
+respond_to_probes = No
+
+
 [logging]
 # Valid log levels are 0 through 7:
 #   0: Log only critical information
diff --git a/net-p2p/reticulum/pkg-plist b/net-p2p/reticulum/pkg-plist
index 4552a4ae6dd6..929a5466fcae 100644
--- a/net-p2p/reticulum/pkg-plist
+++ b/net-p2p/reticulum/pkg-plist
@@ -1,5 +1,6 @@
 bin/rncp
 bin/rnid
+bin/rnir
 bin/rnodeconf
 bin/rnpath
 bin/rnprobe
@@ -124,6 +125,7 @@ bin/rnx
 %%PYTHON_SITELIBDIR%%/RNS/Interfaces/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.pyc
 %%PYTHON_SITELIBDIR%%/RNS/Link.py
 %%PYTHON_SITELIBDIR%%/RNS/Packet.py
+%%PYTHON_SITELIBDIR%%/RNS/Resolver.py
 %%PYTHON_SITELIBDIR%%/RNS/Resource.py
 %%PYTHON_SITELIBDIR%%/RNS/Reticulum.py
 %%PYTHON_SITELIBDIR%%/RNS/Transport.py
@@ -134,6 +136,8 @@ bin/rnx
 %%PYTHON_SITELIBDIR%%/RNS/Utilities/__pycache__/rncp%%PYTHON_EXT_SUFFIX%%.pyc
 %%PYTHON_SITELIBDIR%%/RNS/Utilities/__pycache__/rnid%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
 %%PYTHON_SITELIBDIR%%/RNS/Utilities/__pycache__/rnid%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/RNS/Utilities/__pycache__/rnir%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
+%%PYTHON_SITELIBDIR%%/RNS/Utilities/__pycache__/rnir%%PYTHON_EXT_SUFFIX%%.pyc
 %%PYTHON_SITELIBDIR%%/RNS/Utilities/__pycache__/rnodeconf%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
 %%PYTHON_SITELIBDIR%%/RNS/Utilities/__pycache__/rnodeconf%%PYTHON_EXT_SUFFIX%%.pyc
 %%PYTHON_SITELIBDIR%%/RNS/Utilities/__pycache__/rnpath%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
@@ -148,6 +152,7 @@ bin/rnx
 %%PYTHON_SITELIBDIR%%/RNS/Utilities/__pycache__/rnx%%PYTHON_EXT_SUFFIX%%.pyc
 %%PYTHON_SITELIBDIR%%/RNS/Utilities/rncp.py
 %%PYTHON_SITELIBDIR%%/RNS/Utilities/rnid.py
+%%PYTHON_SITELIBDIR%%/RNS/Utilities/rnir.py
 %%PYTHON_SITELIBDIR%%/RNS/Utilities/rnodeconf.py
 %%PYTHON_SITELIBDIR%%/RNS/Utilities/rnpath.py
 %%PYTHON_SITELIBDIR%%/RNS/Utilities/rnprobe.py
@@ -167,6 +172,8 @@ bin/rnx
 %%PYTHON_SITELIBDIR%%/RNS/__pycache__/Link%%PYTHON_EXT_SUFFIX%%.pyc
 %%PYTHON_SITELIBDIR%%/RNS/__pycache__/Packet%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
 %%PYTHON_SITELIBDIR%%/RNS/__pycache__/Packet%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/RNS/__pycache__/Resolver%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
+%%PYTHON_SITELIBDIR%%/RNS/__pycache__/Resolver%%PYTHON_EXT_SUFFIX%%.pyc
 %%PYTHON_SITELIBDIR%%/RNS/__pycache__/Resource%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
 %%PYTHON_SITELIBDIR%%/RNS/__pycache__/Resource%%PYTHON_EXT_SUFFIX%%.pyc
 %%PYTHON_SITELIBDIR%%/RNS/__pycache__/Reticulum%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
@@ -232,12 +239,12 @@ bin/rnx
 %%PYTHON_SITELIBDIR%%/RNS/vendor/platformutils.py
 %%PYTHON_SITELIBDIR%%/RNS/vendor/six.py
 %%PYTHON_SITELIBDIR%%/RNS/vendor/umsgpack.py
-%%PYTHON_SITELIBDIR%%/rns-0.6.2-py%%PYTHON_VER%%.egg-info/PKG-INFO
-%%PYTHON_SITELIBDIR%%/rns-0.6.2-py%%PYTHON_VER%%.egg-info/SOURCES.txt
-%%PYTHON_SITELIBDIR%%/rns-0.6.2-py%%PYTHON_VER%%.egg-info/dependency_links.txt
-%%PYTHON_SITELIBDIR%%/rns-0.6.2-py%%PYTHON_VER%%.egg-info/entry_points.txt
-%%PYTHON_SITELIBDIR%%/rns-0.6.2-py%%PYTHON_VER%%.egg-info/requires.txt
-%%PYTHON_SITELIBDIR%%/rns-0.6.2-py%%PYTHON_VER%%.egg-info/top_level.txt
+%%PYTHON_SITELIBDIR%%/rns-0.7.0-py%%PYTHON_VER%%.egg-info/PKG-INFO
+%%PYTHON_SITELIBDIR%%/rns-0.7.0-py%%PYTHON_VER%%.egg-info/SOURCES.txt
+%%PYTHON_SITELIBDIR%%/rns-0.7.0-py%%PYTHON_VER%%.egg-info/dependency_links.txt
+%%PYTHON_SITELIBDIR%%/rns-0.7.0-py%%PYTHON_VER%%.egg-info/entry_points.txt
+%%PYTHON_SITELIBDIR%%/rns-0.7.0-py%%PYTHON_VER%%.egg-info/requires.txt
+%%PYTHON_SITELIBDIR%%/rns-0.7.0-py%%PYTHON_VER%%.egg-info/top_level.txt
 @owner %%USERS%%
 @group %%GROUPS%%
 @dir /var/db/reticulum