git: f54032e96c98 - main - security/gosec: New port: Go security checker
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 24 Oct 2023 21:55:59 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=f54032e96c98a9cf56d879003a52de4ecdd97d54 commit f54032e96c98a9cf56d879003a52de4ecdd97d54 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2023-10-24 14:41:29 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2023-10-24 21:55:57 +0000 security/gosec: New port: Go security checker --- security/Makefile | 1 + security/gosec/Makefile | 20 ++++++++++++++++++++ security/gosec/distinfo | 5 +++++ security/gosec/pkg-descr | 2 ++ 4 files changed, 28 insertions(+) diff --git a/security/Makefile b/security/Makefile index 8d1b789f682b..5864a1775588 100644 --- a/security/Makefile +++ b/security/Makefile @@ -193,6 +193,7 @@ SUBDIR += gonepass SUBDIR += gopass SUBDIR += gorilla + SUBDIR += gosec SUBDIR += gost-engine SUBDIR += gostsum SUBDIR += gpa diff --git a/security/gosec/Makefile b/security/gosec/Makefile new file mode 100644 index 000000000000..07ec6a772107 --- /dev/null +++ b/security/gosec/Makefile @@ -0,0 +1,20 @@ +PORTNAME= gosec +DISTVERSIONPREFIX= v +DISTVERSION= 2.18.2 +CATEGORIES= security devel + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Go security checker +WWW= https://securego.io/ + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +USES= go:modules + +GO_MODULE= github.com/securego/gosec/v2 +GO_TARGET= ./cmd/${PORTNAME} + +PLIST_FILES= bin/${PORTNAME} + +.include <bsd.port.mk> diff --git a/security/gosec/distinfo b/security/gosec/distinfo new file mode 100644 index 000000000000..0f2eaaab1960 --- /dev/null +++ b/security/gosec/distinfo @@ -0,0 +1,5 @@ +TIMESTAMP = 1698183964 +SHA256 (go/security_gosec/gosec-v2.18.2/v2.18.2.mod) = b5202ba610a5b5262dcbfbfd39db36e6816c187b343931b20b797a0174b6d1c9 +SIZE (go/security_gosec/gosec-v2.18.2/v2.18.2.mod) = 924 +SHA256 (go/security_gosec/gosec-v2.18.2/v2.18.2.zip) = fc1c75922220dcf00a16c6083111053fbc3a1a8e8544642b6f13a0c1f9b37b44 +SIZE (go/security_gosec/gosec-v2.18.2/v2.18.2.zip) = 201932 diff --git a/security/gosec/pkg-descr b/security/gosec/pkg-descr new file mode 100644 index 000000000000..a0efe57b66d1 --- /dev/null +++ b/security/gosec/pkg-descr @@ -0,0 +1,2 @@ +gosec is a Go security checker that inspects source code for security problems +by scanning the Go AST and SSA code representation.