This is an automated email from the git hooks/post-receive script.

guillem pushed a commit to branch main
in repository dpkg.

View the commit online:
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=6910e5247e783ce837cea0fb2f516cd23ac6c9f4

commit 6910e5247e783ce837cea0fb2f516cd23ac6c9f4 (HEAD -> main)
Author: Guillem Jover <[email protected]>
AuthorDate: Sat Oct 11 17:27:35 2025 +0200

    Dpkg::BuildInfo: Allow POSIXLY_CORRECT and GETCONF_DIR variables
    
    These environment variables can modify the behavior for tools in ways
    that might make their output unreproducible.
---
 scripts/Dpkg/BuildInfo.pm  | 5 +++++
 scripts/t/Dpkg_BuildInfo.t | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/scripts/Dpkg/BuildInfo.pm b/scripts/Dpkg/BuildInfo.pm
index f2a72c31f..5ac89835e 100644
--- a/scripts/Dpkg/BuildInfo.pm
+++ b/scripts/Dpkg/BuildInfo.pm
@@ -48,6 +48,11 @@ the build, but are still not privacy revealing.
 =cut
 
 my @env_allowed = (
+    # Tool behavior.
+    qw(
+        POSIXLY_CORRECT
+        GETCONF_DIR
+    ),
     # Resolver, see resolv.conf(5), host.conf(5).
     qw(
         RESOLV_HOST_CONF
diff --git a/scripts/t/Dpkg_BuildInfo.t b/scripts/t/Dpkg_BuildInfo.t
index 0dba5464d..0bdab6003 100644
--- a/scripts/t/Dpkg_BuildInfo.t
+++ b/scripts/t/Dpkg_BuildInfo.t
@@ -19,5 +19,5 @@ use Test::More tests => 2;
 
 use ok 'Dpkg::BuildInfo';
 
-is(scalar Dpkg::BuildInfo::get_build_env_allowed(), 83,
+is(scalar Dpkg::BuildInfo::get_build_env_allowed(), 85,
     'allowed environment variables array');

-- 
Dpkg.Org's dpkg

Reply via email to