openbsd-ports/net/socat/patches/patch-doc_socat_html
tb c93b1e8962 update socat to 1.7.4.1
There are a few security fixes and lots of small other fixes.
http://www.dest-unreach.org/socat/doc/CHANGES

The SSL EGD and compression stuff is now properly ifdef'ed so we can get
rid of a lot of patching.  New patch due to non-portable getprotobynumber_r
use.  I added a test target, so tests can be run from the ports directory.

ok sthen, maintainer timeout
2021-03-20 16:24:37 +00:00

31 lines
1.4 KiB
Plaintext

$OpenBSD: patch-doc_socat_html,v 1.3 2021/03/20 16:24:37 tb Exp $
Index: doc/socat.html
--- doc/socat.html.orig
+++ doc/socat.html
@@ -3509,10 +3505,10 @@ connection, invokes a shell. This shell has its stdin
connected to the TCP socket (<a href="socat.html#OPTION_NOFORK">nofork</a>). The shell starts filan and lets it print the socket addresses to
stderr (your terminal window).
<p>
-<p><dt><strong><strong><code>echo -e "\0\14\0\0\c" |socat -u - file:/usr/bin/squid.exe,seek=0x00074420</code></strong></strong><dd>
+<p><dt><strong><strong><code>echo -e "\0\14\0\0\c" |socat -u - file:${LOCALBASE}/bin/squid.exe,seek=0x00074420</code></strong></strong><dd>
<p>
functions as primitive binary editor: it writes the 4 bytes 000 014 000 000 to
-the executable /usr/bin/squid at offset 0x00074420 (this is a real world patch
+the executable ${LOCALBASE}/bin/squid at offset 0x00074420 (this is a real world patch
to make the squid executable from Cygwin run under Windows, actual per May 2004).
<p>
<p><dt><strong><strong><code>socat - tcp:www.blackhat.org:31337,readbytes=1000</code></strong></strong><dd>
@@ -3669,9 +3665,9 @@ error.
<a name="FILES"></a>
<h2>FILES</h2>
<p>
-/usr/bin/socat <br>
-/usr/bin/filan <br>
-/usr/bin/procan
+${LOCALBASE}/bin/socat <br>
+${LOCALBASE}/bin/filan <br>
+${LOCALBASE}/bin/procan
<p>
<a name="ENVIRONMENT_VARIABLES"></a>
<h2>ENVIRONMENT VARIABLES</h2>