Source: proftpd-dfsg Version: 1.3.9e~dfsg-3 Severity: normal X-Debbugs-Cc: [email protected] Tags: patch User: [email protected] Usertags: username
The user and group are embedded in Make.rules: https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/proftpd-dfsg.html │ │ │ ├── ./usr/include/proftpd/Make.rules ... │ │ │ │ -INSTALL_USER=pbuilder1 │ │ │ │ -INSTALL_GROUP=pbuilder1 │ │ │ │ +INSTALL_USER=pbuilder2 │ │ │ │ +INSTALL_GROUP=pbuilder2 Since the user at build time may not necessarily be available at runtime, this could cause issues... The attached patch fixes this by modifying Make.rules from a dh_auto_install override. Alternately, simply removing the Make.rules file might also be an option if this file is not needed during runtime. live well, vagrant
From dc03225e34f4d1284396269e6035310d1ba6da52 Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian <[email protected]> Date: Wed, 2 Dec 2026 15:15:34 -0800 Subject: [PATCH] debian/rules: Avoid embedding build user and group in Make.rules from dh_auto_install override. --- debian/rules | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/debian/rules b/debian/rules index aaf85a7..762405f 100755 --- a/debian/rules +++ b/debian/rules @@ -83,6 +83,10 @@ override_dh_auto_build: debian/proftpd-substvars override_dh_auto_install: dh_auto_install rm -f $(CURDIR)/debian/tmp/usr/sbin/in.proftpd + # Avoid embedding build user and group in Make.rules + sed -i -e "s,^INSTALL_USER=.*,INSTALL_USER=REDACTED,g" \ + -e "s,^INSTALL_GROUP=.*,INSTALL_GROUP=REDACTED,g" \ + debian/tmp/usr/include/proftpd/Make.rules override_dh_auto_clean: dh_auto_clean -- 2.47.3
signature.asc
Description: PGP signature

