aboutsummaryrefslogtreecommitdiff
path: root/net/socat
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2021-02-02 17:45:06 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2021-02-02 17:45:06 +0000
commit821f486ee176d03e6beb04daba015a972e6b3d97 (patch)
tree43bcd8289e3358b4b7ec665d906d826484589da4 /net/socat
parent8465ed16fd8f748c6b7b32a809d41590583a051d (diff)
Notes
Diffstat (limited to 'net/socat')
-rw-r--r--net/socat/Makefile1
-rw-r--r--net/socat/files/socat-instances.conf.sample8
2 files changed, 7 insertions, 2 deletions
diff --git a/net/socat/Makefile b/net/socat/Makefile
index 895ea0eb7f0d..0019c58ef2b0 100644
--- a/net/socat/Makefile
+++ b/net/socat/Makefile
@@ -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
diff --git a/net/socat/files/socat-instances.conf.sample b/net/socat/files/socat-instances.conf.sample
index ff4c20d1e814..a11ed9a50c4c 100644
--- a/net/socat/files/socat-instances.conf.sample
+++ b/net/socat/files/socat-instances.conf.sample
@@ -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