Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Feb 2021 17:45:07 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r563835 - in head/net/socat: . files
Message-ID:  <202102021745.112Hj7Bd045538@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Tue Feb  2 17:45:06 2021
New Revision: 563835
URL: https://svnweb.freebsd.org/changeset/ports/563835

Log:
  Enhance the sample configuration with a TCP example for making things
  easier to start as quickly as possible.
  
  PR:		253180
  Submitted by:	Harald Schmalzbauer <bugzilla.freebsd@omnilan.de>

Modified:
  head/net/socat/Makefile
  head/net/socat/files/socat-instances.conf.sample

Modified: head/net/socat/Makefile
==============================================================================
--- head/net/socat/Makefile	Tue Feb  2 17:42:42 2021	(r563834)
+++ head/net/socat/Makefile	Tue Feb  2 17:45:06 2021	(r563835)
@@ -3,6 +3,7 @@
 
 PORTNAME=	socat
 PORTVERSION=	1.7.4.1
+PORTREVISION=	1
 CATEGORIES=	net
 MASTER_SITES=	http://www.dest-unreach.org/socat/download/ \
 		LOCAL/ehaupt

Modified: head/net/socat/files/socat-instances.conf.sample
==============================================================================
--- head/net/socat/files/socat-instances.conf.sample	Tue Feb  2 17:42:42 2021	(r563834)
+++ head/net/socat/files/socat-instances.conf.sample	Tue Feb  2 17:45:06 2021	(r563835)
@@ -8,11 +8,15 @@
 # with [instancename].  instancename can be any alnum and is case insensitive
 # (will internally be converted to upper case).
 
-#[ntp4]
+#[http4]
 # Default socat_daemonuser=nobody won't be able to open sockets with port numbers
 # below 1024.
 #daemonuser=root
-#flags="UDP4-RECVFROM:123,fork,bind=192.0.2.20 UDP4-SENDTO:169.254.0.53:123"
+#flags="TCP4-LISTEN:80,fork,bind=192.0.2.3 TCP4:169.254.0.1:80"
+
+#[ntp4]
+#daemonuser=root
+#flags="UDP4-RECVFROM:123,fork,bind=192.0.2.3 UDP4-SENDTO:169.254.0.53:123"
 
 #[ntp6]
 #daemonuser=root



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202102021745.112Hj7Bd045538>