Hello community, here is the log from the commit of package ndpi for openSUSE:Factory checked in at 2019-06-06 18:18:13 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ndpi (Old) and /work/SRC/openSUSE:Factory/.ndpi.new.4811 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ndpi" Thu Jun 6 18:18:13 2019 rev:4 rq:707881 version:2.8 Changes: -------- --- /work/SRC/openSUSE:Factory/ndpi/ndpi.changes 2019-04-08 10:40:20.375295480 +0200 +++ /work/SRC/openSUSE:Factory/.ndpi.new.4811/ndpi.changes 2019-06-06 18:18:14.864669769 +0200 @@ -1,0 +2,5 @@ +Wed Jun 5 04:03:31 UTC 2019 - Bernhard Wiedemann <[email protected]> + +- Add reproducible.patch to override build date (boo#1047218) + +------------------------------------------------------------------- New: ---- reproducible.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ndpi.spec ++++++ --- /var/tmp/diff_new_pack.6Gf9yj/_old 2019-06-06 18:18:16.008669433 +0200 +++ /var/tmp/diff_new_pack.6Gf9yj/_new 2019-06-06 18:18:16.012669433 +0200 @@ -33,6 +33,8 @@ Source: https://github.com/ntop/nDPI/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz # FIXME: Upstream makefile is broken Patch0: ndpi-fix-build.patch +# PATCH-FIX-UPSTREAM https://github.com/ntop/nDPI/pull/662 +Patch1: reproducible.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: gcc-c++ @@ -89,6 +91,7 @@ %prep %setup -q -n nDPI-%{version} %patch0 -p1 +%patch1 -p1 %build sh autogen.sh ++++++ reproducible.patch ++++++ https://github.com/ntop/nDPI/pull/662 >From e91123e17a6ebe2cb1f718aa3e44edb10b707779 Mon Sep 17 00:00:00 2001 From: "Bernhard M. Wiedemann" <[email protected]> Date: Thu, 24 Jan 2019 14:21:06 +0100 Subject: [PATCH] Use ChangeLog date instead of build date in order to make builds reproducible. See https://reproducible-builds.org/ for why this is good. This date call works with GNU date and BSD date. Also use UTC/gmtime to be independent of timezone. --- configure.seed | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.seed b/configure.seed index 1aa68f17..006e6d97 100644 --- a/configure.seed +++ b/configure.seed @@ -30,7 +30,7 @@ if test -d ".git"; then : GIT_RELEASE="${PACKAGE_VERSION}-${GIT_NUM}-${GIT_TAG}" else GIT_RELEASE="${PACKAGE_VERSION}" - GIT_DATE=`date` + GIT_DATE=`date -u -r CHANGELOG.md` fi AC_DEFINE_UNQUOTED(NDPI_GIT_RELEASE, "${GIT_RELEASE}", [GIT Release])
