Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mail.openembedded.org (Postfix) with ESMTP id BAC7E65CB6 for ; Mon, 30 Oct 2017 17:50:02 +0000 (UTC) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga105.jf.intel.com with ESMTP; 30 Oct 2017 10:50:01 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.44,320,1505804400"; d="scan'208";a="1031272467" Received: from juro-s2600cwr.jf.intel.com ([10.7.198.159]) by orsmga003.jf.intel.com with ESMTP; 30 Oct 2017 10:50:01 -0700 From: Juro Bystricky To: openembedded-core@lists.openembedded.org Date: Mon, 30 Oct 2017 10:49:46 -0700 Message-Id: <1509385786-57136-1-git-send-email-juro.bystricky@intel.com> X-Mailer: git-send-email 2.7.4 Cc: jurobystricky@hotmail.com Subject: [PATCH] curl_7.54.1.bb: improve reproducibility X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Oct 2017 17:50:02 -0000 Improve reproducible build of curl-dev and curl-dbg packages. curl-dev: Correctly remove build host references from curl-config curl-dbg: Do not generate time stamps in files generated by mkhelp.pl Signed-off-by: Juro Bystricky --- .../curl/curl/reproducible-mkhelp.patch | 32 ++++++++++++++++++++++ meta/recipes-support/curl/curl_7.54.1.bb | 10 ++++++- 2 files changed, 41 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-support/curl/curl/reproducible-mkhelp.patch diff --git a/meta/recipes-support/curl/curl/reproducible-mkhelp.patch b/meta/recipes-support/curl/curl/reproducible-mkhelp.patch new file mode 100644 index 0000000..268bbeb --- /dev/null +++ b/meta/recipes-support/curl/curl/reproducible-mkhelp.patch @@ -0,0 +1,32 @@ +From 1fe92fd3dd64c7228f6ff41e3fc16c4f2392471a Mon Sep 17 00:00:00 2001 +From: Juro Bystricky +Date: Fri, 27 Oct 2017 08:28:25 -0700 +Subject: mkhelp.pl: support reproducible build + +Do not generate line with the current date, such as: + +* Generation time: Tue Oct-24 18:01:41 2017 + +This will improve reproducibility. The generated string is only +part of a comment, so there should be no adverse consequences. + +Upstream-Status: Submitted [ https://github.com/curl/curl/pull/2026 ] + +Signed-off-by: Juro Bystricky + +diff --git a/src/mkhelp.pl b/src/mkhelp.pl +index 270daa2..757f024 100755 +--- a/src/mkhelp.pl ++++ b/src/mkhelp.pl +@@ -102,11 +102,9 @@ while() { + } + close(READ); + +-$now = localtime; + print <