diff options
Diffstat (limited to 'meta-networking/recipes-support/netcat/netcat-openbsd')
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 | |||
| 14 | Signed-off-by: Changqing Li <changqing.li@windriver.com> | 14 | Signed-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 | |||
| 360 | index a0fb51b..9c4ed23 100644 | 360 | index 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 | ||
| 30 | diff --git a/netcat.c b/netcat.c | 30 | diff --git a/netcat.c b/netcat.c |
| 31 | index d70598a..b8ba959 100644 | 31 | index 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 | */ |
