blob: 7d1c99dea4cdb0b5f3d20066347fd9c9ddbd38b7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
PORTNAME= gitjacker
DISTVERSIONPREFIX= v
DISTVERSION= 0.1.0
PORTREVISION= 17
CATEGORIES= security
MAINTAINER= yuri@FreeBSD.org
COMMENT= Leak git repositories from misconfigured websites
WWW= https://github.com/liamg/gitjacker
LICENSE= PD
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= cpe go:modules
USE_GITHUB= nodefault
GH_TUPLE= golang:sys:v0.6.0:sys
CPE_VENDOR= ${PORTNAME}_project
GO_MODULE= github.com/liamg/gitjacker
GO_TARGET= ./cmd/${PORTNAME}
PLIST_FILES= bin/${PORTNAME}
pre-patch:
${RM} -r ${WRKSRC}/vendor/golang.org/x/sys
${LN} -s ${WRKDIR}/sys-* ${WRKSRC}/vendor/golang.org/x/sys
.include <bsd.port.mk>
|