mirror of
https://abf.rosa.ru/djam/trufflehog.git
synced 2025-02-23 06:22:56 +00:00
3.79.0
This commit is contained in:
parent
60ae8380ca
commit
1f34456d91
2 changed files with 18 additions and 2 deletions
2
.abf.yml
2
.abf.yml
|
@ -1,2 +1,2 @@
|
|||
sources:
|
||||
trufflehog-3.78.2.tar.gz: 34e41227540c32eebb906bf224846e58d61e987b
|
||||
trufflehog-3.79.0.tar.gz: 8dc48b202f2b31b44a21a43796c04a43f7478804
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
%define debug %nil
|
||||
%define debug_package %nil
|
||||
%define secscan 1
|
||||
|
||||
Name: trufflehog
|
||||
Version: 3.78.2
|
||||
Version: 3.79.0
|
||||
Release: 1
|
||||
Summary: Find credentials
|
||||
URL: https://trufflesecurity.com
|
||||
|
@ -13,6 +14,11 @@ BuildRequires: go >= 1.21
|
|||
BuildRequires: git-core
|
||||
BuildRequires: upx
|
||||
|
||||
%if %{secscan}
|
||||
BuildRequires: clamav
|
||||
BuildRequires: trivy
|
||||
%endif
|
||||
|
||||
%description
|
||||
TruffleHog v3 is a complete rewrite in Go with many new
|
||||
powerful features.
|
||||
|
@ -28,6 +34,11 @@ and billions of TLS certificates using our Driftwood technology.
|
|||
%prep
|
||||
%setup -q
|
||||
|
||||
%if %{secscan}
|
||||
clamscan -ir .
|
||||
trivy fs --scanners vuln --format cosign-vuln .
|
||||
%endif
|
||||
|
||||
%build
|
||||
export GOPROXY=https://proxy.golang.org/cached-only
|
||||
|
||||
|
@ -41,3 +52,8 @@ install -Dm0755 bin/%{name} %{buildroot}%{_bindir}/%{name}
|
|||
%doc README.md LICENSE
|
||||
%{_bindir}/%{name}
|
||||
|
||||
%check
|
||||
|
||||
%if %{secscan}
|
||||
clamscan -ir %{buildroot}
|
||||
%endif
|
Loading…
Add table
Reference in a new issue