34 Commits
Author SHA1 Message Date
Julius Bairaktaris fe02850291 libgcrypt: build the assembly
--disable-asm dates back to the import of the package from the old
packages repository (5bf972ecf). libgcrypt detects CPU features at
runtime, and with its assembly it uses the Armv8 crypto extensions and
NEON on ARM and the vector crypto extensions on RISC-V.

bench-slope, median of 3 runs, Cortex-A53: AES-CBC decryption 23.9 ->
1357 MiB/s, AES-GCM 19.1 -> 646 MiB/s, SHA-256 70.8 -> 620 MiB/s.
Cortex-A72 in AArch32, without crypto extensions: SHA-512 45.7 -> 78.0
MiB/s, AES-GCM 33.0 -> 47.7 MiB/s.

libgcrypt.so grows by 34 KiB on aarch64, 35 KiB on riscv64 and 12 KiB on
arm, compressed with xz. mips and loongarch64 gain no assembly and grow
by less than 5 KiB.

Assisted-by: Claude:claude-opus-5-5
Signed-off-by: Julius Bairaktaris <julius@bairaktaris.de>
2026-10-10 10:37:00 +03:00
Julius Bairaktaris 9c41fcecc1 libgcrypt: update to 1.12.4
1.12.3 and 1.12.4 fix bugs and security issues, among them RSA PSS and
OAEP input validation and an out-of-bounds read in the GOST28147 MAC.
1.12.3 also adds interfaces; the SONAME stays libgcrypt.so.20.

Release notes:
https://dev.gnupg.org/T8223
https://dev.gnupg.org/T8417

Assisted-by: Claude:claude-opus-5-5
Signed-off-by: Julius Bairaktaris <julius@bairaktaris.de>
2026-10-10 10:37:00 +03:00
W. Michael Petullo 9e1f5b27b8 libgcrypt: update to 1.12.2
Upstream list of changes is available at
https://github.com/gpg/libgcrypt/blob/master/NEWS.

Signed-off-by: W. Michael Petullo <mike@flyn.org>
2026-06-03 08:29:42 +02:00
W. Michael Petullo 614b91eeae libgcrypt: update to 1.11.2
This upstream release cleans up missing definitions and prototypes.

Signed-off-by: W. Michael Petullo <mike@flyn.org>
2026-01-09 10:54:44 +01:00
George Sapkin de64f871b0 treewide: fix spelling and grammar in Makefiles
Fix spelling and grammar in package definitions, configs, comments and
other strings.

Signed-off-by: George Sapkin <george@sapk.in>
2025-12-31 09:12:36 +02:00
W. Michael Petullo c2cfb05855 libgcrypt: update to 1.11.1
Upstream list of changes is available at
https://dev.gnupg.org/source/libgcrypt/browse/master/NEWS.

Signed-off-by: W. Michael Petullo <mike@flyn.org>
2025-06-01 10:15:45 +03:00
W. Michael Petullo b72b64008b libgcrypt: 1.11.0
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2025-01-03 00:41:36 -08:00
Daniel Golle c952d4574a libgcrypt: use pkgconfig metadata in InstallDev
Install pkgconfig metadata to allow detection of libgcrypt during
build of other packages which rely on pkgconfig.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-11-09 22:32:18 -08:00
W. Michael Petullo a3176fc61f libgcrypt: update to 1.10.3
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2024-01-02 14:52:13 -08:00
W. Michael Petullo 427c9b6974 libgcrypt: update to 1.10.2
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2023-05-20 13:15:16 +08:00
Paul Fertser 0c10c224be treewide: remove AUTORELEASE
Automatically compute and substitute current values for all
$(AUTORELEASE) instances as this feature is deprecated and shouldn't be
used.

The following temporary change was made to the core:

diff --git a/rules.mk b/rules.mk
index 57d7995d4fa8..f16367de87a8 100644
--- a/rules.mk
+++ b/rules.mk
@@ -429,7 +429,7 @@ endef
 abi_version_str = $(subst -,,$(subst _,,$(subst .,,$(1))))

 COMMITCOUNT = $(if $(DUMP),0,$(call commitcount))
-AUTORELEASE = $(if $(DUMP),0,$(call commitcount,1))
+AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile))

 all:
 FORCE: ;

And this command used to fix affected packages:

for i in $(cd feeds/packages; git grep -l PKG_RELEASE:=.*AUTORELEASE | \
                              sed 's^.*/\([^/]*\)/Makefile^\1^';);
do
  make package/$i/download
done

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2023-04-21 22:46:58 +02:00
W. Michael Petullo e79842a817 libgcrypt: update to 1.10.1
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2022-05-11 17:49:18 -04:00
Rosen Penev 0c4325fb0b libgcrypt: update to 1.9.4
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-09-25 11:04:51 -07:00
W. Michael Petullo 2aa097b441 libgcrypt: update to 1.9.3
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2021-05-10 13:19:47 -05:00
Rosen Penev 7d3737f82a libgcrypt: fix config file
Change the prefix instead of each path.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-12-10 01:50:28 -08:00
W. Michael Petullo a034111490 libgcrypt: update to 1.8.7
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2020-11-19 19:47:54 +00:00
Rosen Penev 7666dc2d3e libgcrypt: update to 1.8.6
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-07-11 23:24:35 -07:00
Rosen Penev 5769359975 libgcrypt: Update to 1.8.5
Fixed up license information. Only the library is packaged.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-09-12 14:15:37 -07:00
Sven Eckelmann bbb1ea7345 treewide: Change .*GPL.*+ licenses to SPDX compatible identifier
The CONTRIBUTING.md requests an (or multiple) SPDX identifier for GPL
licenses. But a lot of packages did use a different, non-SPDX style with a
"+" at the end instead of "-or-later".

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2019-09-10 07:45:15 +02:00
Rosen Penev ea7cb9c5aa libgcrypt: Аdd PKG_CPE_ID for proper CVE tracking
Also did some cosmetic adjustments for consistency.

No code changes.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-11-26 09:43:15 -08:00
Rosen Penev 51b34affd6 libgcrypt: Update to 1.8.4
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-10-30 17:49:54 -07:00
W. Michael Petullo eafc36fbc5 libgcrypt: update to 1.8.3
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2018-07-15 20:25:16 -04:00
champtar 0f74fe7c13 Merge pull request #5257 from lynxis/rb_libgcrypt
libgcrypt: remove build timestamp
2018-01-20 22:33:38 +01:00
Ben Smith d6eb6f0565 libs/libgcrypt: switch PKG_SOURCE_URL to https URI
curl hangs with the ftp URI

Signed-off-by: Ben Smith <le.ben.smith@gmail.com>
2017-12-22 00:11:31 -08:00
Alexander Couzens 41562db6d3 libgcrypt: remove build timestamp
Build timestamp prevents reproducible builds [0].
The patch is a backport from upstream.

[0] https://reproducible-builds.org/docs/timestamps/

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
2017-12-10 05:58:56 +01:00
Florian Eckert eb39775d76 libs/libgcrypt: add license tag
add license tag

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2017-10-30 14:51:56 +01:00
Etienne Champetier 4006865ae8 treewide: run "make check FIXUP=1"
fix Makefile chmod (644)
replace MD5SUM with HASH
add PKG_MIRROR_HASH when PKG_SOURCE_PROTO:=git

(PKG_SOURCE_PROTO:=svn tarballs are not reproducible for now)

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-08-29 21:41:14 -07:00
Daniel Golle d74ad6ae33 libgcrypt: update to version 1.6.6
Fixes CVE-2016-6313:
Entropy Loss and Output Predictability in the Libgcrypt PRNG

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2016-08-19 15:08:43 +02:00
Steven Barth 103f622523 Revert "mysql: disable SSP for ppc (toolchain issue?)"
This reverts commit e1e671139c.

Signed-off-by: Steven Barth <steven@midlink.org>
2015-06-22 12:03:48 +02:00
Steven Barth e1e671139c mysql: disable SSP for ppc (toolchain issue?)
Signed-off-by: Steven Barth <steven@midlink.org>
2015-06-19 16:52:58 +02:00
W. Michael Petullo f586ff7156 libgcrypt: enable all ciphers; one of the programs built requires ECC code
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2014-07-19 14:08:11 +02:00
W. Michael Petullo 809eb6be1c libgcrypt: update tarball MD5 and avoid building docs and tests
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2014-07-19 14:08:11 +02:00
W. Michael Petullo cf7e4ba5ac libgcrypt: update to 1.6.1
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2014-07-19 14:08:11 +02:00
W. Michael Petullo 5bf972ecf0 Copy libgcrypt package from old repository
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2014-07-19 14:08:11 +02:00