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=f8636230ece86de0ab71ea095b0a291effc6ad91 commit f8636230ece86de0ab71ea095b0a291effc6ad91 Author: Guillem Jover <[email protected]> AuthorDate: Sat Oct 11 17:03:44 2025 +0200 Dpkg::BuildInfo: Allow LOCPATH, NLSPATH, I18NPATH and GCONV_PATH variables These can affect the locale output with non-system locale definitions. --- scripts/Dpkg/BuildInfo.pm | 7 +++++++ scripts/t/Dpkg_BuildInfo.t | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/scripts/Dpkg/BuildInfo.pm b/scripts/Dpkg/BuildInfo.pm index 5daca6d09..9d163a9c6 100644 --- a/scripts/Dpkg/BuildInfo.pm +++ b/scripts/Dpkg/BuildInfo.pm @@ -115,6 +115,13 @@ my @env_allowed = ( LC_MEASUREMENT LC_IDENTIFICATION ), + # Locale paths, see locale(7), catopen(3), iconv(1). + qw( + LOCPATH + I18NPATH + NLSPATH + GCONV_PATH + ), # Build flags, see dpkg-buildpackage(1). qw( DEB_BUILD_OPTIONS diff --git a/scripts/t/Dpkg_BuildInfo.t b/scripts/t/Dpkg_BuildInfo.t index 71df9c907..b71390482 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(), 64, +is(scalar Dpkg::BuildInfo::get_build_env_allowed(), 68, 'allowed environment variables array'); -- Dpkg.Org's dpkg

