Subject: CVS commit: pkgsrc/lang/perl58
To: None <pkgsrc-changes@NetBSD.org>
From: Thomas Klausner <wiz@netbsd.org>
List: pkgsrc-changes
Date: 11/07/2004 16:20:11
Module Name:	pkgsrc
Committed By:	wiz
Date:		Sun Nov  7 16:20:11 UTC 2004

Modified Files:
	pkgsrc/lang/perl58: Makefile PLIST distinfo
	pkgsrc/lang/perl58/patches: patch-ah patch-ca
Removed Files:
	pkgsrc/lang/perl58/patches: patch-bc

Log Message:
Update to 5.8.5:

Incompatible Changes

There are no changes incompatible with 5.8.4.

Core Enhancements

Perl's regular expression engine now contains support for matching on the intersection of two Unicode character classes. You can also now refer to user-defined character classes from within other user defined character classes.
Modules and Pragmata

    * Carp improved to work nicely with Safe. Carp's message reporting should now be anomaly free - it will always print out line number information.
    * CGI upgraded to version 3.05
    * charnames now avoids clobbering $_
    * Digest upgraded to version 1.08
    * Encode upgraded to version 2.01
    * FileCache upgraded to version 1.04
    * libnet upgraded to version 1.19
    * Pod::Parser upgraded to version 1.28
    * Pod::Perldoc upgraded to version 3.13
    * Pod::LaTeX upgraded to version 0.57
    * Safe now works properly with Carp
    * Scalar-List-Utils upgraded to version 1.14
    * Shell's documentation has been re-written, and its historical partial auto-quoting of command arguments can now be disabled.
    * Test upgraded to version 1.25
    * Test::Harness upgraded to version 2.42
    * Time::Local upgraded to version 1.10
    * Unicode::Collate upgraded to version 0.40
    * Unicode::Normalize upgraded to version 0.30

Utility Changes

Perl's debugger

The debugger can now emulate stepping backwards, by restarting and rerunning all bar the last command from a saved command history.

h2ph

h2ph is now able to understand a very limited set of C inline functions -- basically, the inline functions that look like CPP macros. This has been introduced to deal with some of the headers of the newest versions of the glibc. The standard warning still applies; to quote h2ph's documentation, you may need to dicker with the files produced.
Installation and Configuration Improvements

Perl 5.8.5 should build cleanly from source on LynxOS.

Selected Bug Fixes

    * The in-place sort optimisation introduced in 5.8.4 had a bug. For example, in code such as

    @a = sort ($b, @a)

      the result would omit the value $b. This is now fixed.
    * The optimisation for unnecessary assignments introduced in 5.8.4 could give spurious warnings. This has been fixed.
    * Perl should now correctly detect and read BOM-marked and (BOMless) UTF-16 scripts of either endianness.
    * Creating a new thread when weak references exist was buggy, and would often cause warnings at interpreter destruction time. The known bug is now fixed.
    * Several obscure bugs involving manipulating Unicode strings with substr have been fixed.
    * Previously if Perl's file globbing function encountered a directory that it did not have permission to open it would return immediately, leading to unexpected truncation of the list of results. This has been fixed, to be consistent with Unix shells' globbing behaviour.
    * Thread creation time could vary wildly between identical runs. This was caused by a poor hashing algorithm in the thread cloning routines, which has now been fixed.
    * The internals of the ithreads implementation were not checking if OS-level thread creation had failed. threads->create() now returns undef in if thead creation fails instead of crashing perl.

New or Changed Diagnostics

    * Perl -V has several improvements
          o correctly outputs local patch names that contain embedded code snippets or other characters that used to confuse it.
          o arguments to -V that look like regexps will give multiple lines of output.
          o a trailing colon suppresses the linefeed and ';' terminator, allowing embedding of queries into shell commands.
          o a leading colon removes the 'name=' part of the response, allowing mapping to any name.
    * When perl fails to find the specified script, it now outputs a second line suggesting that the user use the -S flag:

    $ perl5.8.5 missing.pl
    Can't open perl script "missing.pl": No such file or directory.
    Use -S to search $PATH for it.

Changed Internals

The Unicode character class files used by the regular expression engine are now built at build time from the supplied Unicode consortium data files, instead of being shipped prebuilt. This makes the compressed Perl source tarball about 200K smaller. A side effect is that the layout of files inside lib/unicore has changed.

pkgsrc: fails the same test that 5.8.4 fails (sigaction).


To generate a diff of this commit:
cvs rdiff -r1.53 -r1.54 pkgsrc/lang/perl58/Makefile
cvs rdiff -r1.7 -r1.8 pkgsrc/lang/perl58/PLIST
cvs rdiff -r1.19 -r1.20 pkgsrc/lang/perl58/distinfo
cvs rdiff -r1.6 -r1.7 pkgsrc/lang/perl58/patches/patch-ah
cvs rdiff -r1.2 -r0 pkgsrc/lang/perl58/patches/patch-bc
cvs rdiff -r1.3 -r1.4 pkgsrc/lang/perl58/patches/patch-ca

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.