summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoshua Watt <jpewhacker@gmail.com>2019-12-03 07:59:15 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-12-06 14:41:28 +0000
commita1ad476ea5defed1177b481bd90a16060eded5e2 (patch)
treec8a72553c0a051df81feaebd434ac8cc2fdbb90f
parent6a8f66ab23d144e9aaa5a754908c0b980b391c0f (diff)
downloadpoky-a1ad476ea5defed1177b481bd90a16060eded5e2.tar.gz
libjitterentropy: Fix man page reproducibility
Adds a patch to prevent the gzip'ed man pages from including the build date (From OE-Core rev: 5cdb34cee19271b104e1debed8d740996f3447d9) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-support/libjitterentropy/files/0001-Make-man-pages-reproducible.patch30
-rw-r--r--meta/recipes-support/libjitterentropy/libjitterentropy_2.2.0.bb3
2 files changed, 32 insertions, 1 deletions
diff --git a/meta/recipes-support/libjitterentropy/files/0001-Make-man-pages-reproducible.patch b/meta/recipes-support/libjitterentropy/files/0001-Make-man-pages-reproducible.patch
new file mode 100644
index 0000000000..886fd26db1
--- /dev/null
+++ b/meta/recipes-support/libjitterentropy/files/0001-Make-man-pages-reproducible.patch
@@ -0,0 +1,30 @@
1From ce091718716400119d6be6bd637c0e3f4f6ca315 Mon Sep 17 00:00:00 2001
2From: Joshua Watt <JPEWhacker@gmail.com>
3Date: Thu, 21 Nov 2019 08:07:41 -0600
4Subject: [PATCH] Make man pages reproducible
5
6Instructs the man page to be gzip'ed without the file name or timestamp
7so that it builds reproducibly.
8
9Upstream-Status: Accepted [https://github.com/smuellerDD/jitterentropy-library/pull/14]
10Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
11---
12 Makefile | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15diff --git a/Makefile b/Makefile
16index 2e78607..860b720 100644
17--- a/Makefile
18+++ b/Makefile
19@@ -60,7 +60,7 @@ cppcheck:
20 install:
21 install -d -m 0755 $(DESTDIR)$(PREFIX)/share/man/man3
22 install -m 644 doc/$(NAME).3 $(DESTDIR)$(PREFIX)/share/man/man3/
23- gzip -f -9 $(DESTDIR)$(PREFIX)/share/man/man3/$(NAME).3
24+ gzip -n -f -9 $(DESTDIR)$(PREFIX)/share/man/man3/$(NAME).3
25 install -d -m 0755 $(DESTDIR)$(PREFIX)/$(LIBDIR)
26 $(INSTALL_STRIP) -m 0755 lib$(NAME).so.$(LIBVERSION) $(DESTDIR)$(PREFIX)/$(LIBDIR)/
27 install -d -m 0755 $(DESTDIR)$(PREFIX)/$(INCDIR)
28--
292.23.0
30
diff --git a/meta/recipes-support/libjitterentropy/libjitterentropy_2.2.0.bb b/meta/recipes-support/libjitterentropy/libjitterentropy_2.2.0.bb
index db8d80e0ed..710ef0172d 100644
--- a/meta/recipes-support/libjitterentropy/libjitterentropy_2.2.0.bb
+++ b/meta/recipes-support/libjitterentropy/libjitterentropy_2.2.0.bb
@@ -10,7 +10,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=a95aadbdfae7ed812bb2b7b86eb5981c \
10 file://COPYING.bsd;md5=66a5cedaf62c4b2637025f049f9b826f \ 10 file://COPYING.bsd;md5=66a5cedaf62c4b2637025f049f9b826f \
11 " 11 "
12SRC_URI = "git://github.com/smuellerDD/jitterentropy-library.git \ 12SRC_URI = "git://github.com/smuellerDD/jitterentropy-library.git \
13 file://0001-Makefile-cleanup-install-for-rebuilds.patch" 13 file://0001-Makefile-cleanup-install-for-rebuilds.patch \
14 file://0001-Make-man-pages-reproducible.patch"
14SRCREV = "933a44f33ed3d6612f7cfaa7ad1207c8da4886ba" 15SRCREV = "933a44f33ed3d6612f7cfaa7ad1207c8da4886ba"
15S = "${WORKDIR}/git" 16S = "${WORKDIR}/git"
16 17