libjitterentropy: update 3.1.0 -> 3.3.0

(From OE-Core rev: 3d27221475a58a27f2b5bc0f4c8c2d773dfb9a98)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Alexander Kanavin
2021-10-19 17:33:15 +02:00
committed by Richard Purdie
parent bdc84d86aa
commit 878ca97e7a
2 changed files with 2 additions and 32 deletions

View File

@@ -1,27 +0,0 @@
From 905333229103510e9dee2fec29b261ccedb031d0 Mon Sep 17 00:00:00 2001
From: Alexander Kanavin <alex.kanavin@gmail.com>
Date: Fri, 20 Aug 2021 19:37:04 +0000
Subject: [PATCH] Makefile: restore build reproducibility
wildcards result in an unpredictable order, and thus different binary outputs
in otherwise identical builds.
Upstream-Status: Submitted [https://github.com/smuellerDD/jitterentropy-library/pull/67]
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 42932d8..dfb96a8 100644
--- a/Makefile
+++ b/Makefile
@@ -36,7 +36,7 @@ LIBMINOR=$(shell cat $(SRCDIR)/jitterentropy-base.c | grep define | grep MINVERS
LIBPATCH=$(shell cat $(SRCDIR)/jitterentropy-base.c | grep define | grep PATCHLEVEL | awk '{print $$3}')
LIBVERSION := $(LIBMAJOR).$(LIBMINOR).$(LIBPATCH)
-C_SRCS := $(wildcard $(SRCDIR)/*.c)
+C_SRCS := $(sort $(wildcard $(SRCDIR)/*.c))
C_OBJS := ${C_SRCS:.c=.o}
OBJS := $(C_OBJS)

View File

@@ -9,14 +9,11 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=1c94a9d191202a5552f381a023551396 \
file://LICENSE.gplv2;md5=eb723b61539feef013de476e68b5c50a \
file://LICENSE.bsd;md5=66a5cedaf62c4b2637025f049f9b826f \
"
SRC_URI = "git://github.com/smuellerDD/jitterentropy-library.git \
file://0001-Makefile-restore-build-reproducibility.patch \
"
SRCREV = "409828cfccf4b3b07edc40a7840a821ce074e2c3"
SRC_URI = "git://github.com/smuellerDD/jitterentropy-library.git"
SRCREV = "418c1e64231255aec2167cbb20aab62a0863415d"
S = "${WORKDIR}/git"
# remove at next version upgrade or when output changes
PR = "r1"
HASHEQUIV_HASH_VERSION .= ".2"
do_configure[noexec] = "1"