Enhance openssh feedstock
Templatize parameters
Add more meaningful test
+{% set name = "openssh" %}
+{% set version = "7.9p1" %}
+
package:
- name: openssh
- version: 7.9p1
+ name: {{ name }}
+ version: {{ version }}
source:
- url: http://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-7.9p1.tar.gz
+ url: http://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/{{ name }}-{{ version }}.tar.gz
sha256: 6b4b3ba2253d84ed3771c8050728d597c91cfce898713beb7b64a305b6f11aad
build:
@@ -23,6 +26,7 @@ requirements:
test:
commands:
+ - ssh-keygen -t rsa -b 4096 -f id_rsa -P do-not-pass-passwords
- type -f scp
- type -f sftp
- type -f ssh
