Browse Source

updated 6 packages

gnupg2-2.4.3-1

libassuan-2.5.6-1

libgcrypt-1.10.2-1

libgpg-error-1.47-1

libksba-1.6.4-1

pinentry-1.2.1-1
Tomohiro "Tomo-p" KATO 5 months ago
parent
commit
c639d45d6e

+ 37 - 25
g/gnupg2/gnupg2-vl.spec

@@ -1,9 +1,9 @@
-%global install_as_gpg2 1
+%global install_as_gpg2 0
 
 Summary: Utility for secure communication and data storage
 Summary(ja): GnuPG2 - 安全なデータ交換と保存のためのユーティリティ
 Name:    gnupg2
-Version: 2.2.41
+Version: 2.4.3
 Release: 1%{?_dist_release}
 Group: security
 Vendor: Project Vine
@@ -15,23 +15,28 @@ URL:     http://www.gnupg.org/
 Source0: https://gnupg.org/ftp/gcrypt/gnupg/gnupg-%{version}.tar.bz2
 Source1: https://gnupg.org/ftp/gcrypt/gnupg/gnupg-%{version}.tar.bz2.sig
 
-Patch1:  gnupg-2.2.23-insttools.patch
 # needed for compatibility with system FIPS mode
 Patch3:  gnupg-2.1.10-secmem.patch
 # non-upstreamable patch adding file-is-digest option needed for Copr
-Patch4:  gnupg-2.2.20-file-is-digest.patch
-# fix handling of missing key usage on ocsp replies - upstream T1333
-Patch5:  gnupg-2.2.16-ocsp-keyusage.patch
+# https://dev.gnupg.org/T1646
+Patch4:  gnupg-2.4.1-file-is-digest.patch
 Patch6:  gnupg-2.1.1-fips-algo.patch
 # allow 8192 bit RSA keys in keygen UI with large RSA
 Patch9:  gnupg-2.2.23-large-rsa.patch
 # fix missing uid on refresh from keys.openpgp.org
 # https://salsa.debian.org/debian/gnupg2/commit/f292beac1171c6c77faf41d1f88c2e0942ed4437
 Patch20: gnupg-2.2.18-tests-add-test-cases-for-import-without-uid.patch
-Patch21: gnupg-2.2.41-gpg-allow-import-of-previously-known-keys-even-without-UI.patch
+Patch21: gnupg-2.4.0-gpg-allow-import-of-previously-known-keys-even-without-UI.patch
 Patch22: gnupg-2.2.18-gpg-accept-subkeys-with-a-good-revocation-but-no-self-sig.patch
 # Fixes for issues found in Coverity scan - reported upstream
 Patch30: gnupg-2.2.21-coverity.patch
+# Revert the introduction of the RFC4880bis draft into defaults
+Patch31: gnupg2-revert-rfc4880bis.patch
+# fix emacs usage etc (see https://dev.gnupg.org/T6481) via upstream patch
+# https://dev.gnupg.org/rG2f872fa68c6576724b9dabee9fb0844266f55d0d
+# cherry-picked on top of gnupg 2.4.2 + gnupg-2.4.1-file-is-digest.patch
+Patch32: gnupg-2.4.2-gpg-Report-BEGIN_-status-before-examining-the-input.patch
+
 
 #BuildRequires: automake libtool texinfo transfig
 BuildRequires: bzip2-devel
@@ -51,18 +56,13 @@ BuildRequires: zlib-devel
 BuildRequires: gnutls-devel
 BuildRequires: sqlite-devel
 BuildRequires: fuse
-
-Requires: /sbin/install-info
-
 Recommends: pinentry
 Recommends: gnupg2-smime
 
-%if 0%{?rhel} > 5
-# pgp-tools, perl-GnuPG-Interface requires 'gpg' (not sure why) -- Rex
-Provides: gpg = %{version}-%{release}
+%if !0%{?install_as_gpg2}
 # Obsolete GnuPG-1 package
 Provides: gnupg = %{version}-%{release}
-Obsoletes: gnupg <= 1.4.10
+Obsoletes: gnupg < 1.5.0
 %endif
 
 Provides: dirmngr = %{version}-%{release}
@@ -117,10 +117,8 @@ to the base GnuPG package
 %prep
 %setup -q -n gnupg-%{version}
 
-%patch1 -p1 -b .insttools
 %patch3 -p1 -b .secmem
 %patch4 -p1 -b .file-is-digest
-%patch5 -p1 -b .keyusage
 %patch6 -p1 -b .fips
 %patch9 -p1 -b .large-rsa
 
@@ -129,6 +127,8 @@ to the base GnuPG package
 %patch22 -p1 -b .good_revoc
 
 %patch30 -p1 -b .coverity
+%patch31 -p1 -b .revert-rfc4880bis
+%patch32 -p1 -b .report-begin
 
 # pcsc-lite library major: 0 in 1.2.0, 1 in 1.2.9+ (dlopen()'d in pcsc-wrapper)
 # Note: this is just the name of the default shared lib to load in scdaemon,
@@ -189,11 +189,13 @@ install -m644 -p AUTHORS NEWS THANKS TODO \
 rm -f %{buildroot}%{_infodir}/dir
 
 
+%ifarch x86_64
 %check
 # need scratch gpg database for tests
 mkdir -p $HOME/.gnupg
 # some gpg2 tests (still) FAIL on non i386 platforms
 make -k check
+%endif
 
 
 %if !0%{?install_as_gpg2}
@@ -211,6 +213,15 @@ do
 done
 %endif
 
+%triggerpreun -- gnupg < 1.5.0
+echo | gzip > %{_infodir}/gpg.info.gz ||:
+echo | gzip > %{_infodir}/gpgv.info.gz ||:
+exit 0
+
+%triggerpostun -- gnupg < 1.5.0
+rm -f %{_infodir}/gpg.info.gz ||:
+rm -f %{_infodir}/gpgv.info.gz ||:
+
 
 %files -f %{name}.lang
 %{!?_licensedir:%global license %%doc}
@@ -220,17 +231,16 @@ done
 %dir %{_sysconfdir}/gnupg
 %ghost %config(noreplace) %{_sysconfdir}/gnupg/gpgconf.conf
 ## docs say to install suid root, but fedora/rh security folk say not to
-%if %{?install_as_gpg2}
-%{_bindir}/gpg2
-%{_bindir}/gpgv2
-%else
+%if !%{?install_as_gpg2}
 %{_bindir}/gpg
 %{_bindir}/gpgv
-%{_bindir}/gpg-zip
 %{_bindir}/gpgsplit
 %endif
+%{_bindir}/gpg2
+%{_bindir}/gpgv2
 %{_bindir}/gpg-connect-agent
 %{_bindir}/gpg-agent
+%{_bindir}/gpg-card
 %{_bindir}/gpgconf
 %{_bindir}/gpgparsemail
 %{_bindir}/gpgscm
@@ -239,24 +249,26 @@ done
 %{_bindir}/dirmngr-client
 %{_bindir}/watchgnupg
 %{_bindir}/gpg-wks-server
+%{_bindir}/gpg-wks-client
 %{_sbindir}/*
 %{_datadir}/gnupg/
 %{_libexecdir}/*
 %{_infodir}/*.info*
 %{_mandir}/man?/*
 %exclude %{_mandir}/man?/gpgsm*
-%exclude %{_mandir}/man?/scdaemon*
-%exclude %{_libexecdir}/scdaemon
 
 %files smime
 %{_bindir}/gpgsm*
 %{_bindir}/kbxutil
-%{_libexecdir}/scdaemon
 %{_mandir}/man?/gpgsm*
-%{_mandir}/man?/scdaemon*
 
 
 %changelog
+* Thu Oct 19 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.4.3-1
+- update to 2.4.3.
+- re-imported all patches from rawhide.
+- Obsoletes:gnupg(1.x).
+
 * Thu Jan 05 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.2.41-1
 - update to 2.2.41.
 - updated Patch21.

+ 5 - 12
lib/liba/libassuan/libassuan-vl.spec

@@ -1,6 +1,6 @@
 Name:    libassuan
 Summary: GnuPG IPC library
-Version: 2.5.5
+Version: 2.5.6
 Release: 1%{?_dist_release}
 Group:   system
 Vendor: Project Vine
@@ -28,8 +28,6 @@ Summary: GnuPG IPC library
 Group: programming
 #Requires: pth-devel
 Requires: %{name} = %{version}
-Requires(post): /sbin/install-info
-Requires(preun): /sbin/install-info
 Obsoletes: %{name}-static < %{version}-%{release}
 Provides:  %{name}-static = %{version}-%{release}
 
@@ -71,15 +69,6 @@ rm -f %{buildroot}%{_libdir}/libassuan.la
 make check
 
 
-%post devel 
-/sbin/install-info %{_infodir}/assuan.info %{_infodir}/dir &>/dev/null || :
-
-%preun devel 
-if [ $1 -eq 0 ]; then
-  /sbin/install-info --delete %{_infodir}/assuan.info %{_infodir}/dir &>/dev/null || :
-fi
-
-
 %clean
 rm -rf %{buildroot}
 
@@ -103,6 +92,10 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Thu Oct 19 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.5.6-1
+- updated to 2.5.6.
+- dropped install-info scriptlets.
+
 * Mon Mar 22 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.5.5-1
 - updated to 2.5.5.
 

+ 4 - 2
lib/libg/libgcrypt/libgcrypt-vl.spec

@@ -2,7 +2,7 @@
 Summary: A cryptographic library based on the code from GnuPG.
 Summary(ja): GnuPG のコードをベースとした暗号化ライブラリ
 Name: libgcrypt
-Version: 1.10.1
+Version: 1.10.2
 Release: 1%{?_dist_release}
 Group: system
 Vendor: Project Vine
@@ -17,7 +17,6 @@ Source1: https://gnupg.org/ftp/gcrypt/libgcrypt/libgcrypt-%{version}.tar.bz2.sig
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
 BuildRequires: libgpg-error-devel >= 0.5
 Requires: libgpg-error
-Requires: /sbin/install-info
 
 %description
 This is a general purpose cryptographic library based on the code from
@@ -123,6 +122,9 @@ rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la
 
 
 %changelog
+* Thu Oct 19 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.10.2-1
+- updated to 1.10.1.
+
 * Thu Jul 14 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.10.1-1
 - updated to 1.10.1.
 

+ 5 - 1
lib/libg/libgpg-error/libgpg-error-vl.spec

@@ -2,7 +2,7 @@
 Summary:	common error codes for GnuPG related projects
 Summary(ja):	GnuPG 関連プロジェクトで共通のエラーコード
 Name:		libgpg-error
-Version:	1.46
+Version:	1.47
 Release:	1%{?_dist_release}
 Group:		system
 Vendor:		Project Vine
@@ -120,6 +120,7 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/aclocal/gpgrt.m4
 %{_infodir}/gpgrt.info*
 %{_mandir}/man1/gpg-error-config.*
+%{_mandir}/man1/gpgrt-config.*
 
 # compat32
 %if %{build_compat32}
@@ -134,6 +135,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Thu Oct 19 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.47-1
+- updated to 1.47.
+
 * Thu Jan 05 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.46-1
 - updated to 1.46.
 

+ 4 - 3
lib/libk/libksba/libksba-vl.spec

@@ -1,7 +1,7 @@
 Summary: A library to access X.509 and CMS data structures.
 Summary(ja): X.509 および CMS データ構造にアクセスするためのライブラリ
 Name:    libksba
-Version: 1.6.3
+Version: 1.6.4
 Release: 1%{?_dist_release}
 Group: system
 Vendor: Project Vine
@@ -30,8 +30,6 @@ Summary: Development headers and libraries for %{name}
 Summary(ja): %{name} 用開発ヘッダ/ライブラリ
 Group: programming
 Requires: %{name} = %{version}-%{release}
-Requires(post): /sbin/install-info
-Requires(preun): /sbin/install-info
 
 %description devel
 %{summary}.
@@ -86,6 +84,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Thu Oct 19 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.6.4-1
+- new upstream release.
+
 * Thu Jan 05 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.6.3-1
 - new upstream release.
 - dropped install-info scriptlets.

+ 4 - 1
p/pinentry/pinentry-vl.spec

@@ -1,6 +1,6 @@
 
 Name:    pinentry
-Version: 1.2.0
+Version: 1.2.1
 Release: 1%{?_dist_release}
 Summary: Collection of simple PIN or passphrase entry dialogs
 Group: accessories
@@ -153,6 +153,9 @@ rm -fv $RPM_BUILD_ROOT%{_infodir}/dir
 
 
 %changelog
+* Thu Oct 19 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.2.1-1
+- new upstream release.
+
 * Thu Jul 14 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.2.0-1
 - new upstream release.
 - dropped install-info scriptlets.