Skip to content

Commit

Permalink
use pre.rhai to pre-download the tarballs from openbsd ftp servers
Browse files Browse the repository at this point in the history
  • Loading branch information
madonuko committed Jul 1, 2024
1 parent 938d45b commit ba68d5d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions anda/misc/openssh/openssh.spec
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ Version: %{openssh_ver}
Release: %{openssh_rel}%{?dist}.10
URL: http://www.openssh.com/portable.html
#URL1: https://github.com/jbeverly/pam_ssh_agent_auth/
Source0: ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-%{version}.tar.gz
Source1: ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-%{version}.tar.gz.asc
Source0: openssh-%{version}.tar.gz
Source1: openssh-%{version}.tar.gz.asc
Source2: sshd.pam
Source3: gpgkey-736060BA.gpg
Source4: https://github.com/jbeverly/pam_ssh_agent_auth/archive/pam_ssh_agent_auth-%{pam_ssh_agent_ver}.tar.gz
Expand Down
2 changes: 2 additions & 0 deletions anda/misc/openssh/pre.rhai
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
sh("wget ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-9.8p1.tar.gz", #{ cwd: "anda/misc/openssh/" });
sh("wget ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-9.8p1.tar.gz.asc", #{ cwd: "anda/misc/openssh/" });

0 comments on commit ba68d5d

Please sign in to comment.