summaryrefslogtreecommitdiff
path: root/net/proxychains/files/patch-proxychains::libproxychains.c
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-10-10 05:37:58 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-10-10 05:37:58 +0000
commit5f87cef0b9c7f52910072390c8f5393fb8318bb1 (patch)
tree2a2b7e504b59e66f13d40a25e7da84176233ccef /net/proxychains/files/patch-proxychains::libproxychains.c
parentNew port: yaph 0.91 (diff)
New port, proxychains 1.8.2
This program forces any tcp connection made by any given tcp client to follow through proxy (or proxy chain). It is a kind of proxifier. It acts like sockscap / permeo / eborder driver (intercepts TCP calls). PR: ports/53318 Submitted by: Patrick MARIE <mycroft@virgaria.org>
Diffstat (limited to '')
-rw-r--r--net/proxychains/files/patch-proxychains::libproxychains.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/net/proxychains/files/patch-proxychains::libproxychains.c b/net/proxychains/files/patch-proxychains::libproxychains.c
new file mode 100644
index 000000000000..e431672d5615
--- /dev/null
+++ b/net/proxychains/files/patch-proxychains::libproxychains.c
@@ -0,0 +1,22 @@
+--- proxychains/libproxychains.c.orig Wed Jun 4 11:11:03 2003
++++ proxychains/libproxychains.c Sat Jun 14 15:17:55 2003
+@@ -14,6 +14,10 @@
+ * (at your option) any later version. *
+ * *
+ ***************************************************************************/
++#ifdef HAVE_CONFIG_H
++#include <config.h>
++#endif
++
+ #include <stdio.h>
+ #include <unistd.h>
+ #include <stdlib.h>
+@@ -72,7 +76,7 @@
+
+ if(!(file=fopen("./proxychains.conf","r")))
+ if(!(file=fopen(buff,"r")))
+- if(!(file=fopen("/etc/proxychains.conf","r")))
++ if(!(file=fopen(PREFIX "/etc/proxychains.conf","r")))
+ {
+ perror("1");
+ exit(1);