trufflehog/trufflehog.spec

56 lines
1.5 KiB
RPMSpec
Raw Normal View History

- Update to version 3.80.0: * [perf] - Optimize MIME Type Detection to Reduce Allocations (#3048) * [feat] - Streamlined File Handling with BufferedReaderSeeker (#3041) * fix(deps): update module github.com/google/go-containerregistry to v0.20.1 (#3072) * Atlassian Token Detector (#3065) * fix(deps): update golang.org/x/exp digest to 1d5bc16 (#3070) * fix(deps): update module github.com/xanzy/go-gitlab to v0.107.0 (#3069) * fix(deps): update module github.com/aws/aws-sdk-go to v1.54.19 (#3064) * fix(deps): update module github.com/aws/aws-sdk-go to v1.54.18 (#3062) * fix(deps): update module cloud.google.com/go/secretmanager to v1.13.4 (#3059) * fix(deps): update module github.com/aws/aws-sdk-go to v1.54.17 (#3057) * update package name (#3020) * Log more GitLab stuff (#3040) * Order GitLab repos by ID (#3047) * fix(deps): update module github.com/google/go-containerregistry to v0.20.0 (#3055) * fix(deps): update module github.com/aws/aws-sdk-go to v1.54.16 (#3054) * fix(deps): update golang.org/x/exp digest to 46b0784 (#3053) * chore(deps): update goreleaser/goreleaser-action action to v6 (#3051) * remove dead code (#3044) * fix(deps): update testcontainers-go monorepo to v0.32.0 (#3050) * fix(deps): update module github.com/aws/aws-sdk-go to v1.54.15 (#3049) * fix(deps): update module golang.org/x/crypto to v0.25.0 (#3045) * fix(deps): update module golang.org/x/net to v0.27.0 (#3046) * fix(deps): update module cloud.google.com/go/storage to v1.43.0 (#3043) * fix(deps): update module github.com/aws/aws-sdk-go to v1.54.14 (#3042) * fix(deps): update module cloud.google.com/go/secretmanager to v1.13.3 (#3037) * fix(deps): update module go.mongodb.org/mongo-driver to v1.16.0 (#3036) * Elevenlabs detector (#3023) * fix(detectors): avoid race (#3028) * remove launchdarkly dep (#3034) OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/trufflehog?expand=0&rev=111
2024-07-18 14:20:18 +00:00
#
# spec file for package trufflehog
#
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: trufflehog
Version: 3.80.0
Release: 0
Summary: CLI tool to find exposed secrets in source and archives
License: AGPL-3.0-or-later
URL: https://github.com/trufflesecurity/trufflehog
Source: trufflehog-%{version}.tar.gz
Source1: vendor.tar.gz
BuildRequires: golang(API) >= 1.22
%description
TruffleHog is a scanning engine that helps find exposed secrets
within e.g. GitHub/GitLab repos, AWS S3 buckets, GCS buckets,
Docker images, Circle CI/Travis CI setups, or in individual files.
%prep
%autosetup -D -a 1
%build
%ifnarch ppc64
export GOFLAGS="-buildmode=pie"
%endif
go build
%check
# execute the binary as a basic check
./%{name} --help
%install
install -D -m 0755 %{name} %{buildroot}%{_bindir}/%{name}
%files
%doc README.md
%license LICENSE
%{_bindir}/%{name}
%changelog