diff --git a/pkg.info b/pkg.info index bb6f934..d129e42 100644 --- a/pkg.info +++ b/pkg.info @@ -1,9 +1,18 @@ name: openssl description: The Open Source toolkit for Secure Sockets Layer and Transport Layer Security -version: 3.5.3 +version: 3.6.0 +revision: 1 url: https://www.openssl.org/ license: Apache2 architecture: any -depends: ["glibc","perl"] -optional_depends: ["make-ca"] type: source +depends: + - glibc + - perl +optional_depends: + - make-ca +downloads: + - url: https://www.openssl.org/source/openssl-${BPM_PKG_VERSION}.tar.gz + extract_to_bpm_source: true + extract_strip_components: 1 + checksum: b6a5f44b7eb69e3fa35dbf15524405b44837a481d43d81daddde3ff21fcbb8e9 diff --git a/source.sh b/source.sh index c6cb636..38213e1 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://www.openssl.org/source/openssl-${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() {