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

Collapse All | Expand All

(-)security/Makefile (+3 lines)
Lines 181-186 Link Here
181
    SUBDIR += gnupg20
181
    SUBDIR += gnupg20
182
    SUBDIR += gnutls
182
    SUBDIR += gnutls
183
    SUBDIR += go-cve-dictionary
183
    SUBDIR += go-cve-dictionary
184
    SUBDIR += go-ed25519
185
    SUBDIR += go-siphash
184
    SUBDIR += go.crypto
186
    SUBDIR += go.crypto
185
    SUBDIR += goptlib
187
    SUBDIR += goptlib
186
    SUBDIR += gorilla
188
    SUBDIR += gorilla
Lines 420-425 Link Here
420
    SUBDIR += oath-toolkit
422
    SUBDIR += oath-toolkit
421
    SUBDIR += obfsclient
423
    SUBDIR += obfsclient
422
    SUBDIR += obfsproxy
424
    SUBDIR += obfsproxy
425
    SUBDIR += obfs4proxy
423
    SUBDIR += ocaml-cryptgps
426
    SUBDIR += ocaml-cryptgps
424
    SUBDIR += ocaml-cryptokit
427
    SUBDIR += ocaml-cryptokit
425
    SUBDIR += ocaml-ssl
428
    SUBDIR += ocaml-ssl
(-)security/go-ed25519/Makefile (+23 lines)
Line 0 Link Here
1
# $FreeBSD$
2
3
PORTNAME=	go-ed25519
4
PORTVERSION=	20170116
5
CATEGORIES=	security devel
6
LICENSE=	BSD3CLAUSE
7
LICENSE_FILE=	${WRKSRC}/LICENSE
8
9
MAINTAINER=	egypcio@googlemail.com
10
COMMENT=	ed25519 for Go
11
12
USES=		go
13
USE_GITHUB=	yes
14
15
GH_ACCOUNT=	agl
16
GH_PROJECT=	ed25519
17
GH_TAGNAME=	5312a61
18
19
GO_PKGNAME=	github.com/${GH_ACCOUNT}/${GH_PROJECT}
20
GO_TARGET=	${GO_PKGNAME}/edwards25519 \
21
		${GO_PKGNAME}/extra25519
22
23
.include <bsd.port.mk>
(-)security/go-ed25519/distinfo (+3 lines)
Line 0 Link Here
1
TIMESTAMP = 1499717534
2
SHA256 (agl-ed25519-20170116-5312a61_GH0.tar.gz) = 8508e21ca8bf39df655cd7d7ade16b168530a2dbc3791c00f0d2a62ca9003faa
3
SIZE (agl-ed25519-20170116-5312a61_GH0.tar.gz) = 107273
(-)security/go-ed25519/pkg-descr (+3 lines)
Line 0 Link Here
1
ed25519 for Go
2
3
WWW: https://github.com/agl/ed25519
(-)security/go-ed25519/pkg-plist (+6 lines)
Line 0 Link Here
1
%%GO_LIBDIR%%/%%GO_PKGNAME%%/edwards25519.a
2
%%GO_LIBDIR%%/%%GO_PKGNAME%%/extra25519.a
3
%%GO_SRCDIR%%/%%GO_PKGNAME%%/edwards25519/const.go
4
%%GO_SRCDIR%%/%%GO_PKGNAME%%/edwards25519/edwards25519.go
5
%%GO_SRCDIR%%/%%GO_PKGNAME%%/extra25519/extra25519.go
6
%%GO_SRCDIR%%/%%GO_PKGNAME%%/extra25519/extra25519_test.go
(-)security/go-siphash/Makefile (+19 lines)
Line 0 Link Here
1
# $FreeBSD$
2
3
PORTNAME=	go-siphash
4
PORTVERSION=	20170831
5
CATEGORIES=	security devel
6
7
MAINTAINER=	egypcio@googlemail.com
8
COMMENT=	Go implementation of SipHash-2-4
9
10
USES=		go
11
USE_GITHUB=	yes
12
13
GH_ACCOUNT=	dchest
14
GH_PROJECT=	siphash
15
GH_TAGNAME=	4ebf1de
16
17
GO_PKGNAME=	github.com/${GH_ACCOUNT}/${GH_PROJECT}
18
19
.include <bsd.port.mk>
(-)security/go-siphash/distinfo (+3 lines)
Line 0 Link Here
1
TIMESTAMP = 1499712693
2
SHA256 (dchest-siphash-20170831-4ebf1de_GH0.tar.gz) = 141deaa15ced586e5808e42ecfc127cccdfb1cb6f2a58389357e499b21aace74
3
SIZE (dchest-siphash-20170831-4ebf1de_GH0.tar.gz) = 10542
(-)security/go-siphash/pkg-descr (+4 lines)
Line 0 Link Here
1
Go implementation of SipHash-2-4, a fast short-input PRF created by 
2
 Jean-Philippe Aumasson and Daniel J. Bernstein (http://131002.net/siphash).
3
4
WWW: https://github.com/dchest/siphash
(-)security/go-siphash/pkg-plist (+14 lines)
Line 0 Link Here
1
%%GO_LIBDIR%%/%%GO_PKGNAME%%.a
2
%%GO_SRCDIR%%/%%GO_PKGNAME%%/README.md
3
%%GO_SRCDIR%%/%%GO_PKGNAME%%/blocks_amd64.s
4
%%GO_SRCDIR%%/%%GO_PKGNAME%%/blocks_arm.s
5
%%GO_SRCDIR%%/%%GO_PKGNAME%%/blocks.go
6
%%GO_SRCDIR%%/%%GO_PKGNAME%%/hash_amd64.s
7
%%GO_SRCDIR%%/%%GO_PKGNAME%%/hash_arm.s
8
%%GO_SRCDIR%%/%%GO_PKGNAME%%/hash_asm.go
9
%%GO_SRCDIR%%/%%GO_PKGNAME%%/hash.go
10
%%GO_SRCDIR%%/%%GO_PKGNAME%%/hash128_amd64.s
11
%%GO_SRCDIR%%/%%GO_PKGNAME%%/hash128_arm.s
12
%%GO_SRCDIR%%/%%GO_PKGNAME%%/hash128.go
13
%%GO_SRCDIR%%/%%GO_PKGNAME%%/siphash_test.go
14
%%GO_SRCDIR%%/%%GO_PKGNAME%%/siphash.go
(-)security/obfs4proxy/Makefile (+33 lines)
Line 0 Link Here
1
# $FreeBSD$
2
3
PORTNAME=	obfs4proxy
4
PORTVERSION=	0.0.7
5
CATEGORIES=	security net ipv6
6
MASTER_SITES=	http://people.torproject.org/~yawning/releases/${PORTNAME}/
7
LICENSE=	BSD3CLAUSE
8
LICENSE_FILE=	${WRKSRC}/LICENSE
9
10
MAINTAINER=	egypcio@googlemail.com
11
COMMENT=	The Obfuscator
12
13
USES=		go tar:xz
14
15
SUB_FILES=	pkg-message
16
17
GO_PKGNAME=	git.torproject.org/pluggable-transports/obfs4.git
18
GO_TARGET=	${GO_PKGNAME}/${PORTNAME} \
19
		${GO_PKGNAME}/common/log \
20
		${GO_PKGNAME}/common/socks5 \
21
		${GO_PKGNAME}/transports \
22
		${GO_PKGNAME}/transports/base
23
24
BUILD_DEPENDS=	${LOCALBASE}/${GO_LIBDIR}/git.torproject.org/pluggable-transports/goptlib.git.a:security/goptlib \
25
		${LOCALBASE}/${GO_LIBDIR}/github.com/agl/ed25519/extra25519.a:security/go-ed25519 \
26
		${LOCALBASE}/${GO_LIBDIR}/github.com/dchest/siphash.a:security/go-siphash \
27
		${LOCALBASE}/${GO_LIBDIR}/golang.org/x/crypto/bcrypt.a:security/go.crypto \
28
		${LOCALBASE}/${GO_LIBDIR}/golang.org/x/net/ipv4.a:net/go.net
29
30
post-install:
31
	${INSTALL_MAN} ${WRKSRC}/doc/obfs4proxy.1 ${STAGEDIR}${PREFIX}/man/man1
32
33
.include <bsd.port.mk>
(-)security/obfs4proxy/distinfo (+3 lines)
Line 0 Link Here
1
TIMESTAMP = 1502290761
2
SHA256 (obfs4proxy-0.0.7.tar.xz) = c07a1a690ebab3057c8b566e1a4902439c77d1ba5c35bbf42fcdc5b46ab3ca63
3
SIZE (obfs4proxy-0.0.7.tar.xz) = 56184
(-)security/obfs4proxy/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 '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 mor information, please consulte the official wiki page at 
26
https://trac.torproject.org/projects/tor/wiki/doc/PluggableTransports/obfs4proxy
27
28
======================================================================
(-)security/obfs4proxy/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
(-)security/obfs4proxy/pkg-plist (+30 lines)
Line 0 Link Here
1
bin/obfs4proxy
2
man/man1/obfs4proxy.1.gz
3
%%GO_LIBDIR%%/%%GO_PKGNAME%%/common/log.a
4
%%GO_LIBDIR%%/%%GO_PKGNAME%%/common/socks5.a
5
%%GO_LIBDIR%%/%%GO_PKGNAME%%/transports.a
6
%%GO_LIBDIR%%/%%GO_PKGNAME%%/transports/base.a
7
%%GO_SRCDIR%%/%%GO_PKGNAME%%/common/log/log.go
8
%%GO_SRCDIR%%/%%GO_PKGNAME%%/common/socks5/args.go
9
%%GO_SRCDIR%%/%%GO_PKGNAME%%/common/socks5/args_test.go
10
%%GO_SRCDIR%%/%%GO_PKGNAME%%/common/socks5/rfc1929.go
11
%%GO_SRCDIR%%/%%GO_PKGNAME%%/common/socks5/socks5.go
12
%%GO_SRCDIR%%/%%GO_PKGNAME%%/common/socks5/socks_test.go
13
%%GO_SRCDIR%%/%%GO_PKGNAME%%/transports/base/base.go
14
%%GO_SRCDIR%%/%%GO_PKGNAME%%/transports/meeklite/base.go
15
%%GO_SRCDIR%%/%%GO_PKGNAME%%/transports/meeklite/meek.go
16
%%GO_SRCDIR%%/%%GO_PKGNAME%%/transports/obfs2/obfs2.go
17
%%GO_SRCDIR%%/%%GO_PKGNAME%%/transports/obfs3/obfs3.go
18
%%GO_SRCDIR%%/%%GO_PKGNAME%%/transports/obfs4/framing/framing.go
19
%%GO_SRCDIR%%/%%GO_PKGNAME%%/transports/obfs4/framing/framing_test.go
20
%%GO_SRCDIR%%/%%GO_PKGNAME%%/transports/obfs4/handshake_ntor.go
21
%%GO_SRCDIR%%/%%GO_PKGNAME%%/transports/obfs4/handshake_ntor_test.go
22
%%GO_SRCDIR%%/%%GO_PKGNAME%%/transports/obfs4/obfs4.go
23
%%GO_SRCDIR%%/%%GO_PKGNAME%%/transports/obfs4/packet.go
24
%%GO_SRCDIR%%/%%GO_PKGNAME%%/transports/obfs4/statefile.go
25
%%GO_SRCDIR%%/%%GO_PKGNAME%%/transports/scramblesuit/base.go
26
%%GO_SRCDIR%%/%%GO_PKGNAME%%/transports/scramblesuit/conn.go
27
%%GO_SRCDIR%%/%%GO_PKGNAME%%/transports/scramblesuit/handshake_ticket.go
28
%%GO_SRCDIR%%/%%GO_PKGNAME%%/transports/scramblesuit/handshake_uniformdh.go
29
%%GO_SRCDIR%%/%%GO_PKGNAME%%/transports/scramblesuit/hkdf_expand.go
30
%%GO_SRCDIR%%/%%GO_PKGNAME%%/transports/transports.go

Return to bug 222645