pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/socat socat: Update to 0.0.12



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b255ed13c689
branches:  trunk
changeset: 382227:b255ed13c689
user:      leot <leot%pkgsrc.org@localhost>
date:      Sat Jul 23 15:40:33 2022 +0000

description:
socat: Update to 0.0.12

pkgsrc changes:
 - Remove hopefully no longer needed patch-fdname.c, Solaris support should be
   now properly handled by upstream too

Changes:
1.7.4.3
-------
Fixes the TCP_INFO issue that broke building on non-Linux platforms. Furthermore,
building on AIX works again. A few more corrections and improvements have been
added.

1.7.4.2
-------
Fixes a lot of bugs, e.g., for options -r and -R.

diffstat:

 net/socat/Makefile               |   5 ++---
 net/socat/distinfo               |   9 ++++-----
 net/socat/patches/patch-fdname.c |  28 ----------------------------
 3 files changed, 6 insertions(+), 36 deletions(-)

diffs (64 lines):

diff -r 7580f32d17dd -r b255ed13c689 net/socat/Makefile
--- a/net/socat/Makefile        Sat Jul 23 15:19:43 2022 +0000
+++ b/net/socat/Makefile        Sat Jul 23 15:40:33 2022 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.47 2022/04/03 10:29:41 riastradh Exp $
+# $NetBSD: Makefile,v 1.48 2022/07/23 15:40:33 leot Exp $
 
-DISTNAME=      socat-1.7.4.1
-PKGREVISION=   1
+DISTNAME=      socat-1.7.4.3
 CATEGORIES=    net
 MASTER_SITES=  http://www.dest-unreach.org/socat/download/
 
diff -r 7580f32d17dd -r b255ed13c689 net/socat/distinfo
--- a/net/socat/distinfo        Sat Jul 23 15:19:43 2022 +0000
+++ b/net/socat/distinfo        Sat Jul 23 15:40:33 2022 +0000
@@ -1,11 +1,10 @@
-$NetBSD: distinfo,v 1.34 2022/04/03 10:29:41 riastradh Exp $
+$NetBSD: distinfo,v 1.35 2022/07/23 15:40:33 leot Exp $
 
-BLAKE2s (socat-1.7.4.1.tar.gz) = 40fc322f89ca333a35c77cb25d71512404bfd116d36aecedb1773201f37b5d2e
-SHA512 (socat-1.7.4.1.tar.gz) = e43c8b23a841aea5ecc3ac324185ee4ada552a8284ec41b99245def2d8b493bca9caea1af6f646f434a7eda67a1dd71e4e037eea65fce0444840236eadb126a6
-Size (socat-1.7.4.1.tar.gz) = 648888 bytes
+BLAKE2s (socat-1.7.4.3.tar.gz) = 4fadaae253185c23ce27765d3bbe6744889d8b9f1cc660bc7ebff939916d1d9f
+SHA512 (socat-1.7.4.3.tar.gz) = 81cb34c245052b6a0ae38a711591358460b6070957af4a9eeb11a3cadb4aff184eeaedabbc7ecdc7fdf21a6126c06f90f19b24a87ce74b30bfd60a3879181046
+Size (socat-1.7.4.3.tar.gz) = 655520 bytes
 SHA1 (patch-config.h.in) = e0cb8c4075ca96863e458f1c2384dc7a6b69e928
 SHA1 (patch-configure) = ba75b5f192c1359220bea019fa50603b2b5c7c3a
-SHA1 (patch-fdname.c) = c59bd921989e4d84375764fdd707b7cd6c49ceba
 SHA1 (patch-sysincludes.h) = d48307ade6bc82bea946920e7336bc5329714c08
 SHA1 (patch-sysutils.c) = 03ae8b81f0277d8dbbdf82e5b215d7099b25cc36
 SHA1 (patch-xio-openssl.c) = 26745eff5eab745ac45eb04b2243b0bc4bfd6b8d
diff -r 7580f32d17dd -r b255ed13c689 net/socat/patches/patch-fdname.c
--- a/net/socat/patches/patch-fdname.c  Sat Jul 23 15:19:43 2022 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,28 +0,0 @@
-$NetBSD: patch-fdname.c,v 1.1 2021/01/08 08:47:29 otis Exp $
-
-Use correct prototype for getprotobynumber_r() on SunOS
-
---- fdname.c.orig      2021-01-03 18:23:22.000000000 +0000
-+++ fdname.c
-@@ -232,7 +232,7 @@ int sockname(int fd, FILE *outfile, char
-    /*Linux struct ifreq ifc = {{{ 0 }}};*/
-    struct ifreq ifc = {{ 0 }};
- #endif
--   int rc;
-+   int rc = 0;
- 
- #if defined(SO_PROTOCOL) || defined(SO_PROTOTYPE)
-    optlen = sizeof(proto);
-@@ -254,7 +254,12 @@ int sockname(int fd, FILE *outfile, char
- 
- #if defined(SO_PROTOCOL) || defined(SO_PROTOTYPE)
- #if HAVE_GETPROTOBYNUMBER_R
-+#if defined(__sun)
-+   protoentp = getprotobynumber_r(proto, &protoent, protoname, sizeof(protoname));
-+   rc = errno;
-+#else
-    rc = getprotobynumber_r(proto, &protoent, protoname, sizeof(protoname), &protoentp);
-+#endif
-    if (protoentp == NULL) {
-       Warn2("sockname(): getprotobynumber_r(proto=%d, ...): %s",
-           proto, strerror(rc));



Home | Main Index | Thread Index | Old Index