1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-15 07:56:36 +00:00
freebsd-ports/security/onionscan/Makefile
Rene Ladan e92a3d4f01 OnionScan is a free and open source tool for investigating Onion Services
on the Tor network.

It has two primary goals:

	* Help to find and to fix operational privacy/security issues;
	* Support researchers and investigators to monitor .onion sites.

WWW: https://onionscan.org/

PR:		231508
Submitted by:	egypcio@googlemail.com
2018-09-24 18:54:04 +00:00

41 lines
1.0 KiB
Makefile

# $FreeBSD$
PORTNAME= onionscan
DISTVERSIONPREFIX= OnionScan-
DISTVERSION= 0.2
CATEGORIES= security net
MAINTAINER= egypcio@googlemail.com
COMMENT= Free and open source tool for investigating Onion Services
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= go:lang/go
USES= go
USE_GITHUB= yes
GH_ACCOUNT= s-rah
GH_TUPLE= HouzuoGuo:tiedot:3.4:tiedot/github.com/HouzuoGuo/tiedot \
rwcarlsen:goexif:8d986c0:goexif/github.com/rwcarlsen/goexif \
golang:crypto:0e37d00:crypto/golang.org/x/crypto \
golang:net:26e67e7:net/golang.org/x/net \
golang:sys:1561086:sys/golang.org/x/sys
PLIST_FILES= bin/onionscan
do-build:
${MKDIR} ${WRKSRC}/github.com/${GH_ACCOUNT}
${RLN} ${WRKSRC} ${WRKSRC}/github.com/${GH_ACCOUNT}/${PORTNAME}
${RLN} ${WRKSRC} ${WRKSRC}/src
cd ${WRKSRC} && \
${SETENV} ${MAKE_ENV} ${GO_ENV} GOPATH=${WRKSRC} \
${GO_CMD} build ${GO_BUILDFLAGS} -o bin/${PORTNAME}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} \
${STAGEDIR}/${LOCALBASE}/bin
.include <bsd.port.mk>