The SOCKS proxy and relay.
* Srelay is a socks4/5 protocol proxy server * Supports socks connect/bind request in the protocol v4, v4a, and v5. * Supports socks server chaining with both v4 and v5 servers. * Supports Username/Password authentication in v5 (not recommended). * Testing on FreeBSD 8.1R, Solaris 8, 10, Linux-i386, MacOS 10.5. * Supports IPv6 as well as IPv4. * Srelay is Free. WWW: https://github.com/gco/srelay
This commit is contained in:
parent
b2cd640ad2
commit
7e7c10ce1e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=394213
6 changed files with 73 additions and 0 deletions
|
@ -1178,6 +1178,7 @@
|
|||
SUBDIR += spread4
|
||||
SUBDIR += sprinkle
|
||||
SUBDIR += sqtop
|
||||
SUBDIR += srelay
|
||||
SUBDIR += ss5
|
||||
SUBDIR += ssldump
|
||||
SUBDIR += sslh
|
||||
|
|
26
net/srelay/Makefile
Normal file
26
net/srelay/Makefile
Normal file
|
@ -0,0 +1,26 @@
|
|||
# Created by: Bernhard Froehlich <decke@bluelife.at>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= srelay
|
||||
PORTVERSION= 0.4.8b6
|
||||
CATEGORIES= net
|
||||
|
||||
MAINTAINER= decke@FreeBSD.org
|
||||
COMMENT= Srelay is a SOCKS4/5 proxy and Relay
|
||||
|
||||
LICENSE= BSD3CLAUSE
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= gco
|
||||
GH_TAGNAME= 9461835
|
||||
|
||||
HAS_CONFIGURE= yes
|
||||
USE_RC_SUBR= srelay
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/srelay.conf ${STAGEDIR}${PREFIX}/etc/srelay.conf.sample
|
||||
${INSTALL_DATA} ${WRKSRC}/srelay.passwd ${STAGEDIR}${PREFIX}/etc/srelay.passwd.sample
|
||||
${INSTALL_MAN} ${WRKSRC}/srelay.8 ${STAGEDIR}${PREFIX}/man/man8
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/srelay ${STAGEDIR}${PREFIX}/sbin
|
||||
|
||||
.include <bsd.port.mk>
|
2
net/srelay/distinfo
Normal file
2
net/srelay/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
|||
SHA256 (gco-srelay-0.4.8b6-9461835_GH0.tar.gz) = 52752c52660520570bf70719f8a6ca6775885bd8e9fa557020c1aa891ba274e0
|
||||
SIZE (gco-srelay-0.4.8b6-9461835_GH0.tar.gz) = 110152
|
29
net/srelay/files/srelay.in
Normal file
29
net/srelay/files/srelay.in
Normal file
|
@ -0,0 +1,29 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
# PROVIDE: srelay
|
||||
# REQUIRE: DAEMON jail
|
||||
# BEFORE: LOGIN
|
||||
# KEYWORD: FreeBSD NetBSD shutdown
|
||||
#
|
||||
# Add the following line to /etc/rc.conf to enable srelay:
|
||||
#
|
||||
# srelay_enable="YES"
|
||||
# srelay_flags="-i 127.0.0.1"
|
||||
#
|
||||
|
||||
. /etc/rc.subr
|
||||
|
||||
name=srelay
|
||||
rcvar=srelay_enable
|
||||
|
||||
load_rc_config $name
|
||||
: ${srelay_enable="NO"}
|
||||
|
||||
command="%%LOCALBASE%%/sbin/srelay"
|
||||
pid_file="/var/run/srelay.pid"
|
||||
|
||||
load_rc_config $name
|
||||
|
||||
run_rc_command "$1"
|
11
net/srelay/pkg-descr
Normal file
11
net/srelay/pkg-descr
Normal file
|
@ -0,0 +1,11 @@
|
|||
The SOCKS proxy and relay.
|
||||
|
||||
* Srelay is a socks4/5 protocol proxy server
|
||||
* Supports socks connect/bind request in the protocol v4, v4a, and v5.
|
||||
* Supports socks server chaining with both v4 and v5 servers.
|
||||
* Supports Username/Password authentication in v5 (not recommended).
|
||||
* Testing on FreeBSD 8.1R, Solaris 8, 10, Linux-i386, MacOS 10.5.
|
||||
* Supports IPv6 as well as IPv4.
|
||||
* Srelay is Free.
|
||||
|
||||
WWW: https://github.com/gco/srelay
|
4
net/srelay/pkg-plist
Normal file
4
net/srelay/pkg-plist
Normal file
|
@ -0,0 +1,4 @@
|
|||
@sample etc/srelay.conf.sample
|
||||
@sample etc/srelay.passwd.sample
|
||||
man/man8/srelay.8.gz
|
||||
sbin/srelay
|
Loading…
Reference in a new issue