/
Portfile
41 lines (32 loc) · 1.34 KB
/
Portfile
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
30
31
32
33
34
35
36
37
38
39
40
41
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup golang 1.0
go.setup github.com/zricethezav/gitleaks 8.18.2 v
go.package github.com/zricethezav/gitleaks/v8
github.tarball_from archive
revision 0
epoch 1
description \
Scan git repos (or files) for secrets using regex and entropy
long_description \
Gitleaks is a SAST tool for detecting and preventing hardcoded secrets \
like passwords, api keys, and tokens in git repos. Gitleaks is an \
easy-to-use, all-in-one solution for detecting secrets, past or present, \
in your code.
categories security
installs_libs no
license MIT
maintainers {gmail.com:herby.gillot @herbygillot} \
openmaintainer
checksums rmd160 dea8ec496f1772d6c2a3de716795e0db4e80d11e \
sha256 07e63c71a927472897846b1c0354ea2d42b7ff38da0a4dc2fb293653b8a77ba8 \
size 161102
# allow Go to fetch dependencies at build time
go.offline_build no
build.cmd make
build.pre_args-append \
VERSION=${version}
build.args build
destroot {
xinstall -m 0755 ${worksrcpath}/${name} ${destroot}${prefix}/bin/
}