Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Feb 2019 13:18:00 +0000 (UTC)
From:      =?UTF-8?Q?Vin=c3=adcius_Zavam?= <egypcio@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r492996 - head/security/obfs4proxy-tor
Message-ID:  <201902151318.x1FDI0Xq013992@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: egypcio
Date: Fri Feb 15 13:17:59 2019
New Revision: 492996
URL: https://svnweb.freebsd.org/changeset/ports/492996

Log:
  security/obfs4proxy-tor: update 0.0.7_1 to 0.0.9
  
  Approved by:	rene (mentor)
  Differential Revision:	https://reviews.freebsd.org/D19021

Modified:
  head/security/obfs4proxy-tor/Makefile
  head/security/obfs4proxy-tor/distinfo

Modified: head/security/obfs4proxy-tor/Makefile
==============================================================================
--- head/security/obfs4proxy-tor/Makefile	Fri Feb 15 13:05:10 2019	(r492995)
+++ head/security/obfs4proxy-tor/Makefile	Fri Feb 15 13:17:59 2019	(r492996)
@@ -1,43 +1,53 @@
 # $FreeBSD$
 
 PORTNAME=	obfs4proxy
-DISTVERSION=	0.0.7
-PORTREVISION=	1
+DISTVERSION=	0.0.9
 CATEGORIES=	security net ipv6
 MASTER_SITES=	https://people.torproject.org/~yawning/releases/${PORTNAME}/
-DISTFILES=	${DISTNAME}${EXTRACT_SUFX}
 PKGNAMESUFFIX=	-tor
+DISTFILES=	${DISTNAME}${EXTRACT_SUFX}
 
 MAINTAINER=	egypcio@FreeBSD.org
 COMMENT=	Pluggable transport proxy for Tor (obfs4, The Obfuscator)
 
 LICENSE=	BSD3CLAUSE
-LICENSE_FILE=	${WRKSRC}/LICENSE
+LICENSE_FILE=	${WRKDIR}/obfs4/LICENSE
 
-BUILD_DEPENDS=	go:lang/go
+USES=		cpe go tar:xz
 
 CPE_VENDOR=	torproject
 
-USES=		cpe tar:xz
+GO_TARGET=	gitlab.com/yawning/obfs4.git
+
 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
+GH_TUPLE=	ahf:goptlib:7d56ec4:goptlib/src/git.torproject.org/pluggable-transports/goptlib.git \
+		agl:ed25519:5312a61:ed25519/src/github.com/agl/ed25519 \
+		dchest:siphash:v1.2.1:siphash/src/github.com/dchest/siphash \
+		dsnet:compress:cc9eb1d:dsnet_compress/src/github.com/dsnet/compress \
+		golang:crypto:b8fe169:golang_crypto/src/golang.org/x/crypto \
+		golang:net:ed066c8:golang_net/src/golang.org/x/net \
+		golang:text:v0.3.0:golang_text/src/golang.org/x/text \
+		golang:sys:afcc84f:golang_sys/src/golang.org/x/sys
 
+USE_GITLAB=	nodefault
+GL_TUPLE=	yawning:utls:7d11c90d580c279fb541091da86f33d729a76f2a:yawning_utls/src/gitlab.com/yawning/utls.git
+
 SUB_FILES=	pkg-message
 
 PLIST_FILES=	bin/obfs4proxy \
 		man/man1/obfs4proxy.1.gz
 
 do-build:
-	@${RLN} ${WRKSRC} ${WRKSRC}/obfs4proxy/src/git.torproject.org/pluggable-transports/obfs4.git
-	@cd ${WRKSRC}/obfs4proxy && \
-		${SETENV} ${MAKE_ENV} GOPATH=${WRKSRC}/obfs4proxy go build
+	@${RM} ${WRKDIR}/obfs4/go.mod
+	@${MKDIR} ${GO_WRKSRC}/src/${GO_TARGET:H}
+	@${RLN} ${WRKDIR}/obfs4 ${GO_WRKSRC}/src/${GO_TARGET}
+	@${RLN} ${GO_WRKSRC}/src ${GO_WRKSRC}/src/${GO_TARGET}/src
+	@(cd ${WRKDIR}/obfs4/${PORTNAME} && \
+	  ${SETENV} ${MAKE_ENV} ${GO_ENV} GOPATH=${WRKDIR}/obfs4 ${GO_CMD} \
+	  build ${GO_BUILDFLAGS} -o ${WRKDIR}/bin/${PORTNAME})
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/obfs4proxy/obfs4proxy ${STAGEDIR}${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/doc/obfs4proxy.1 ${STAGEDIR}${PREFIX}/man/man1
+	${INSTALL_PROGRAM} ${WRKDIR}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_MAN} ${WRKDIR}/obfs4/doc/obfs4proxy.1 ${STAGEDIR}${PREFIX}/man/man1
 
 .include <bsd.port.mk>

Modified: head/security/obfs4proxy-tor/distinfo
==============================================================================
--- head/security/obfs4proxy-tor/distinfo	Fri Feb 15 13:05:10 2019	(r492995)
+++ head/security/obfs4proxy-tor/distinfo	Fri Feb 15 13:17:59 2019	(r492996)
@@ -1,13 +1,21 @@
-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
+TIMESTAMP = 1549536667
+SHA256 (obfs4proxy-0.0.9.tar.xz) = e77b25de19e23f7e67605645a6b1a6f53ab5d32f6ec6344962fe956c4ea6876f
+SIZE (obfs4proxy-0.0.9.tar.xz) = 70916
+SHA256 (ahf-goptlib-7d56ec4_GH0.tar.gz) = baec7de605530aea00f056266894364ee53723eecf355955bc225b0f702e6d91
+SIZE (ahf-goptlib-7d56ec4_GH0.tar.gz) = 26025
 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
+SHA256 (dchest-siphash-v1.2.1_GH0.tar.gz) = 90c5e8ba62b64b2f76ed58c87dd50456171610049bef51fd71bc593c1744fad2
+SIZE (dchest-siphash-v1.2.1_GH0.tar.gz) = 10729
+SHA256 (dsnet-compress-cc9eb1d_GH0.tar.gz) = da2068d29d9b53477e683de46177f26748545a9623dd69c58575781b2a012688
+SIZE (dsnet-compress-cc9eb1d_GH0.tar.gz) = 9960045
+SHA256 (golang-crypto-b8fe169_GH0.tar.gz) = 41264b14be63c0c01b436a2db733823ce1e35abae8616018d7539b7d5369e070
+SIZE (golang-crypto-b8fe169_GH0.tar.gz) = 1645168
+SHA256 (golang-net-ed066c8_GH0.tar.gz) = 3f81bf7e97f4d97f972ccb16cbb42dc019789e10340d8d7e5996387935a6debc
+SIZE (golang-net-ed066c8_GH0.tar.gz) = 966698
+SHA256 (golang-text-v0.3.0_GH0.tar.gz) = 8f4c9a048345befc7beccd09267737ee1f55c7b35e5ff80f344ec9e0aa90febb
+SIZE (golang-text-v0.3.0_GH0.tar.gz) = 6102619
+SHA256 (golang-sys-afcc84f_GH0.tar.gz) = f14b1a5f3cfe3f54c665a4b36d44ebb1fe476aa4b005b4e394f90b40f1194253
+SIZE (golang-sys-afcc84f_GH0.tar.gz) = 1241784
+SHA256 (obfs4proxy-utls-7d11c90d580c279fb541091da86f33d729a76f2a_GL0.tar.gz) = 208f5d41ebde2bc7349ce1012c124162a8b35a6552757697c2934dd380e61277
+SIZE (obfs4proxy-utls-7d11c90d580c279fb541091da86f33d729a76f2a_GL0.tar.gz) = 523415



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