svn commit: r394213 - in head/net: . srelay srelay/files

Bernhard Froehlich decke at FreeBSD.org
Fri Aug 14 13:45:49 UTC 2015


Author: decke
Date: Fri Aug 14 13:45:47 2015
New Revision: 394213
URL: https://svnweb.freebsd.org/changeset/ports/394213

Log:
  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

Added:
  head/net/srelay/
  head/net/srelay/Makefile   (contents, props changed)
  head/net/srelay/distinfo   (contents, props changed)
  head/net/srelay/files/
  head/net/srelay/files/srelay.in   (contents, props changed)
  head/net/srelay/pkg-descr   (contents, props changed)
  head/net/srelay/pkg-plist   (contents, props changed)
Modified:
  head/net/Makefile

Modified: head/net/Makefile
==============================================================================
--- head/net/Makefile	Fri Aug 14 13:37:02 2015	(r394212)
+++ head/net/Makefile	Fri Aug 14 13:45:47 2015	(r394213)
@@ -1178,6 +1178,7 @@
     SUBDIR += spread4
     SUBDIR += sprinkle
     SUBDIR += sqtop
+    SUBDIR += srelay
     SUBDIR += ss5
     SUBDIR += ssldump
     SUBDIR += sslh

Added: head/net/srelay/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/srelay/Makefile	Fri Aug 14 13:45:47 2015	(r394213)
@@ -0,0 +1,26 @@
+# Created by: Bernhard Froehlich <decke at bluelife.at>
+# $FreeBSD$
+
+PORTNAME=	srelay
+PORTVERSION=	0.4.8b6
+CATEGORIES=	net
+
+MAINTAINER=	decke at 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>

Added: head/net/srelay/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/srelay/distinfo	Fri Aug 14 13:45:47 2015	(r394213)
@@ -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

Added: head/net/srelay/files/srelay.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/srelay/files/srelay.in	Fri Aug 14 13:45:47 2015	(r394213)
@@ -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"

Added: head/net/srelay/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/srelay/pkg-descr	Fri Aug 14 13:45:47 2015	(r394213)
@@ -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

Added: head/net/srelay/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/srelay/pkg-plist	Fri Aug 14 13:45:47 2015	(r394213)
@@ -0,0 +1,4 @@
+ at sample etc/srelay.conf.sample
+ at sample etc/srelay.passwd.sample
+man/man8/srelay.8.gz
+sbin/srelay


More information about the svn-ports-all mailing list