Switch to stable branch of GnuPG

This commit is contained in:
2025-12-07 10:57:21 +02:00
parent 9a6cf2bf97
commit d9abd584f5
2 changed files with 5 additions and 9 deletions
+3 -7
View File
@@ -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"
+2 -2
View File
@@ -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