Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Aug 2015 13:45:47 +0000 (UTC)
From:      Bernhard Froehlich <decke@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r394213 - in head/net: . srelay srelay/files
Message-ID:  <201508141345.t7EDjl9w059001@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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>

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 @@
+@sample etc/srelay.conf.sample
+@sample etc/srelay.passwd.sample
+man/man8/srelay.8.gz
+sbin/srelay



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201508141345.t7EDjl9w059001>