File 0485-ssh-Fix-missing-since-attributes.patch of Package erlang
From 180d1562b6572802e459ec120227884e8b2795b5 Mon Sep 17 00:00:00 2001
From: Sverker Eriksson <sverker@erlang.org>
Date: Fri, 23 Apr 2021 17:25:08 +0200
Subject: [PATCH 5/9] ssh: Fix missing since attributes
---
lib/ssh/doc/src/ssh.xml | 16 ++++++++--------
lib/ssh/doc/src/ssh_agent.xml | 10 +++++-----
2 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/lib/ssh/doc/src/ssh.xml b/lib/ssh/doc/src/ssh.xml
index b88bdc1667..835637f496 100644
--- a/lib/ssh/doc/src/ssh.xml
+++ b/lib/ssh/doc/src/ssh.xml
@@ -1276,7 +1276,7 @@
<!-- CONNECTION_INFO/1, CONNECTION_INFO/2 -->
<func>
- <name name="connection_info" arity="1" since=""/>
+ <name name="connection_info" arity="1" since="OTP 22.1"/>
<name name="connection_info" arity="2" since=""/>
<fsummary>Retrieves information about a connection.</fsummary>
<desc>
@@ -1289,7 +1289,7 @@
<!-- SET_SOCK_OPTS/2 -->
<func>
- <name name="set_sock_opts" arity="2" since=""/>
+ <name name="set_sock_opts" arity="2" since="OTP 22.3"/>
<fsummary>Set tcp socket options on connections</fsummary>
<desc>
<p>Sets tcp socket options on the tcp-socket below an ssh connection.</p>
@@ -1321,7 +1321,7 @@
<!-- GET_SOCK_OPTS/2 -->
<func>
- <name name="get_sock_opts" arity="2" since=""/>
+ <name name="get_sock_opts" arity="2" since="OTP 22.3"/>
<fsummary>Get tcp socket options on connections</fsummary>
<desc>
<p>Get tcp socket option values of the tcp-socket below an ssh connection.</p>
@@ -1380,7 +1380,7 @@
<!-- DAEMON_INFO/1 -->
<func>
<name name="daemon_info" arity="1" since="OTP 19.0"/>
- <name name="daemon_info" arity="2" since=""/>
+ <name name="daemon_info" arity="2" since="OTP 22.1"/>
<fsummary>Get info about a daemon</fsummary>
<desc>
<p>Returns information about a daemon intended for e.g debugging or logging.
@@ -1477,8 +1477,8 @@
</func>
<func>
- <name name="tcpip_tunnel_from_server" arity="5" since=""/>
- <name name="tcpip_tunnel_from_server" arity="6" since=""/>
+ <name name="tcpip_tunnel_from_server" arity="5" since="OTP 23.0"/>
+ <name name="tcpip_tunnel_from_server" arity="6" since="OTP 23.0"/>
<fsummary>TCP/IP tunneling from a server to a client ("tcpip-forward")</fsummary>
<desc>
<p>Asks the remote server of <c>ConnectionRef</c> to listen to <c>ListenHost:ListenPort</c>.
@@ -1499,8 +1499,8 @@
</func>
<func>
- <name name="tcpip_tunnel_to_server" arity="5" since=""/>
- <name name="tcpip_tunnel_to_server" arity="6" since=""/>
+ <name name="tcpip_tunnel_to_server" arity="5" since="OTP 23.0"/>
+ <name name="tcpip_tunnel_to_server" arity="6" since="OTP 23.0"/>
<fsummary>TCP/IP tunneling from a client to a server ("direct-tcpip")</fsummary>
<desc>
<p>Tells the local client to listen to <c>ListenHost:ListenPort</c>. When someone
diff --git a/lib/ssh/doc/src/ssh_agent.xml b/lib/ssh/doc/src/ssh_agent.xml
index f2d920705e..92eae5ef71 100644
--- a/lib/ssh/doc/src/ssh_agent.xml
+++ b/lib/ssh/doc/src/ssh_agent.xml
@@ -101,8 +101,8 @@
<funcs>
<func>
- <name since="" name="add_host_key" arity="3"/>
- <name since="" name="add_host_key" arity="4"/>
+ <name since="OTP 23.0" name="add_host_key" arity="3"/>
+ <name since="OTP 23.0" name="add_host_key" arity="4"/>
<fsummary></fsummary>
<desc>
<p>
@@ -112,8 +112,8 @@
</func>
<func>
- <name since="" name="is_host_key" arity="4"/>
- <name since="" name="is_host_key" arity="5"/>
+ <name since="OTP 23.0" name="is_host_key" arity="4"/>
+ <name since="OTP 23.0" name="is_host_key" arity="5"/>
<fsummary></fsummary>
<desc>
<p>
@@ -123,7 +123,7 @@
</func>
<func>
- <name since="" name="user_key" arity="2"/>
+ <name since="OTP 23.0" name="user_key" arity="2"/>
<fsummary></fsummary>
<desc>
<p><strong>Types and description</strong></p>
--
2.26.2