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

Bug#977747: marked as done (nis: reproducible builds: Embeds BASH value in /usr/lib/yp/pwupdate)



Your message dated Sun, 20 Dec 2020 05:33:30 +0000
with message-id <E1kqrLW-0009S6-83@fasolo.debian.org>
and subject line Bug#977747: fixed in nis 3.17.1-6
has caused the Debian Bug report #977747,
regarding nis: reproducible builds: Embeds BASH value in /usr/lib/yp/pwupdate
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
977747: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=977747
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: nis
Severity: normal
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: shell
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org

The shell used for the #! in /usr/lib/yp/pwupdate depends upon the
running user's shell.

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

  #!/bin/bash
  vs.
  #!/bin/sh


The attached patch fixes this by passing BASH=/bin/bash to the
appropriate configure script.


live well,
  vagrant
From eaf81058ec8a715b4b162f115c13315118ad970d Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Sun, 20 Dec 2020 03:55:40 +0000
Subject: [PATCH 2/2] debian/rules: Pass BASH=/bin/bash to the ypserv configure
 script.

In ypserv-2.19/configure, the BASH variable gets set to /bin/sh if
unset. This leads to reproducibility issues in the
/usr/lib/yp/pwupdate command which uses the value of BASH for the #!
line.
---
 debian/rules | 1 +
 1 file changed, 1 insertion(+)

diff --git a/debian/rules b/debian/rules
index 4c74d96..59dd4d4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -53,6 +53,7 @@ build:
 	rm -f $(YPSERV)/sedscript
 	-(cd $(YPSERV) && [ ! -f config.status ] && \
 		AWK=/usr/bin/awk CFLAGS=$(CFLAGS) ./configure \
+		BASH=/bin/bash \
 		--prefix=/usr --mandir=/usr/share/man \
 		--sysconfdir=/etc \
 		--libexecdir=/usr/lib/yp --enable-checkroot \
-- 
2.20.1

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: nis
Source-Version: 3.17.1-6
Done: Vagrant Cascadian <vagrant@reproducible-builds.org>

We believe that the bug you reported is fixed in the latest version of
nis, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 977747@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Vagrant Cascadian <vagrant@reproducible-builds.org> (supplier of updated nis package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 19 Dec 2020 21:12:31 -0800
Source: nis
Architecture: source
Version: 3.17.1-6
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Vagrant Cascadian <vagrant@reproducible-builds.org>
Closes: 787126 977747
Changes:
 nis (3.17.1-6) unstable; urgency=medium
 .
   * QA upload.
   * debian/rules: Remove extra timestamps from the gzipped documentation
     and fix file mtimes before building the binary packages.
     (Closes: #787126). Thanks to Dhole <dhole@openmailbox.org>.
   * debian/rules: Pass BASH=/bin/bash to the ypserv configure
     script. (Closes: #977747)
   * debian/changelog: Clean up trailing whitespace.
   * debian/rules: Delete trailing whitespace.
   * Remove obsolete lintian overrides for non-etc-file-marked-as-conffile.
   * debian/rules: Replace calls to dpkg-architecture by using dpkg
Checksums-Sha1:
 77cb250f2d30c9870fbef4c0843d52a1fa706577 1287 nis_3.17.1-6.dsc
 450af7e8b75f2863425a3d1404caa25bb8138db4 40100 nis_3.17.1-6.debian.tar.xz
Checksums-Sha256:
 0d63df995efe1ec2b1db883409814cbc05b61550aa7b73eff2a11998e8d67dff 1287 nis_3.17.1-6.dsc
 c5cbe0fa3f1457b18331be1b7bf2c18ae709fe9ae6adfeaf17167765ed57db59 40100 nis_3.17.1-6.debian.tar.xz
Files:
 bd7a7757617be2d1257312cad3c6c422 1287 net optional nis_3.17.1-6.dsc
 8e4f30e3abcb49c715064dd7d9ef2933 40100 net optional nis_3.17.1-6.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iJYEARYKAD4WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCX97esiAcdmFncmFudEBy
ZXByb2R1Y2libGUtYnVpbGRzLm9yZwAKCRDcUY/If5cWqvKyAQD5CzQHuO3FPdLr
9gg287iNs2O5GWyJKrai99qR3iitUAD/WSJi6F7T1u+Yixot56vh01+gqVA4Ps7h
wCm3DGi3AQM=
=LcDH
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: