Update package version to 3.5.0

This commit is contained in:
2025-05-11 20:16:06 +03:00
parent f2a238f88a
commit 7a31c27cc5
3 changed files with 17 additions and 3 deletions
+12
View File
@@ -0,0 +1,12 @@
#!/bin/bash
# Github repository
REPO="openssl/openssl"
# Get tag name using Github Rest API
TAG_NAME=$(curl -s -L -H "Accept: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-11-28" https://api.github.com/repos/"$REPO"/releases/latest | jq -r '.tag_name')
# Get version number from tag name
VERSION=$(echo "$TAG_NAME" | rev | cut -d'-' -f1 | rev)
echo "$VERSION"
+2 -3
View File
@@ -1,10 +1,9 @@
name: openssl
description: The Open Source toolkit for Secure Sockets Layer and Transport Layer Security
version: 3.2.1
revision: 2
version: 3.5.0
url: https://www.openssl.org/
license: Apache2
architecture: any
depends: ["glibc","perl"]
make_depends: ["binutils","coreutils","gcc","make","perl"]
optional_depends: ["make-ca"]
type: source
+3
View File
@@ -36,4 +36,7 @@ package() {
make MANSUFFIX=ssl DESTDIR="$BPM_OUTPUT" install
mkdir -p "$BPM_OUTPUT"/usr/share/doc/openssl
cp -vfr doc/* "$BPM_OUTPUT"/usr/share/doc/openssl
# Install package license
install -Dm644 "$BPM_SOURCE"/LICENSE.txt "$BPM_OUTPUT"/usr/share/licenses/openssl/LICENSE.txt
}