Files
bpfire/lfs/gnutls
Adolf Belka fe3c0962f4 gnutls: Update to version 3.8.5
- Update from version 3.8.3 to 3.8.5
- Update of rootfile
- Changelog
    3.8.5
	** libgnutls: Due to majority of usages and implementations of
	   RSA decryption with PKCS#1 v1.5 padding being incorrect,
	   leaving them vulnerable to Marvin attack, the RSAES-PKCS1-v1_5
	   is being deprecated (encryption and decryption) and will be
	   disabled in the future. A new option `allow-rsa-pkcs1-encrypt`
	   has been added into the system-wide library configuration which
	   allows to enable/disable the RSAES-PKCS1-v1_5. Currently, the
	   RSAES-PKCS1-v1_5 is enabled by default.
	** libgnutls: Added support for RIPEMD160 and PBES1-DES-SHA1 for
	   backward compatibility with GCR.
	** libgnutls: A couple of memory related issues have been fixed in RSA PKCS#1
	   v1.5 decryption error handling and deterministic ECDSA with earlier
	   versions of GMP.  These were a regression introduced in the 3.8.4
	   release. See #1535 and !1827.
	** build: Fixed a bug where building gnutls statically failed due
	   to a duplicate definition of nettle_rsa_compute_root_tr().
	** API and ABI modifications:
	GNUTLS_PKCS_PBES1_DES_SHA1: New enum member of gnutls_pkcs_encrypt_flags_t

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-07-02 09:05:03 +00:00

85 lines
3.3 KiB
Plaintext

###############################################################################
# #
# IPFire.org - A linux based firewall #
# Copyright (C) 2007-2024 IPFire Team <info@ipfire.org> #
# #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
# the Free Software Foundation, either version 3 of the License, or #
# (at your option) any later version. #
# #
# This program is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with this program. If not, see <http://www.gnu.org/licenses/>. #
# #
###############################################################################
###############################################################################
# Definitions
###############################################################################
include Config
VER = 3.8.5
THISAPP = gnutls-$(VER)
DL_FILE = $(THISAPP).tar.xz
DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
###############################################################################
# Top-level Rules
###############################################################################
objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
$(DL_FILE)_BLAKE2 = 30ea0e213b426df896af7cddfc39a7c50fd3130f99ced8386dc55e851122a37f6171722d2cb4abb68b9d2523cd3ba044b01248d740571a3bdd0cadf555894cdf
install : $(TARGET)
check : $(patsubst %,$(DIR_CHK)/%,$(objects))
download :$(patsubst %,$(DIR_DL)/%,$(objects))
b2 : $(subst %,%_BLAKE2,$(objects))
###############################################################################
# Downloading, checking, b2sum
###############################################################################
$(patsubst %,$(DIR_CHK)/%,$(objects)) :
@$(CHECK)
$(patsubst %,$(DIR_DL)/%,$(objects)) :
@$(LOAD)
$(subst %,%_BLAKE2,$(objects)) :
@$(B2SUM)
###############################################################################
# Installation Details
###############################################################################
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
cd $(DIR_APP) && \
./configure \
--prefix=/usr \
--with-included-libtasn1 \
--with-included-unistring \
--without-p11-kit \
--disable-openssl-compatibility \
--disable-guile
cd $(DIR_APP) && make $(MAKETUNING)
cd $(DIR_APP) && make install
@rm -rf $(DIR_APP)
@$(POSTBUILD)