svn commit: r563835 - in head/net/socat: . files

Emanuel Haupt ehaupt at FreeBSD.org
Tue Feb 2 17:45:07 UTC 2021


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 at 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


More information about the svn-ports-all mailing list