Switch to new download format and rebuild with openssl 3.6.0

This commit is contained in:
2025-10-03 14:07:57 +03:00
parent 8d3c30edc5
commit 1cd452947d
2 changed files with 24 additions and 15 deletions
+24 -5
View File
@@ -1,12 +1,31 @@
name: openssh
description: The premier connectivity tool for remote login with the SSH protocol
version: 10.0p2
revision: 3
revision: 4
url: https://www.openssh.com/
license: BSD-2-Clause,BSD-3-Clause,ISC,LicenseRef-Public-Domain,MIT
architecture: any
type: source
depends: ["glibc","krb5","libedit","libmd","libxcrypt","openssl","pam","zlib","shadow"]
optional_depends: ["libfido2"]
make_depends: ["sh","libfido2","xorg-xauth"]
keep: ["etc/ssh/"]
keep:
- etc/ssh/
depends:
- glibc
- krb5
- libedit
- libmd
- libxcrypt
- openssl
- pam
- zlib
- shadow
optional_depends:
- libfido2
make_depends:
- sh
- libfido2
- xorg-xauth
downloads:
- url: https://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-${BPM_PKG_VERSION}.tar.gz
extract_to_bpm_source: true
extract_strip_components: 1
checksum: 021a2e709a0edf4250b1256bd5a9e500411a90dddabea830ed59cef90eb9d85c
-10
View File
@@ -2,16 +2,6 @@
# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
DOWNLOAD="https://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-${BPM_PKG_VERSION}.tar.gz"
FILENAME="${DOWNLOAD##*/}"
# The prepare function is executed in the root of the temp directory
# This function is used for downloading files and putting them into the correct location
prepare() {
wget "$DOWNLOAD"
tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE"
}
# The build function is executed in the source directory
# This function is used to compile the source code
build() {