summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/netcat/netcat-openbsd
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
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')
-rw-r--r--meta-networking/recipes-support/netcat/netcat-openbsd/0001-bundle-own-base64-encode-decode-functions.patch12
-rw-r--r--meta-networking/recipes-support/netcat/netcat-openbsd/0001-fix-netcat-openbsd-ftbfs-with-GCC-15.patch10
2 files changed, 11 insertions, 11 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--
diff --git a/meta-networking/recipes-support/netcat/netcat-openbsd/0001-fix-netcat-openbsd-ftbfs-with-GCC-15.patch b/meta-networking/recipes-support/netcat/netcat-openbsd/0001-fix-netcat-openbsd-ftbfs-with-GCC-15.patch
index c1757d39ad..d574ee0b67 100644
--- a/meta-networking/recipes-support/netcat/netcat-openbsd/0001-fix-netcat-openbsd-ftbfs-with-GCC-15.patch
+++ b/meta-networking/recipes-support/netcat/netcat-openbsd/0001-fix-netcat-openbsd-ftbfs-with-GCC-15.patch
@@ -28,19 +28,19 @@ Signed-off-by: mark.yang <mark.yang@lge.com>
28 1 file changed, 2 insertions(+), 2 deletions(-) 28 1 file changed, 2 insertions(+), 2 deletions(-)
29 29
30diff --git a/netcat.c b/netcat.c 30diff --git a/netcat.c b/netcat.c
31index d70598a..b8ba959 100644 31index 62d01d8..7367f47 100644
32--- a/netcat.c 32--- a/netcat.c
33+++ b/netcat.c 33+++ b/netcat.c
34@@ -238,7 +238,7 @@ char *proto_name(int uflag, int dccpflag); 34@@ -237,7 +237,7 @@ ssize_t fillbuf(int, unsigned char *, size_t *);
35 static int connect_with_timeout(int fd, const struct sockaddr *sa,
36 socklen_t salen, int ctimeout);
37 35
36 char *proto_name(int, int);
37 static int connect_with_timeout(int, const struct sockaddr *, socklen_t, int);
38-static void quit(); 38-static void quit();
39+static void quit(int sig); 39+static void quit(int sig);
40 40
41 int b64_ntop(u_char const *src, size_t srclength, char *target, size_t targsize); 41 int b64_ntop(u_char const *src, size_t srclength, char *target, size_t targsize);
42 int b64_pton(char const *src, u_char *target, size_t targsize); 42 int b64_pton(char const *src, u_char *target, size_t targsize);
43@@ -2235,7 +2235,7 @@ usage(int ret) 43@@ -2347,7 +2347,7 @@ usage(int ret)
44 * quit() 44 * quit()
45 * handler for a "-q" timeout (exit 0 instead of 1) 45 * handler for a "-q" timeout (exit 0 instead of 1)
46 */ 46 */