Debian Patches

Status for eperl/2.2.15-1+deb13u1

Patch Description Author Forwarded Bugs Origin Last update
0003-Pass-environ-to-PERL_SYS_INIT-perl_parse-implicitly-.patch Pass environ to PERL_SYS_INIT()/perl_parse() implicitly instead of explicitly to avoid the script getting a truncated environment on
Perl 5.40

1. echo '<? foreach my $var (keys %ENV) {print "$var = $ENV{$var}\n"; } !>' > b.phtml
2. env -i GATEWAY_INTERFACE=CGI/1.1 PATH_TRANSLATED="$PWD/b.phtml" ./eperl
3. env -i GATEWAY_INTERFACE=CGI/1.1 PATH_TRANSLATED="$PWD/b.phtml" ./eperl -x
4. env -i GATEWAY_INTERFACE=CGI/1.1 PATH_TRANSLATED="$PWD/b.phtml" ./eperl ''

3/4 will have the whole environment on bookworm and trixie.
2 will have the whole environment on bookworm (libperl5.36:i386 5.36.0-7+deb12u2)
but will only have one variable on trixie (libperl5.40:i386 5.40.1-6).

The arguments have no effect on the generated code, environment,
or libperl parameters.

If you add
if(!argv[optind]) argv[optind]="";
to main() after the getopt() loop,
turning the argument sexion of the environment block
from (2, {"./eperl", NULL}) to (2, {"./eperl", ""}),
2 will also have the whole environment on trixie.

This can be reproduced from the host process:
inspecting environ after perl_parse() also shows a truncated environment.
наб <nabijaczleweli@nabijaczleweli.xyz> no debian upstream 2025-09-09
0001-Forward-configure-prefix-to-mod-Makefile.PL-configur.patch [PATCH 1/2] Forward configure --prefix to mod/Makefile.PL configuration наб <nabijaczleweli@nabijaczleweli.xyz> no 2024-11-17
0002-Forward-configure-C-CPP-LD-FLAGS-to-mod-Makefile.PL-.patch [PATCH 2/2] Forward configure {C,CPP,LD}FLAGS to mod/Makefile.PL configuration наб <nabijaczleweli@nabijaczleweli.xyz> no 2024-11-17

All known versions for source package 'eperl'

Links