mirror of
https://abf.rosa.ru/djam/trufflehog.git
synced 2025-02-23 14:32:54 +00:00
3.57.0
This commit is contained in:
parent
81fe7d9194
commit
f624dea411
1 changed files with 4 additions and 3 deletions
|
@ -7,7 +7,7 @@ Release: 1
|
||||||
Summary: Find credentials
|
Summary: Find credentials
|
||||||
URL: https://trufflesecurity.com
|
URL: https://trufflesecurity.com
|
||||||
Source0: https://github.com/trufflesecurity/trufflehog/archive/v%{version}/%{name}-%{version}.tar.gz
|
Source0: https://github.com/trufflesecurity/trufflehog/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||||
License: AGPL-3.0
|
License: AGPLv3
|
||||||
Group: Development/Other
|
Group: Development/Other
|
||||||
BuildRequires: go >= 1.21
|
BuildRequires: go >= 1.21
|
||||||
BuildRequires: git-core
|
BuildRequires: git-core
|
||||||
|
@ -29,8 +29,9 @@ and billions of TLS certificates using our Driftwood technology.
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
go mod download
|
export GOPROXY=direct
|
||||||
CGO_ENABLED=0 go build -a -o bin/trufflehog main.go
|
|
||||||
|
CGO_ENABLED=0 go build --ldflags="-s -w" -a -o bin/trufflehog main.go
|
||||||
upx bin/%{name}
|
upx bin/%{name}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
|
Loading…
Add table
Reference in a new issue