Index: security/obfs4proxy-tor/Makefile =================================================================== --- security/obfs4proxy-tor/Makefile (nonexistent) +++ security/obfs4proxy-tor/Makefile (working copy) @@ -0,0 +1,44 @@ +# $FreeBSD$ + +PORTNAME= obfs4proxy +DISTVERSION= 0.0.7 +CATEGORIES= security net ipv6 +MASTER_SITES= https://people.torproject.org/~yawning/releases/${PORTNAME}/ +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} +PKGNAMESUFFIX= -tor + +MAINTAINER= egypcio@googlemail.com +COMMENT= Pluggable transport proxy for Tor (obfs4, The Obfuscator) + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= go:lang/go + +CPE_VENDOR= torproject + +USES= cpe tar:xz +USE_GITHUB= nodefault +GH_TUPLE= Yawning:goptlib:9b7a700:goptlib/obfs4proxy/src/git.torproject.org/pluggable-transports/goptlib.git \ + agl:ed25519:5312a61:ed25519/obfs4proxy/src/github.com/agl/ed25519 \ + dchest:siphash:4ebf1de:siphash/obfs4proxy/src/github.com/dchest/siphash \ + golang:crypto:d585fd2:crypto/obfs4proxy/src/golang.org/x/crypto \ + golang:net:d866cfc:net/obfs4proxy/src/golang.org/x/net + +SUB_FILES= pkg-message + +PLIST_FILES= bin/obfs4proxy \ + man/man1/obfs4proxy.1.gz + +pre-build: + @${RLN} ${WRKSRC} ${WRKSRC}/obfs4proxy/src/git.torproject.org/pluggable-transports/obfs4.git + +do-build: + @cd ${WRKSRC}/obfs4proxy && \ + ${SETENV} GOPATH=${WRKSRC}/obfs4proxy go build + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/obfs4proxy/obfs4proxy ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/doc/obfs4proxy.1 ${STAGEDIR}${PREFIX}/man/man1 + +.include Property changes on: security/obfs4proxy-tor/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: security/obfs4proxy-tor/distinfo =================================================================== --- security/obfs4proxy-tor/distinfo (nonexistent) +++ security/obfs4proxy-tor/distinfo (working copy) @@ -0,0 +1,13 @@ +TIMESTAMP = 1513794378 +SHA256 (obfs4proxy-0.0.7.tar.xz) = c07a1a690ebab3057c8b566e1a4902439c77d1ba5c35bbf42fcdc5b46ab3ca63 +SIZE (obfs4proxy-0.0.7.tar.xz) = 56184 +SHA256 (Yawning-goptlib-9b7a700_GH0.tar.gz) = 8c93d2c7e0221e54ef94f2eccde6e7b0e78258a39df5e38c97458ba57e2f460c +SIZE (Yawning-goptlib-9b7a700_GH0.tar.gz) = 20819 +SHA256 (agl-ed25519-5312a61_GH0.tar.gz) = 8508e21ca8bf39df655cd7d7ade16b168530a2dbc3791c00f0d2a62ca9003faa +SIZE (agl-ed25519-5312a61_GH0.tar.gz) = 107273 +SHA256 (dchest-siphash-4ebf1de_GH0.tar.gz) = 141deaa15ced586e5808e42ecfc127cccdfb1cb6f2a58389357e499b21aace74 +SIZE (dchest-siphash-4ebf1de_GH0.tar.gz) = 10542 +SHA256 (golang-crypto-d585fd2_GH0.tar.gz) = d8680943f1dd9203d156f6491b4106939becf4f4ee4f616b79e573ed9096f650 +SIZE (golang-crypto-d585fd2_GH0.tar.gz) = 1440857 +SHA256 (golang-net-d866cfc_GH0.tar.gz) = 9555e426a10cb8d94ad3b0ee5d6a0ed4c38211055da98af92d085929b5559f33 +SIZE (golang-net-d866cfc_GH0.tar.gz) = 929432 Property changes on: security/obfs4proxy-tor/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: security/obfs4proxy-tor/files/pkg-message.in =================================================================== --- security/obfs4proxy-tor/files/pkg-message.in (nonexistent) +++ security/obfs4proxy-tor/files/pkg-message.in (working copy) @@ -0,0 +1,28 @@ +====================================================================== + +To use obfs4 as a Bridge Client, please add the following configuration +to your '%%PREFIX%%/etc/tor/torrc' config file: + +ClientTransportPlugin obfs4 exec %%PREFIX%%/bin/obfs4proxy + +To enable this Pluggable Transport in your Tor Bridge, use the +following configurations in your 'torrc' file: + +# Use obfs4proxy to provide the obfuscator +ServerTransportPlugin obfs4 exec %%PREFIX%%/bin/obfs4proxy managed + +# Enable Extended ORPort +ExtORPort auto + +## (Optional) Listen on the specified IP:PORT for obfs4 connections +## as opposed to picking a random port automatically +# ServerTransportListenAddr obfs4 0.0.0.0:443 + +obfs4proxy is backwards-compatible with obfs2 and obfs3 either in client or +server mode. If you want to use it like this, please adjust your 'torrc' +config file to fit your needs. It's compatible with ScrambleSuit in client mode. + +For more information, please consulte the official wiki page at +https://trac.torproject.org/projects/tor/wiki/doc/PluggableTransports/obfs4proxy + +====================================================================== Property changes on: security/obfs4proxy-tor/files/pkg-message.in ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: security/obfs4proxy-tor/pkg-descr =================================================================== --- security/obfs4proxy-tor/pkg-descr (nonexistent) +++ security/obfs4proxy-tor/pkg-descr (working copy) @@ -0,0 +1,5 @@ +obfs4 (a.k.a. The Obfuscator) is a transport with the same features as +ScrambleSuit but utilizing Dan Bernstein's elligator2 technique for public +key obfuscation, and the ntor protocol for one-way authentication. + +WWW: https://trac.torproject.org/projects/tor/wiki/doc/PluggableTransports/obfs4proxy Property changes on: security/obfs4proxy-tor/pkg-descr ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property