Update package version to 3.5.0
This commit is contained in:
@@ -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"
|
||||||
@@ -1,10 +1,9 @@
|
|||||||
name: openssl
|
name: openssl
|
||||||
description: The Open Source toolkit for Secure Sockets Layer and Transport Layer Security
|
description: The Open Source toolkit for Secure Sockets Layer and Transport Layer Security
|
||||||
version: 3.2.1
|
version: 3.5.0
|
||||||
revision: 2
|
|
||||||
url: https://www.openssl.org/
|
url: https://www.openssl.org/
|
||||||
license: Apache2
|
license: Apache2
|
||||||
architecture: any
|
architecture: any
|
||||||
depends: ["glibc","perl"]
|
depends: ["glibc","perl"]
|
||||||
make_depends: ["binutils","coreutils","gcc","make","perl"]
|
optional_depends: ["make-ca"]
|
||||||
type: source
|
type: source
|
||||||
|
|||||||
@@ -36,4 +36,7 @@ package() {
|
|||||||
make MANSUFFIX=ssl DESTDIR="$BPM_OUTPUT" install
|
make MANSUFFIX=ssl DESTDIR="$BPM_OUTPUT" install
|
||||||
mkdir -p "$BPM_OUTPUT"/usr/share/doc/openssl
|
mkdir -p "$BPM_OUTPUT"/usr/share/doc/openssl
|
||||||
cp -vfr doc/* "$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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user