[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#978751: milter-greylist: reproducible builds: Embeds username, hostname, build path and build time in /usr/sbin/milter-greylist



Source: milter-greylist
Severity: normal
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps username hostname buildpath
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org

The binary /usr/sbin/milter-greylist embeds the username, hostname,
build path and build time:

  https://tests.reproducible-builds.org/debian/rb-pkg/bullseye/amd64/diffoscope-results/milter-greylist.html

  @ionos15-amd64:/build/milter-greylist-4.6.2·Tue·Jan·18·21:45:14·-12·2022
  vs.
  @i-capture-the-hostname:/build/milter-greylist-4.6.2·Thu·Dec·17·17:23:13·+14·2020


The attached patch fixes this by setting an empty BUILD_ENV in
configure.ac.


Thanks for maintaining milter-greylist!


live well,
  vagrant
From 3ab3aba5691c9fee38cfa3e8063a958b70a035a6 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Thu, 31 Dec 2020 10:10:57 +0000
Subject: [PATCH] configure.ac: Set empty BUILD_ENV.

The BUILD_ENV captures the username, hostname, build path and build
time.
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 8fe0002..606b769 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1298,7 +1298,7 @@ AC_ARG_ENABLE(postfix,
 	])
 
 # Record the build environnement for milter-greylist -r
-AC_DEFINE_UNQUOTED([BUILD_ENV], ["`logname`@`uname -n`:`pwd` `date`"], 
+AC_DEFINE_UNQUOTED([BUILD_ENV], [""],
     [Build environnement]) 
 
 # Options
-- 
2.30.0

Attachment: signature.asc
Description: PGP signature


Reply to: