diff --git a/net/socat/Makefile b/net/socat/Makefile index 5a7f7b7e39ee..048726802dd7 100644 --- a/net/socat/Makefile +++ b/net/socat/Makefile @@ -1,49 +1,49 @@ 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 MAINTAINER= ehaupt@FreeBSD.org COMMENT= Multipurpose relay and more WWW= http://www.dest-unreach.org/socat/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING USES= compiler cpe ssl tar:bzip2 CPE_VENDOR= dest-unreach USE_RC_SUBR= socat GNU_CONFIGURE= yes PORTSCOUT= skipv:2.0.0-b2 PLIST_FILES= bin/filan \ bin/procan \ bin/socat \ "@sample etc/socat-instances.conf.sample" \ man/man1/socat.1.gz PORTDOCS= EXAMPLES FAQ README SECURITY OPTIONS_DEFINE= DOCS READLINE READLINE_USES= readline READLINE_CONFIGURE_ENABLE= readline .include .if ${SSL_DEFAULT} != base USES+= localbase .endif do-install: .for f in filan procan socat ${INSTALL_PROGRAM} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin .endfor ${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${FILESDIR}/socat-instances.conf.sample ${STAGEDIR}${PREFIX}/etc .include 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 ++#include ++#include + + #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 ******/ +