Commit Graph

89 Commits

Author SHA1 Message Date
Andre Heider 565866a472 treewide: refactor to use PKG_BUILD_FLAGS:=no-mips16
See commit 5c545bdb "treewide: replace PKG_USE_MIPS16:=0 with
PKG_BUILD_FLAGS:=no-mips16" on the main repository.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2023-04-08 08:38:54 +02:00
Nick Hainke e2a9c55980 gnutls: update to 3.7.8
Release Notes:
https://lists.gnupg.org/pipermail/gnutls-help/2022-September/004765.html

Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-10-09 00:23:24 +02:00
Nick Hainke 0a4345d978 gnutls: update to 3.7.7
- libgnutls: Fixed double free during verification of pkcs7 signatures.
  Reported by Jaak Ristioja (#1383). [GNUTLS-SA-2022-07-07, CVSS: medium]
  [CVE-2022-2509]

- libgnutls: gnutls_hkdf_expand now only accepts LENGTH argument less than or
  equal to 255 times hash digest size, to comply with RFC 5869 2.3.

- libgnutls: Length limit for TLS PSK usernames has been increased
  from 128 to 65535 characters (#1323).

- libgnutls: AES-GCM encryption function now limits plaintext
  length to 2^39-256 bits, according to SP800-38D 5.2.1.1.

- libgnutls: New block cipher functions have been added to transparently
  handle padding.  gnutls_cipher_encrypt3 and gnutls_cipher_decrypt3 can be
  used in combination of GNUTLS_CIPHER_PADDING_PKCS7 flag to automatically
  add/remove padding if the length of the original plaintext is not a multiple
  of the block size.

- libgnutls: New function for manual FIPS self-testing.

API and ABI modifications:
- gnutls_fips140_run_self_tests: New function
- gnutls_cipher_encrypt3: New function
- gnutls_cipher_decrypt3: New function
- gnutls_cipher_padding_flags_t: New enum

Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-08-07 09:18:17 +02:00
Boris Krasnovskiy 32f4d46f51 gnutls: Avoid building unused gnutls dependency
Avoid building unused gnutls dependency

Signed-off-by: Boris Krasnovskiy <borkra@gmail.com>
2022-07-30 19:11:24 -04:00
Nick Hainke 5b96851b8c gnutls: disable brotli
Disable the brotli library by default. It is not used and may prevent
linking issues in the future.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-07-05 15:30:48 +02:00
Nick Hainke 17e0cee398 gnutls: fix disable zstd
Configure.ac syntax changed to:
  Old: --without-libbrotli --without-libzstd (also --with-*)
  New: --without-brotli --without-zstd (also --with-*)
  6b794e49d1

Fixes: 6385813ddf ("gnutls: update to 3.7.5")

Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-07-05 15:30:34 +02:00
Nick Hainke 61f487af99 gnutls: update to 3.7.6
Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-07-04 12:51:59 +02:00
Nick Hainke 6385813ddf gnutls: update to 3.7.5
Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-07-04 12:51:59 +02:00
Nick Hainke 891cfc866e gnutls: cleanup Makefile
- Add PKG_LICENSE_FILES
- Use SPDX
- Rearrange

Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-07-04 12:51:59 +02:00
John Audia e305f1bcb9 gnutls: Update to 3.7.4
Bump to latest upstream release.  Rebased existing patches.

This version introduces certificate compression support, and with that,
optional dependencies on zlib and zstd. When configure picks them up,
build will fail due to missing dependencies:

Package libgnutls is missing dependencies for the following libraries:
libz.so.1
libzstd.so.1

Disable zlib and zstd support to avoid that.

Signed-off-by: John Audia <graysky@archlinux.us>
[disable zlib and zstd]
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2022-03-30 06:18:45 -04:00
Rosen Penev 7fe4a663d3 gnutls: update to 3.7.2
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-03-30 12:43:22 +03:00
Stijn Tintel 757e53b9aa gnutls: add build dependency on gettext-full/host
The gnutls package uses the gettext-version fixup, which is only
available if gettext-full/host has been built. Add the missing build
dependency to fix these errors:

bash: line 1: /home/stijn/Development/OpenWrt/openwrt/staging_dir/hostpkg/bin/gettext: No such file or directory

bash: line 1: /home/stijn/Development/OpenWrt/openwrt/staging_dir/hostpkg/bin/autopoint: No such file or directory

It also prevents configure from using host gettext:

checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/gmsgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge

vs:

checking for msgfmt... /home/stijn/Development/OpenWrt/openwrt/staging_dir/hostpkg/bin/msgfmt
checking for gmsgfmt... /home/stijn/Development/OpenWrt/openwrt/staging_dir/hostpkg/bin/gmsgfmt
checking for xgettext... /home/stijn/Development/OpenWrt/openwrt/staging_dir/hostpkg/bin/xgettext
checking for msgmerge... /home/stijn/Development/OpenWrt/openwrt/staging_dir/hostpkg/bin/msgmerge

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2022-03-30 12:43:21 +03:00
Stijn Tintel c5d92fd9ca gnutls: enable AUTORELEASE
Enable AUTORELEASE in a separate commit so that the next commit can be
reverted without having to manually re-introduce it.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2022-03-30 12:43:21 +03:00
Eneas U de Queiroz 206eaae165
gnutls: don't run aclocal --install
Remove the --install parameter when running aclocal.  The --install
argument is used to copy third-party files to the first -I directory.
gnutls has -I m4 first, which would copy files to its local build
directory.  However, openwrt prepends the staging dir m4 directory,
causing aclocal --install to copy an old definition of
ax_code_coverage.m4 into the staging dir.

If strace is built after gnutls, compilation will fail:

    Makefile:9303: *** missing separator.  Stop.

The version of ax_code_coverage.m4 that gets installed does not define
@CODE_COVERAGE_RULES@.

Removing the --install parameter in gnutls solves the issue.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2021-11-03 13:34:16 -03:00
Stijn Tintel 3d4e6b0514 Revert "gnutls: update to 3.7.2"
Fixes #16083

This reverts commit 59a39d4c6f.
2021-08-05 22:37:05 +03:00
Rosen Penev 59a39d4c6f gnutls: update to 3.7.2
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-06-01 23:18:24 -07:00
Jan Pavlinec 323461a1f0
gnutls: update to version 3.7.1
Fixes
CVE-2021-20231
CVE-2021-20232

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2021-03-25 10:59:10 +01:00
Daniel Golle ec7109ec12 gnutls: package libdane
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-01-03 00:18:29 +00:00
Rosen Penev 9a1ece330f
gnutls: update to 3.7.0
Added autoreconf to fix bad linking under Arch Linux.

Added patch to fix compilation with autoreconf.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-12-22 20:06:23 -08:00
Jan Pavlinec 9e81fcad9e
gnutls: update to version 3.6.15 (security fix)
Fixes:
CVE-2020-24659

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2020-09-09 15:28:32 +02:00
Nikos Mavrogiannopoulos 2b9f88a4bf gnutls: updated to 3.6.14
Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
2020-06-04 05:52:44 +02:00
Nikos Mavrogiannopoulos 586b283a8f gnutls: updated to 3.6.13
Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
2020-03-31 22:56:08 +02:00
Nikos Mavrogiannopoulos 8512a2ab63 gnutls: updated to 3.6.12
Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
2020-02-02 22:41:20 +01:00
Nikos Mavrogiannopoulos 2dd76ae765 gnutls: fixed pkg-hash to the right one
Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
2019-12-02 17:42:23 +01:00
Nikos Mavrogiannopoulos b36825be75 gnutls: updated to 3.6.11
Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
2019-12-02 17:14:48 +01: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
Nikos Mavrogiannopoulos 15884f28a1 gnutls: updated to 3.6.9
Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
2019-08-02 21:27:39 +02:00
Nikos Mavrogiannopoulos e053ce17c7 gnutls: removed autogen patch
It was causing regressions in systems without some particular
development tools (see #8129)

Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
2019-06-01 08:14:37 +02:00
Nikos Mavrogiannopoulos 8e62aeef46 gnutls: removed FIXUP
This addresses regression discussed in #8129

Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
2019-05-30 07:24:34 +02:00
Nikos Mavrogiannopoulos 998b6d4636 gnutls: updated to 3.6.8
Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
2019-05-29 07:33:29 +02:00
Rosen Penev d8a00bb62b
gnutls: Update to 3.6.7
Cleaned up configure arguments (alphabetized and sorted) and added some
new ones to help speed up compilation.

Disabled SSL support by default. SSLv2 and 3 have long been deprecated as
they are both insecure variants that currently hold less than 10% of total
encrypted traffic on the web.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-03-27 03:19:19 -07:00
Nikos Mavrogiannopoulos 485db8a770 gnutls: updated to 3.6.5
Compile tested for: ar71xx

Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2018-12-10 19:57:19 +01:00
Nikos Mavrogiannopoulos 16ee897b12 gnutls: updated to 3.5.19
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2018-09-29 10:04:48 +02:00
Rosen Penev 9c43fd81d5
gnutls: Add PKG_CPE_ID for proper CVE tracking
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-08-21 12:47:25 -07:00
Rosen Penev 170de23a80 gnutls: Use HTTPS instead of FTP
While recently building asterisk, the make system stalled on gnutls. On my install of Ubuntu 16.04 on WSL, it seems curl can't download from ftp and doesn't even time out properly. Easiest solution is to switch the gnutls Makefile to use HTTPS instead.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2017-12-10 20:03:37 -08:00
Nikos Mavrogiannopoulos 889ef7e32d gnutls: updated to 3.5.16
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2017-10-21 20:24:35 +02:00
Nikos Mavrogiannopoulos 3de228f3ad gnutls: updated to 3.5.13
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2017-06-18 13:25:26 +02:00
Nikos Mavrogiannopoulos cc1128befa gnutls: updated to 3.5.11
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2017-05-08 05:39:15 +02:00
Nikos Mavrogiannopoulos 278c5c1f1d gnutls: updated to 3.5.9
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2017-02-12 11:26:56 +01:00
Daniel Engberg c7c951eada libs/gnutls: Don't link libidn unintentionally
Fixes compilation reported by by buildbots.

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2017-02-07 00:23:09 +01:00
Nikos Mavrogiannopoulos 4563af5d95 gnutls: updated to 3.5.8
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2017-01-15 21:32:38 +01:00
Nikos Mavrogiannopoulos 449f578975 gnutls: updated to 3.5.6
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2016-11-04 20:53:59 +01:00
Alberto Bursi fea72523f2 gnutls-utils/certtool: move to Encryption submenu
Part of a wider housekeeping effort on the packages repository.

Signed-off-by: Alberto Bursi <alberto.bursi@outlook.it>
2016-10-24 00:11:58 +02:00
Nikos Mavrogiannopoulos 868315d959 gnutls: remove C99 constructions rejected by compiler 2016-09-27 23:46:58 +02:00
Ian Pozella e1b0adf5f2 gnutls: optionally disable tpm support
Add option that allows you to explicitly disable use of the tpm
otherwise if a tss stack such as trousers is found by gnutls build
system then it will use it which will cause a build failure when
PKCS11 support is not enabled.

Signed-off-by: Ian Pozella <Ian.Pozella@imgtec.com>
2016-09-15 15:29:49 +01:00
Nikos Mavrogiannopoulos dc5961ffc2 gnutls: updated to 3.5.4
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2016-09-08 18:25:35 +02:00
Nikos Mavrogiannopoulos b5a3312100 gnutls: updated to 3.4.14
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2016-07-06 10:44:36 +02:00
Nikos Mavrogiannopoulos 06ee8721d1 gnutls: updated to 3.4.13
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2016-06-12 15:37:48 +02:00
Nikos Mavrogiannopoulos e99e88efc1 gnutls: updated to 3.4.12
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2016-05-22 17:47:33 +02:00
Nikos Mavrogiannopoulos 5288b94ece gnutls: updated to 3.4.11
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2016-04-25 23:13:40 +02:00