Package: perl / 5.14.2-21+deb7u3
Metadata
| Package | Version | Patches format |
|---|---|---|
| perl | 5.14.2-21+deb7u3 | 3.0 (quilt) |
Patch series
view the series file| Patch | File delta | Description |
|---|---|---|
| debian/arm_thread_stress_timeout.diff | (download) |
dist/threads-shared/t/stress.t |
2 1 + 1 - 0 ! |
raise the timeout of ext/threads/shared/t/stress.t to accommodate slower build hosts Bug-Debian: http://bugs.debian.org/501970 |
| debian/cpan_definstalldirs.diff | (download) |
cpan/CPAN/lib/CPAN/FirstTime.pm |
4 2 + 2 - 0 ! |
provide a sensible installdirs default for modules installed from CPAN. Some modules which are included in core set INSTALLDIRS => 'perl' explicitly in Makefile.PL or Build.PL. This makes sense for the normal @INC ordering, but not ours. |
| debian/db_file_ver.diff | (download) |
cpan/DB_File/version.c |
2 2 + 0 - 0 ! |
remove overly restrictive db_file version check. Bug-Debian: http://bugs.debian.org/340047 Package dependencies ensure the correct library is linked at run-time. |
| debian/doc_info.diff | (download) |
pod/perl.pod |
12 10 + 2 - 0 ! |
replace generic man(1) instructions with debian-specific information. Indicate that the user needs to install the perl-doc package. |
| debian/enc2xs_inc.diff | (download) |
cpan/Encode/bin/enc2xs |
8 4 + 4 - 0 ! |
tweak enc2xs to follow symlinks and ignore missing @inc directories. Bug-Debian: http://bugs.debian.org/290336 - ignore missing directories, - follow symlinks (/usr/share/perl/5.8 -> 5.8.4). - filter "." out when running "enc2xs -C", it's unnecessary and causes issues with follow => 1 (see #603686 and [rt.cpan.org #64585]) |
| debian/errno_ver.diff | (download) |
ext/Errno/Errno_pm.PL |
5 0 + 5 - 0 ! |
remove errno version check due to upgrade problems with long-running processes. Bug-Debian: http://bugs.debian.org/343351 Remove version check which can cause problems for long running processes embedding perl when upgrading to a newer version, |
| debian/libperl_embed_doc.diff | (download) |
lib/ExtUtils/Embed.pm |
3 3 + 0 - 0 ! |
note that libperl-dev package is required for embedded linking Bug-Debian: http://bugs.debian.org/186778 |
| fixes/respect_umask.diff | (download) |
cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm |
18 9 + 9 - 0 ! |
respect umask during installation This is needed to satisfy Debian policy regarding group-writable site directories. |
| debian/writable_site_dirs.diff | (download) |
cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm |
6 3 + 3 - 0 ! |
set umask approproately for site install directories Policy requires group writable site directories |
| debian/extutils_set_libperl_path.diff | (download) |
cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm |
2 1 + 1 - 0 ! |
eu:mm: set location of libperl.a to /usr/lib |
| debian/no_packlist_perllocal.diff | (download) |
cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm |
31 4 + 27 - 0 ! |
don't install .packlist or perllocal.pod for perl or vendor |
| debian/prefix_changes.diff | (download) |
cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Any.pm |
12 6 + 6 - 0 ! |
fiddle with *prefix and variables written to the makefile Fiddle with *PREFIX and variables written to the makefile so that install directories may be changed when make is run by passing PREFIX= to the "make install" command (used when packaging modules). |
| debian/fakeroot.diff | (download) |
Makefile.SH |
9 2 + 7 - 0 ! |
postpone ld_library_path evaluation to the binary targets. Modify the setting of LD_LIBRARY_PATH to append pre-existing values at the time the rule is evaluated rather than when the Makefile is created. This is required when building packages with dpkg-buildpackage and fakeroot, since fakeroot (which now sets LD_LIBRARY_PATH) is not used for the "build" rule where the Makefile is created, but is for the clean/binary* targets. |
| debian/instmodsh_doc.diff | (download) |
cpan/ExtUtils-MakeMaker/bin/instmodsh |
4 3 + 1 - 0 ! |
debian policy doesn't install .packlist files for core or vendor. |
| debian/ld_run_path.diff | (download) |
cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblist/Kid.pm |
3 3 + 0 - 0 ! |
remove standard libs from ld_run_path as per debian policy. |
| debian/libnet_config_path.diff | (download) |
cpan/libnet/Net/Config.pm |
7 3 + 4 - 0 ! |
set location of libnet.cfg to /etc/perl/net as /usr may not be writable. |
| debian/m68k_thread_stress.diff | (download) |
dist/threads-shared/t/stress.t |
4 4 + 0 - 0 ! |
disable some threads tests on m68k for now due to missing tls. Bug-Debian: http://bugs.debian.org/495826 Bug-Debian: http://bugs.debian.org/517938 |
| debian/mod_paths.diff | (download) |
perl.c |
58 58 + 0 - 0 ! |
tweak @inc ordering for debian
Our order is:
etc (for config files)
site (5.8.1)
vendor (all)
core (5.8.1)
site (version-indep)
site (pre-5.8.1)
The rationale being that an admin (via site), or module packager
(vendor) can chose to shadow core modules when there is a newer
version than is included in core.
|
| debian/module_build_man_extensions.diff | (download) |
cpan/Module-Build/lib/Module/Build/Base.pm |
4 2 + 2 - 0 ! |
adjust module::build manual page extensions for the debian perl policy Bug-Debian: http://bugs.debian.org/479460 |
| debian/prune_libs.diff | (download) |
Configure |
5 2 + 3 - 0 ! |
prune the list of libraries wanted to what we actually need. Bug-Debian: http://bugs.debian.org/128355 We want to keep the dependencies on perl-base as small as possible, and some of the original list may be present on buildds (see Bug#128355). |
| fixes/net_smtp_docs.diff | (download) |
cpan/libnet/Net/SMTP.pm |
1 1 + 0 - 0 ! |
document the net::smtp 'port' option Bug-Debian: http://bugs.debian.org/100195 Bug: http://rt.cpan.org/Public/Bug/Display.html?id=36038 |
| debian/perlivp.diff | (download) |
utils/perlivp.PL |
1 1 + 0 - 0 ! |
make perlivp skip include directories in /usr/local Bug-Debian: http://bugs.debian.org/510895 On Sat, Jan 10, 2009 at 12:37:18AM +1100, Brendan O'Dea wrote: > On Wed, Jan 7, 2009 at 12:21 AM, Niko Tyni <ntyni@debian.org> wrote: > > We could create the directories in a postinst script, but I'm not sure > > I see the point. They will be created automatically when installing > > CPAN modules. > > The directories are intentionally not created, as this way they are > excluded from the search path at start-up, saving a bunch of wasted > stats at use/require time in the common case that the user has not > installed any local packages. As Niko points out, they will be > created as required. Signed-off-by: Niko Tyni <ntyni@debian.org> |
| debian/cpanplus_definstalldirs.diff | (download) |
cpan/CPANPLUS/lib/CPANPLUS/Config/System.pm |
30 30 + 0 - 0 ! |
configure cpanplus to use the site directories by default. Bug-Debian: http://bugs.debian.org/533707 The core modules usually default to INSTALLDIRS=perl (ExtUtils::MakeMaker) or installdirs=core (Module::Build), so we need to explicitly ask for the site destination to get upgraded versions into /usr/local. See also the sister patch, debian/cpan_definstalldirs . |
| debian/cpanplus_config_path.diff | (download) |
cpan/CPANPLUS/lib/CPANPLUS/Configure.pm |
1 1 + 0 - 0 ! |
save local versions of cpanplus::config::system into /etc/perl. This is a configuration file and needs to go in /etc by policy. Besides, /usr may not even be writable. This mirrors the Debian setup of CPAN.pm in debian/cpan_config_path. See #533707. |
| debian/deprecate with apt.diff | (download) |
lib/abbrev.pl |
2 1 + 1 - 0 ! |
point users to debian packages of deprecated core modules Bug-Debian: http://bugs.debian.org/580034 Class::ISA, Switch, Pod::Plainer, and (partially) Shell were deprecated from the Perl core in 5.12.0. Class::ISA, Switch, Pod::Plainer were removed from the Perl core in 5.14.0. Shell and Devel::DProf, and Perl 4 libraries, were deprecated from the Perl core in 5.14.0. To get a clean transition, perl/perl-modules is going to recommend the separate Debian packages of these for one release cycle so that they will be pulled in by default on upgrades. However, on systems configured to ignore recommendations the deprecation warnings will still be useful, so modify them slightly to point to the separate packages instead. |
| fixes/hurd ccflags.diff | (download) |
hints/gnu.sh |
2 1 + 1 - 0 ! |
make hints/gnu.sh append to $ccflags rather than overriding them Bug: http://rt.perl.org/rt3/Public/Bug/Display.html?id=92244 Bug-Debian: http://bugs.debian.org/587901 |
| debian/squelch locale warnings.diff | (download) |
locale.c |
4 4 + 0 - 0 ! |
squelch locale warnings in debian package maintainer scripts Bug-Debian: http://bugs.debian.org/508764 The system locales are rather frequently out of sync with the C library during package upgrades, causing a huge amount of useless Perl locale warnings. Squelch them when running package maintainer scripts, detected by the DPKG_RUNNING_VERSION environment variable. Any real locale problem will show up after the system upgrade too, and the warning will be triggered normally again at that point. |
| debian/skip upstream git tests.diff | (download) |
t/porting/authors.t |
3 2 + 1 - 0 ! |
skip tests specific to the upstream git repository |
| fixes/extutils cbuilder cflags.diff | (download) |
dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Base.pm |
6 4 + 2 - 0 ! |
append cflags and ldflags to their config.pm counterparts in EU::CBuilder Bug: http://rt.perl.org/rt3//Public/Bug/Display.html?id=89478 Bug-Debian: http://bugs.debian.org/624460 |
| fixes/module build home directory.diff | (download) |
cpan/Module-Build/t/tilde.t |
6 4 + 2 - 0 ! |
fix failing tilde test when run under a uid without a passwd entry Bug: https://rt.cpan.org/Public/Bug/Display.html?id=67893 Bug-Debian: http://bugs.debian.org/624850 |
| debian/patchlevel.diff | (download) |
patchlevel.h |
3 3 + 0 - 0 ! |
list packaged patches in patchlevel.h |
| fixes/h2ph multiarch.diff | (download) |
utils/h2ph.PL |
12 2 + 10 - 0 ! |
make h2ph correctly search gcc include directories Bug: http://rt.perl.org/rt3/Public/Bug/Display.html?id=90122 Bug-Debian: http://bugs.debian.org/625808 |
| fixes/index tainting.diff | (download) |
op.c |
5 4 + 1 - 0 ! |
rt 64804: tainting with index() of a constant Bug: http://rt.perl.org/rt3/Public/Bug/Display.html?id=64804 Bug-Debian: http://bugs.debian.org/291450 |
| fixes/document_makemaker_ccflags.diff | (download) |
cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker.pm |
4 4 + 0 - 0 ! |
document that ccflags should include $config{ccflags}
Bug: https://rt.cpan.org/Public/Bug/Display.html?id=68613
Bug-Debian: http://bugs.debian.org/628522
Compiling XS extensions without $Config{ccflags} can break the
binary interface on some platforms.
|
| fixes/sys syslog socket timeout kfreebsd.patch | (download) |
cpan/Sys-Syslog/Syslog.pm |
5 4 + 1 - 0 ! |
use a socket timeout on gnu/kfreebsd to catch icmp port unreachable messages Bug: http://rt.cpan.org/Ticket/Display.html?id=69997 Bug-Debian: http://bugs.debian.org/627821 Without this, openlog() on a UDP socket may succeed on the FreeBSD kernel even when there's no listener, causing test failures. It seems probable that all FreeBSD-based systems suffer from the same issue, but that's for upstream to decide. Patch-Name: fixes/sys-syslog-socket-timeout-kfreebsd.patch |
| fixes/hurd hints.diff | (download) |
ext/ODBM_File/hints/gnu.pl |
1 1 + 0 - 0 ! |
improve general gnu hints, needed for gnu/hurd. Bug-Debian: http://bugs.debian.org/636609 |
| fixes/pod_fixes.diff | (download) |
pod/perlfunc.pod |
8 4 + 4 - 0 ! |
fix typos in several pod/perl*.pod files Bug-Debian: http://bugs.debian.org/637816 |
| debian/find_html2text.diff | (download) |
cpan/CPAN/lib/CPAN/Distribution.pm |
2 1 + 1 - 0 ! |
configure cpan::distribution with correct name of html2text Bug-Debian: http://bugs.debian.org/640479 |
| fixes/digest_eval_hole.diff | (download) |
cpan/Digest/Digest.pm |
6 4 + 2 - 0 ! |
close the eval "require $module" security hole in Digest->new($algorithm) Also the filter was incomplete. Bug-Debian: http://bugs.debian.org/644108 |
| fixes/hurd ndbm.diff | (download) |
MANIFEST |
1 1 + 0 - 0 ! |
add gnu/hurd hints for ndbm_file currently, there are few tests failing because of a broken NDBM module; using the same hints as used on Linux (given that apparently the cause is the same) makes the following tests pass: t/op/dbm.t cpan/autodie/t/dbmopen.t cpan/Memoize/t/errors.t cpan/Memoize/t/tie_ndbm.t ext/NDBM_File/t/ndbm.t lib/AnyDBM_File.t Dominic Hargreaves adds: Note that the original git commit log [what you see above] lists some tests which aren't affected in blead. Bug-Debian: http://bugs.debian.org/645989 Bug: https://rt.perl.org/rt3/Public/Bug/Display.html?id=102680 |
| fixes/sysconf.t posix.diff | (download) |
ext/POSIX/t/sysconf.t |
2 1 + 1 - 0 ! |
fix hang in ext/posix/t/sysconf.t on gnu/hurd
while compiling perl 5.14.2 on GNU/Hurd, I ran into what it seems a
undefined POSIX behaviour in ext/POSIX/t/sysconf.t.
my $fd = POSIX::open($fifo, O_RDWR)
or skip("could not open $fifo ($!)", 3 * @path_consts_fifo);
according to the POSIX open()[1] about O_RDWR,
The result is undefined if this flag is applied to a FIFO.
.... which is actually our case.
Apparently Linux and *FreeBSD (and maybe also OSes) accept this
behaviour, but on GNU/Hurd this causes the open() call to block
undefinitely. Given there's nothing done with the FIFO if not querying
{,f}pathconf() values, the proposed solution I attached is to change
the opening mode to "O_RDONLY | O_NONBLOCK".
[1] http://pubs.opengroup.org/onlinepubs/9699919799/functions/open.html
Bug-Debian: http://bugs.debian.org/646016
Bug: https://rt.perl.org/rt3/Public/Bug/Display.html?id=102888
|
| fixes/hurd largefile.diff | (download) |
hints/gnu.sh |
13 13 + 0 - 0 ! |
enable lfs on gnu/hurd
at the moment, perl is compiled on GNU/Hurd without large file support.
This, other than the lacking of support for files > 2 GB, causes the
failure in the t/op/stat.t test.
The failure in stat.t happens because of the following: when filtering
devices in /dev/* using grep {} with -b/-c, stat fails for large
devices such as /dev/hdX blocks, or /dev/zero chars (this latter case
should be an Hurd-specific issue, but shouldn't matter for this case),
hence the counts done with grep {} and the ones done filtering the
output of `ls' don't match.
The attached patch enables the LFS using the same way used on linux.sh;
about t/op/lfs.t, it gets skipped at the "kernel/fs not configured to
use large files?" check, although it correctly detects sparse files and
(at least by looking at the disk usage) allocates the 5GB (or so) file
created with system() in that test.
Bug-Debian: http://bugs.debian.org/645790
Bug: https://rt.perl.org/rt3/Public/Bug/Display.html?id=103014
|
| debian/hurd_test_todo_syslog.diff | (download) |
cpan/Sys-Syslog/t/syslog.t |
15 12 + 3 - 0 ! |
disable failing gnu/hurd tests in cpan/sys-syslog/t/syslog.t Bug-Debian: http://bugs.debian.org/650093 |
| fixes/hurd_skip_itimer_virtual.diff | (download) |
cpan/Time-HiRes/HiRes.pm |
4 2 + 2 - 0 ! |
skip interval timer tests in time::hires on gnu/hurd GNU/Hurd has no support for virtual interval timers (ITIMER_VIRTUAL) so skip the tests on this platform along with QNX and Haiku. Bug-Debian: http://bugs.debian.org/650094 Bug: https://rt.cpan.org/Public/Bug/Display.html?id=72754 |
| debian/hurd_test_skip_sigdispatch.diff | (download) |
t/op/sigdispatch.t |
6 5 + 1 - 0 ! |
disable failing gnu/hurd tests op/sigdispatch.t These tests currently hang on GNU/Hurd, so disable them Bug-Debian: http://bugs.debian.org/650188 |
| debian/hurd_test_skip_stack.diff | (download) |
dist/threads/t/stack.t |
4 4 + 0 - 0 ! |
disable failing gnu/hurd tests dist/threads/t/stack.t These tests fail on GNU/Hurd owing to libpthread using fixed-size stacks. This is a known limitation that should get fixed in the future. For now, disable the tests. Bug-Debian: http://bugs.debian.org/650175 |
| debian/hurd_test_skip_pipe.diff | (download) |
t/io/pipe.t |
3 3 + 0 - 0 ! |
disable failing gnu/hurd tests io/pipe.t These tests currently fail on GNU/Hurd, so disable them Bug-Debian: http://bugs.debian.org/650187 |
| debian/hurd_test_skip_io_pipe.diff | (download) |
dist/IO/t/io_pipe.t |
3 3 + 0 - 0 ! |
disable failing gnu/hurd tests dist/io/t/io_pipe.t These tests currently fail on GNU/Hurd, so disable them Bug-Debian: http://bugs.debian.org/650096 |
| fixes/manpage_name_CPAN.diff | (download) |
cpan/CPAN/lib/CPAN/Debug.pm |
4 4 + 0 - 0 ! |
cpan/cpan: add name headings in modules with pod This fixes the Debian Lintian warning about missing NAME sections in manpages. Bug: https://rt.cpan.org/Ticket/Display.html?id=73396 Bug-Debian: http://bugs.debian.org/650448 |
| fixes/manpage_name_CPANPLUS.diff | (download) |
cpan/CPANPLUS/lib/CPANPLUS/Backend.pm |
2 1 + 1 - 0 ! |
cpan/cpanplus: add name headings in modules with pod This fixes the Debian Lintian warning about missing NAME sections in manpages. Bug: https://rt.cpan.org/Ticket/Display.html?id=73398 Bug-Debian: http://bugs.debian.org/650450 |
| fixes/manpage_name_Test Harness.diff | (download) |
cpan/Test-Harness/lib/TAP/Harness/Beyond.pod |
4 4 + 0 - 0 ! |
cpan/test-harness: add name headings in modules with pod This fixes the Debian Lintian warning about missing NAME sections in manpages. Bug: https://rt.cpan.org/Ticket/Display.html?id=73399 Bug-Debian: http://bugs.debian.org/650451 |
| fixes/manpage_name_Term UI.diff | (download) |
cpan/Term-UI/lib/Term/UI/History.pm |
2 1 + 1 - 0 ! |
cpan/term-ui: add name headings in modules with pod This fixes the Debian Lintian warning about missing NAME sections in manpages. Bug: https://rt.cpan.org/Ticket/Display.html?id=73400 Bug-Debian: http://bugs.debian.org/650452 |
| fixes/podlators_ae_ligature_fallback.diff | (download) |
cpan/podlators/lib/Pod/Man.pm |
2 1 + 1 - 0 ! |
fix the ascii fallback string for ae * cpan/podlators/lib/Pod/Man.pm: Fix the ASCII fallback string for the AE ligature to use the string that was actually defined. Bug-Debian: http://bugs.debian.org/652851 |
| fixes/fsf_postal_address.diff | (download) |
dist/SelfLoader/lib/SelfLoader.pm |
4 2 + 2 - 0 ! |
update references to the fsf's postal address |
| fixes/cpan_module_pod_fixes.diff | (download) |
cpan/Pod-Parser/lib/Pod/InputObjects.pm |
8 6 + 2 - 0 ! |
fix pod formatting in term-cap and pod-parser Bug: https://rt.cpan.org/Public/Bug/Display.html?id=73446 Bug: https://rt.cpan.org/Public/Bug/Display.html?id=73447 Bug: https://rt.perl.org/rt3/Public/Bug/Display.html?id=106870 |
| fixes/cgi_no_shellwords_pl.diff | (download) |
cpan/CGI/lib/CGI.pm |
4 2 + 2 - 0 ! |
use text::parsewords instead of shellwords.pl The shellwords.pl library is deprecated and will be removed in a future version of perl. Text::ParseWords has been in core since 5.0.0 and it is used by shellwords.pl already. |
| fixes/path_max_fallback.diff | (download) |
perl.h |
6 1 + 5 - 0 ! |
don't use _posix_path_max as a fallback path_max _POSIX_PATH_MAX is required to be defined for POSIX systems as 256, which is too small for a fallback PATH_MAX (some systems, such as GNU/Hurd, do not have an inherent limit on path length). Bug-Debian: http://bugs.debian.org/656869 Bug: https://rt.perl.org/rt3/Public/Bug/Display.html?id=109262 |
| debian/makemaker pasthru.diff | (download) |
cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm |
2 1 + 1 - 0 ! |
make eu::mm pass ld through to recursive makefile.pl invocations In a directory hierarchy with Makefile.PL files in subdirectories, command line arguments like perl Makefile.PL LD="ld -Wl,-z relro" are not used when descending into the subdirectories. This seems to be by design: there's a short list of variables that are passed through when invoking 'make' in the subdirectories, but the rest just use their default values. Debian needs to pass LD through for sane handling of security related build flags, so add that to the whitelist. Bug: http://rt.cpan.org/Public/Bug/Display.html?id=28632 Bug-Debian: http://bugs.debian.org/660195 |
| fixes/propagate_tainted_errors.patch | (download) |
pp_sys.c |
2 1 + 1 - 0 ! |
properly propagate tainted errors Backport af89892ed and 05a1a0145d by Tony Cook to 5.14 Bug: https://rt.perl.org/rt3/Public/Bug/Display.html?id=111654 Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=663158 Patch-Name: fixes/propagate_tainted_errors.patch |
| debian/perl5db x terminal emulator.patch | (download) |
lib/perl5db.pl |
2 1 + 1 - 0 ! |
invoke x-terminal-emulator rather than xterm in perl5db.pl In Debian systems, xterm might not exist or might not be the preferred terminal emulator. Use x-terminal-emulator instead Bug-Debian: http://bugs.debian.org/668490 |
