From 7aeb60c33036195fcfe1184aa8bc6c3d10001b1d Mon Sep 17 00:00:00 2001 From: EnumDev Date: Wed, 10 Sep 2025 18:46:57 +0300 Subject: [PATCH] Update package version to 3.8.10 --- check-version.sh | 12 ++++++++++++ pkg.info | 5 ++--- source.sh | 2 +- 3 files changed, 15 insertions(+), 4 deletions(-) create mode 100644 check-version.sh diff --git a/check-version.sh b/check-version.sh new file mode 100644 index 0000000..a56969d --- /dev/null +++ b/check-version.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +# Gitlab repository +REPO="gnutls/gnutls" + +# Replace slash with URL encoded representation +REPO=$(echo "$REPO" | sed 's|/|%2F|g') + +# Get tag name using Gitlab Rest API +TAG_NAME=$(curl -s -L https://gitlab.com/api/v4/projects/"$REPO"/repository/tags | jq -r '.[0].name') + +echo "$TAG_NAME" diff --git a/pkg.info b/pkg.info index fd0c571..7573047 100644 --- a/pkg.info +++ b/pkg.info @@ -1,9 +1,8 @@ name: gnutls description: A secure communications library -version: 3.8.3 -revision: 2 +version: 3.8.10 url: https://www.gnutls.org/ license: GPL3-or-later and LGPL2.1-or-later architecture: any -depends: ["gcc-libs", "glibc", "gmp", "libidn2", "p11-kit", "libtasn1", "libunistring", "nettle", "zlib", "zstd"] +depends: ["brotli","gcc-libs", "glibc", "gmp", "libidn2", "p11-kit", "libtasn1", "libunistring", "nettle", "zlib", "zstd"] type: source diff --git a/source.sh b/source.sh index 6ed6800..10f3101 100644 --- a/source.sh +++ b/source.sh @@ -30,5 +30,5 @@ check() { package() { make DESTDIR="$BPM_OUTPUT" install - install -Dm644 "$BPM_SOURCE"/LICENSE "$BPM_OUTPUT"/usr/share/licenses/gnutls/LICENSE + install -Dm644 "$BPM_SOURCE"/COPYING.LESSERv2 "$BPM_OUTPUT"/usr/share/licenses/gnutls/COPYING.LESSERv2 }