From d9abd584f5e8cda872a2245352bea342e0848c33 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Sun, 7 Dec 2025 10:57:21 +0200 Subject: [PATCH] Switch to stable branch of GnuPG --- check-version.sh | 10 +++------- pkg.info | 4 ++-- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/check-version.sh b/check-version.sh index b06bb75..fa8fbaf 100644 --- a/check-version.sh +++ b/check-version.sh @@ -1,12 +1,8 @@ #!/bin/bash -# Git repository -REPO="git://git.gnupg.org/gnupg.git" +URL="https://gnupg.org/index.html" -# Get tag name using 'git ls-remote' -TAG_NAME=$(git ls-remote --exit-code --refs --tags --sort='v:refname' "$REPO" | cut -d'/' -f3 | grep -E '^gnupg-[0-9]{1,}\.[0-9]{1,}\.[0-9]{1,}' | tail -n1) - -# Trim prefix -VERSION=${TAG_NAME//gnupg-/} +# Get version number from tag name +VERSION=$(curl -s -L "$URL" | grep 'The current version of GnuPG is ' | grep -o -E '[0-9]{1,}\.[0-9]{1,}\.[0-9]{1,}') echo "$VERSION" diff --git a/pkg.info b/pkg.info index 446d761..f749289 100644 --- a/pkg.info +++ b/pkg.info @@ -1,6 +1,6 @@ name: gnupg description: Complete and free implementation of the OpenPGP standard -version: 2.5.14 +version: 2.4.8 revision: 1 url: https://www.gnupg.org/ license: BSD-2-Clause,BSD-3-Clause,BSD-4-Clause,CC0-1.0,GPL2-or-later,GPL3-or-later,LGPL2.1-or-later,LGPL3-or-later or GPL2-or-later,MIT,Unicode-TOU @@ -29,4 +29,4 @@ downloads: - url: https://www.gnupg.org/ftp/gcrypt/gnupg/gnupg-${BPM_PKG_VERSION}.tar.bz2 extract_to: ${BPM_SOURCE} extract_strip_components: 1 - checksum: 25a622e625a1cc9078b5e3f7adf2bd02b86759170e2fbb8542bca8e907214610 + checksum: b58c80d79b04d3243ff49c1c3fc6b5f83138eb3784689563bcdd060595318616