[packages/netcat-openbsd] Up to 1.239

arekm arekm at pld-linux.org
Thu Oct 29 08:50:41 CET 2026


commit 7cf33e37750ec8e1eda57d5ce53ed67416aa57b6
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Thu Oct 29 00:12:05 2026 +0100

    Up to 1.239

 abstract-unix-domain-socket.patch                  | 10 ++--
 broadcast-support.patch                            |  6 +-
 build-without-TLS-support.patch                    | 66 +++++++++++-----------
 connect-timeout.patch                              |  6 +-
 dccp-support.patch                                 | 20 +++----
 destination-port-list.patch                        |  6 +-
 get-sev-by-name.patch                              |  4 +-
 ...etnameinfo-errors-nonfatal-in-report_sock.patch |  4 +-
 misc-failures-and-features.patch                   | 12 ++--
 netcat-openbsd.spec                                |  6 +-
 port-to-linux-with-libbsd.patch                    | 26 ++++-----
 quit-timer.patch                                   | 10 ++--
 send-crlf.patch                                    | 14 ++---
 serialized-handling-multiple-clients.patch         |  8 +--
 ...P-MD5SIG-correctly-for-client-connections.patch | 10 ++--
 udp-scan-timeout.patch                             |  4 +-
 use-flags-to-specify-listen-address.patch          |  2 +-
 17 files changed, 107 insertions(+), 107 deletions(-)
---
diff --git a/netcat-openbsd.spec b/netcat-openbsd.spec
index 49c4486..0e5da07 100644
--- a/netcat-openbsd.spec
+++ b/netcat-openbsd.spec
@@ -3,13 +3,13 @@ Summary(es.UTF-8):	Herramienta de prueba e depuración para servicios de red
 Summary(pl.UTF-8):	Proste narzędzie do testowania sieci
 Summary(pt_BR.UTF-8):	Ferramenta de teste e depuração para serviços de rede
 Name:		netcat-openbsd
-Version:	1.234
+Version:	1.239
 Release:	1
 License:	ISC
 Group:		Networking/Utilities
 Source0:	https://deb.debian.org/debian/pool/main/n/%{name}/%{name}_%{version}.orig.tar.gz
-# Source0-md5:	c3906f02d5a070afd8ac23ec983fc746
-# Patches from Debian netcat-openbsd 1.234-2
+# Source0-md5:	372c90fe2dca8786bc4261f2ee361fc4
+# Patches from Debian netcat-openbsd 1.239-1
 Patch0:		port-to-linux-with-libbsd.patch
 Patch1:		build-without-TLS-support.patch
 Patch2:		connect-timeout.patch
diff --git a/abstract-unix-domain-socket.patch b/abstract-unix-domain-socket.patch
index 48b6438..802a602 100644
--- a/abstract-unix-domain-socket.patch
+++ b/abstract-unix-domain-socket.patch
@@ -29,7 +29,7 @@ index 91b719e..5b2e224 100644
  Use UDP instead of TCP.
  Cannot be used together with
 diff --git a/netcat.c b/netcat.c
-index 60ea75a..0ba8dee 100644
+index eda2739..0878dae 100644
 --- a/netcat.c
 +++ b/netcat.c
 @@ -98,6 +98,7 @@
@@ -48,7 +48,7 @@ index 60ea75a..0ba8dee 100644
  void	connection_info(const char *, const char *, const char *, const char *);
  int	unix_bind(char *, int);
  int	unix_connect(char *);
-@@ -936,6 +938,46 @@ main(int argc, char *argv[])
+@@ -938,6 +940,46 @@ main(int argc, char *argv[])
  	return ret;
  }
  
@@ -95,7 +95,7 @@ index 60ea75a..0ba8dee 100644
  /*
   * unix_bind()
   * Returns a unix socket bound to the given path
-@@ -944,24 +986,17 @@ int
+@@ -946,24 +988,17 @@ int
  unix_bind(char *path, int flags)
  {
  	struct sockaddr_un s_un;
@@ -125,7 +125,7 @@ index 60ea75a..0ba8dee 100644
  		save_errno = errno;
  		close(s);
  		errno = save_errno;
-@@ -1071,7 +1106,10 @@ int
+@@ -1073,7 +1108,10 @@ int
  unix_connect(char *path)
  {
  	struct sockaddr_un s_un;
@@ -137,7 +137,7 @@ index 60ea75a..0ba8dee 100644
  
  	if (uflag) {
  		if ((s = unix_bind(unix_dg_tmp_socket, SOCK_CLOEXEC)) == -1)
-@@ -1081,16 +1119,7 @@ unix_connect(char *path)
+@@ -1083,16 +1121,7 @@ unix_connect(char *path)
  			return -1;
  	}
  
diff --git a/broadcast-support.patch b/broadcast-support.patch
index 349a84c..96f0204 100644
--- a/broadcast-support.patch
+++ b/broadcast-support.patch
@@ -30,7 +30,7 @@ index f262939..6ee1584 100644
  Send CRLF as line-ending.  Each line feed (LF) character from the input
  data is translated into CR+LF before being written to the socket.  Line
 diff --git a/netcat.c b/netcat.c
-index 73fdfa4..2768ef8 100644
+index 529fdb2..fba472d 100644
 --- a/netcat.c
 +++ b/netcat.c
 @@ -132,6 +132,7 @@
@@ -67,7 +67,7 @@ index 73fdfa4..2768ef8 100644
  		case 'U':
  			family = AF_UNIX;
  			break;
-@@ -1912,6 +1920,15 @@ set_common_sockopts(int s, int af)
+@@ -1919,6 +1927,15 @@ set_common_sockopts(int s, int af)
  {
  	int x = 1;
  
@@ -83,7 +83,7 @@ index 73fdfa4..2768ef8 100644
  #ifdef TCP_MD5SIG
  	if (Sflag) {
  		if (setsockopt(s, IPPROTO_TCP, TCP_MD5SIG,
-@@ -2195,6 +2212,7 @@ help(void)
+@@ -2203,6 +2220,7 @@ help(void)
  	fprintf(stderr, "\tCommand Summary:\n\
  	\t-4		Use IPv4\n\
  	\t-6		Use IPv6\n\
diff --git a/build-without-TLS-support.patch b/build-without-TLS-support.patch
index e72bf70..caabf60 100644
--- a/build-without-TLS-support.patch
+++ b/build-without-TLS-support.patch
@@ -240,7 +240,7 @@ index 75ac68b..d285e62 100644
  .Pp
  .Dl $ nc -u host.example.com 53
 diff --git a/netcat.c b/netcat.c
-index d235c55..e592d01 100644
+index 915a8b7..3bb403c 100644
 --- a/netcat.c
 +++ b/netcat.c
 @@ -99,7 +99,9 @@
@@ -472,7 +472,7 @@ index d235c55..e592d01 100644
  	if (usetls) {
  		if (Cflag && unveil(Cflag, "r") == -1)
  			err(1, "unveil %s", Cflag);
-@@ -462,15 +512,19 @@ main(int argc, char *argv[])
+@@ -464,15 +514,19 @@ main(int argc, char *argv[])
  				err(1, "unveil /");
  		}
  	}
@@ -492,7 +492,7 @@ index d235c55..e592d01 100644
  	if (Fflag && usetls)
  		errx(1, "cannot use -c and -F");
  	if (TLSopt && !usetls)
-@@ -489,6 +543,7 @@ main(int argc, char *argv[])
+@@ -491,6 +545,7 @@ main(int argc, char *argv[])
  		errx(1, "you must specify -c to use -H");
  	if (tls_expectname && !usetls)
  		errx(1, "you must specify -c to use -e");
@@ -500,7 +500,7 @@ index d235c55..e592d01 100644
  
  	/* Get name of temporary socket for unix datagram client */
  	if ((family == AF_UNIX) && uflag && !lflag) {
-@@ -555,6 +610,7 @@ main(int argc, char *argv[])
+@@ -557,6 +612,7 @@ main(int argc, char *argv[])
  			proxyhints.ai_flags |= AI_NUMERICHOST;
  	}
  
@@ -508,7 +508,7 @@ index d235c55..e592d01 100644
  	if (usetls) {
  		if ((tls_cfg = tls_config_new()) == NULL)
  			errx(1, "unable to allocate TLS config");
-@@ -593,6 +649,7 @@ main(int argc, char *argv[])
+@@ -595,6 +651,7 @@ main(int argc, char *argv[])
  		} else if (pledge("stdio inet dns", NULL) == -1)
  			err(1, "pledge");
  	}
@@ -516,7 +516,7 @@ index d235c55..e592d01 100644
  	if (lflag) {
  		ret = 0;
  
-@@ -603,6 +660,7 @@ main(int argc, char *argv[])
+@@ -605,6 +662,7 @@ main(int argc, char *argv[])
  				s = unix_listen(host);
  		}
  
@@ -524,7 +524,7 @@ index d235c55..e592d01 100644
  		if (usetls) {
  			tls_config_verify_client_optional(tls_cfg);
  			if ((tls_ctx = tls_server()) == NULL)
-@@ -611,6 +669,7 @@ main(int argc, char *argv[])
+@@ -613,6 +671,7 @@ main(int argc, char *argv[])
  				errx(1, "tls configuration failed (%s)",
  				    tls_error(tls_ctx));
  		}
@@ -532,7 +532,7 @@ index d235c55..e592d01 100644
  		/* Allow only one connection at a time, but stay alive. */
  		for (;;) {
  			if (family != AF_UNIX) {
-@@ -626,7 +685,11 @@ main(int argc, char *argv[])
+@@ -628,7 +687,11 @@ main(int argc, char *argv[])
  				 * let it receive datagrams from multiple
  				 * socket pairs.
  				 */
@@ -544,7 +544,7 @@ index d235c55..e592d01 100644
  			} else if (uflag && !kflag) {
  				/*
  				 * For UDP and not -k, we will use recvfrom()
-@@ -652,9 +715,14 @@ main(int argc, char *argv[])
+@@ -654,9 +717,14 @@ main(int argc, char *argv[])
  					    (struct sockaddr *)&z, len,
  					    family == AF_UNIX ? host : NULL);
  
@@ -559,7 +559,7 @@ index d235c55..e592d01 100644
  				int connfd;
  
  				len = sizeof(cliaddr);
-@@ -668,6 +736,7 @@ main(int argc, char *argv[])
+@@ -670,6 +738,7 @@ main(int argc, char *argv[])
  					report_sock("Connection received",
  					    (struct sockaddr *)&cliaddr, len,
  					    family == AF_UNIX ? host : NULL);
@@ -567,7 +567,7 @@ index d235c55..e592d01 100644
  				if ((usetls) &&
  				    (tls_cctx = tls_setup_server(tls_ctx, connfd, host)))
  					readwrite(connfd, tls_cctx);
-@@ -677,6 +746,10 @@ main(int argc, char *argv[])
+@@ -679,6 +748,10 @@ main(int argc, char *argv[])
  					timeout_tls(s, tls_cctx, tls_close);
  				close(connfd);
  				tls_free(tls_cctx);
@@ -578,7 +578,7 @@ index d235c55..e592d01 100644
  			}
  
  			if (!kflag)
-@@ -687,7 +760,11 @@ main(int argc, char *argv[])
+@@ -689,7 +762,11 @@ main(int argc, char *argv[])
  
  		if ((s = unix_connect(host)) > 0) {
  			if (!zflag)
@@ -590,7 +590,7 @@ index d235c55..e592d01 100644
  			close(s);
  		} else {
  			warn("%s", host);
-@@ -707,6 +784,7 @@ main(int argc, char *argv[])
+@@ -709,6 +786,7 @@ main(int argc, char *argv[])
  		for (s = -1, i = 0; portlist[i] != NULL; i++) {
  			if (s != -1)
  				close(s);
@@ -598,7 +598,7 @@ index d235c55..e592d01 100644
  			tls_free(tls_ctx);
  			tls_ctx = NULL;
  
-@@ -717,6 +795,7 @@ main(int argc, char *argv[])
+@@ -719,6 +797,7 @@ main(int argc, char *argv[])
  					errx(1, "tls configuration failed (%s)",
  					    tls_error(tls_ctx));
  			}
@@ -606,7 +606,7 @@ index d235c55..e592d01 100644
  			if (xflag)
  				s = socks_connect(host, portlist[i], hints,
  				    proxy, proxyport, proxyhints, socksv,
-@@ -746,6 +825,7 @@ main(int argc, char *argv[])
+@@ -748,6 +827,7 @@ main(int argc, char *argv[])
  			}
  			if (Fflag)
  				fdpass(s);
@@ -614,7 +614,7 @@ index d235c55..e592d01 100644
  			else {
  				if (usetls)
  					tls_setup_client(tls_ctx, s, host);
-@@ -754,13 +834,19 @@ main(int argc, char *argv[])
+@@ -756,13 +836,19 @@ main(int argc, char *argv[])
  				if (tls_ctx)
  					timeout_tls(s, tls_ctx, tls_close);
  			}
@@ -634,7 +634,7 @@ index d235c55..e592d01 100644
  
  	return ret;
  }
-@@ -802,6 +888,7 @@ unix_bind(char *path, int flags)
+@@ -804,6 +890,7 @@ unix_bind(char *path, int flags)
  	return s;
  }
  
@@ -642,7 +642,7 @@ index d235c55..e592d01 100644
  int
  timeout_tls(int s, struct tls *tls_ctx, int (*func)(struct tls *))
  {
-@@ -889,6 +976,7 @@ tls_setup_server(struct tls *tls_ctx, int connfd, char *host)
+@@ -891,6 +978,7 @@ tls_setup_server(struct tls *tls_ctx, int connfd, char *host)
  	}
  	return NULL;
  }
@@ -650,7 +650,7 @@ index d235c55..e592d01 100644
  
  /*
   * unix_connect()
-@@ -1135,7 +1223,11 @@ local_listen(const char *host, const char *port, struct addrinfo hints)
+@@ -1137,7 +1225,11 @@ local_listen(const char *host, const char *port, struct addrinfo hints)
   * Loop that polls on the network file descriptor and stdin.
   */
  void
@@ -662,7 +662,7 @@ index d235c55..e592d01 100644
  {
  	struct pollfd pfd[4];
  	int stdin_fd = STDIN_FILENO;
-@@ -1235,12 +1327,17 @@ readwrite(int net_fd, struct tls *tls_ctx)
+@@ -1237,12 +1329,17 @@ readwrite(int net_fd, struct tls *tls_ctx)
  		/* try to read from stdin */
  		if (pfd[POLL_STDIN].revents & POLLIN && stdinbufpos < BUFSIZE) {
  			ret = fillbuf(pfd[POLL_STDIN].fd, stdinbuf,
@@ -681,7 +681,7 @@ index d235c55..e592d01 100644
  				pfd[POLL_STDIN].fd = -1;
  			/* read something - poll net out */
  			if (stdinbufpos > 0)
-@@ -1252,12 +1349,17 @@ readwrite(int net_fd, struct tls *tls_ctx)
+@@ -1254,12 +1351,17 @@ readwrite(int net_fd, struct tls *tls_ctx)
  		/* try to write to network */
  		if (pfd[POLL_NETOUT].revents & POLLOUT && stdinbufpos > 0) {
  			ret = drainbuf(pfd[POLL_NETOUT].fd, stdinbuf,
@@ -700,7 +700,7 @@ index d235c55..e592d01 100644
  				pfd[POLL_NETOUT].fd = -1;
  			/* buffer empty - remove self from polling */
  			if (stdinbufpos == 0)
-@@ -1269,12 +1371,17 @@ readwrite(int net_fd, struct tls *tls_ctx)
+@@ -1271,12 +1373,17 @@ readwrite(int net_fd, struct tls *tls_ctx)
  		/* try to read from network */
  		if (pfd[POLL_NETIN].revents & POLLIN && netinbufpos < BUFSIZE) {
  			ret = fillbuf(pfd[POLL_NETIN].fd, netinbuf,
@@ -719,7 +719,7 @@ index d235c55..e592d01 100644
  				pfd[POLL_NETIN].fd = -1;
  			/* eof on net in - remove from pfd */
  			if (ret == 0) {
-@@ -1301,12 +1408,17 @@ readwrite(int net_fd, struct tls *tls_ctx)
+@@ -1303,12 +1410,17 @@ readwrite(int net_fd, struct tls *tls_ctx)
  		/* try to write to stdout */
  		if (pfd[POLL_STDOUT].revents & POLLOUT && netinbufpos > 0) {
  			ret = drainbuf(pfd[POLL_STDOUT].fd, netinbuf,
@@ -738,7 +738,7 @@ index d235c55..e592d01 100644
  				pfd[POLL_STDOUT].fd = -1;
  			/* buffer empty - remove self from polling */
  			if (netinbufpos == 0)
-@@ -1330,7 +1442,11 @@ readwrite(int net_fd, struct tls *tls_ctx)
+@@ -1332,7 +1444,11 @@ readwrite(int net_fd, struct tls *tls_ctx)
  }
  
  ssize_t
@@ -750,7 +750,7 @@ index d235c55..e592d01 100644
  {
  	ssize_t n;
  	ssize_t adjust;
-@@ -1338,16 +1454,22 @@ drainbuf(int fd, unsigned char *buf, size_t *bufpos, struct tls *tls)
+@@ -1340,16 +1456,22 @@ drainbuf(int fd, unsigned char *buf, size_t *bufpos, struct tls *tls)
  	if (fd == -1)
  		return -1;
  
@@ -773,7 +773,7 @@ index d235c55..e592d01 100644
  	if (n <= 0)
  		return n;
  	/* adjust buffer */
-@@ -1359,7 +1481,11 @@ drainbuf(int fd, unsigned char *buf, size_t *bufpos, struct tls *tls)
+@@ -1361,7 +1483,11 @@ drainbuf(int fd, unsigned char *buf, size_t *bufpos, struct tls *tls)
  }
  
  ssize_t
@@ -785,7 +785,7 @@ index d235c55..e592d01 100644
  {
  	size_t num = BUFSIZE - *bufpos;
  	ssize_t n;
-@@ -1367,16 +1493,22 @@ fillbuf(int fd, unsigned char *buf, size_t *bufpos, struct tls *tls)
+@@ -1369,16 +1495,22 @@ fillbuf(int fd, unsigned char *buf, size_t *bufpos, struct tls *tls)
  	if (fd == -1)
  		return -1;
  
@@ -808,7 +808,7 @@ index d235c55..e592d01 100644
  	if (n <= 0)
  		return n;
  	*bufpos += n;
-@@ -1723,6 +1855,7 @@ process_tos_opt(char *s, int *val)
+@@ -1731,6 +1863,7 @@ process_tos_opt(char *s, int *val)
  	return 0;
  }
  
@@ -816,7 +816,7 @@ index d235c55..e592d01 100644
  int
  process_tls_opt(char *s, int *flags)
  {
-@@ -1841,6 +1974,7 @@ report_tls(struct tls *tls_ctx, char *host)
+@@ -1849,6 +1982,7 @@ report_tls(struct tls *tls_ctx, char *host)
  	if ((alpn_proto = tls_conn_alpn_selected(tls_ctx)) != NULL)
  		fprintf(stderr, "Application Layer Protocol: %s\n", alpn_proto);
  }
@@ -824,7 +824,7 @@ index d235c55..e592d01 100644
  
  void
  report_sock(const char *msg, const struct sockaddr *sa, socklen_t salen,
-@@ -1882,17 +2016,12 @@ help(void)
+@@ -1890,17 +2024,12 @@ help(void)
  	fprintf(stderr, "\tCommand Summary:\n\
  	\t-4		Use IPv4\n\
  	\t-6		Use IPv6\n\
@@ -842,7 +842,7 @@ index d235c55..e592d01 100644
  	\t-k		Keep inbound sockets open for multiple connects\n\
  	\t-l		Listen mode, for inbound connects\n\
  	\t-M ttl		Outgoing TTL / Hop Limit\n\
-@@ -1900,14 +2029,12 @@ help(void)
+@@ -1908,14 +2037,12 @@ help(void)
  	\t-N		Shutdown the network socket after EOF on stdin\n\
  	\t-n		Suppress name/port resolutions\n\
  	\t-O length	TCP send buffer length\n\
@@ -858,7 +858,7 @@ index d235c55..e592d01 100644
  	\t-t		Answer TELNET negotiation\n\
  	\t-U		Use UNIX domain socket\n\
  	\t-u		UDP mode\n\
-@@ -1917,7 +2044,6 @@ help(void)
+@@ -1925,7 +2052,6 @@ help(void)
  	\t-w timeout	Timeout for connects and final net reads\n\
  	\t-X proto	Proxy protocol: \"4\", \"4A\", \"5\" (SOCKS) or \"connect\"\n\
  	\t-x addr[:port]\tSpecify proxy address and port\n\
@@ -866,7 +866,7 @@ index d235c55..e592d01 100644
  	\t-z		Zero-I/O mode [used for scanning]\n\
  	Port numbers can be individual or ranges: lo-hi [inclusive]\n");
  	exit(0);
-@@ -1927,15 +2053,11 @@ void
+@@ -1935,15 +2061,11 @@ void
  usage(int ret)
  {
  	fprintf(stderr,
diff --git a/connect-timeout.patch b/connect-timeout.patch
index d919c5b..6892b9f 100644
--- a/connect-timeout.patch
+++ b/connect-timeout.patch
@@ -7,7 +7,7 @@ Subject: Fix connect() timeout
  1 file changed, 77 insertions(+), 5 deletions(-)
 
 diff --git a/netcat.c b/netcat.c
-index e592d01..39cbfe1 100644
+index 3bb403c..5ed422b 100644
 --- a/netcat.c
 +++ b/netcat.c
 @@ -90,6 +90,7 @@
@@ -38,7 +38,7 @@ index e592d01..39cbfe1 100644
  int
  main(int argc, char *argv[])
  {
-@@ -1093,18 +1100,21 @@ remote_connect(const char *host, const char *port, struct addrinfo hints,
+@@ -1095,18 +1102,21 @@ remote_connect(const char *host, const char *port, struct addrinfo hints,
  			}
  		}
  
@@ -65,7 +65,7 @@ index e592d01..39cbfe1 100644
  		}
  
  		save_errno = errno;
-@@ -1146,6 +1156,68 @@ timeout_connect(int s, const struct sockaddr *name, socklen_t namelen)
+@@ -1148,6 +1158,68 @@ timeout_connect(int s, const struct sockaddr *name, socklen_t namelen)
  	return ret;
  }
  
diff --git a/dccp-support.patch b/dccp-support.patch
index ef93c4b..a03dd82 100644
--- a/dccp-support.patch
+++ b/dccp-support.patch
@@ -30,7 +30,7 @@ index 1724081..f262939 100644
  Only scan for listening daemons, without sending any data to them.
  Cannot be used together with
 diff --git a/netcat.c b/netcat.c
-index 1c9144f..73fdfa4 100644
+index cb7db2d..529fdb2 100644
 --- a/netcat.c
 +++ b/netcat.c
 @@ -146,6 +146,7 @@ int	rflag;					/* Random ports flag */
@@ -83,7 +83,7 @@ index 1c9144f..73fdfa4 100644
  		host = argv[0];
  	} else if (argc == 0 && lflag) {
  		if (sflag)
-@@ -586,8 +599,20 @@ main(int argc, char *argv[])
+@@ -588,8 +601,20 @@ main(int argc, char *argv[])
  	if (family != AF_UNIX) {
  		memset(&hints, 0, sizeof(struct addrinfo));
  		hints.ai_family = family;
@@ -106,7 +106,7 @@ index 1c9144f..73fdfa4 100644
  		if (nflag)
  			hints.ai_flags |= AI_NUMERICHOST;
  	}
-@@ -595,7 +620,10 @@ main(int argc, char *argv[])
+@@ -597,7 +622,10 @@ main(int argc, char *argv[])
  	if (xflag) {
  		if (uflag)
  			errx(1, "no proxy support for UDP mode");
@@ -118,7 +118,7 @@ index 1c9144f..73fdfa4 100644
  		if (lflag)
  			errx(1, "no proxy support for listen");
  
-@@ -843,9 +871,11 @@ main(int argc, char *argv[])
+@@ -845,9 +873,11 @@ main(int argc, char *argv[])
  						continue;
  					}
  				}
@@ -132,7 +132,7 @@ index 1c9144f..73fdfa4 100644
  			}
  			if (Fflag)
  				fdpass(s);
-@@ -1059,6 +1089,21 @@ unix_listen(char *path)
+@@ -1061,6 +1091,21 @@ unix_listen(char *path)
  	return s;
  }
  
@@ -154,7 +154,7 @@ index 1c9144f..73fdfa4 100644
  /*
   * remote_connect()
   * Returns a socket connected to a remote host. Properly binds to a local
-@@ -1090,8 +1135,20 @@ remote_connect(const char *host, const char *port, struct addrinfo hints,
+@@ -1092,8 +1137,20 @@ remote_connect(const char *host, const char *port, struct addrinfo hints,
  #endif
  			memset(&ahints, 0, sizeof(struct addrinfo));
  			ahints.ai_family = res->ai_family;
@@ -177,7 +177,7 @@ index 1c9144f..73fdfa4 100644
  			ahints.ai_flags = AI_PASSIVE;
  			if ((error = getaddrinfo(sflag, pflag, &ahints, &ares)))
  				errx(1, "getaddrinfo: %s", gai_strerror(error));
-@@ -1121,16 +1178,18 @@ remote_connect(const char *host, const char *port, struct addrinfo hints,
+@@ -1123,16 +1180,18 @@ remote_connect(const char *host, const char *port, struct addrinfo hints,
  		    timeout)) == CONNECTION_SUCCESS)
  			break;
  
@@ -198,7 +198,7 @@ index 1c9144f..73fdfa4 100644
  				    error == CONNECTION_TIMEOUT ? "timed out" : "failed");
  		}
  
-@@ -1747,7 +1806,8 @@ build_ports(char *p)
+@@ -1749,7 +1808,8 @@ build_ports(char *p)
  	int hi, lo, cp;
  	int x = 0;
  
@@ -208,7 +208,7 @@ index 1c9144f..73fdfa4 100644
  	if (sv) {
  		if (asprintf(&portlist[0], "%d", ntohs(sv->s_port)) < 0)
  			err(1, "asprintf");
-@@ -2165,6 +2225,7 @@ help(void)
+@@ -2173,6 +2233,7 @@ help(void)
  	\t-w timeout	Timeout for connects and final net reads\n\
  	\t-X proto	Proxy protocol: \"4\", \"4A\", \"5\" (SOCKS) or \"connect\"\n\
  	\t-x addr[:port]\tSpecify proxy address and port\n\
@@ -216,7 +216,7 @@ index 1c9144f..73fdfa4 100644
  	\t-z		Zero-I/O mode [used for scanning]\n\
  	Port numbers can be individual or ranges: lo-hi [inclusive]\n");
  	exit(0);
-@@ -2174,7 +2235,7 @@ void
+@@ -2182,7 +2243,7 @@ void
  usage(int ret)
  {
  	fprintf(stderr,
diff --git a/destination-port-list.patch b/destination-port-list.patch
index 2b88926..0d3f6ea 100644
--- a/destination-port-list.patch
+++ b/destination-port-list.patch
@@ -51,7 +51,7 @@ index 6ee1584..ed659b4 100644
  Alternatively, it might be useful to know which server software
  is running, and which versions.
 diff --git a/netcat.c b/netcat.c
-index 6d4faae..b2b4ebc 100644
+index c453f6b..26e9b8d 100644
 --- a/netcat.c
 +++ b/netcat.c
 @@ -192,7 +192,7 @@ int minttl = -1;
@@ -85,7 +85,7 @@ index 6d4faae..b2b4ebc 100644
  	} else
  		usage(1);
  
-@@ -728,7 +728,7 @@ main(int argc, char *argv[])
+@@ -730,7 +730,7 @@ main(int argc, char *argv[])
  			else
  				s = unix_listen(host);
  		} else
@@ -94,7 +94,7 @@ index 6d4faae..b2b4ebc 100644
  		if (s < 0)
  			err(1, NULL);
  
-@@ -1815,57 +1815,61 @@ strtoport(char *portstr, int udp)
+@@ -1817,57 +1817,61 @@ strtoport(char *portstr, int udp)
   * that we should try to connect to.
   */
  void
diff --git a/get-sev-by-name.patch b/get-sev-by-name.patch
index 0d8052f..876cda0 100644
--- a/get-sev-by-name.patch
+++ b/get-sev-by-name.patch
@@ -7,10 +7,10 @@ Subject: Add ability to specify destination ports by name
  1 file changed, 6 insertions(+), 1 deletion(-)
 
 diff --git a/netcat.c b/netcat.c
-index 39cbfe1..9d4fa4f 100644
+index 5ed422b..a9a38c5 100644
 --- a/netcat.c
 +++ b/netcat.c
-@@ -1705,11 +1705,16 @@ strtoport(char *portstr, int udp)
+@@ -1707,11 +1707,16 @@ strtoport(char *portstr, int udp)
  void
  build_ports(char *p)
  {
diff --git a/make-getnameinfo-errors-nonfatal-in-report_sock.patch b/make-getnameinfo-errors-nonfatal-in-report_sock.patch
index d1524ee..3c0f02e 100644
--- a/make-getnameinfo-errors-nonfatal-in-report_sock.patch
+++ b/make-getnameinfo-errors-nonfatal-in-report_sock.patch
@@ -11,10 +11,10 @@ Bug-Debian: https://bugs.debian.org/961378
  1 file changed, 4 insertions(+), 2 deletions(-)
 
 diff --git a/netcat.c b/netcat.c
-index b11846c..60ea75a 100644
+index faa3353f..eda2739 100644
 --- a/netcat.c
 +++ b/netcat.c
-@@ -2230,9 +2230,11 @@ report_sock(const char *msg, const struct sockaddr *sa, socklen_t salen,
+@@ -2238,9 +2238,11 @@ report_sock(const char *msg, const struct sockaddr *sa, socklen_t salen,
  	case 0:
  		break;
  	case EAI_SYSTEM:
diff --git a/misc-failures-and-features.patch b/misc-failures-and-features.patch
index f3f2d9f..1e9e9ca 100644
--- a/misc-failures-and-features.patch
+++ b/misc-failures-and-features.patch
@@ -77,7 +77,7 @@ index 5b2e224..141b116 100644
  UDP port scans using the
  .Fl uz
 diff --git a/netcat.c b/netcat.c
-index 0ba8dee..e326ea0 100644
+index 0878dae..969d98f 100644
 --- a/netcat.c
 +++ b/netcat.c
 @@ -114,7 +114,7 @@
@@ -89,7 +89,7 @@ index 0ba8dee..e326ea0 100644
  
  #define POLL_STDIN	0
  #define POLL_NETOUT	1
-@@ -621,10 +621,20 @@ main(int argc, char *argv[])
+@@ -623,10 +623,20 @@ main(int argc, char *argv[])
  		if (sflag) {
  			unix_dg_tmp_socket = sflag;
  		} else {
@@ -113,7 +113,7 @@ index 0ba8dee..e326ea0 100644
  			unix_dg_tmp_socket = unix_dg_tmp_socket_buf;
  		}
  	}
-@@ -856,8 +866,14 @@ main(int argc, char *argv[])
+@@ -858,8 +868,14 @@ main(int argc, char *argv[])
  			ret = 1;
  		}
  
@@ -129,7 +129,7 @@ index 0ba8dee..e326ea0 100644
  		return ret;
  	} else {
  		int i = 0;
-@@ -996,6 +1012,11 @@ unix_bind(char *path, int flags)
+@@ -998,6 +1014,11 @@ unix_bind(char *path, int flags)
  	    0)) == -1)
  		return -1;
  
@@ -141,7 +141,7 @@ index 0ba8dee..e326ea0 100644
  	if (bind(s, (struct sockaddr *)&s_un, addrlen) == -1) {
  		save_errno = errno;
  		close(s);
-@@ -1113,7 +1134,7 @@ unix_connect(char *path)
+@@ -1115,7 +1136,7 @@ unix_connect(char *path)
  
  	if (uflag) {
  		if ((s = unix_bind(unix_dg_tmp_socket, SOCK_CLOEXEC)) == -1)
@@ -150,7 +150,7 @@ index 0ba8dee..e326ea0 100644
  	} else {
  		if ((s = socket(AF_UNIX, SOCK_STREAM | SOCK_CLOEXEC, 0)) == -1)
  			return -1;
-@@ -1386,12 +1407,12 @@ local_listen(const char *host, const char *port, struct addrinfo hints)
+@@ -1388,12 +1409,12 @@ local_listen(const char *host, const char *port, struct addrinfo hints)
  
  		ret = setsockopt(s, SOL_SOCKET, SO_REUSEADDR, &x, sizeof(x));
  		if (ret == -1)
diff --git a/port-to-linux-with-libbsd.patch b/port-to-linux-with-libbsd.patch
index b32b303..17e5627 100644
--- a/port-to-linux-with-libbsd.patch
+++ b/port-to-linux-with-libbsd.patch
@@ -56,7 +56,7 @@ index 2ffdcd1..75ac68b 100644
  .Cm netcontrol ,
  .Cm throughput ,
 diff --git a/netcat.c b/netcat.c
-index e3c9c93..d235c55 100644
+index af6124c..915a8b7 100644
 --- a/netcat.c
 +++ b/netcat.c
 @@ -32,6 +32,8 @@
@@ -177,12 +177,12 @@ index e3c9c93..d235c55 100644
  	} else if (argc == 1 && lflag) {
  		uport = argv[0];
  	} else if (argc == 2) {
-@@ -399,33 +463,6 @@ main(int argc, char *argv[])
+@@ -401,33 +465,6 @@ main(int argc, char *argv[])
  		}
  	}
  
 -	if (family == AF_UNIX) {
--		if (pledge("stdio rpath wpath cpath tmppath unix", NULL) == -1)
+-		if (pledge("stdio rpath wpath cpath unix", NULL) == -1)
 -			err(1, "pledge");
 -	} else if (Fflag && Pflag) {
 -		if (pledge("stdio inet dns sendfd tty", NULL) == -1)
@@ -211,7 +211,7 @@ index e3c9c93..d235c55 100644
  	if (!lflag && kflag)
  		errx(1, "must use -l with -k");
  	if (uflag && usetls)
-@@ -584,10 +621,6 @@ main(int argc, char *argv[])
+@@ -586,10 +623,6 @@ main(int argc, char *argv[])
  			if (s == -1)
  				err(1, NULL);
  			if (uflag && kflag) {
@@ -222,7 +222,7 @@ index e3c9c93..d235c55 100644
  				/*
  				 * For UDP and -k, don't connect the socket,
  				 * let it receive datagrams from multiple
-@@ -614,10 +647,6 @@ main(int argc, char *argv[])
+@@ -616,10 +649,6 @@ main(int argc, char *argv[])
  				if (rv == -1)
  					err(1, "connect");
  
@@ -233,7 +233,7 @@ index e3c9c93..d235c55 100644
  				if (vflag)
  					report_sock("Connection received",
  					    (struct sockaddr *)&z, len,
-@@ -943,8 +972,10 @@ remote_connect(const char *host, const char *port, struct addrinfo hints,
+@@ -945,8 +974,10 @@ remote_connect(const char *host, const char *port, struct addrinfo hints,
  		if (sflag || pflag) {
  			struct addrinfo ahints, *ares;
  
@@ -244,7 +244,7 @@ index e3c9c93..d235c55 100644
  			memset(&ahints, 0, sizeof(struct addrinfo));
  			ahints.ai_family = res->ai_family;
  			ahints.ai_socktype = uflag ? SOCK_DGRAM : SOCK_STREAM;
-@@ -1057,9 +1088,15 @@ local_listen(const char *host, const char *port, struct addrinfo hints)
+@@ -1059,9 +1090,15 @@ local_listen(const char *host, const char *port, struct addrinfo hints)
  		    res->ai_protocol)) == -1)
  			continue;
  
@@ -260,7 +260,7 @@ index e3c9c93..d235c55 100644
  
  		set_common_sockopts(s, res->ai_family);
  
-@@ -1564,11 +1601,13 @@ set_common_sockopts(int s, int af)
+@@ -1571,11 +1608,13 @@ set_common_sockopts(int s, int af)
  {
  	int x = 1;
  
@@ -274,7 +274,7 @@ index e3c9c93..d235c55 100644
  	if (Dflag) {
  		if (setsockopt(s, SOL_SOCKET, SO_DEBUG,
  		    &x, sizeof(x)) == -1)
-@@ -1579,9 +1618,14 @@ set_common_sockopts(int s, int af)
+@@ -1586,9 +1625,14 @@ set_common_sockopts(int s, int af)
  		    IP_TOS, &Tflag, sizeof(Tflag)) == -1)
  			err(1, "set IP ToS");
  
@@ -289,7 +289,7 @@ index e3c9c93..d235c55 100644
  	}
  	if (Iflag) {
  		if (setsockopt(s, SOL_SOCKET, SO_RCVBUF,
-@@ -1599,19 +1643,34 @@ set_common_sockopts(int s, int af)
+@@ -1606,19 +1650,34 @@ set_common_sockopts(int s, int af)
  		    IP_TTL, &ttl, sizeof(ttl)))
  			err(1, "set IP TTL");
  
@@ -324,7 +324,7 @@ index e3c9c93..d235c55 100644
  	}
  }
  
-@@ -1646,6 +1705,7 @@ process_tos_opt(char *s, int *val)
+@@ -1653,6 +1712,7 @@ process_tos_opt(char *s, int *val)
  		{ "cs7",		IPTOS_DSCP_CS7 },
  		{ "ef",			IPTOS_DSCP_EF },
  		{ "inetcontrol",	IPTOS_PREC_INTERNETCONTROL },
@@ -332,7 +332,7 @@ index e3c9c93..d235c55 100644
  		{ "lowdelay",		IPTOS_LOWDELAY },
  		{ "netcontrol",		IPTOS_PREC_NETCONTROL },
  		{ "reliability",	IPTOS_RELIABILITY },
-@@ -1815,6 +1875,9 @@ report_sock(const char *msg, const struct sockaddr *sa, socklen_t salen,
+@@ -1823,6 +1883,9 @@ report_sock(const char *msg, const struct sockaddr *sa, socklen_t salen,
  void
  help(void)
  {
@@ -342,7 +342,7 @@ index e3c9c93..d235c55 100644
  	usage(0);
  	fprintf(stderr, "\tCommand Summary:\n\
  	\t-4		Use IPv4\n\
-@@ -1857,7 +1920,7 @@ help(void)
+@@ -1865,7 +1928,7 @@ help(void)
  	\t-Z		Peer certificate file\n\
  	\t-z		Zero-I/O mode [used for scanning]\n\
  	Port numbers can be individual or ranges: lo-hi [inclusive]\n");
diff --git a/quit-timer.patch b/quit-timer.patch
index 4c73e48..97e1be6 100644
--- a/quit-timer.patch
+++ b/quit-timer.patch
@@ -36,7 +36,7 @@ index 5c12630..1724081 100644
  Choose source and/or destination ports randomly
  instead of sequentially within a range or in the order that the system
 diff --git a/netcat.c b/netcat.c
-index 7b38f40..bda96ce 100644
+index c8e1ec5..4d70e2a 100644
 --- a/netcat.c
 +++ b/netcat.c
 @@ -139,6 +139,7 @@ int	Nflag;					/* shutdown() network socket */
@@ -81,7 +81,7 @@ index 7b38f40..bda96ce 100644
  #ifdef HAVE_TLS
  		case 'R':
  			tls_cachanged = 1;
-@@ -1340,15 +1349,27 @@ readwrite(int net_fd)
+@@ -1342,15 +1351,27 @@ readwrite(int net_fd)
  	while (1) {
  		/* both inputs are gone, buffers are empty, we are done */
  		if (pfd[POLL_STDIN].fd == -1 && pfd[POLL_NETIN].fd == -1 &&
@@ -115,7 +115,7 @@ index 7b38f40..bda96ce 100644
  
  		/* poll */
  		num_fds = poll(pfd, 4, timeout);
-@@ -1505,6 +1526,13 @@ readwrite(int net_fd)
+@@ -1507,6 +1528,13 @@ readwrite(int net_fd)
  			if (pfd[POLL_NETOUT].fd != -1 && Nflag)
  				shutdown(pfd[POLL_NETOUT].fd, SHUT_WR);
  			pfd[POLL_NETOUT].fd = -1;
@@ -129,7 +129,7 @@ index 7b38f40..bda96ce 100644
  		}
  		/* net in gone and queue empty? */
  		if (pfd[POLL_NETIN].fd == -1 && netinbufpos == 0) {
-@@ -2116,6 +2144,7 @@ help(void)
+@@ -2124,6 +2152,7 @@ help(void)
  	\t-O length	TCP send buffer length\n\
  	\t-P proxyuser\tUsername for proxy authentication\n\
  	\t-p port\t	Specify local port for remote connects\n\
@@ -137,7 +137,7 @@ index 7b38f40..bda96ce 100644
  	\t-r		Randomize remote ports\n\
  	\t-S		Enable the TCP MD5 signature option\n\
  	\t-s sourceaddr	Local source address\n\
-@@ -2140,10 +2169,18 @@ usage(int ret)
+@@ -2148,10 +2177,18 @@ usage(int ret)
  	fprintf(stderr,
  	    "usage: nc [-46CDdFhklNnrStUuvz] [-I length] [-i interval] [-M ttl]\n"
  	    "\t  [-m minttl] [-O length] [-P proxy_username] [-p source_port]\n"
diff --git a/send-crlf.patch b/send-crlf.patch
index e723c6d..0c68a5e 100644
--- a/send-crlf.patch
+++ b/send-crlf.patch
@@ -42,7 +42,7 @@ index d285e62..5c12630 100644
  MAIL FROM:<user at host.example.com>
  RCPT TO:<user2 at host.example.com>
 diff --git a/netcat.c b/netcat.c
-index 9d4fa4f..7b38f40 100644
+index a9a38c5..c8e1ec5 100644
 --- a/netcat.c
 +++ b/netcat.c
 @@ -167,6 +167,8 @@ char	*tls_ciphers;				/* TLS ciphers */
@@ -83,7 +83,7 @@ index 9d4fa4f..7b38f40 100644
  #endif
  		case 'd':
  			dflag = 1;
-@@ -1344,12 +1350,6 @@ readwrite(int net_fd)
+@@ -1346,12 +1352,6 @@ readwrite(int net_fd)
  		    stdinbufpos == 0 && netinbufpos == 0)
  			return;
  
@@ -96,7 +96,7 @@ index 9d4fa4f..7b38f40 100644
  		/* poll */
  		num_fds = poll(pfd, 4, timeout);
  
-@@ -1429,7 +1429,7 @@ readwrite(int net_fd)
+@@ -1431,7 +1431,7 @@ readwrite(int net_fd)
  				pfd[POLL_NETOUT].events = POLLOUT;
  			else
  #else
@@ -105,7 +105,7 @@ index 9d4fa4f..7b38f40 100644
  #endif
  			if (ret == -1)
  				pfd[POLL_NETOUT].fd = -1;
-@@ -1488,7 +1488,7 @@ readwrite(int net_fd)
+@@ -1490,7 +1490,7 @@ readwrite(int net_fd)
  				pfd[POLL_STDOUT].events = POLLOUT;
  			else
  #else
@@ -114,7 +114,7 @@ index 9d4fa4f..7b38f40 100644
  #endif
  			if (ret == -1)
  				pfd[POLL_STDOUT].fd = -1;
-@@ -1514,36 +1514,43 @@ readwrite(int net_fd)
+@@ -1516,36 +1516,43 @@ readwrite(int net_fd)
  }
  
  ssize_t
@@ -179,7 +179,7 @@ index 9d4fa4f..7b38f40 100644
  	/* adjust buffer */
  	adjust = *bufpos - n;
  	if (adjust > 0)
-@@ -2093,6 +2100,7 @@ help(void)
+@@ -2101,6 +2108,7 @@ help(void)
  	fprintf(stderr, "\tCommand Summary:\n\
  	\t-4		Use IPv4\n\
  	\t-6		Use IPv6\n\
@@ -187,7 +187,7 @@ index 9d4fa4f..7b38f40 100644
  	\t-D		Enable the debug socket option\n\
  	\t-d		Detach from stdin\n\
  	\t-F		Pass socket fd\n\
-@@ -2130,7 +2138,7 @@ void
+@@ -2138,7 +2146,7 @@ void
  usage(int ret)
  {
  	fprintf(stderr,
diff --git a/serialized-handling-multiple-clients.patch b/serialized-handling-multiple-clients.patch
index bd093ca..c175a09 100644
--- a/serialized-handling-multiple-clients.patch
+++ b/serialized-handling-multiple-clients.patch
@@ -7,10 +7,10 @@ Subject: Serialized handling of multiple clients
  1 file changed, 8 insertions(+), 9 deletions(-)
 
 diff --git a/netcat.c b/netcat.c
-index 2768ef8..af3559e 100644
+index fba472d..8b586d8 100644
 --- a/netcat.c
 +++ b/netcat.c
-@@ -718,7 +718,10 @@ main(int argc, char *argv[])
+@@ -720,7 +720,10 @@ main(int argc, char *argv[])
  				s = unix_bind(host, 0);
  			else
  				s = unix_listen(host);
@@ -22,7 +22,7 @@ index 2768ef8..af3559e 100644
  
  #ifdef HAVE_TLS
  		if (usetls) {
-@@ -732,13 +735,6 @@ main(int argc, char *argv[])
+@@ -734,13 +737,6 @@ main(int argc, char *argv[])
  #endif
  		/* Allow only one connection at a time, but stay alive. */
  		for (;;) {
@@ -36,7 +36,7 @@ index 2768ef8..af3559e 100644
  			if (uflag && kflag) {
  				/*
  				 * For UDP and -k, don't connect the socket,
-@@ -812,8 +808,11 @@ main(int argc, char *argv[])
+@@ -814,8 +810,11 @@ main(int argc, char *argv[])
  #endif
  			}
  
diff --git a/set-TCP-MD5SIG-correctly-for-client-connections.patch b/set-TCP-MD5SIG-correctly-for-client-connections.patch
index 01a3a8d..3d2b1e9 100644
--- a/set-TCP-MD5SIG-correctly-for-client-connections.patch
+++ b/set-TCP-MD5SIG-correctly-for-client-connections.patch
@@ -7,7 +7,7 @@ Subject: Fix TCP MD5SIG for client connections
  1 file changed, 26 insertions(+), 8 deletions(-)
 
 diff --git a/netcat.c b/netcat.c
-index af3559e..6d4faae 100644
+index 8b586d8..c453f6b 100644
 --- a/netcat.c
 +++ b/netcat.c
 @@ -46,6 +46,9 @@
@@ -51,7 +51,7 @@ index af3559e..6d4faae 100644
  			Sflag = 1;
  #else
  			errx(1, "no TCP MD5 signature support available");
-@@ -1166,7 +1175,7 @@ remote_connect(const char *host, const char *port, struct addrinfo hints,
+@@ -1168,7 +1177,7 @@ remote_connect(const char *host, const char *port, struct addrinfo hints,
  			freeaddrinfo(ares);
  		}
  
@@ -60,7 +60,7 @@ index af3559e..6d4faae 100644
  
  		if (ipaddr != NULL) {
  			herr = getnameinfo(res->ai_addr, res->ai_addrlen,
-@@ -1341,7 +1350,7 @@ local_listen(const char *host, const char *port, struct addrinfo hints)
+@@ -1343,7 +1352,7 @@ local_listen(const char *host, const char *port, struct addrinfo hints)
  			err(1, NULL);
  #endif
  
@@ -69,7 +69,7 @@ index af3559e..6d4faae 100644
  
  		if (bind(s, (struct sockaddr *)res->ai_addr,
  		    res->ai_addrlen) == 0)
-@@ -1915,9 +1924,10 @@ connection_info(const char *host, const char *port, const char *proto,
+@@ -1922,9 +1931,10 @@ connection_info(const char *host, const char *port, const char *proto,
  }
  
  void
@@ -81,7 +81,7 @@ index af3559e..6d4faae 100644
  
  #ifdef SO_BROADCAST
  	if (bflag) {
-@@ -1928,10 +1938,18 @@ set_common_sockopts(int s, int af)
+@@ -1935,10 +1945,18 @@ set_common_sockopts(int s, int af)
  			err(1, NULL);
  	}
  #endif
diff --git a/udp-scan-timeout.patch b/udp-scan-timeout.patch
index a19c99e..5de8573 100644
--- a/udp-scan-timeout.patch
+++ b/udp-scan-timeout.patch
@@ -7,7 +7,7 @@ Subject: Fix UDP scan timeout
  1 file changed, 14 insertions(+), 7 deletions(-)
 
 diff --git a/netcat.c b/netcat.c
-index bda96ce..1c9144f 100644
+index 4d70e2a..cb7db2d 100644
 --- a/netcat.c
 +++ b/netcat.c
 @@ -129,6 +129,8 @@
@@ -19,7 +19,7 @@ index bda96ce..1c9144f 100644
  /* Command Line Options */
  int	dflag;					/* detached, no stdin */
  int	Fflag;					/* fdpass sock to stdout */
-@@ -1799,19 +1801,24 @@ build_ports(char *p)
+@@ -1801,19 +1803,24 @@ build_ports(char *p)
  int
  udptest(int s)
  {
diff --git a/use-flags-to-specify-listen-address.patch b/use-flags-to-specify-listen-address.patch
index a3d5df9..efcc7e4 100644
--- a/use-flags-to-specify-listen-address.patch
+++ b/use-flags-to-specify-listen-address.patch
@@ -44,7 +44,7 @@ index ed659b4..91b719e 100644
  .It Fl T Ar keyword
  Change the IPv4 TOS/IPv6 traffic class value.
 diff --git a/netcat.c b/netcat.c
-index b2b4ebc..b11846c 100644
+index 26e9b8d..faa3353f 100644
 --- a/netcat.c
 +++ b/netcat.c
 @@ -510,27 +510,42 @@ main(int argc, char *argv[])
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/netcat-openbsd.git/commitdiff/7cf33e37750ec8e1eda57d5ce53ed67416aa57b6



More information about the pld-cvs-commit mailing list