Compare commits

...

No commits in common. 'c10-beta' and 'c9' have entirely different histories.
c10-beta ... c9

3
.gitignore vendored

@ -1,2 +1 @@
SOURCES/libgpg-error-1.50.tar.bz2 SOURCES/libgpg-error-1.42.tar.bz2
SOURCES/libgpg-error-1.50.tar.bz2.sig

@ -1,2 +1 @@
6790fc3d6e7bbd7576654b43971bbe15e953ccc4 SOURCES/libgpg-error-1.50.tar.bz2 5e620d71fc24d287a7ac2460b1d819074bb8b9bb SOURCES/libgpg-error-1.42.tar.bz2
dfd4c5c9d9fba651f7d3ed7f4f8a0f0e8a0d2a6a SOURCES/libgpg-error-1.50.tar.bz2.sig

@ -32,7 +32,7 @@ diff -up libgpg-error-1.29/configure.multilib libgpg-error-1.29/configure
hardcode_into_libs=no hardcode_into_libs=no
@@ -11775,7 +11775,7 @@ fi @@ -11775,7 +11775,7 @@ fi
# appending ld.so.conf contents (and includes) to the search path. # Append ld.so.conf contents to the search path
if test -f /etc/ld.so.conf; then if test -f /etc/ld.so.conf; then
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '` lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
- sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
@ -113,7 +113,7 @@ diff -up libgpg-error-1.29/src/gpg-error.h.in.multilib libgpg-error-1.29/src/gpg
+++ libgpg-error-1.29/src/gpg-error.h.in 2018-04-11 14:45:28.184203566 +0200 +++ libgpg-error-1.29/src/gpg-error.h.in 2018-04-11 14:45:28.184203566 +0200
@@ -17,7 +17,7 @@ @@ -17,7 +17,7 @@
* License along with this program; if not, see <https://www.gnu.org/licenses/>. * License along with this program; if not, see <https://www.gnu.org/licenses/>.
* SPDX-License-Identifier: LGPL-2.1-or-later * SPDX-License-Identifier: LGPL-2.1+
* *
- * @configure_input@ - * @configure_input@
+ * Do not edit. Generated from gpg-error.h.in. + * Do not edit. Generated from gpg-error.h.in.

@ -0,0 +1,177 @@
From 89a353f418f5e879ab5564ec0767a6cbdb19d51c Mon Sep 17 00:00:00 2001
From: NIIBE Yutaka <gniibe@fsij.org>
Date: Wed, 7 Apr 2021 16:59:35 +0900
Subject: [PATCH Libgpg-error 1/4] build: Fix gpgrt-config for handling
'Requires' field.
* src/gpgrt-config.in (get_attr_l): Fix thinko for word split.
--
GnuPG-bug-id: 5381
Reported-by: Jakub Jelen <jjelen@redhat.com>
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
---
src/gpgrt-config.in | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/gpgrt-config.in b/src/gpgrt-config.in
index 0fe14e8..6352384 100644
--- a/src/gpgrt-config.in
+++ b/src/gpgrt-config.in
@@ -1,4 +1,5 @@
#!@INSTALLSHELLPATH@
+# -*- mode: shell-script; sh-shell: "/bin/sh" -*-
# Copyright (C) 2018, 2021 g10 Code GmbH
#
# This file is free software; as a special exception the author gives
@@ -41,7 +42,7 @@ get_attr () {
# variant of get_attr for list (separated by ',')
get_attr_l () {
- (IFS=', '; for x in "$(get_attr $1)"; do echo $x; done)
+ (IFS=', '; echo "$(get_attr $1)")
}
# Remove ${varname} part in the beginning of a string.
--
2.30.2
From 956c40f106ead6d0191bc183805021e70c15e760 Mon Sep 17 00:00:00 2001
From: NIIBE Yutaka <gniibe@fsij.org>
Date: Thu, 8 Apr 2021 10:58:56 +0900
Subject: [PATCH Libgpg-error 2/4] core: Fix gpgrt_wait_processes, by skipping
invalid PID.
* src/spawn-posix.c (_gpgrt_wait_processes): Skip invalid PID.
--
The API itself is not good to handle multiple processes. Given the
API, skipping invalid PID is better for usefulness.
GnuPG-bug-id: 5381
Reported-by: Jakub Jelen <jjelen@redhat.com>
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
---
src/spawn-posix.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/src/spawn-posix.c b/src/spawn-posix.c
index ac4c4ce..d33bade 100644
--- a/src/spawn-posix.c
+++ b/src/spawn-posix.c
@@ -703,8 +703,13 @@ _gpgrt_wait_processes (const char **pgmnames, pid_t *pids, size_t count,
{
int status = -1;
+ /* Skip invalid PID. */
if (pids[i] == (pid_t)(-1))
- return GPG_ERR_INV_VALUE;
+ {
+ r_exitcodes[i] = -1;
+ left -= 1;
+ continue;
+ }
/* See if there was a previously stored result for this pid. */
if (get_result (pids[i], &status))
--
2.30.2
From ad062b0a5b7d598081405ecfb71b51540281a1b7 Mon Sep 17 00:00:00 2001
From: Jakub Jelen <jjelen@redhat.com>
Date: Mon, 12 Apr 2021 13:06:17 +0900
Subject: [PATCH Libgpg-error 3/4] build,tests: Fix leaks of memory or file
pointer.
* src/mkheader.c (parse_config_h): Close FP.
* tests/t-b64.c (test_b64enc_string): Free STATE.
(test_b64dec_string): Free BUFFER.
* tests/t-syserror.c (main): Close FP.
--
GnuPG-bug-id: 5381
Signed-off-by: Jakub Jelen <jjelen@redhat.com>
---
src/mkheader.c | 1 +
tests/t-b64.c | 2 ++
tests/t-syserror.c | 1 +
3 files changed, 4 insertions(+)
diff --git a/src/mkheader.c b/src/mkheader.c
index 77826da..1d2ea20 100644
--- a/src/mkheader.c
+++ b/src/mkheader.c
@@ -244,6 +244,7 @@ parse_config_h (const char *fname)
{
fprintf (stderr, "%s:%d: error reading file: %s\n",
fname, lnr, strerror (errno));
+ fclose (fp);
return 1;
}
diff --git a/tests/t-b64.c b/tests/t-b64.c
index 0171909..db08fc0 100644
--- a/tests/t-b64.c
+++ b/tests/t-b64.c
@@ -108,6 +108,7 @@ test_b64enc_string (const char *string, const char *expected, const char *title)
err = gpgrt_b64enc_write (state, string, strlen (string));
if (err)
{
+ free (state);
fail ("gpgrt_b64enc_write failed: %s\n", gpg_strerror (err));
return err;
}
@@ -191,6 +192,7 @@ test_b64dec_string (const char *string, const char *expected, const char *title)
gpgrt_log_debug_string (expected, "expect(len=%zu): ",
strlen (expected));
}
+ free (buffer);
return GPG_ERR_FALSE;
}
diff --git a/tests/t-syserror.c b/tests/t-syserror.c
index a4cb983..93264dd 100644
--- a/tests/t-syserror.c
+++ b/tests/t-syserror.c
@@ -49,6 +49,7 @@ main (int argc, char *argv[])
}
if (fp)
{
+ fclose (fp);
fprintf (stderr, "unable to run test\n");
return 1;
}
--
2.30.2
From 5e60ba508a2b23aa73a9b26616e1dd3f1fc1cb7d Mon Sep 17 00:00:00 2001
From: Jakub Jelen <jjelen@redhat.com>
Date: Wed, 7 Apr 2021 11:56:40 +0200
Subject: [PATCH Libgpg-error 4/4] logging: Supress cppcheck warning
Signed-off-by: Jakub Jelen <jjelen@redhat.com>
---
src/logging.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/logging.c b/src/logging.c
index e4b7e40..69bf8c5 100644
--- a/src/logging.c
+++ b/src/logging.c
@@ -1274,6 +1274,7 @@ _gpgrt_log_printhex (const void *buffer, size_t length,
* complains about uninitialized use. */
static va_list dummy_argptr;
+ // cppcheck-suppress va_list_usedBeforeStarted
_gpgrt_logv_printhex (buffer, length, NULL, dummy_argptr);
}
}
--
2.30.2

@ -0,0 +1,30 @@
From 75e06a7861cb4a8479a382946217e846e9b58154 Mon Sep 17 00:00:00 2001
From: Jakub Jelen <jjelen@redhat.com>
Date: Mon, 6 Dec 2021 20:52:57 +0100
Subject: [PATCH Libgpg-error] configure: Add missing check for logging
* configure.ac: Add missing check for inet_pton to avoid using inet_addr
in modern systems.
--
Signed-off-by: Jakub Jelen <jjelen@redhat.com>
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index da013d8..3686a9c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -215,7 +215,7 @@ AC_SUBST(INSTALLSHELLPATH)
AC_FUNC_FORK
AC_CHECK_FUNCS([flockfile vasprintf mmap rand strlwr stpcpy setenv stat \
- getrlimit getpwnam getpwuid getpwnam_r getpwuid_r ])
+ getrlimit getpwnam getpwuid getpwnam_r getpwuid_r inet_pton ])
#
--
2.31.1

@ -1,86 +0,0 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQGNBFjLuq4BDACnM7zNSIaVMAacTwjXa5TGYe13i6ilHe4VL0NShzrgzjcQg531
3cRgiiiNA7OSOypMqVs73Jez6ZUctn2GVsHBrS/io9NcuC9pVwf8a61WlcEa+EtB
a3G7HlBmEWnwaUdAtWKNuAi9Xn+Ir7H2xEdksmmd5a0/QnL+sX705boVPF/tpYtb
LGpPxa78tNrtxDkSwy8Wmi0IADYLI5yI7/yUGeJd8RSCU/fLRKC9fG7YOZRq0tsO
MhVNWmtUjbG6e73Lu8LKnCZgs1/fC8hvPyARieSV5mdN8s1oWd7oYctfgL4uBleD
ItAA8GhjKejutzHN8Ei/APw6AiiSyEjnPg+cTX8OgvLGJWjks0H6mPZeB1v/kGyZ
hBS9vm540h2/MmlVN2ntiCK5TZGeSWpqddiqusfVXotMRpN4HeLKoZh4RAncaCbZ
F/S+YLeN+kMXY4k3Fqt1fjTX6veFCbthI9pDdHzU9LfUVNp9D/5ktC/tYMORMegV
+wSMxi9G2YWKJkMAEQEAAYkBzgQfAQgAOBYhBFuAxXVCmPDLVdjtarzvfilLCS4o
BQJYy8DdFwyAAZSlyaA8L+XKOwldjh/fcjz0YraxAgcAAAoJELzvfilLCS4oNgoL
/0+K1xIx8JW7Lk5M6bYCvNA4fdlEcwQIT4UidJFM9m+suxYFWIGfebvHpRlEuJTg
dBjkEit8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uCZAOtoF
AmFpTvEACgkQUoiXuCZAOtrJQAEAh7YyykjAy/Qs1yC3ji8iBfIVnPXvblrIx3SR
RyDwRC8BAKtZbEuKTtPlgkLUgMleTcZJ/vEhJE+GvfQ9o5gWCqEFiHUEEBYKAB0W
IQTB00tpIZ5K7sC6HCHj/f8hjkW3KwUCYWlPWgAKCRDj/f8hjkW3Kx4eAQDp6aGS
N/fU4xLl8RSvQUVjVA+aCTrMQR3hRwqw8liF2wEA3O3ECxz6e1+DoItYoJBBLKLw
eiInsGZ/+h5XYrpXTgA=
=4+Sn
-----END PGP PUBLIC KEY BLOCK-----

@ -1,17 +1,19 @@
Name: libgpg-error Name: libgpg-error
Version: 1.50 Version: 1.42
Release: 1%{?dist} Release: 5%{?dist}
Summary: Library for error values used by GnuPG components Summary: Library for error values used by GnuPG components
URL: https://www.gnupg.org/related_software/libgpg-error/ URL: https://www.gnupg.org/related_software/libgpg-error/
License: LGPL-2.1-or-later AND (BSD-3-Clause OR LGPL-2.1-or-later) AND FSFULLR AND GPL-2.0-or-later License: LGPLv2+
Source0: https://www.gnupg.org/ftp/gcrypt/libgpg-error/%{name}-%{version}.tar.bz2 Source0: https://www.gnupg.org/ftp/gcrypt/libgpg-error/%{name}-%{version}.tar.bz2
Source1: https://www.gnupg.org/ftp/gcrypt/libgpg-error/%{name}-%{version}.tar.bz2.sig Source1: https://www.gnupg.org/ftp/gcrypt/libgpg-error/%{name}-%{version}.tar.bz2.sig
Source2: https://gnupg.org/signature_key.asc
Patch1: libgpg-error-1.29-multilib.patch Patch1: libgpg-error-1.29-multilib.patch
# https://dev.gnupg.org/T5381
Patch2: libgpg-error-1.42-coverity.patch
# https://dev.gnupg.org/T5720
Patch3: libgpg-error-1.42-inet_pton.patch
BuildRequires: gcc BuildRequires: gcc
BuildRequires: gnupg2
BuildRequires: gawk, gettext, autoconf, automake, gettext-devel, libtool BuildRequires: gawk, gettext, autoconf, automake, gettext-devel, libtool
BuildRequires: texinfo BuildRequires: texinfo
BuildRequires: gettext-autopoint BuildRequires: gettext-autopoint
@ -34,9 +36,10 @@ pinentry, SmartCard Daemon and possibly more in the future. This package
contains files necessary to develop applications using libgpg-error. contains files necessary to develop applications using libgpg-error.
%prep %prep
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
%setup -q %setup -q
%patch 1 -p1 -b .multilib %patch1 -p1 -b .multilib
%patch2 -p1 -b .coverity
%patch3 -p1 -b .inet_pton
autoreconf -f autoreconf -f
@ -49,10 +52,7 @@ sed -i -e '/--variable=host/d' src/gpg-error-config-test.sh.in
sed -i -e 's|sys_lib_dlsearch_path_spec="/lib /usr/lib|sys_lib_dlsearch_path_spec="/lib /usr/lib %{_libdir}|g' configure sed -i -e 's|sys_lib_dlsearch_path_spec="/lib /usr/lib|sys_lib_dlsearch_path_spec="/lib /usr/lib %{_libdir}|g' configure
%build %build
%configure --disable-static \ %configure --disable-static --disable-rpath --disable-languages
--disable-rpath \
--disable-languages \
--enable-install-gpg-error-config
%make_build %make_build
%install %install
@ -85,51 +85,18 @@ make check
%{_datadir}/aclocal/gpg-error.m4 %{_datadir}/aclocal/gpg-error.m4
%{_datadir}/aclocal/gpgrt.m4 %{_datadir}/aclocal/gpgrt.m4
%{_infodir}/gpgrt.info* %{_infodir}/gpgrt.info*
%{_mandir}/man1/gpg-error-config.*
%{_mandir}/man1/gpgrt-config.* %{_mandir}/man1/gpgrt-config.*
%changelog %changelog
* Tue Jul 02 2024 Jakub Jelen <jjelen@redhat.com> - 1.50-1 * Mon Dec 06 2021 Jakub Jelen <jjelen@redhat.com> - 1.42-5
- New upstream release (#2293052) - Avoid using bad function inet_addr
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.47-5 * Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.42-4
- Bump release for June 2024 mass rebuild - Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.47-4 * Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.42-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.47-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.47-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Tue Apr 11 2023 Jakub Jelen <jjelen@redhat.com> - 1.47-1
- New upstream release (#2184969)
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.46-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Fri Oct 07 2022 Jakub Jelen <jjelen@redhat.com> - 2.46-1
- New upstream release (#2133005)
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.45-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Thu Apr 07 2022 Jakub Jelen <jjelen@redhat.com> - 1.45-1
- New upstream release (#2072939)
* Thu Jan 27 2022 Jakub Jelen <jjelen@redhat.com> - 1.44-1
- New upstream release (#2047188)
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.43-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Wed Nov 03 2021 Jakub Jelen <jjelen@redhat.com> - 1.43-1
- New upstream release (#2019881)
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.42-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Mon Apr 12 2021 Jakub Jelen <jjelen@redhat.com> - 1.42-2 * Mon Apr 12 2021 Jakub Jelen <jjelen@redhat.com> - 1.42-2
- Address coverity reported issues - Address coverity reported issues

Loading…
Cancel
Save