Files
ports/security/gitjacker/Makefile
T
Adam Weinberger 0bdd2ad334 go: Bump go124-dependent ports
Earlier I bumped the default Go to 1.24. Ports that specify a lower
version will still build with those lower version (for now), so they
don't need a bumping. Instead I'm bumping anything that (now) has go124
as a dependency.
2025-05-21 15:58:15 -04:00

30 lines
621 B
Makefile

PORTNAME= gitjacker
DISTVERSIONPREFIX= v
DISTVERSION= 0.1.0
PORTREVISION= 26
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>