[packages/gnupg2] up to 2.5.16
atler
atler at pld-linux.org
Tue Dec 30 13:24:56 CET 2025
commit 15fda2f5c5bd84b2543dad835226f2a02f4f9926
Author: Jan Palus <atler at pld-linux.org>
Date: Tue Dec 30 13:23:31 2025 +0100
up to 2.5.16
gnupg2-nogit.patch | 6 ++-
gnupg2-pl.po-update.patch | 93 +++++++++++++++++++++++++++++++----------------
gnupg2.spec | 29 +++++----------
3 files changed, 75 insertions(+), 53 deletions(-)
---
diff --git a/gnupg2.spec b/gnupg2.spec
index 2258e7e..806c872 100644
--- a/gnupg2.spec
+++ b/gnupg2.spec
@@ -2,7 +2,6 @@
# Conditional build:
%bcond_without tests # testsuite on build
%bcond_without dirmngr # dirmngr packages build
-%bcond_without default_gpg # install as gpg/gpgv instead of gpg2/gpgv2
%bcond_with gnutls # GnuTLS instead of NTBTLS
%bcond_with selinux # "SELinux hacks"
#
@@ -10,12 +9,12 @@ Summary: GNU Privacy Guard - tool for secure communication and data storage - en
Summary(pl.UTF-8): GnuPG - narzędzie do bezpiecznej komunikacji i bezpiecznego przechowywania danych - wersja rozszerzona
Name: gnupg2
# 2.4.x is stable, 2.5.x testing
-Version: 2.4.8
-Release: 2
+Version: 2.5.16
+Release: 1
License: GPL v3+
Group: Applications/File
Source0: https://www.gnupg.org/ftp/gcrypt/gnupg/gnupg-%{version}.tar.bz2
-# Source0-md5: a165b60aeaac0bb4d251117a45199c5f
+# Source0-md5: 5bc13825904d5f515c0fffd9e7d01bc5
Source1: gnupg-agent.sh
Patch0: %{name}-info.patch
Patch1: %{name}-nogit.patch
@@ -27,9 +26,9 @@ BuildRequires: bzip2-devel
BuildRequires: curl-devel >= 7.10
BuildRequires: gettext-tools >= 0.21
%{?with_gnutls:BuildRequires: gnutls-devel >= 3.2}
-BuildRequires: libassuan-devel >= 1:2.5.0
-BuildRequires: libgcrypt-devel >= 1.9.1
-BuildRequires: libgpg-error-devel >= 1.46
+BuildRequires: libassuan-devel >= 1:3.0.0
+BuildRequires: libgcrypt-devel >= 1.11.0
+BuildRequires: libgpg-error-devel >= 1.56
BuildRequires: libksba-devel >= 1.6.3
BuildRequires: libusb-devel >= 1.0
BuildRequires: npth-devel >= 1.2
@@ -44,12 +43,10 @@ BuildRequires: tpm2-tss-devel
BuildRequires: zlib-devel
Requires: gnupg2-common = %{version}-%{release}
Requires: sqlite3-libs >= 3.27
-%if %{with default_gpg}
Obsoletes: gnupg < 2
Obsoletes: gnupg-plugin-keys_curl < 2
Obsoletes: gnupg-plugin-keys_hkp < 2
Provides: gnupg = %{version}-%{release}
-%endif
Suggests: gnupg-agent
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -76,9 +73,9 @@ To jest wersja rozszerzona.
Summary: GnuPG - common files
Summary(pl.UTF-8): GnuPG - pliki wspólne
Group: Applications/File
-Requires: libassuan >= 1:2.5.0
-Requires: libgcrypt >= 1.9.1
-Requires: libgpg-error >= 1.46
+Requires: libassuan >= 1:3.0.0
+Requires: libgcrypt >= 1.11.0
+Requires: libgpg-error >= 1.56
Requires: libksba >= 1.6.3
Requires: npth >= 1.2
Obsoletes: gnupg2-plugin-keys_curl < 2.1
@@ -189,7 +186,6 @@ fi
--libexecdir=%{pkglibexecdir} \
%{!?with_dirmngr:--disable-dirmngr} \
--enable-g13 \
- %{!?with_default_gpg:--enable-gpg-is-gpg2} \
%{?with_gnutls:--disable-ntbtls} \
%{?with_selinux:--enable-selinux-support} \
%{!?with_tests:--disable-tests} \
@@ -242,17 +238,10 @@ EOF
%files
%defattr(644,root,root,755)
-%if %{with default_gpg}
%attr(755,root,root) %{_bindir}/gpg
%attr(755,root,root) %{_bindir}/gpgv
%{_mandir}/man1/gpg.1*
%{_mandir}/man1/gpgv.1*
-%else
-%attr(755,root,root) %{_bindir}/gpg2
-%attr(755,root,root) %{_bindir}/gpgv2
-%{_mandir}/man1/gpg2.1*
-%{_mandir}/man1/gpgv2.1*
-%endif
%files common -f gnupg2.lang
%defattr(644,root,root,755)
diff --git a/gnupg2-nogit.patch b/gnupg2-nogit.patch
index b17850b..48e3037 100644
--- a/gnupg2-nogit.patch
+++ b/gnupg2-nogit.patch
@@ -1,18 +1,20 @@
--- gnupg-2.2.7/autogen.sh.org 2018-05-03 20:55:20.709894555 +0200
+++ gnupg-2.2.7/autogen.sh 2018-05-03 20:57:36.847624695 +0200
-@@ -244,11 +244,10 @@
+@@ -244,12 +244,11 @@
rev=$(git rev-parse --short HEAD | tr -d '\n\r')
rvd=$((0x$(echo ${rev} | dd bs=1 count=4 2>/dev/null)))
else
- ingit=no
- beta=yes
- tmp="-unknown"
+- cid="0000000"
- rev="0000000"
- rvd="0"
+ ingit=yes
+ tmp=""
++ cid=$(grep "^BUILD_COMMITID=" configure | sed -e 's#^BUILD_COMMITID=\"\(.*\)\"#\1#g')
+ rev=$(grep "^BUILD_REVISION=" configure | sed -e 's#^BUILD_REVISION=\"\(.*\)\"#\1#g')
+ rvd=$((0x$(echo ${rev} | dd bs=1 count=4 2>/dev/null)))
fi
- echo "$package-$vers$tmp:$beta:$ingit:$vers$tmp:$vers:$tmp:$rev:$rvd:"
+ echo "$package-$vers$tmp:$beta:$ingit:$vers$tmp:$vers:$tmp:$rev:$rvd:$cid:"
diff --git a/gnupg2-pl.po-update.patch b/gnupg2-pl.po-update.patch
index dec2e94..91332b0 100644
--- a/gnupg2-pl.po-update.patch
+++ b/gnupg2-pl.po-update.patch
@@ -1,5 +1,5 @@
---- gnupg-2.4.8/po/pl.po.orig 2025-05-14 14:51:35.000000000 +0200
-+++ gnupg-2.4.8/po/pl.po 2025-05-17 08:34:51.300895498 +0200
+--- gnupg-2.5.16/po/pl.po.orig 2025-12-30 09:00:31.000000000 +0100
++++ gnupg-2.5.16/po/pl.po 2025-12-30 13:06:26.950273632 +0100
@@ -6,10 +6,10 @@
#
msgid ""
@@ -7,28 +7,28 @@
-"Project-Id-Version: gnupg-2.4.4\n"
+"Project-Id-Version: gnupg-2.4.8\n"
"Report-Msgid-Bugs-To: translations at gnupg.org\n"
- "POT-Creation-Date: 2025-05-14 14:51+0200\n"
+ "POT-Creation-Date: 2025-12-30 09:00+0100\n"
-"PO-Revision-Date: 2024-03-07 14:00+0100\n"
+"PO-Revision-Date: 2025-05-17 08:30+0200\n"
"Last-Translator: Jakub Bogusz <qboosh at pld-linux.org>\n"
"Language-Team: Polish <translation-team-pl at lists.sourceforge.net>\n"
"Language: pl\n"
-@@ -3002,10 +3002,8 @@ msgid "show preferences"
+@@ -3008,10 +3008,8 @@ msgid "show preferences"
msgstr "pokazanie ustawień"
- #: g10/gpg.c:2117
+ #: g10/gpg.c:2149
-#, fuzzy
-#| msgid "change the ownertrust"
msgid "show ownertrust"
-msgstr "zmiana zaufania właściciela"
+msgstr "pokazanie zaufania dla właściciela"
- #: g10/gpg.c:2239
- #, c-format
-@@ -3172,10 +3170,9 @@ msgid "invalid argument for option \"%.5
+ #: g10/gpg.c:2151
+ #, fuzzy
+@@ -3184,10 +3182,9 @@ msgid "invalid argument for option \"%.5
msgstr "błędny argument dla opcji „%.50s”\n"
- #: g10/gpg.c:3780
+ #: g10/gpg.c:3847
-#, fuzzy, c-format
-#| msgid "error parsing key specification '%s': %s\n"
+#, c-format
@@ -36,12 +36,12 @@
-msgstr "błąd analizy specyfikacji klucza „%s”: %s\n"
+msgstr "błąd analizy wartości opcji „%s”: %s\n"
- #: g10/gpg.c:3950 sm/gpgsm.c:1615
+ #: g10/gpg.c:4022 sm/gpgsm.c:1630
#, c-format
-@@ -4702,10 +4699,9 @@ msgid "setting the primary user ID faile
+@@ -4723,10 +4720,9 @@ msgid "setting the primary user ID faile
msgstr "ustawienie głównego identyfikatora użytkownika nie powiodło się: %s\n"
- #: g10/keyedit.c:2829
+ #: g10/keyedit.c:3024
-#, fuzzy, c-format
-#| msgid "checking the trust list failed: %s\n"
+#, c-format
@@ -49,9 +49,9 @@
-msgstr "sprawdzenie listy zaufania nie powiodło się: %s\n"
+msgstr "ustawienie zaufania dla właściciela na „%s” nie powiodło się: %s\n"
- #: g10/keyedit.c:2858 g10/keyedit.c:5021 g10/keygen.c:4239 g10/keygen.c:4293
+ #: g10/keyedit.c:3053 g10/keyedit.c:5252 g10/keygen.c:4761 g10/keygen.c:4815
#, c-format
-@@ -5719,6 +5715,9 @@ msgid ""
+@@ -5764,6 +5760,9 @@ msgid ""
" not properly written to the disk. You may want to repeat the\n"
" entire operation or just create a new encryption key on the card.\n"
msgstr ""
@@ -59,12 +59,12 @@
+" został właściwie zapisany na dysk. Można powtórzyć całą operację\n"
+" lub tylko utworzyć nowy klucz szyfrujący na karcie.\n"
- #: g10/keygen.c:5835 g10/keygen.c:6095
+ #: g10/keygen.c:6430 g10/keygen.c:6693
#, c-format
-@@ -5748,10 +5747,9 @@ msgstr ""
+@@ -5793,10 +5792,9 @@ msgstr ""
"można dodać do niego podklucz szyfrujący.\n"
- #: g10/keygen.c:6172
+ #: g10/keygen.c:6773
-#, fuzzy, c-format
-#| msgid "WARNING: This key has been revoked by its owner!\n"
+#, c-format
@@ -72,21 +72,21 @@
-msgstr "OSTRZEŻENIE: Ten klucz został unieważniony przez właściciela!\n"
+msgstr "Uwaga: ten klucz został utworzony z jednym lub więcej ADSK!\n"
- #: g10/keygen.c:6335 g10/keygen.c:6543
+ #: g10/keygen.c:6946 g10/keygen.c:7169
#, c-format
-@@ -5859,7 +5857,7 @@ msgstr "Zbiór kluczy"
+@@ -5909,7 +5907,7 @@ msgstr "komentarz do unieważnienia: "
- #: g10/keylist.c:1717
+ #: g10/keylist.c:1980
msgid "Revocable by: "
-msgstr ""
+msgstr "Możliwy do unieważnienia przez: "
- #: g10/keylist.c:2394
- msgid "Primary key fingerprint:"
-@@ -7027,10 +7025,9 @@ msgid "Note: secret key %s expired at %s
+ #: g10/keylist.c:2602
+ #, fuzzy, c-format
+@@ -7115,10 +7113,9 @@ msgid "Note: secret key %s expired at %s
msgstr "Uwaga: ważność klucza tajnego %s wygasła %s\n"
- #: g10/pubkey-enc.c:440
+ #: g10/pubkey-enc.c:519
-#, fuzzy, c-format
-#| msgid "certificate should not have been used for encryption\n"
+#, c-format
@@ -94,12 +94,12 @@
-msgstr "certyfikat nie powinien być używany do szyfrowania\n"
+msgstr "Uwaga: do odszyfrowania został użyty klucz ADSK"
- #: g10/pubkey-enc.c:446
+ #: g10/pubkey-enc.c:525
#, c-format
-@@ -8098,16 +8095,14 @@ msgstr[1] " (skasowano %d liczniki zaufa
+@@ -8186,16 +8183,14 @@ msgstr[1] " (skasowano %d liczniki zaufa
msgstr[2] " (skasowano %d liczników zaufania)\n"
- #: g10/trustdb.c:2243
+ #: g10/trustdb.c:2244
-#, fuzzy, c-format
-#| msgid "no ultimately trusted keys found\n"
+#, c-format
@@ -107,7 +107,7 @@
-msgstr "brak absolutnie zaufanych kluczy\n"
+msgstr "Uwaga: nie znaleziono absolutnie zaufanego klucza %s\n"
- #: g10/trustdb.c:2250
+ #: g10/trustdb.c:2252
-#, fuzzy, c-format
-#| msgid "no ultimately trusted keys found\n"
+#, c-format
@@ -115,16 +115,47 @@
-msgstr "brak absolutnie zaufanych kluczy\n"
+msgstr "Uwaga: absolutnie zaufany klucz %s wygasł\n"
- #: g10/trustdb.c:2285
+ #: g10/trustdb.c:2287
#, c-format
-@@ -11403,10 +11398,3 @@ msgstr "polecenia zarządzające kluczam
- #: tools/gpg-card.c:3912
+@@ -11502,41 +11497,3 @@ msgstr "polecenia zarządzające kluczam
+ #: tools/gpg-card.c:3943
msgid "manage the command history"
msgstr "zarządzanie historią poleceń"
-
-#, c-format
+-#~ msgid "GPG_TTY has not been set - using maybe bogus default\n"
+-#~ msgstr ""
+-#~ "GPG_TTY nie zostało ustawione - użycie być może nieprawidłowego "
+-#~ "domyślnego\n"
+-
+-#, c-format
-#~ msgid "public key of ultimately trusted key %s not found\n"
-#~ msgstr "klucz publiczny absolutnie zaufanego klucza %s nie odnaleziony\n"
-
+-#, c-format
+-#~ msgid "waiting for process %d to terminate failed: %s\n"
+-#~ msgstr "oczekiwanie na zakończenie procesu %d nie powiodło się: %s\n"
+-
+-#, fuzzy, c-format
+-#~| msgid "waiting for processes to terminate failed: %s\n"
+-#~ msgid "waiting for process to terminate failed: ec=%d\n"
+-#~ msgstr "oczekiwanie na zakończenie procesów nie powiodło się: %s\n"
+-
+-#, c-format
+-#~ msgid "error running '%s': probably not installed\n"
+-#~ msgstr "błąd uruchamiania „%s”: prawdopodobnie nie zainstalowany\n"
+-
+-#, c-format
+-#~ msgid "error running '%s': exit status %d\n"
+-#~ msgstr "błąd uruchamiania „%s”: kod wyjścia %d\n"
+-
+-#, c-format
+-#~ msgid "error running '%s': terminated\n"
+-#~ msgstr "błąd uruchamiania „%s”: zakończono\n"
+-
+-#, c-format
+-#~ msgid "error getting exit code of process %d: %s\n"
+-#~ msgstr "błąd odczytu kodu zakończenia procesu %d: %s\n"
+-
-#~ msgid "use canonical text mode"
-#~ msgstr "kanoniczny format tekstowy"
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gnupg2.git/commitdiff/15fda2f5c5bd84b2543dad835226f2a02f4f9926
More information about the pld-cvs-commit
mailing list