1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/security/gitjacker/Makefile
Robert Clausecker d27f21e397 security/gitjacker: fix build on riscv64
Bump golang.org/x/sys dependency to a version new enough
to support riscv64-freebsd.  Remove thus obsoleted patch file.

Sponsored by:	Berliner Linux User Group e.V.
Approved by:	portmgr (build fix blanket)
2023-03-22 21:15:21 +01:00

30 lines
621 B
Makefile

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