Accepting request 963855 from home:ph03nix

Update to v2.11.0

OBS-URL: https://build.opensuse.org/request/show/963855
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/gosec?expand=0&rev=4
This commit is contained in:
2022-03-23 07:30:13 +00:00
committed by Git OBS Bridge
parent 990659287e
commit 66481f311e
4 changed files with 21 additions and 5 deletions

3
gosec-2.11.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:21fc6d4f5181a601189c902ed91b1d6103a4a522ec4bac2a53593a98827b7217
size 138629

View File

@@ -1,3 +1,14 @@
-------------------------------------------------------------------
Tue Mar 22 08:10:13 UTC 2022 - Felix Niederwanger <felix.niederwanger@suse.com>
* Update to version 2.11.0
- Enable Go 1.18 in the ci and release workflows
- Fix the lint action after upgrade (#790)
- chore(deps): update all dependencies (#789)
- Add a recursive flag -r to skip specifying ./... path
- Adds directory traversal for Http.Dir("/")
-------------------------------------------------------------------
Wed Mar 2 07:35:25 UTC 2022 - Felix Niederwanger <felix.niederwanger@suse.com>

View File

@@ -17,7 +17,7 @@
Name: gosec
Version: 2.10.0
Version: 2.11.0
Release: 0
Summary: Golang security checker
License: Apache-2.0
@@ -37,8 +37,10 @@ Inspects source code for security problems by scanning the Go AST.
%build
GOFLAGS="-buildmode=pie" make build
# this check is not yet working
#%%check
%check
# check if binary is working
./gosec --version
## this check is not yet working due to missing dependencies
#make test
%install

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:dd454646e5d54cf88b637902743fe4d6be345b60e3f99bc0b6f128eb02e1aff3
size 3114017
oid sha256:ad50aae21ab165fd145515bda26a8f68013db84d09f74cd4eddaf51089442057
size 3631488