summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/netcat/netcat-openbsd/0001-bundle-own-base64-encode-decode-functions.patch
diff options
context:
space:
mode:
authorDan McGregor <dan.mcgregor@usask.ca>2025-11-27 14:57:37 -0600
committerKhem Raj <raj.khem@gmail.com>2025-11-28 11:39:52 -0800
commit91389e4d5aff2180fb947746c058c520ff3ea042 (patch)
tree37f142650c25b53fb874a6a10caa53d768ff8876 /meta-networking/recipes-support/netcat/netcat-openbsd/0001-bundle-own-base64-encode-decode-functions.patch
parent3304914228a25f9ced71f3aeb6b40386eab82e20 (diff)
downloadmeta-openembedded-91389e4d5aff2180fb947746c058c520ff3ea042.tar.gz
netcat-openbsd: update to 1.228HEADmaster
A version newer than 1.195 is required for certain features of newer versions of cloud-init. May as well bump to the version in Debian Testing. I also noticed it appears the licence was incorrectly specified, and is indeed BSD-3-Clause. License-update: Added copyright holders and clarified man page licence Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking/recipes-support/netcat/netcat-openbsd/0001-bundle-own-base64-encode-decode-functions.patch')
-rw-r--r--meta-networking/recipes-support/netcat/netcat-openbsd/0001-bundle-own-base64-encode-decode-functions.patch12
1 files changed, 6 insertions, 6 deletions
diff --git a/meta-networking/recipes-support/netcat/netcat-openbsd/0001-bundle-own-base64-encode-decode-functions.patch b/meta-networking/recipes-support/netcat/netcat-openbsd/0001-bundle-own-base64-encode-decode-functions.patch
index 929f63f4a9..7e665d777f 100644
--- a/meta-networking/recipes-support/netcat/netcat-openbsd/0001-bundle-own-base64-encode-decode-functions.patch
+++ b/meta-networking/recipes-support/netcat/netcat-openbsd/0001-bundle-own-base64-encode-decode-functions.patch
@@ -14,7 +14,7 @@ Update to version 1.190-2
14Signed-off-by: Changqing Li <changqing.li@windriver.com> 14Signed-off-by: Changqing Li <changqing.li@windriver.com>
15--- 15---
16 Makefile | 4 +- 16 Makefile | 4 +-
17 base64.c | 313 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 17 base64.c | 313 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
18 netcat.c | 3 + 18 netcat.c | 3 +
19 socks.c | 3 + 19 socks.c | 3 +
20 4 files changed, 321 insertions(+), 2 deletions(-) 20 4 files changed, 321 insertions(+), 2 deletions(-)
@@ -360,8 +360,8 @@ diff --git a/netcat.c b/netcat.c
360index a0fb51b..9c4ed23 100644 360index a0fb51b..9c4ed23 100644
361--- a/netcat.c 361--- a/netcat.c
362+++ b/netcat.c 362+++ b/netcat.c
363@@ -240,6 +240,9 @@ static int connect_with_timeout(int fd, const struct sockaddr *sa, 363@@ -239,6 +239,9 @@ char *proto_name(int, int);
364 364 static int connect_with_timeout(int, const struct sockaddr *, socklen_t, int);
365 static void quit(); 365 static void quit();
366 366
367+int b64_ntop(u_char const *src, size_t srclength, char *target, size_t targsize); 367+int b64_ntop(u_char const *src, size_t srclength, char *target, size_t targsize);
@@ -378,10 +378,10 @@ index 9068f39..c576f6b 100644
378 #define SOCKS_DOMAIN 3 378 #define SOCKS_DOMAIN 3
379 #define SOCKS_IPV6 4 379 #define SOCKS_IPV6 4
380 380
381+int b64_ntop(u_char const *src, size_t srclength, char *target, size_t targsize); 381+int b64_ntop(u_char const *src, size_t srclength, char *target, size_t targsize);
382+int b64_pton(char const *src, u_char *target, size_t targsize); 382+int b64_pton(char const *src, u_char *target, size_t targsize);
383+ 383+
384 int remote_connect(const char *, const char *, struct addrinfo); 384 int remote_connect(const char *, const char *, struct addrinfo, char *);
385 int socks_connect(const char *, const char *, struct addrinfo, 385 int socks_connect(const char *, const char *, struct addrinfo,
386 const char *, const char *, struct addrinfo, int, 386 const char *, const char *, struct addrinfo, int,
387-- 387--