View | Details | Raw Unified | Return to bug 222645 | Differences between
and this patch

Collapse All | Expand All

(-)security/obfs4proxy-tor/Makefile (+43 lines)
Line 0 Link Here
1
# $FreeBSD$
2
3
PORTNAME=	obfs4proxy-tor
4
DISTVERSIONPREFIX=	obfs4proxy-
5
DISTVERSION=	0.0.7-1
6
DISTVERSIONSUFFIX=	-g97a875e
7
CATEGORIES=	security net ipv6
8
9
MAINTAINER=	egypcio@googlemail.com
10
COMMENT=	Obfuscator (Tor pluggable transport)
11
12
LICENSE=	BSD3CLAUSE
13
LICENSE_FILE=	${WRKSRC}/LICENSE
14
15
BUILD_DEPENDS=	go:lang/go \
16
		${LOCALBASE}/${GO_LIBDIR}/golang.org/x/crypto/bcrypt.a:security/go.crypto \
17
		${LOCALBASE}/${GO_LIBDIR}/golang.org/x/net/context.a:net/go.net
18
19
USE_GITHUB=	yes
20
GH_ACCOUNT=	Yawning
21
GH_PROJECT=	obfs4
22
GH_TUPLE+=	Yawning:goptlib:9b7a700:gopt/obfs4proxy/src/git.torproject.org/pluggable-transports/goptlib.git
23
GH_TUPLE+=	agl:ed25519:5312a61:ed25519/obfs4proxy/src/github.com/agl/ed25519
24
GH_TUPLE+=	dchest:siphash:4ebf1de:siphash/obfs4proxy/src/github.com/dchest/siphash
25
GO_LIBDIR=	share/go/pkg/${OPSYS:tl}_${ARCH:S/i386/386/}
26
27
SUB_FILES=	pkg-message
28
29
PLIST_FILES=	bin/obfs4proxy \
30
		man/man1/obfs4proxy.1.gz
31
32
pre-build:
33
	@${RLN} ${WRKSRC} ${WRKSRC}/obfs4proxy/src/git.torproject.org/pluggable-transports/obfs4.git
34
35
do-build:
36
	@(cd ${WRKSRC}/obfs4proxy && \
37
		${SETENV} GOPATH=${WRKSRC}/obfs4proxy:${LOCALBASE}/share/go go build)
38
39
do-install:
40
	${INSTALL_PROGRAM} ${WRKSRC}/obfs4proxy/obfs4proxy ${STAGEDIR}${PREFIX}/bin
41
	${INSTALL_MAN} ${WRKSRC}/doc/obfs4proxy.1 ${STAGEDIR}${PREFIX}/man/man1
42
43
.include <bsd.port.mk>
(-)security/obfs4proxy-tor/distinfo (+9 lines)
Line 0 Link Here
1
TIMESTAMP = 1513719833
2
SHA256 (Yawning-obfs4-obfs4proxy-0.0.7-1-g97a875e_GH0.tar.gz) = 263dc98c82a7dcc4e013898d7d28451aa58b3d5200ca21387d35ea73bc807c07
3
SIZE (Yawning-obfs4-obfs4proxy-0.0.7-1-g97a875e_GH0.tar.gz) = 67505
4
SHA256 (Yawning-goptlib-9b7a700_GH0.tar.gz) = 8c93d2c7e0221e54ef94f2eccde6e7b0e78258a39df5e38c97458ba57e2f460c
5
SIZE (Yawning-goptlib-9b7a700_GH0.tar.gz) = 20819
6
SHA256 (agl-ed25519-5312a61_GH0.tar.gz) = 8508e21ca8bf39df655cd7d7ade16b168530a2dbc3791c00f0d2a62ca9003faa
7
SIZE (agl-ed25519-5312a61_GH0.tar.gz) = 107273
8
SHA256 (dchest-siphash-4ebf1de_GH0.tar.gz) = 141deaa15ced586e5808e42ecfc127cccdfb1cb6f2a58389357e499b21aace74
9
SIZE (dchest-siphash-4ebf1de_GH0.tar.gz) = 10542
(-)security/obfs4proxy-tor/files/pkg-message.in (+28 lines)
Line 0 Link Here
1
======================================================================
2
3
To use obfs4 as a Bridge Client, please add the following configuration
4
to your '%%PREFIX%%/etc/tor/torrc' config file:
5
6
ClientTransportPlugin obfs4 exec %%PREFIX%%/bin/obfs4proxy
7
8
To enable this Pluggable Transport in your Tor Bridge, use the
9
following configurations in your 'torrc' file:
10
11
# Use obfs4proxy to provide the obfuscator
12
ServerTransportPlugin obfs4 exec %%PREFIX%%/bin/obfs4proxy managed
13
14
# Enable Extended ORPort
15
ExtORPort auto
16
17
## (Optional) Listen on the specified IP:PORT for obfs4 connections
18
## as opposed to picking a random port automatically
19
# ServerTransportListenAddr obfs4 0.0.0.0:443
20
21
obfs4proxy is backwards-compatible with obfs2 and obfs3 either in client or 
22
server mode. If you want to use it like this, please adjust your 'torrc' 
23
config file to fit your needs. It's compatible with ScrambleSuit in client mode.
24
25
For more information, please consulte the official wiki page at 
26
https://trac.torproject.org/projects/tor/wiki/doc/PluggableTransports/obfs4proxy
27
28
======================================================================
(-)security/obfs4proxy-tor/pkg-descr (+5 lines)
Line 0 Link Here
1
obfs4 (a.k.a. The Obfuscator) is a transport with the same features as
2
ScrambleSuit but utilizing Dan Bernstein's elligator2 technique for public
3
key obfuscation, and the ntor protocol for one-way authentication.
4
5
WWW: https://trac.torproject.org/projects/tor/wiki/doc/PluggableTransports/obfs4proxy

Return to bug 222645