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

Bug#983126: marked as done (iptotal: embeds path to "date")



Your message dated Fri, 19 Feb 2021 20:17:38 +0000
with message-id <E1lDCDa-0006xG-C8@fasolo.debian.org>
and subject line Bug#983126: fixed in iptotal 0.3.3-15
has caused the Debian Bug report #983126,
regarding iptotal: embeds path to "date"
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.)


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

The configuration /etc/iptotal/iptotal.cfg embeds the path to the "date"
command, which may vary when built on a usrmerge vs. a non-usrmerge
systems.

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

  /etc/iptotal/iptotal.cfg

  DATECMD=/bin/date
  DATECMD=/usr/bin/date


Patch attached which fixes this in debian/rules.


live well,
  vagrant
From 4830bf04a5275f3ac69b7829c8481ba41fd76f6b Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Fri, 19 Feb 2021 18:51:03 +0000
Subject: [PATCH 1/2] debian/rules: Set DATECMD from dh_auto_install.

The path to "date" is embedded in the binaries, which may be /bin/date
or /usr/bin/date depending on if the running system is a usrmerge
system or not. Consistently use /bin/date as this is the most
compatible path.

https://tests.reproducible-builds.org/debian/issues/paths_vary_due_to_usrmerge_issue.html
---
 debian/rules | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/debian/rules b/debian/rules
index a53df1d..5620fa6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,3 +15,6 @@ override_dh_auto_install:
 	rm -f $(CURDIR)/debian/iptotal/var/lib/iptotal/*.png
 	rm -f $(CURDIR)/debian/iptotal/var/lib/iptotal/archive/*.png
 	rm -f $(CURDIR)/debian/iptotal/var/lib/iptotal/images/*.png
+	# Avoid embedding the path to date, by consistently using the
+	# most compatible path to date.
+	sed -i -e 's,^DATECMD=.*,DATECMD=/bin/date,g' $(CURDIR)/debian/iptotal/etc/iptotal/iptotal.cfg
-- 
2.20.1

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: iptotal
Source-Version: 0.3.3-15
Done: Vagrant Cascadian <vagrant@debian.org>

We believe that the bug you reported is fixed in the latest version of
iptotal, 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 983126@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Vagrant Cascadian <vagrant@debian.org> (supplier of updated iptotal 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: Fri, 19 Feb 2021 11:46:33 -0800
Source: iptotal
Architecture: source
Version: 0.3.3-15
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Vagrant Cascadian <vagrant@debian.org>
Closes: 983126
Changes:
 iptotal (0.3.3-15) unstable; urgency=medium
 .
   * QA upload.
   * debian/rules: Set DATECMD from dh_auto_install. (Closes: #983126)
Checksums-Sha1:
 f23e841d17ca1ebd07a4a59d55ac3351109f76bf 1295 iptotal_0.3.3-15.dsc
 2c3204ac8bde15b4c0b3db8a5bc42dc05956f596 11960 iptotal_0.3.3-15.debian.tar.xz
Checksums-Sha256:
 3caf067641fd0129014c36b933ffbb69fd3a360c559089a5135e4a6e8a138828 1295 iptotal_0.3.3-15.dsc
 55bf70e2c91bfa8719af39c22150e34430992291cfe1fd2b59c8c3f8fe983f9b 11960 iptotal_0.3.3-15.debian.tar.xz
Files:
 c78b34c3bdf386c9591daf54b315d2ae 1295 admin optional iptotal_0.3.3-15.dsc
 0388c2626b0ae7063d85257eb84526cd 11960 admin optional iptotal_0.3.3-15.debian.tar.xz

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

iIkEARYKADEWIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCYDAXIhMcdmFncmFudEBk
ZWJpYW4ub3JnAAoJENxRj8h/lxaqQRMBAPPudxu2i2us/oPhiJ4NvTxQscDz8imu
3hihCa+KGyE8AQDobo+F69eWwpG8wy2hVSY9ShQ88ghix4rDxAqKG8JJCg==
=FJZE
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: