summaryrefslogtreecommitdiff
path: root/net/socat
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2023-11-17 15:56:58 +0100
committerEmanuel Haupt <ehaupt@FreeBSD.org>2023-11-17 15:57:03 +0100
commit17032d37f2de1d8d259579fe3e7ad8cd7a6df54a (patch)
tree4c28783c1c82cf1b4a71281d9ad3a341697318f7 /net/socat
parentnet-mgmt/librenms: Update to 23.11.0 (diff)
net/socat: Update to 1.8.0.0
Diffstat (limited to 'net/socat')
-rw-r--r--net/socat/Makefile2
-rw-r--r--net/socat/distinfo6
-rw-r--r--net/socat/files/patch-xio-dccp.c23
3 files changed, 27 insertions, 4 deletions
diff --git a/net/socat/Makefile b/net/socat/Makefile
index 5a7f7b7e39ee..048726802dd7 100644
--- a/net/socat/Makefile
+++ b/net/socat/Makefile
@@ -1,5 +1,5 @@
PORTNAME= socat
-DISTVERSION= 1.7.4.4
+DISTVERSION= 1.8.0.0
CATEGORIES= net
MASTER_SITES= http://www.dest-unreach.org/socat/download/ \
LOCAL/ehaupt
diff --git a/net/socat/distinfo b/net/socat/distinfo
index 432f949e2309..a8cfcb2ee1fa 100644
--- a/net/socat/distinfo
+++ b/net/socat/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1667812252
-SHA256 (socat-1.7.4.4.tar.bz2) = fbd42bd2f0e54a3af6d01bdf15385384ab82dbc0e4f1a5e153b3e0be1b6380ac
-SIZE (socat-1.7.4.4.tar.bz2) = 522127
+TIMESTAMP = 1700229347
+SHA256 (socat-1.8.0.0.tar.bz2) = e1de683dd22ee0e3a6c6bbff269abe18ab0c9d7eb650204f125155b9005faca7
+SIZE (socat-1.8.0.0.tar.bz2) = 564066
diff --git a/net/socat/files/patch-xio-dccp.c b/net/socat/files/patch-xio-dccp.c
new file mode 100644
index 000000000000..65e796dddf85
--- /dev/null
+++ b/net/socat/files/patch-xio-dccp.c
@@ -0,0 +1,23 @@
+--- xio-dccp.c.orig 2023-11-13 19:31:08 UTC
++++ xio-dccp.c
+@@ -5,6 +5,9 @@
+ /* this file contains the source for DCCP related functions and options */
+
+ #include "xiosysincludes.h"
++#include <sys/types.h>
++#include <sys/socket.h>
++#include <netinet/in.h>
+
+ #if WITH_DCCP
+
+@@ -13,6 +16,10 @@
+ #include "xio-ip4.h"
+ #include "xio-ipapp.h"
+ #include "xio-dccp.h"
++
++#ifndef SOCK_DCCP
++#define SOCK_DCCP 6
++#endif
+
+ /****** DCCP addresses ******/
+