- add libgcrypt-no-deprecated-grep-alias.patch

- Build AVX2 enabled hwcaps library for x86_64-v3
  * Fix counter operand from read-only to read/write
- Fix gpg2 tests on BigEndian architectures: s390x ppc64
- making the build reproducible - see
- libgcrypt-init-at-elf-load-fips.patch: initialize globally on ELF
- Correct patch 0007-User-interface-to-DRBG.patch so that the
- Drop arm-missing-files.diff, fixed upstream
- add arm-missing-files.diff: Add missing files to fix build
- update to 1.6.
- Library must be built with large file support in
- add GPL3.0+ to License tag because of dumpsexp (bnc#810759)
- Libraries back into %{_libdir}, /usr merge project
 * New variants of the TIGER algorithm.
   generation.  DSA domain parameters may be given as well.
- build rijndael.c with -fno-strict-aliasing [bnc#443693]
    entropy for the intial seeding
    the manual are under the GPL
- update to version 1.2.2
- require libgpg-error-devel (Bug #48271)
- update to version 1.2.0
- disable make check, because it uses /dev/random whihc is
  implemented.

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libgcrypt?expand=0&rev=178
This commit is contained in:
Dirk Mueller 2024-01-27 13:37:57 +00:00 committed by Git OBS Bridge
parent 0d824d09dc
commit f462660008
3 changed files with 65 additions and 23 deletions

View File

@ -0,0 +1,35 @@
--- libgcrypt-1.10.3.orig/acinclude.m4
+++ libgcrypt-1.10.3/acinclude.m4
@@ -130,10 +130,10 @@ EOF
ac_nlist=conftest.nm
if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \| cut -d \' \' -f 2 \> $ac_nlist) && test -s "$ac_nlist"; then
# See whether the symbols have a leading underscore.
- if egrep '^_nm_test_func' "$ac_nlist" >/dev/null; then
+ if grep -E '^_nm_test_func' "$ac_nlist" >/dev/null; then
ac_cv_sys_symbol_underscore=yes
else
- if egrep '^nm_test_func ' "$ac_nlist" >/dev/null; then
+ if grep -E '^nm_test_func ' "$ac_nlist" >/dev/null; then
:
else
echo "configure: cannot find nm_test_func in $ac_nlist" >&AS_MESSAGE_LOG_FD
--- libgcrypt-1.10.3.orig/src/libgcrypt-config.in
+++ libgcrypt-1.10.3/src/libgcrypt-config.in
@@ -154,7 +154,7 @@ if test "$echo_cflags" = "yes"; then
tmp=""
for i in $includes $cflags_final; do
- if echo "$tmp" | fgrep -v -- "$i" >/dev/null; then
+ if echo "$tmp" | @GREP@ -F -v -- "$i" >/dev/null; then
tmp="$tmp $i"
fi
done
@@ -175,7 +175,7 @@ if test "$echo_libs" = "yes"; then
tmp=""
for i in $libdirs $libs_final; do
- if echo "$tmp" | fgrep -v -- "$i" >/dev/null; then
+ if echo "$tmp" | @GREP@ -F -v -- "$i" >/dev/null; then
tmp="$tmp $i"
fi
done

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Jan 27 13:37:34 UTC 2024 - Dirk Müller <dmueller@suse.com>
- add libgcrypt-no-deprecated-grep-alias.patch
-------------------------------------------------------------------
Tue Nov 21 10:36:09 UTC 2023 - Otto Hollmann <otto.hollmann@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package libgcrypt
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -37,6 +37,8 @@ Source99: libgcrypt.changes
Patch1: libgcrypt-1.10.0-allow_FSM_same_state.patch
#PATCH-FIX-OPENSUSE Do not pull revision info from GIT when autoconf is run
Patch2: libgcrypt-nobetasuffix.patch
# https://dev.gnupg.org/T6964
Patch3: libgcrypt-no-deprecated-grep-alias.patch
# FIPS patches:
#PATCH-FIX-SUSE bsc#1190700 FIPS: Provide a service-level indicator for PK
Patch100: libgcrypt-FIPS-SLI-pk.patch