summaryrefslogtreecommitdiff
path: root/net/uucp/patches/patch-al
diff options
context:
space:
mode:
Diffstat (limited to 'net/uucp/patches/patch-al')
-rw-r--r--net/uucp/patches/patch-al26
1 files changed, 26 insertions, 0 deletions
diff --git a/net/uucp/patches/patch-al b/net/uucp/patches/patch-al
new file mode 100644
index 00000000000..ca2e4e400d9
--- /dev/null
+++ b/net/uucp/patches/patch-al
@@ -0,0 +1,26 @@
+$NetBSD: patch-al,v 1.1 2006/10/30 03:33:59 jlam Exp $
+
+--- unix/pipe.c.orig 2003-05-29 02:08:49.000000000 -0400
++++ unix/pipe.c
+@@ -199,6 +199,7 @@ fspipe_dial (qconn, puuconf, qsys, zphon
+ struct ssysdep_conn *q;
+ int aidescs[3];
+ const char **pzprog;
++ const char **p;
+
+ q = (struct ssysdep_conn *) qconn->psysdep;
+
+@@ -212,6 +213,13 @@ fspipe_dial (qconn, puuconf, qsys, zphon
+ return FALSE;
+ }
+
++ /* Look for a string \H and substitute the address given for this
++ system. This is useful, e.g. for generic UUCP over SSH or SSL.
++ Idea and part of the patch by Joerg Durchain. */
++ for (p=pzprog; *p; p++)
++ if (!strcmp(*p, "\\H"))
++ *p = zphone;
++
+ aidescs[0] = SPAWN_WRITE_PIPE;
+ aidescs[1] = SPAWN_READ_PIPE;
+ aidescs[2] = SPAWN_NULL;