mirror of
https://git.busybox.net/buildroot.git
synced 2025-01-06 12:23:24 +08:00
package/jitterentropy-library: bump to version 3.4.1
- Drop patch (already in version)
- Update hash of LICENSE file (year updated with
2e5019cfe6
)
https://github.com/smuellerDD/jitterentropy-library/blob/v3.4.1/CHANGES.md
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
92a4f080b2
commit
a8807ddbe2
@ -1,52 +0,0 @@
|
||||
From 272ee47892563e849f6b1bf59b0173f8aa33b631 Mon Sep 17 00:00:00 2001
|
||||
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
Date: Sun, 19 Dec 2021 11:36:13 +0100
|
||||
Subject: [PATCH] Makefile: add ENABLE_STACK_PROTECTOR
|
||||
|
||||
Add ENABLE_STACK_PROTECTOR as build on embedded toolchains without
|
||||
stack-protector is again broken since
|
||||
https://github.com/smuellerDD/jitterentropy-library/commit/5b3cb7f35e41ba2f34a75d004cf095c965a1a0c4:
|
||||
|
||||
/home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/i686-buildroot-linux-uclibc/9.3.0/../../../../i686-buildroot-linux-uclibc/bin/ld: src/jitterentropy-base.o: in function `jent_fips_enabled':
|
||||
jitterentropy-base.c:(.text+0x131): undefined reference to `__stack_chk_fail_local'
|
||||
|
||||
Fixes:
|
||||
- http://autobuild.buildroot.org/results/8dee462d16d934dd173d58f17933c6911e4336bf
|
||||
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
Signed-off-by: Stephan Mueller <smueller@chronox.de>
|
||||
[Retrieved from:
|
||||
https://github.com/smuellerDD/jitterentropy-library/commit/272ee47892563e849f6b1bf59b0173f8aa33b631]
|
||||
---
|
||||
Makefile | 11 +++++++----
|
||||
1 file changed, 7 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index dfb96a8..c999ef5 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -2,6 +2,7 @@
|
||||
|
||||
CC ?= gcc
|
||||
#Hardening
|
||||
+ENABLE_STACK_PROTECTOR ?= 1
|
||||
CFLAGS ?= -fwrapv --param ssp-buffer-size=4 -fvisibility=hidden -fPIE -Wcast-align -Wmissing-field-initializers -Wshadow -Wswitch-enum
|
||||
CFLAGS +=-Wextra -Wall -pedantic -fPIC -O0 -fwrapv -Wconversion
|
||||
LDFLAGS +=-Wl,-z,relro,-z,now -lpthread
|
||||
@@ -13,10 +14,12 @@ else
|
||||
GCC_GTEQ_490 := $(shell expr `$(CC) -dumpfullversion | sed -e 's/\.\([0-9][0-9]\)/\1/g' -e 's/\.\([0-9]\)/0\1/g' -e 's/^[0-9]\{3,4\}$$/&00/'` \>= 40900)
|
||||
endif
|
||||
|
||||
-ifeq "$(GCC_GTEQ_490)" "1"
|
||||
- CFLAGS += -fstack-protector-strong
|
||||
-else
|
||||
- CFLAGS += -fstack-protector-all
|
||||
+ifeq "$(ENABLE_STACK_PROTECTOR)" "1"
|
||||
+ ifeq "$(GCC_GTEQ_490)" "1"
|
||||
+ CFLAGS += -fstack-protector-strong
|
||||
+ else
|
||||
+ CFLAGS += -fstack-protector-all
|
||||
+ endif
|
||||
endif
|
||||
|
||||
# Change as necessary
|
@ -1,5 +1,5 @@
|
||||
# Locally computed
|
||||
sha256 9fcc954763a1dd4afe614a1b360f53b600d3376bbcc4b19177f27abf191ebad5 jitterentropy-library-3.3.1.tar.xz
|
||||
sha256 7e06574ff822594269083a796d06fa4e5e78c40efe5ca01a72d2a4662e8206df LICENSE
|
||||
sha256 802f025f766c38abf663fd5a21482b8313b6d6e2c68c36a4ffd6bc105fe975ab jitterentropy-library-3.4.1.tar.xz
|
||||
sha256 7a89069066f6c0b8767d3256e5ec5d765b2c7f3354a5a06fc8d5bd7b8103d8a3 LICENSE
|
||||
sha256 13aa749a5b0a454917a944ed8fffc530b784f5ead522b1aacaf4ec8aa55a6239 LICENSE.bsd
|
||||
sha256 e6d6a009505e345fe949e1310334fcb0747f28dae2856759de102ab66b722cb4 LICENSE.gplv2
|
||||
|
@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
JITTERENTROPY_LIBRARY_VERSION = 3.3.1
|
||||
JITTERENTROPY_LIBRARY_VERSION = 3.4.1
|
||||
JITTERENTROPY_LIBRARY_SOURCE = \
|
||||
jitterentropy-library-$(JITTERENTROPY_LIBRARY_VERSION).tar.xz
|
||||
JITTERENTROPY_LIBRARY_SITE = http://www.chronox.de/jent
|
||||
|
Loading…
Reference in New Issue
Block a user