From 1cd452947d997d6ce8396f1bc6a45929744ed9e1 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Fri, 3 Oct 2025 14:03:03 +0300 Subject: [PATCH] Switch to new download format and rebuild with openssl 3.6.0 --- pkg.info | 29 ++++++++++++++++++++++++----- source.sh | 10 ---------- 2 files changed, 24 insertions(+), 15 deletions(-) diff --git a/pkg.info b/pkg.info index f05d29e..3cdb25c 100644 --- a/pkg.info +++ b/pkg.info @@ -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 diff --git a/source.sh b/source.sh index 8661b4b..4f87a9d 100644 --- a/source.sh +++ b/source.sh @@ -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() {