summaryrefslogtreecommitdiffstats
path: root/net-proxy/socks5/files
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-09-01 00:00:32 +0200
committerSuren A. Chilingaryan <csa@suren.me>2019-09-01 00:00:32 +0200
commitca9627e70852f6b2e835660df870fe3ab405882d (patch)
tree0a008b1d5b16fa0679a195ed7b5662c7891f591c /net-proxy/socks5/files
downloaddarklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.gz
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.bz2
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.xz
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.zip
Initial import
Diffstat (limited to 'net-proxy/socks5/files')
-rw-r--r--net-proxy/socks5/files/socks5-v1.0r11-ifaaddr.patch.bz2bin0 -> 407 bytes
-rw-r--r--net-proxy/socks5/files/socks5-v1.0r11.patch1.txt.bz2bin0 -> 529 bytes
-rw-r--r--net-proxy/socks5/files/socks5-v1.0r11.tar.bz2bin0 -> 329136 bytes
-rw-r--r--net-proxy/socks5/files/socks5-vararg.patch.bz2bin0 -> 1062 bytes
-rw-r--r--net-proxy/socks5/files/socks5.init20
-rw-r--r--net-proxy/socks5/files/unsocks28
6 files changed, 48 insertions, 0 deletions
diff --git a/net-proxy/socks5/files/socks5-v1.0r11-ifaaddr.patch.bz2 b/net-proxy/socks5/files/socks5-v1.0r11-ifaaddr.patch.bz2
new file mode 100644
index 0000000..7847dd3
--- /dev/null
+++ b/net-proxy/socks5/files/socks5-v1.0r11-ifaaddr.patch.bz2
Binary files differ
diff --git a/net-proxy/socks5/files/socks5-v1.0r11.patch1.txt.bz2 b/net-proxy/socks5/files/socks5-v1.0r11.patch1.txt.bz2
new file mode 100644
index 0000000..216c385
--- /dev/null
+++ b/net-proxy/socks5/files/socks5-v1.0r11.patch1.txt.bz2
Binary files differ
diff --git a/net-proxy/socks5/files/socks5-v1.0r11.tar.bz2 b/net-proxy/socks5/files/socks5-v1.0r11.tar.bz2
new file mode 100644
index 0000000..d6df932
--- /dev/null
+++ b/net-proxy/socks5/files/socks5-v1.0r11.tar.bz2
Binary files differ
diff --git a/net-proxy/socks5/files/socks5-vararg.patch.bz2 b/net-proxy/socks5/files/socks5-vararg.patch.bz2
new file mode 100644
index 0000000..87ce8ce
--- /dev/null
+++ b/net-proxy/socks5/files/socks5-vararg.patch.bz2
Binary files differ
diff --git a/net-proxy/socks5/files/socks5.init b/net-proxy/socks5/files/socks5.init
new file mode 100644
index 0000000..d2fb964
--- /dev/null
+++ b/net-proxy/socks5/files/socks5.init
@@ -0,0 +1,20 @@
+#!/sbin/runscript
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header:
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting socks5:"
+ socks5
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping socks5:"
+ killall ${KILL_OPTS} socks5
+ eend $?
+}
diff --git a/net-proxy/socks5/files/unsocks b/net-proxy/socks5/files/unsocks
new file mode 100644
index 0000000..63b8d91
--- /dev/null
+++ b/net-proxy/socks5/files/unsocks
@@ -0,0 +1,28 @@
+#!/bin/sh
+
+################################################################################
+##
+## unsocks - Don't let the dynamic socks library be loaded
+##
+## If you have in your ~/.profile the following
+##
+## export LD_PRELOAD=libsocks5_sh.so
+##
+## All your session will be socksified.
+## Some programs don't like it so you can use unsocks to run them unsocksified.
+## The usage is very similar to runsocks(1).
+##
+## This is free software distributed under GPL
+##
+## Avi Alkalay <avi@br.ibm.com>
+## 5 Jun 1999
+################################################################################
+
+
+if [ -n "$LD_PRELOAD" ]; then
+ ld_new=`echo $LD_PRELOAD | sed -e 's|libsocks5_sh.so||g'`
+ LD_PRELOAD=$ld_new
+ export LD_PRELOAD
+fi
+
+exec "$@"