diff --git a/recipes/rsc-2fa/bld.bat b/recipes/rsc-2fa/bld.bat new file mode 100755 index 0000000000000..8cb07003c67b8 --- /dev/null +++ b/recipes/rsc-2fa/bld.bat @@ -0,0 +1,9 @@ +go mod vendor || goto :error +go build -buildmode=pie -trimpath -o=%LIBRARY_PREFIX%\bin\2fa.exe -ldflags="-s" || goto :error +go-licenses save . --save_path=license-files || goto :error + +goto :EOF + +:error +echo Failed with error #%errorlevel%. +exit 1 diff --git a/recipes/rsc-2fa/build.sh b/recipes/rsc-2fa/build.sh new file mode 100755 index 0000000000000..894dde513a646 --- /dev/null +++ b/recipes/rsc-2fa/build.sh @@ -0,0 +1,7 @@ +#!/usr/bin/env bash + +set -o xtrace -o nounset -o pipefail -o errexit + +go mod vendor +go build -buildmode=pie -trimpath -o=${PREFIX}/bin/2fa -ldflags="-s -w" +go-licenses save . --save_path=license-files diff --git a/recipes/rsc-2fa/meta.yaml b/recipes/rsc-2fa/meta.yaml new file mode 100755 index 0000000000000..19d95afe0ebfd --- /dev/null +++ b/recipes/rsc-2fa/meta.yaml @@ -0,0 +1,37 @@ +{% set name = "rsc-2fa" %} +{% set version = "1.2.0" %} + +package: + name: {{ name|lower }} + version: {{ version }} + +source: + url: https://github.com/rsc/2fa/archive/v{{ version }}.tar.gz + sha256: d8db6b9a714c9146a4b82fd65b54f9bdda3e58380bce393f45e1ef49e4e9bee5 + +build: + number: 0 + +requirements: + build: + - {{ compiler('go-nocgo') }} + - go-licenses + +test: + requires: + - m2-grep # [win] + commands: + - 2fa --help 2>&1 | grep -q "2fa -list" + +about: + home: https://github.com/rsc/rsc-2fa + license: BSD-3-Clause + license_file: + - LICENSE + - license-files/ + summary: Two-factor authentication on the command-line + dev_url: https://github.com/rsc/rsc-2fa + +extra: + recipe-maintainers: + - danielnachun diff --git a/recipes/sift/bld.bat b/recipes/sift/bld.bat new file mode 100755 index 0000000000000..984e8f306890f --- /dev/null +++ b/recipes/sift/bld.bat @@ -0,0 +1,11 @@ +go mod init github.com/svent/sift || goto :error +go mod tidy -e || goto :error +go mod vendor -e || goto :error +go build -buildmode=pie -trimpath -o=%LIBRARY_PREFIX%\bin\%PKG_NAME%.exe -ldflags="-s" || goto :error +go-licenses save . --save_path=license-files --ignore=github.com/svent/sift || goto :error + +goto :EOF + +:error +echo Failed with error #%errorlevel%. +exit 1 diff --git a/recipes/sift/build.sh b/recipes/sift/build.sh new file mode 100755 index 0000000000000..61a06ae77d965 --- /dev/null +++ b/recipes/sift/build.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env bash + +set -o xtrace -o nounset -o pipefail -o errexit + +go mod init github.com/svent/sift +go mod tidy -e +go mod vendor -e +go build -buildmode=pie -trimpath -o=${PREFIX}/bin/${PKG_NAME} -ldflags="-s -w" +go-licenses save . --save_path=license-files --ignore=github.com/svent/sift diff --git a/recipes/sift/meta.yaml b/recipes/sift/meta.yaml new file mode 100755 index 0000000000000..7d9eced1ffb7a --- /dev/null +++ b/recipes/sift/meta.yaml @@ -0,0 +1,35 @@ +{% set name = "sift" %} +{% set version = "0.9.0" %} + +package: + name: {{ name|lower }} + version: {{ version }} + +source: + url: https://github.com/svent/sift/archive/v{{ version }}.tar.gz + sha256: bbbd5c472c36b78896cd7ae673749d3943621a6d5523d47973ed2fc6800ae4c8 + +build: + number: 0 + +requirements: + build: + - {{ compiler('go-nocgo') }} + - go-licenses + +test: + commands: + - sift --help + +about: + home: https://github.com/svent/sift + license: GPL-3.0-only + license_file: + - LICENSE + - license-files/ + summary: Fast and powerful open source alternative to grep + dev_url: https://github.com/svent/sift + +extra: + recipe-maintainers: + - danielnachun diff --git a/recipes/snyk-ls/bld.bat b/recipes/snyk-ls/bld.bat new file mode 100755 index 0000000000000..0a6bb16a59e3c --- /dev/null +++ b/recipes/snyk-ls/bld.bat @@ -0,0 +1,8 @@ +go build -buildmode=pie -trimpath -o=%LIBRARY_PREFIX%\bin\%PKG_NAME%.exe -ldflags="-s" || goto :error +go-licenses save . --save_path=license-files || goto :error + +goto :EOF + +:error +echo Failed with error #%errorlevel%. +exit 1 diff --git a/recipes/snyk-ls/build.sh b/recipes/snyk-ls/build.sh new file mode 100755 index 0000000000000..4f5499d6ddcd2 --- /dev/null +++ b/recipes/snyk-ls/build.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash + +set -o xtrace -o nounset -o pipefail -o errexit + +go build -buildmode=pie -trimpath -o=${PREFIX}/bin/${PKG_NAME} -ldflags="-s -w" +go-licenses save . --save_path=license-files diff --git a/recipes/snyk-ls/meta.yaml b/recipes/snyk-ls/meta.yaml new file mode 100755 index 0000000000000..5e2d00aac6037 --- /dev/null +++ b/recipes/snyk-ls/meta.yaml @@ -0,0 +1,37 @@ +{% set name = "snyk-ls" %} +{% set version = "20240830.154625" %} + +package: + name: {{ name|lower }} + version: {{ version }} + +source: + url: https://github.com/snyk/snyk-ls/archive/v{{ version }}.tar.gz + sha256: 5caa5ba8009b691e013d461af876845d0c554de67751ec97b39b82ac120f8b44 + +build: + number: 0 + +requirements: + build: + - {{ compiler('go-nocgo') }} + - go-licenses + +test: + requires: + - m2-grep # [win] + commands: + - snyk-ls --help 2>&1 | grep -q "Usage of snyk-ls" + +about: + home: https://github.com/snyk/snyk-ls + license: MIT + license_file: + - LICENSE + - license-files/ + summary: Language Server used by IDEs as Snyk Backend for Frontends + dev_url: https://github.com/snyk/snyk-ls + +extra: + recipe-maintainers: + - danielnachun diff --git a/recipes/solt/bld.bat b/recipes/solt/bld.bat new file mode 100755 index 0000000000000..0a6bb16a59e3c --- /dev/null +++ b/recipes/solt/bld.bat @@ -0,0 +1,8 @@ +go build -buildmode=pie -trimpath -o=%LIBRARY_PREFIX%\bin\%PKG_NAME%.exe -ldflags="-s" || goto :error +go-licenses save . --save_path=license-files || goto :error + +goto :EOF + +:error +echo Failed with error #%errorlevel%. +exit 1 diff --git a/recipes/solt/build.sh b/recipes/solt/build.sh new file mode 100755 index 0000000000000..4f5499d6ddcd2 --- /dev/null +++ b/recipes/solt/build.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash + +set -o xtrace -o nounset -o pipefail -o errexit + +go build -buildmode=pie -trimpath -o=${PREFIX}/bin/${PKG_NAME} -ldflags="-s -w" +go-licenses save . --save_path=license-files diff --git a/recipes/solt/meta.yaml b/recipes/solt/meta.yaml new file mode 100755 index 0000000000000..da4be68c0f356 --- /dev/null +++ b/recipes/solt/meta.yaml @@ -0,0 +1,35 @@ +{% set name = "solt" %} +{% set version = "1.2.2" %} + +package: + name: {{ name|lower }} + version: {{ version }} + +source: + url: https://github.com/aegoroff/solt/archive/v{{ version }}.tar.gz + sha256: 1dc785d1b1ee279c522e1297bf93257ba34fb90c168077351decec01afd4f132 + +build: + number: 0 + +requirements: + build: + - {{ compiler('go-nocgo') }} + - go-licenses + +test: + commands: + - solt --help + +about: + home: https://github.com/aegoroff/solt + license: MIT + license_file: + - LICENSE.txt + - license-files/ + summary: Small console app written in Go that allows you to easily analyze sources and Microsoft Visual Studio solutions and projects. + dev_url: https://github.com/aegoroff/solt + +extra: + recipe-maintainers: + - danielnachun