Debian Bug report logs - #977614
ircd-irc2: reproducible builds: Embeds username and hostname in /etc/ircd/ircd.m4

version graph

Package: src:ircd-irc2; Maintainer for src:ircd-irc2 is Kurt Roeckx <kurt@roeckx.be>;

Reported by: Vagrant Cascadian <vagrant@reproducible-builds.org>

Date: Thu, 17 Dec 2020 19:45:02 UTC

Severity: normal

Tags: patch

Fixed in versions ircd-irc2/2.11.2p3~dfsg-6, ircd-irc2/2.11.2p3~dfsg-7

Done: Kilian Krause <kilian@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, reproducible-bugs@lists.alioth.debian.org, Kurt Roeckx <kurt@roeckx.be>:
Bug#977614; Package src:ircd-irc2. (Thu, 17 Dec 2020 19:45:04 GMT) (full text, mbox, link).


Acknowledgement sent to Vagrant Cascadian <vagrant@reproducible-builds.org>:
New Bug report received and forwarded. Copy sent to reproducible-bugs@lists.alioth.debian.org, Kurt Roeckx <kurt@roeckx.be>. (Thu, 17 Dec 2020 19:45:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Vagrant Cascadian <vagrant@reproducible-builds.org>
To: submit@bugs.debian.org
Subject: ircd-irc2: reproducible builds: Embeds username and hostname in /etc/ircd/ircd.m4
Date: Thu, 17 Dec 2020 11:43:21 -0800
[Message part 1 (text/plain, inline)]
Source: ircd-irc2
Severity: normal
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: username hostname
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org

The configuration file /etc/ircd/ircd.m4 embeds the username and
hostname:

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

  define(HOSTNAME,ionos1-amd64)
  define(HOSTNAME,i-capture-the-hostname)

  define(USER,pbuilder1)
  define(USER,pbuilder2)


The attached patch fixes this by setting HOSTNAME to "HOSTNAME" And USER
to "USERNAME".


Thanks for maintaining ircd-irc2!


live well,
  vagrant
[0001-Use-dummy-values-for-HOSTNAME-and-USERNAME.patch (text/x-diff, inline)]
From 3aa4b00c030d4cf76fdf2cd0f1a3695fd17cba6e Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Thu, 17 Dec 2020 04:54:22 +0000
Subject: [PATCH 1/3] Use dummy values for HOSTNAME and USERNAME.

---
 ircd/buildm4 | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ircd/buildm4 b/ircd/buildm4
index 9ef0554..d8cb857 100755
--- a/ircd/buildm4
+++ b/ircd/buildm4
@@ -34,9 +34,10 @@ if [ -n "$DEBUG" ] ; then
 else
 	echo "undefine(DEBUGMODE)" >>$M4
 fi
-HOST="`hostname | sed -e 's/\([a-zA-Z0-9\-]*\).*/\1/'`"
+HOST="HOSTNAME"
 echo "define(HOSTNAME,$HOST)" >> $M4
 
+USER="USERNAME"
 echo "define(USER,$USER)" >>$M4
 
 PORT=`egrep '^#define[ 	]*PORT[ 	]*[0-9]*' ../$INCLUDE/config.h | \
-- 
2.20.1

[signature.asc (application/pgp-signature, inline)]

Reply sent to Kilian Krause <kilian@debian.org>:
You have taken responsibility. (Mon, 27 Sep 2021 22:21:03 GMT) (full text, mbox, link).


Notification sent to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug acknowledged by developer. (Mon, 27 Sep 2021 22:21:03 GMT) (full text, mbox, link).


Message #10 received at 977614-close@bugs.debian.org (full text, mbox, reply):

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 977614-close@bugs.debian.org
Subject: Bug#977614: fixed in ircd-irc2 2.11.2p3~dfsg-6
Date: Mon, 27 Sep 2021 22:19:10 +0000
Source: ircd-irc2
Source-Version: 2.11.2p3~dfsg-6
Done: Kilian Krause <kilian@debian.org>

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

Debian distribution maintenance software
pp.
Kilian Krause <kilian@debian.org> (supplier of updated ircd-irc2 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: SHA256

Format: 1.8
Date: Mon, 27 Sep 2021 23:29:58 +0200
Source: ircd-irc2
Architecture: source
Version: 2.11.2p3~dfsg-6
Distribution: unstable
Urgency: medium
Maintainer: Kurt Roeckx <kurt@roeckx.be>
Changed-By: Kilian Krause <kilian@debian.org>
Closes: 977614
Changes:
 ircd-irc2 (2.11.2p3~dfsg-6) unstable; urgency=medium
 .
   [ James Ray ]
   * Update CLIENTS_CHANNEL_LEVEL and (DEFAULT_)SPLIT_(USERS|SERVERS) to be
     more realistic settings for a modern IRC Network (IRCnet).
 .
   [ Kilian Krause ]
   * Integrate changes from 2.11.2p3~dfsg-5.1 into new Vcs. Thanks Nicholas!
   * Fix reproducible builds (Closes: #977614)
   * Fix Vcs URLs
   * Drop doc/INSTALL* from shipping in binary package examples (and drop
     lintian-overrides)
   * Update systemd service to /run (instead of /var/run)
   * Update debhelper (>= 9.20160709) requirement and drop explicit
     autotools-dev reference
   * Update to Standards-Version 4.6.0 requirements:
    - drop get-orig-source from debian/rules
    - use invoke-rc.d directly as fallback to systemd
   * Raise compat to 10 (remote dh-systemd and autotools-dev B-D)
 .
   [Debian Janitor]
   * Remove constraints unnecessary since buster:
     + Build-Depends: Drop versioned constraint on debhelper and dh-systemd.
     + ircd-irc2: Drop versioned constraint on lsb-base in Depends.
Checksums-Sha1:
 7642570660669f41d056918962c260bf21bf807b 1922 ircd-irc2_2.11.2p3~dfsg-6.dsc
 7a0033860bc984f10374d7c4c029c3d22c813a0e 704563 ircd-irc2_2.11.2p3~dfsg.orig.tar.gz
 3ec746d8258d38baa3f4416e64bd4aa9a198aa04 23624 ircd-irc2_2.11.2p3~dfsg-6.debian.tar.xz
 00842e97c47d12cea9ecc08a2dcce4feb7b8ab74 5622 ircd-irc2_2.11.2p3~dfsg-6_source.buildinfo
Checksums-Sha256:
 b41d092f1c246fe1479c3a8c17848f68ef310b4041dd64ec60a80a67683116c7 1922 ircd-irc2_2.11.2p3~dfsg-6.dsc
 ed0130903edc6799facf659c4371246c042fd858388ac595a960795d6b0f659b 704563 ircd-irc2_2.11.2p3~dfsg.orig.tar.gz
 817f76a2978d1c3e724040812eff35668ab236f34bf9b4e992a5db38c7df9114 23624 ircd-irc2_2.11.2p3~dfsg-6.debian.tar.xz
 eb019aa94d8741506b66fae3dfa3d474ea851b465611a839d9e16be965cba40b 5622 ircd-irc2_2.11.2p3~dfsg-6_source.buildinfo
Files:
 2f0dd30dac66aaf0abda2c1ec1268074 1922 net optional ircd-irc2_2.11.2p3~dfsg-6.dsc
 d1b6e1ddf564da5309da6547a65b1ed8 704563 net optional ircd-irc2_2.11.2p3~dfsg.orig.tar.gz
 05f9194d931d3bfa7310c79be3c89f95 23624 net optional ircd-irc2_2.11.2p3~dfsg-6.debian.tar.xz
 5063d36e2b9eeb5fe9bc3ad089644a0d 5622 net optional ircd-irc2_2.11.2p3~dfsg-6_source.buildinfo

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

iQIzBAEBCAAdFiEEg4HvB+8WPTqXVKbp73WOr0n6Q1wFAmFSP5AACgkQ73WOr0n6
Q1xq+A//floH4o5NrUlSB53Fq7Id9hppWNS1ZIbAHoiQ9kqIA01dm4CyvsUHbJ64
WSZu/JueyD62R6gSCd4wZeRyfnEA452Y4VxmmSu3NRyqWcXaZsGkR11rg75rerTI
r64WQHlSHtILdxyUVxoaIA5f16XpT2TRjX8d+ahA85iETOPiBEdxwQ/rsaVfQhxj
jCPKeVhhPUKVokpzGrzuHYhyclIIaXUaCfLCXdM8rSaOKXVNzPsTKfFl++XR21cL
BBjPuW9AuWr2e+MulLojVgHZlhz7pg1WSY5wMsd1G89xI/FFlcHru4us9aQy7E9k
0950Fcx8w0xA/nKf75H0NU8RnztecIwMjGtkp5iHaiJOOwu3SEdCZjFYkEBW+f3f
/jIeabMmCanO5tMi9SbJEMuJ9GYbq6SkKtZysH9BT5XZ3cJ7lF7hER7BEGr0LQme
MHcf+g2n7bAAcOkTlai6OnV7HAVcUrMWoChdGWlITqy7a5Yw9sSyupyHrFnxiT7p
TsDkqV82RItnzlSYhpHB4xAEzPchV0su2Ijdzv/Q4X0GspceRLCedgKJPJVDrtH9
QoGYiCRLlPGcfNznpjFnTp+RVySxybAu07QBlZiXNZrcT5Q7Lx/Gj/pNDQfhCjkG
NthqZ043JcFul5pMUsT2EbqMNYF+ZOYaXz/JCKCSV9HVKdWgAvk=
=xmiG
-----END PGP SIGNATURE-----




Reply sent to Kilian Krause <kilian@debian.org>:
You have taken responsibility. (Sun, 03 Oct 2021 20:39:04 GMT) (full text, mbox, link).


Notification sent to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug acknowledged by developer. (Sun, 03 Oct 2021 20:39:05 GMT) (full text, mbox, link).


Message #15 received at 977614-close@bugs.debian.org (full text, mbox, reply):

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 977614-close@bugs.debian.org
Subject: Bug#977614: fixed in ircd-irc2 2.11.2p3~dfsg-7
Date: Sun, 03 Oct 2021 20:34:14 +0000
Source: ircd-irc2
Source-Version: 2.11.2p3~dfsg-7
Done: Kilian Krause <kilian@debian.org>

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

Debian distribution maintenance software
pp.
Kilian Krause <kilian@debian.org> (supplier of updated ircd-irc2 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: SHA256

Format: 1.8
Date: Sun, 03 Oct 2021 21:41:26 +0200
Source: ircd-irc2
Architecture: source
Version: 2.11.2p3~dfsg-7
Distribution: unstable
Urgency: medium
Maintainer: Kurt Roeckx <kurt@roeckx.be>
Changed-By: Kilian Krause <kilian@debian.org>
Closes: 977614
Changes:
 ircd-irc2 (2.11.2p3~dfsg-7) unstable; urgency=medium
 .
   * Really include diff to patch reproducible build (Closes: #977614)
Checksums-Sha1:
 50bb64a82fd23b1f427b07f6a33a0019719f47de 1922 ircd-irc2_2.11.2p3~dfsg-7.dsc
 7a0033860bc984f10374d7c4c029c3d22c813a0e 704563 ircd-irc2_2.11.2p3~dfsg.orig.tar.gz
 9b82b970d28ff5573343f84bb2ca156bfcbd2478 23804 ircd-irc2_2.11.2p3~dfsg-7.debian.tar.xz
 b9359627207af8a5979e3cef7eed40e2778ec19a 5622 ircd-irc2_2.11.2p3~dfsg-7_source.buildinfo
Checksums-Sha256:
 0e13d8bd8fb9bd8184571b494d9371a12fd7abf507ee3583b907e34a4f90a1c8 1922 ircd-irc2_2.11.2p3~dfsg-7.dsc
 ed0130903edc6799facf659c4371246c042fd858388ac595a960795d6b0f659b 704563 ircd-irc2_2.11.2p3~dfsg.orig.tar.gz
 591c9c1aadc44a0b814ee3ba34f3b0a46db52a3894bc5c6b38bef93060fa03a7 23804 ircd-irc2_2.11.2p3~dfsg-7.debian.tar.xz
 5d9679cd40db522fbffc0f48c420c23c6262167c012e176e72b4afc072b8f908 5622 ircd-irc2_2.11.2p3~dfsg-7_source.buildinfo
Files:
 21ccfe497fb88def42882dfefbcea037 1922 net optional ircd-irc2_2.11.2p3~dfsg-7.dsc
 d1b6e1ddf564da5309da6547a65b1ed8 704563 net optional ircd-irc2_2.11.2p3~dfsg.orig.tar.gz
 4165d9670581439a25f497112f98475b 23804 net optional ircd-irc2_2.11.2p3~dfsg-7.debian.tar.xz
 3f65d8ae536d6a2a281d721ce2514ce8 5622 net optional ircd-irc2_2.11.2p3~dfsg-7_source.buildinfo

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

iQIzBAEBCAAdFiEEg4HvB+8WPTqXVKbp73WOr0n6Q1wFAmFaB8UACgkQ73WOr0n6
Q1zVhA//d8kdetiSOzDiyoAuZoGLcnh6sP9bT/0C4AOIwlaZOfmk4eAUaA/oEFUl
42mJ5RGFwQg1Rnmz13jqm9CTtjuerYRO6t7lPvJDSmxtunvkXaa3bScjhoOBpyB8
Fx/RPqbcuUIr7YdqX/budqCxoPYinQNToDewXESxQ6FsxWAhTuJYQ5RrYWFwNC77
fAA985/iyidnRWbl5vyS7DSm+7pmNBJkhybut87mb9Lp0y0J8gvvY2oemEwIrqFu
sE/hzFoTnvrx4Axi77UNnSAgRnFBIVk8n1sgR3BkA/bJn/bC+YIsj6Hm/FYFonWS
ChzhIzhKfwEhnNL6nJD01gYasdw/Q+fqKIDkaZ2iEKS9h4M5WMG3cO6cSSiWrflc
IdOGoBGlJ54uxR299kRy26sYPhIYXK82hJOeuYGibKndSBQiuF+Uo6hLZeogpPTU
gpigK56FD6cht+OCDAasol/fJ7BM5789cczgnH69VeBafqzYn700w74T0VqqGH15
2fLT5EsbmKWdeg+sH2VKPqnMFIU+clGELhZPisRTMAhPBCI4Ejf5AiJwOsSbdOoX
XOPDgLnlCkNw8gHBluAC6w3lOFed6SLY1zqw76Ecv/3BziYREtJZLBuIUO5zTF+U
m0T8/xF3Xdy0WQssIOEmHzgcjvL5YG8qhhMP8ZtDg33F+QH5/rA=
=jzzo
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sat, 06 Nov 2021 07:25:59 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed May 17 12:51:16 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.