From 8752c67ce17632a07d6a355c5d820d461e27a047 Mon Sep 17 00:00:00 2001 From: Nikita COEUR <110812833+NikitaCOEUR@users.noreply.github.com> Date: Mon, 25 Nov 2024 00:52:10 +0100 Subject: [PATCH] feat(quantumsheep/sshs): scaffold quantumsheep/sshs (#29185) * feat(quantumsheep/sshs): scaffold quantumsheep/sshs * fix(quantumsheep/sshs): use regexp format to validate checksum --- pkgs/quantumsheep/sshs/pkg.yaml | 4 ++++ pkgs/quantumsheep/sshs/registry.yaml | 25 +++++++++++++++++++++++++ registry.yaml | 24 ++++++++++++++++++++++++ 3 files changed, 53 insertions(+) create mode 100644 pkgs/quantumsheep/sshs/pkg.yaml create mode 100644 pkgs/quantumsheep/sshs/registry.yaml diff --git a/pkgs/quantumsheep/sshs/pkg.yaml b/pkgs/quantumsheep/sshs/pkg.yaml new file mode 100644 index 00000000000..fbae527ed23 --- /dev/null +++ b/pkgs/quantumsheep/sshs/pkg.yaml @@ -0,0 +1,4 @@ +packages: + - name: quantumsheep/sshs@4.5.1 + - name: quantumsheep/sshs + version: 3.4.0 diff --git a/pkgs/quantumsheep/sshs/registry.yaml b/pkgs/quantumsheep/sshs/registry.yaml new file mode 100644 index 00000000000..119cbe63fc7 --- /dev/null +++ b/pkgs/quantumsheep/sshs/registry.yaml @@ -0,0 +1,25 @@ +packages: + - type: github_release + repo_owner: quantumsheep + repo_name: sshs + description: Terminal user interface for SSH + version_constraint: "false" + version_overrides: + - version_constraint: semver("<= 3.4.0") + asset: sshs-{{.OS}}-{{.Arch}} + format: raw + windows_arm_emulation: true + checksum: + type: github_release + asset: "{{.Asset}}.sha256" + algorithm: sha256 + - version_constraint: "true" + asset: sshs-{{.OS}}-{{.Arch}} + format: raw + checksum: + type: github_release + file_format: regexp + asset: "{{.Asset}}.sha256" + pattern: + checksum: ^(\b[A-Fa-f0-9]{64}\b) + algorithm: sha256 diff --git a/registry.yaml b/registry.yaml index 64d98f0021b..3e850d923fd 100644 --- a/registry.yaml +++ b/registry.yaml @@ -39608,6 +39608,30 @@ packages: - darwin - windows - amd64 + - type: github_release + repo_owner: quantumsheep + repo_name: sshs + description: Terminal user interface for SSH + version_constraint: "false" + version_overrides: + - version_constraint: semver("<= 3.4.0") + asset: sshs-{{.OS}}-{{.Arch}} + format: raw + windows_arm_emulation: true + checksum: + type: github_release + asset: "{{.Asset}}.sha256" + algorithm: sha256 + - version_constraint: "true" + asset: sshs-{{.OS}}-{{.Arch}} + format: raw + checksum: + type: github_release + file_format: regexp + asset: "{{.Asset}}.sha256" + pattern: + checksum: ^(\b[A-Fa-f0-9]{64}\b) + algorithm: sha256 - type: github_release repo_owner: quarkslab repo_name: kdigger