1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/security/obfs4proxy-tor/Makefile
Yuri Victorovich 7615de3749 Made 10 Go ports respect MAKE_ENV. This is expected to unbreak them.
Ports:
www/go-appengine-sdk devel/go-bindata devel/gogs net/rclone security/obfs4proxy-tor
misc/cryptoballot www/grafana4 sysutils/epazote net-mgmt/prometheus1 security/honeybadger

While here, corrected PYTHON_CMD in www/go-appengine-sdk/Makefile.

Approved by:	tcberner (mentor, implicit)
Approved by:	portmgr (port compliance, infrastructure)
2018-03-04 23:14:00 +00:00

44 lines
1.3 KiB
Makefile

# $FreeBSD$
PORTNAME= obfs4proxy
DISTVERSION= 0.0.7
PORTREVISION= 1
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
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
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/obfs4proxy/obfs4proxy ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/doc/obfs4proxy.1 ${STAGEDIR}${PREFIX}/man/man1
.include <bsd.port.mk>