Up to [NetBSD + pkgsrc-wip] / pkgsrc / lang / perl5
Request diff between arbitrary revisions - Display revisions graphically
Keyword substitution: kv
Default branch: MAIN
Pullup ticket #3690 - requested by martin
lang/perl5: build fix
Revisions pulled up:
- lang/perl5/distinfo 1.82
- lang/perl5/patches/patch-hints_netbsd.sh 1.1
---
Module Name: pkgsrc
Committed By: obache
Date: Fri Feb 17 14:04:01 UTC 2012
Modified Files:
pkgsrc/lang/perl5: distinfo
Added Files:
pkgsrc/lang/perl5/patches: patch-hints_netbsd.sh
Log Message:
Fixes build on NetBSD-6.x, PR 46037.
patch provided by nonaka@.
Backport a fix for a serious bug from upstream, where pkgsrc's CFLAGS were being used to replace EU::CBuilder's ccflags, resulting in tests and modules failing in specific situations (e.g. on SunOS with ABI=32). https://rt.perl.org/rt3//Public/Bug/Display.html?id=89478 Bump PKGREVISION.
Merge patch-Configure into patch-ca and use lower case $prefix
Fixes build on NetBSD-6.x, PR 46037. patch provided by nonaka@.
Force ExtUtils::MakeMaker to ignore installed packlist when creating new packlist. It prevents generating wrong PLIST during make replace. Bump PKGREVISION.
Always add PREFIX/lib to libpth. When building as normal user, it often exists already. This is not the case for bulk builds though. This fixes p5-MARC-Charset, since p5-gdbm ended up without rpath to PREFIX/lib. Fix some Perl interpreter paths while here. Bump revision.
Pullup ticket #3588 - requested by spz
lang/perl5: security patch
Revisions pulled up:
- lang/perl5/Makefile.common 1.12
- lang/perl5/distinfo 1.79
- lang/perl5/patches/patch-cpan_Digest_Digest.pm 1.1
---
Module Name: pkgsrc
Committed By: spz
Date: Sun Oct 16 20:09:42 UTC 2011
Modified Files:
pkgsrc/lang/perl5: Makefile.common distinfo
Added Files:
pkgsrc/lang/perl5/patches: patch-cpan_Digest_Digest.pm
Log Message:
apply the changes to just Digest.pm from:
http://perl5.git.perl.org/perl.git/commitdiff/a2fa999d41c94d622051667d897fedca90be1828
2011-10-02 Gisle Aas <gisle@ActiveState.com>
Release 1.17.
Gisle Aas (6):
Less noisy 'git status' output
Merge pull request #1 from schwern/bug/require_eval
Don't clobber $@ in Digest->new [RT#50663]
More meta info added to Makefile.PL
Fix typo in RIPEMD160 [RT#50629]
Add schwern's test files
Michael G. Schwern (5):
Turn on strict.
Convert tests to use Test::More
Untabify
Turn Digest::Dummy into a real file which exercises the Digest->new() require logic.
Close the eval "require $module" security hole in Digest->new($algorithm)
apply the changes to just Digest.pm from:
http://perl5.git.perl.org/perl.git/commitdiff/a2fa999d41c94d622051667d897fedca90be1828
2011-10-02 Gisle Aas <gisle@ActiveState.com>
Release 1.17.
Gisle Aas (6):
Less noisy 'git status' output
Merge pull request #1 from schwern/bug/require_eval
Don't clobber $@ in Digest->new [RT#50663]
More meta info added to Makefile.PL
Fix typo in RIPEMD160 [RT#50629]
Add schwern's test files
Michael G. Schwern (5):
Turn on strict.
Convert tests to use Test::More
Untabify
Turn Digest::Dummy into a real file which exercises the Digest->new() require logic.
Close the eval "require $module" security hole in Digest->new($algorithm)
Changes 5.14.2: * File::Glob::bsd_glob() memory error with GLOB_ALTDIRFUNC (CVE-2011-2728). * Encode decode_xs n-byte heap-overflow (CVE-2011-2939)
Changes 5.14.1: * Several modules were updated to fix minor bugs. * Tests were fixed. * Documentation was improved. Changes 5.14.0: * Unicode version 6.0 is now supported. * Regular expressions can now be reset to the default modifiers. * Four new regular expression modifiers, "/d", "/l" , "/u", and "/a", were introduced. * The substitution operators now support the modifier "/r" to work non-destructively, leaving the original unmodified. * Larger octals can now be specified. * Array and hash operators can now experimentally operate directly on hard references. * printf-like functions now understand post-1980 size modifiers. * Exception handling was made more reliable and consistent. * Other enhancements and many bug fixes were made PkgSrc: * Fixed configuring on Mac OS X 10.7.
Fix build on MacOS X Lion (Darwin Kernel Version 11.0.1). From upstream comment: nm isn't known to work after Snow Leopard and XCode 4; testing with OS X 10.5 and Xcode 3 shows a working nm, but pretending it doesn't work produces no problems. From upstream commit log: Testing from 10.5 with Xcode 3 to the latest OS X works with usenm='false' but not always with usenm='true'
Drop --whole-archive. It should be a linker option (-Wl prefixed) in first place, but it breaks linkage with clang as it forced libgcc to be included in libperl, resulting in text relocations.
Pullup ticket #3404 - requested by taca lang/perl5: security patch Revisions pulled up: - lang/perl5/Makefile 1.171 - lang/perl5/distinfo 1.74 - lang/perl5/patches/patch-pp.c 1.1 --- Module Name: pkgsrc Committed By: taca Date: Thu Apr 7 04:03:58 UTC 2011 Modified Files: pkgsrc/lang/perl5: Makefile distinfo Added Files: pkgsrc/lang/perl5/patches: patch-pp.c Log Message: Add a patch to fix for http://secunia.com/advisories/43921/ from perl's git repository (539689e74a). Bump PKGREVISION.
Add a patch to fix for http://secunia.com/advisories/43921/ from perl's git repository (539689e74a). Bump PKGREVISION.
regen.
Improve MirBSD support, from Benny Siegert in PR 44491.
Updating lang/perl5 from 5.12.2 to 5.12.2nb1 pkgsrc changes: - updating bundled modules * threads from 1.75 to 1.78 * threads::shared from 1.32 to 1.33 * Math::BigInt from 1.89_01 to 1.95 (without test merges) Upstream changes of avove modules >>> threads <<< 1.78 Wed Sep 22 17:21:22 2010 - Handle missing signal handler in thread (threads bug #60460) 1.77 Fri Mar 26 13:36:33 2010 - Fix race condition in t/threads.t (threads bug #55633) 1.76 Tue Mar 9 14:02:43 EST 2010 - Handle magic on arg to ->object() (bug #73330) - Make ->object(threads->tid()) work like ->self() (bug #73330) - Noted memory consumption issue in POD - Added reusable thread pool example >>> threads::shared <<< 1.33 Tue Mar 9 14:03:47 EST 2010 - Handle shared object reference during global destruction - Document that changing array length via $#array doesn't work >>> Math::BigInt <<< 2010-09-03 v1.90 rafl * fix bnok() for k==0 and k==n-1 2010-09-10 v1.91 rafl * fix various documentation bugs 2010-09-10 v1.92 rafl * re-upload v1.91 with a fixed SIGNATURE 2010-09-13 v1.93 rafl * Depend on perl >= 5.6.2 * Remove obsolete core test directory boilerplate * Convert from Test to Test::More 2010-09-13 v1.94 rafl DEVELOPMENT RELEASE * Attempt to fix Math::BigInt::Lite failures 2010-09-14 v1.95 rafl * Re-upload v1.94 as a stable release
Updating lang/perl5 from 5.12.1nb2 to 5.12.2
Upstream changes:
Incompatible Changes
There are no changes intentionally incompatible with 5.12.1.
If any exist, they are bugs and reports are welcome.
Core Enhancements
Other than the bug fixes listed below, there should be no
user-visible changes to the core language in this release.
Modules and Pragmata
New Modules and Pragmata
This release does not introduce any new modules or pragmata.
Pragmata Changes
In the previous release, no VERSION; statements triggered a bug
which could cause feature bundles to be loaded and strict mode
to be enabled unintentionally.
Updated Modules
Carp
Upgraded from version 1.16 to 1.17.
Carp now detects incomplete caller() overrides and avoids using bogus
@DB::args. To provide backtraces, Carp relies on particular behaviour
of the caller built-in. Carp now detects if other code has overridden
this with an incomplete implementation, and modifies its backtrace
accordingly. Previously incomplete overrides would cause incorrect
values in backtraces (best case), or obscure fatal errors (worst case)
This fixes certain cases of Bizarre copy of ARRAY caused by modules
overriding caller() incorrectly.
CPANPLUS
A patch to cpanp-run-perl has been backported from CPANPLUS 0.9004.
This resolves [perl #55964] and [perl #57106], both of which related
to failures to install distributions that use Module::Install::DSL.
File::Glob
A regression which caused a failure to find CORE::GLOBAL::glob after
loading File::Glob to crash has been fixed. Now, it correctly falls
back to external globbing via pp_glob.
File::Copy
File::Copy::copy(FILE, DIR) is now documented.
File::Spec
Upgraded from version 3.31 to 3.31_01.
Several portability fixes were made in File::Spec::VMS: a colon is now
recognized as a delimiter in native filespecs; caret-escaped
delimiters are recognized for better handling of extended filespecs;
catpath() returns an empty directory rather than the current
directory if the input directory name is empty; abs2rel() properly
handles Unix-style input.
Utility Changes
* perlbug now always gives the reporter a chance to change the email
address it guesses for them.
* perlbug should no longer warn about uninitialized values when using
the -d and -v options.
Changes to Existing Documentation
* The existing policy on backward-compatibility and deprecation has
been added to perlpolicy, along with definitions of terms like
deprecation.
* "srand" in perlfunc's usage has been clarified.
* The entry for "die" in perlfunc was reorganized to emphasize its role
in the exception mechanism.
* Perl's INSTALL file has been clarified to explicitly state that Perl
requires a C89 compliant ANSI C Compiler.
* IO::Socket's getsockopt() and setsockopt() have been documented.
* alarm()'s inability to interrupt blocking IO on Windows has been
documented.
* Math::TrulyRandom hasn't been updated since 1996 and has been removed
as a recommended solution for random number generation.
* perlrun has been updated to clarify the behaviour of octal flags to
perl.
* To ease user confusion, $# and $*, two special variables that were
removed in earlier versions of Perl have been documented.
* The version of perlfaq shipped with the Perl core has been updated
from the official FAQ version, which is now maintained in the
briandfoy/perlfaq branch of the Perl repository at
git://perl5.git.perl.org/perl.git.
Installation and Configuration Improvements
Configuration improvements
* The d_u32align configuration probe on ARM has been fixed.
Compilation improvements
* An "incompatible operand types" error in ternary expressions when
building with clang has been fixed.
* Perl now skips setuid File::Copy tests on partitions it detects to
be mounted as nosuid.
Selected Bug Fixes
* A possible segfault in the T_PRTOBJ default typemap has been fixed.
* A possible memory leak when using caller() to set @DB::args has been
fixed.
* Several memory leaks when loading XS modules were fixed.
* unpack() now handles scalar context correctly for %32H and %32u,
fixing a potential crash. split() would crash because the third item
on the stack wasn't the regular expression it expected.
unpack("%2H", ...) would return both the unpacked result and the
checksum on the stack, as would unpack("%2u", ...). [perl #73814]
* Perl now avoids using memory after calling free() in pp_require when
there are CODEREFs in @INC.
* A bug that could cause "Unknown error" messages when
"call_sv(code, G_EVAL)" is called from an XS destructor has been fixed.
* The implementation of the open $fh, '>' \$buffer feature now supports
get/set magic and thus tied buffers correctly.
* The pp_getc, pp_tell, and pp_eof opcodes now make room on the stack
for their return values in cases where no argument was passed in.
* When matching unicode strings under some conditions inappropriate
backtracking would result in a Malformed UTF-8 character (fatal)
error. This should no longer occur. See [perl #75680]
Platform Specific Notes
AIX
* README.aix has been updated with information about the XL C/C++ V11
compiler suite.
Windows
* When building Perl with the mingw64 x64 cross-compiler incpath,
libpth, ldflags, lddlflags and ldflags_nolargefiles values in
Config.pm and Config_heavy.pl were not previously not being set
correctly because, with that compiler, the include and lib
directories are not immediately below $(CCHOME).
VMS
* git_version.h is now installed on VMS. This was an oversight in
v5.12.0 which caused some extensions to fail to build.
* Several memory leaks in stat() have been fixed.
* A memory leak in Perl_rename() due to a double allocation has been
fixed.
* A memory leak in vms_fid_to_name() (used by realpath() and
realname()) has been fixed.
Reinstate patch-ac, which is still needed for Perl 5.12.1. We intentionally wire down the 'libswanted' list in the package Makefile, so don't let the hints file add new libraries that may be found outside Pkgsrc control. Fixes build on Gentoo and SuSE systems, and possibly other Linux systems too that might have stray -lgdbm_compat libraries lying around.
Updating lang/perl5 from 5.12.1 to 5.12.1nb1 pkgsrc changes: - preparing for databases/p5-gdbm (using Makefile.common) - supporting external access to perl install dirs (dirs.mk) - fixing some errors/warnings from pkglint - adding conflict to packages of CPAN modules which are in Perl5 code on the one hand and are broken with perl-5.10+ Bumping PKGREVISION (dependencies changed, rebuild highly recommended). Recursive rebuild is not required.
Improve Haiku Support * Make perl executable * Add rpath for linkage, to allow using libraries outside of default LIB_PATH. * Allow PREFIX != /boot/common (patch-cp)
Update perl from version 5.10.1nb2 to version 5.12.1. Pkgsrc changes: - Adjust some patches - Remove patches integrated upstream - Use Perl's "Policy.sh" framework (along the way remove some patches) - Link in an enterprise friendly way on HPUX - in buildlink3.mk bump minimum required pkgsrc Perl version to 5.12.0 - placate some pkglint warnings Upstream changes: - From version 5.12.1 announce This release contains minor bug fixes and updates of several core modules, as well as minor documentation updates. It should be fully backward compatible with Perl 5.12.0. - From version 5.12.0 announce: Perl 5.12.0 represents approximately two years of development since version 5.10.0 and contains over 750,000 lines of changes across over 3,000 files from over 200 authors and committers. [...] Notable changes in Perl 5.12 include: * Perl now conforms much more closely to the Unicode standard. Additionally, this release includes an upgrade to version 5.2 of the standard. * New experimental APIs allow developers to extend Perl with "pluggable" keywords and syntax. * Perl now has a better sense of time and will be able to keep accurate time well past the "Y2038" barrier. * New syntax allows developers to specify package version numbers directly in "package" statements * Perl now warns the user about the use of deprecated features by default. - For a complete list of changes see included perl5120delta(1) and perl5121delta(1) or http://perldoc.perl.org/perl5120delta.html and http://perldoc.perl.org/perl5121delta.html
Pullup previous changes on HEAD to pkgsrc-2010Q2 branch to fix branching error, and to sync with reality.
Pullup ticket #3151 - requested by spz lang/perl5: security patch Revisions pulled up: - lang/perl5/Makefile 1.159 - lang/perl5/distinfo 1.65 - lang/perl5/patches/patch-fa 1.1 --- Module Name: pkgsrc Committed By: spz Date: Sun Jun 27 13:38:39 UTC 2010 Modified Files: pkgsrc/lang/perl5: Makefile distinfo Added Files: pkgsrc/lang/perl5/patches: patch-fa Log Message: fix CVE-2010-1168 and CVE-2010-1447 by updating Safe.pm to the current, not-affected version
fix CVE-2010-1168 and CVE-2010-1447 by updating Safe.pm to the current, not-affected version
Resolve building problem on SunOS and SPARC. Fix PR 40560
We intentionally wire down the 'libswanted' list in the package Makefile, so don't let the hints file add new libraries that may be found outside Pkgsrc control. Fixes build on Gentoo system, and possibly other Linux systems too that might have stray -lgdbm_compat libraries lying around. This reverts hints/linux.sh to look more like it did in 5.10.0.
Update perl from version 5.10.0nb6 to version 5.10.1. Pkgsrc changes: - Adjust some patches - Remove patches integrated upstream Upstream changes: "5.10.1 is a maintenance release for perl 5.10, incorporating various minor bugfixes and optimisations." Nonetheless some incompatibles changes are noteworthy and are related to: - flip-flop and defined-or operators behavior in switch statement - type-based dispatch and overloading of the smart match operator - 'use feature :5.10*' semantics - Perl development switched to git - internal structure of the ext/ perl source directory changed - removal of the modules Test::Harness::Straps, ExtUtils::MakeMaker::bytes and ExtUtils::MakeMaker::vmsish - the Module::CoreList module no longer contains the %:patchlevel hash - a bugfix related to the handling of the /m modifier and qr resulted in a change of behaviour between 5.8.x and 5.10.0 (this was missing from perl 5.10.0 perldelta). For a complete list of changes see included perl5101delta(1) or http://perldoc.perl.org/perl5101delta.html
Pullup ticket #2912 - requested by hasso
perl5: portability patch
Revisions pulled up:
- lang/perl5/distinfo 1.61
- lang/perl5/patches/patch-db 1.1
---
Module Name: pkgsrc
Committed By: hasso
Date: Tue Oct 13 10:38:31 UTC 2009
Modified Files:
pkgsrc/lang/perl5: distinfo
Added Files:
pkgsrc/lang/perl5/patches: patch-db
Log Message:
Fix thread library detection on DragonFly. From corecode via PR 42170.
Fix thread library detection on DragonFly. From corecode via PR 42170.
Patch (from latest PathTools) to fix build failure on systems where $HOME's parent directory isn't readable by an unprivileged user. Tested on Linux with unprivileged pkgsrc (DreamHost, where the problem was encountered) and on Mac OS X with a more typical setup.
Adding patch from perl-5.10.1 upstream to fix "Unkown error bug" described in http://rt.perl.org/rt3/Public/Bug/Display.html?id=49472 Bumping PKGREVISION
Apply a patch to fix the broken build reported in PR pkg/41240
Add RCS Id.
merge upstream commit b376053de54af4268a31e5a60d1f9e57db30af11:
[perl #49003] pp_ftrread appears to use the wrong access mode for -x when
using "use filetest 'access';"
Bump PKGREVISION. Noted by Leo R. Lundgren.
Improve AIX support to the point that dynamic modules work. Bump revision. In collaboration with Jens Rehsack.
Add fixes for CVE-2008-2827 and CVE-2008-5302 from CPAN respectively Debian. While there also fix two check interpreter warnings.
added fix for bug perl #57458 (relevant to FreeBSD 7.X)
pullup ticket #2580 - requested by mishka perl5: pullup patch that fixes build on netbsd 5 revisions pulled up: lang/perl5/distinfo lang/perl5/patches/patch-ba 1.5 (part of)
Fixed a memory leak in the qr operator. PKGREVISION++
Remove patch that tries to create "hints/dragonfly.sh" which is now part of the distribution. This fixes build problems on platforms which use GNU patch (e.g. Mac OS X).
Update perl5 from version 5.8.8nb8 to 5.10.0.
A large number of packages have had their internal regression tests
run successfully with this update, including mod_perl for Apache.
Pkgsrc changes: a number of our local patches are no longer needed.
Upstream changes from version 5.8.8:
# Core Enhancements
* The feature pragma
* New -E command-line switch
* Defined-or operator
* Switch and Smart Match operator
* Regular expressions
* say()
* Lexical $_
* The _ prototype
* UNITCHECK blocks
* New Pragma, mro
* readdir() may return a "short filename" on Windows
* readpipe() is now overridable
* Default argument for readline()
* state() variables
* Stacked filetest operators
* UNIVERSAL::DOES()
* Formats
* Byte-order modifiers for pack() and unpack()
* no VERSION
* chdir, chmod and chown on filehandles
* OS groups
* Recursive sort subs
* Exceptions in constant folding
* Source filters in @INC
* New internal variables
* Miscellaneous
* UCD 5.0.0
* MAD
* kill() on Windows
# Incompatible Changes
* Packing and UTF-8 strings
* Byte/character count feature in unpack()
* The $* and $# variables have been removed
* substr() lvalues are no longer fixed-length
* Parsing of -f _
* :unique
* Effect of pragmas in eval
* chdir FOO
* Handling of .pmc files
* $^V is now a version object instead of a v-string
* @- and @+ in patterns
* $AUTOLOAD can now be tainted
* Tainting and printf
* undef and signal handlers
* strictures and dereferencing in defined()
* (?p{}) has been removed
* Pseudo-hashes have been removed
* Removal of the bytecode compiler and of perlcc
* Removal of the JPL
* Recursive inheritance detected earlier
# Modules and Pragmata
* Upgrading individual core modules
* Pragmata Changes
* New modules
* Selected Changes to Core Modules
# Utility Changes
# New Documentation
# Performance Enhancements
* In-place sorting
* Lexical array access
* XS-assisted SWASHGET
* Constant subroutines
* PERL_DONT_CREATE_GVSV
* Weak references are cheaper
* sort() enhancements
* Memory optimisations
* UTF-8 cache optimisation
* Sloppy stat on Windows
* Regular expressions optimisations
# Installation and Configuration Improvements
* Configuration improvements
* Compilation improvements
* Installation improvements
* New Or Improved Platforms
# Selected Bug Fixes
# New or Changed Diagnostics
# Changed Internals
* Reordering of SVt_* constants
* Elimination of SVt_PVBM
* New type SVt_BIND
* Removal of CPP symbols
* Less space is used by ops
* New parser
* Use of const
* Mathoms
* AvFLAGS has been removed
* av_* changes
* $^H and %^H
* B:: modules inheritance changed
* Anonymous hash and array constructors
...
See 'perldoc perldelta' or http://perldoc.perl.org/perldelta.html
for explanation of each of these points.
Don't try to use objformat on FreeBSD 7.0 and newer.
Pullup ticket #2408 - requested by he
Security patch for perl
Revisions pulled up:
- lang/perl5/Makefile 1.137
- lang/perl5/distinfo 1.48
- lang/perl5/patches/patch-ad 1.11
- lang/perl5/patches/patch-af 1.13
- lang/perl5/patches/patch-ag 1.11
- lang/perl5/patches/patch-ai 1.5
- lang/perl5/patches/patch-aj 1.9
- lang/perl5/patches/patch-ak 1.3
- lang/perl5/patches/patch-da 1.2
---
Module Name: pkgsrc
Committed By: he
Date: Sun Jun 1 22:04:07 UTC 2008
Modified Files:
pkgsrc/lang/perl5: Makefile distinfo
pkgsrc/lang/perl5/patches: patch-da
Added Files:
pkgsrc/lang/perl5/patches: patch-ad patch-af patch-ag patch-ai patch-aj
patch-ak
Log Message:
Apply a patch from Debian to fix the security vulnerability identified
by http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-1927.
Patch fetched from
http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=26;filename=27_fix_regcomp_utf8;att=1;bug=454792
which, according to comments, is from upstream change 27688.
Revision bumped to nb8.
Apply a patch from Debian to fix the security vulnerability identified by http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-1927. Patch fetched from http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=26;filename=27_fix_regcomp_utf8;att=1;bug=454792 which, according to comments, is from upstream change 27688. Revision bumped to nb8.
Pullup ticket 2405 - requested by mishka
fix build problem on NetBSD-current
Revisions pulled up:
- pkgsrc/lang/perl5/patches/patch-ae 1.11
- pkgsrc/lang/perl5/distinfo 1.47
Module Name: pkgsrc
Committed By: wiz
Date: Mon Apr 28 22:24:22 UTC 2008
Modified Files:
pkgsrc/lang/perl5: distinfo
pkgsrc/lang/perl5/patches: patch-ae
Log Message:
Add missing single quote. Fixes build on -current.
To generate a diff of this commit:
cvs rdiff -r1.46 -r1.47 pkgsrc/lang/perl5/distinfo
cvs rdiff -r1.10 -r1.11 pkgsrc/lang/perl5/patches/patch-ae
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Add missing single quote. Fixes build on -current.
Appease pkglint^Wrillig and add a note for patch-as.
Fix build on newer Linux systems.
NetBSD's /proc/${pid}/exe is sometimes a symlink to "/" instead of to the
actual program name, so Perl's $^X or $EXECUTABLE_NAME variable was wrong.
Change a test to detect this case, and fall back to using argv[0].
Pullup ticket 2222 - requested by drochner security fix for perl - pkgsrc/lang/perl5/Makefile 1.129 - pkgsrc/lang/perl5/distinfo 1.43 - pkgsrc/lang/perl5/patches/patch-da 1.1 Module Name: pkgsrc Committed By: drochner Date: Tue Nov 6 19:54:53 UTC 2007 Modified Files: pkgsrc/lang/perl5: Makefile distinfo Added Files: pkgsrc/lang/perl5/patches: patch-da Log Message: add a patch from Redhat bugzilla #323571 to fix CVE-2007-5116: A flaw was found in Perl's regular expression engine. Specially crafted input to a regular expression can cause Perl to improperly allocate memory, possibly resulting in arbitrary code running with the permissions of the user running Perl.
add a patch from Redhat bugzilla #323571 to fix CVE-2007-5116: A flaw was found in Perl's regular expression engine. Specially crafted input to a regular expression can cause Perl to improperly allocate memory, possibly resulting in arbitrary code running with the permissions of the user running Perl.
A subtle change introduced in gcc-4.2.x broke perl's makedepend script. The name of the "standard input file" in the preprocessor was changed from <command line> to <command-line>. Make makedepend recognize this.
patch-cn: hpux: don't use absolute path to ld(1)
Commit the patch from PR pkg/35319 which should fix perl compilation on newer versions (11) of solaris. Verified that the 'bmake test' output is unchanged on 32-bit solaris-2.9/sparc.
DESTDIR support. Slightly refactor Perl build to avoid calling the newly build executable, either by using the same constants or by sourcing the config.sh script created by Configure. Don't create $installsitearch and don't attempt to remove $installvendorarch, the former is easy and the latter not needed.
Remove extraneous interix change from patch-cb. Perhaps this change was accepted upstream, and not yet removed from pkgsrc.
Pullup ticket 1788 - requested by tron build fix for perl on netbsd-4 Revisions pulled up: - pkgsrc/lang/perl5/distinfo 1.36-1.37 - pkgsrc/lang/perl5/patches/patch-ba 1.3-1.4 Module Name: pkgsrc Committed By: tron Date: Tue Aug 8 15:27:36 UTC 2006 Modified Files: pkgsrc/lang/perl5: distinfo pkgsrc/lang/perl5/patches: patch-ba Log Message: Make this build under NetBSD 4.x. --- Module Name: pkgsrc Committed By: tron Date: Tue Aug 8 15:36:00 UTC 2006 Modified Files: pkgsrc/lang/perl5: distinfo pkgsrc/lang/perl5/patches: patch-ba Log Message: Remove changes added by Perl's configure script. Problem pointed out by Thomas Klausner.
Remove changes added by Perl's configure script. Problem pointed out by Thomas Klausner.
Make this build under NetBSD 4.x.
Added a patch for t/io/fs.t, which handles filesystems that are mounted with the "noatime" option on NetBSD.
GCC versions prior to 3.4 have a bug handling the "unused" attribute in declarations when compiling C++ code. Patch the perl.h and XSUB.h headers to avoid using this attribute if using GCC<3.4 and building C++ modules. This fixes PR pkg/33403 by OBATA Akio. Bump PKGREVISION to 2.
Update lang/perl5 to 5.8.8. Changes from version 5.8.7 include:
* Updates of many standard Perl modules.
* Performance enhancements for loadable modules and memory usage.
* Fixed bug when running with "-w". Previously when running with
warnings enabled globally via "-w", selective disabling of specific
warning categories would actually turn off all warnings. This
is now fixed; now "no warnings 'io';" will only turn off warnings
in the "io" class. This bug fix may cause some programs to start
correctly issuing warnings.
* Perl 5.8.4 introduced a change so that assignments of "undef" to a
scalar, or of an empty list to an array or a hash, were optimised away.
As this could cause problems when "goto" jumps were involved, this
change has been backed out.
* Using the sprintf function with some formats could lead to a
buffer overflow in some specific cases. This has been fixed,
along with several other bugs, notably in bounds checking.
* Fixed bug in pkgsrc-installed perl-5.8.7 and all subsequent
PKGREVISIONs, where perl didn't look for site modules under
/usr/pkg/lib/perl5/site_perl, but only under
/usr/pkg/lib/perl5/site_perl/5.8.0, and similarly for the vendor
modules.
* Honor PKGMANDIR when installing man pages.
Pullup ticket 1026 - requested by Johnny C. Lam
security fix for perl5
Revisions pulled up:
- pkgsrc/lang/perl5/Makefile 1.112, 1.113, 1.114
- pkgsrc/lang/perl5/distinfo 1.32
- pkgsrc/lang/perl5/patches/patch-cm removed
Module Name: pkgsrc
Committed By: jlam
Date: Fri Jan 13 16:48:11 UTC 2006
Modified Files:
pkgsrc/lang/perl5: Makefile
Log Message:
Remove snapshot and release-candidate code since they're outdated and are
no longer applicable to the current "stable" development branch. Also,
fix the HOMEPAGE to point to perl.org instead of perl.com.
---
Module Name: pkgsrc
Committed By: jlam
Date: Fri Jan 13 19:15:11 UTC 2006
Modified Files:
pkgsrc/lang/perl5: Makefile
Log Message:
Finish removing extraneous code only useful for snapshots missed in the
previous commit.
---
Module Name: pkgsrc
Committed By: jlam
Date: Fri Jan 13 20:04:48 UTC 2006
Modified Files:
pkgsrc/lang/perl5: Makefile distinfo
Removed Files:
pkgsrc/lang/perl5/patches: patch-cm
Log Message:
Use the vendor-supplied set of fixes for the following security advisories:
CVE-2005-3916 - format string vulnerability in scripts using syslog()
CVS-2005-3962 - format string vulnerability in Perl_sv_vcatpvfn()
Bump the PKGREVISION to 7.
Use the vendor-supplied set of fixes for the following security advisories:
CVE-2005-3916 - format string vulnerability in scripts using syslog()
CVS-2005-3962 - format string vulnerability in Perl_sv_vcatpvfn()
Bump the PKGREVISION to 7.
Pullup ticket 981 - requested by Johnny C. Lam build fix for lang/perl5 Revisions pulled up: - pkgsrc/lang/perl5/Makefile 1.110 - pkgsrc/lang/perl5/distinfo 1.31 - pkgsrc/lang/perl5/patches/patch-ca 1.4 Module Name: pkgsrc Committed By: jlam Date: Thu Dec 29 17:54:45 UTC 2005 Modified Files: pkgsrc/lang/perl5: Makefile distinfo pkgsrc/lang/perl5/patches: patch-ca Log Message: Perl has no dependencies, so force patch the Configure script to make library searches to start in the system directories instead of in the pkgsrc-controlled directories. This change is in the same spirit as the one that caused the PKGREVISION bump to 6, but is more likely to work on IRIX where plibpth needs to be set from the Configure script. This time, we patch the Configure script instead of setting libpth in the hints file because we depend on the values of variables which are defined after the hints file is sourced by the Configure script. XXX This breaks building perl on a platform that has native pthreads XXX with PREFER_NATIVE_PTHREADS=no, but that's not really worthwhile XXX to fix.
Perl has no dependencies, so force patch the Configure script to make library searches to start in the system directories instead of in the pkgsrc-controlled directories. This change is in the same spirit as the one that caused the PKGREVISION bump to 6, but is more likely to work on IRIX where plibpth needs to be set from the Configure script. This time, we patch the Configure script instead of setting libpth in the hints file because we depend on the values of variables which are defined after the hints file is sourced by the Configure script. XXX This breaks building perl on a platform that has native pthreads XXX with PREFER_NATIVE_PTHREADS=no, but that's not really worthwhile XXX to fix.
Fix for Perl format string vulnerability noted in CVE-2005-3962:
perl suffers from an integer wrap overflow inside the explicit
parameter format string functionality. This has been confirmed to
be a vector for remote code execution.
Bump PKGREVISION to 5.
Nuke last chunk of patch, it got appended by configure.
Just use -pthread on DragonFly for thread linkage.
Restore perllocal.pod-generating behavior of ExtUtils::MakeMaker because some Perl modules make some (bad) assumptions about the structure of a MakeMaker-generated Makefile. Instead, remove the perllocal.pod file whenever a p5-* module or perl itself is removed. While here, rename some of the install/deinstall templates to more descriptive names. Bump the PKGREVISION to 3.
Alter the configuration so that: $(prefix) == $(siteprefix) == $(vendorprefix) so that if a perl module is configured with "perl Makefile.PL PREFIX=...", then that single PREFIX definition will override all three of the above, and files will be properly installed into the correct relative path. Also, patch a test so that it understands the different behavior of the pkgsrc ExtUtils::MakeMaker module. Bump the PKGREVISION to 2.
Fix an error in ExtUtils::MakeMaker that didn't output the definitions for INSTALLSITESCRIPT and INSTALLVENDORSCRIPT in MakeMaker-generated Makefiles. Bump the PKGREVISION to 1.
Remove redundant patch.
Update lang/perl5 to 5.8.7. Changes from version 5.8.6 include updates
for many "core" modules, UTF-8 and Unicode bugfixes, and ithreads
bugfixes.
The major changes are in the pkgsrc infrastructure to handle Perl and
Perl modules. All pkgsrc-installed Perl modules are now installed in
"vendor" directories, and the perl interpreter has been modifed to
search for libraries in the following order: site, vendor, perl. The
Perl library is stored in a directory that is named for the Perl ABI
version associated with the Perl release, so any updates of Perl to
newer versions can be done "in-place" as long as Perl ABI version
remains the same. All Perl scripts and man pages are stored in
locations that won't conflict between site, vendor, and perl modules,
and a new utility perllink(1) now manages symlinks to those scripts
and man pages under the usual ${LOCALBASE}/bin and ${LOCALBASE}/man/man1.
PERL5_SITEPREFIX may be set to the prefix where local, site-specific
modules will be installed, e.g. PERL5_SITEPREFIX=/usr/local. Note
that modules installed here are completely unmanaged by pkgsrc.
Update the buildlink and tool dependencies on perl to require perl>=5.8.7
to reflect the new locations for Perl modules and the Perl shared
library.
Drop the perl-5.6.x package from pkgsrc. Remove lang/perl58 and update lang/perl5 to perl-5.8.6nb4. Modify packages that referred to lang/perl58 to point to lang/perl5 instead.
Add RMD160 checksum.
Make this build under Irix with mipspro compilers: MIPSPro compiler/preprocessor behaves differently if invoked on stdin vs file. In configure, we test for stdin, but lateron we use files. So force it to work the way we know it does.
Bump the PKGREVISION of lang/perl5. Changes between versions 5.6.1nb9 and 5.6.1nb10 include pulling in changes from the latest Perl sources that add a more complete set of directories on NetBSD systems to the rpath of Perl modules so that they may find libperl.so. The module build/installation is now robust against the user overriding the value of INSTALLARCHLIB.
fix test for Solaris linker by also grepping for "ld: Solaris Link Editors", reported by Dima Veselov <kab00m@lich.phys.spbu.ru> in private mail. also move hints/ patches to patch-b* to keep track of them more easily.
Link under BSD/OS too. (Okay'd by jlam.)
Bump PKGREVISIONs of lang/perl5 and lang/perl58: modify the build so that libgcc.a isn't linked "whole archive" into the perl executable on newer NetBSD systems (>1.5.x). Newer NetBSD systems have libgcc_pic.a linked into shared libraries, so this hack isn't needed. This change was tested by building and testing textproc/xerces-p, a C++ perl5 module that uses functions in libgcc.a.
Modify lang/perl5 and lang/perl58 to install man3 pages again. However,
we install them into a private directory under the the normal Perl
installation and configure Perl so that site-specific Perl man3 pages
are installed into a private directory within site_perl. This avoids
manpage conflicts between 3rd-party modules, the standard Perl library,
and other packages.
The changes implement some unfinished work that is alluded to in the
MakeMaker.pm module by allowing "installsiteman{1,3}dir" to be set
during the configuration process and are used to provide default values
for INSTALLSITEMAN{1,3}DIR during the Perl module build/install process.
Bump PKGREVISIONs for lang/perl5 and lang/perl58.
fix previous change for FreeBSD/gcc3.
adopt some patches from FreeBSD ports, allowing this to build on FreeBSD 5.0 (and probably Solaris w/ gcc3). also, make really sure we don't try to use perl's malloc().
Make this compile and install cleanly on IRIX.
Remove patch-ai sha1, since the file doesn't exist.
Fix long-standing bug where -R${PREFIX}/lib wasn't being recorded in the
LDDLFLAGS because ${PREFIX} is not defined for the sub-scripts that are
executed by the Configure script. This resulted in -R/lib.
Update lang/perl5 to 5.6.1nb7. Changes from version 5.6.1nb6 include
changing the default module/library search path to have site_perl come
before the standard directories. In other words, the previous search path
on an i386 was:
/usr/pkg/lib/perl5/5.6.1/i386-netbsd
/usr/pkg/lib/perl5/5.6.1
/usr/pkg/lib/perl5/site_perl/5.6.1/i386-netbsd
/usr/pkg/lib/perl5/site_perl/5.6.1
/usr/pkg/lib/perl5/site_perl
but it is now:
/usr/pkg/lib/perl5/site_perl/5.6.1/i386-netbsd
/usr/pkg/lib/perl5/site_perl/5.6.1
/usr/pkg/lib/perl5/site_perl
/usr/pkg/lib/perl5/5.6.1/i386-netbsd
/usr/pkg/lib/perl5/5.6.1
The rationale for this is that when we install a module that is newer than
one in the standard library, the new module goes into the site_perl
directory as it's an add-on module. However, we can't use the newer module
without modifying either the scripts of the perl environment to find the
newer module explicitly because of the order of the library search path:
the site_perl directories come after the standard directories. The normal
solution is to directly replace the module in the standard library with
the newer module. However, this isn't really on option when installing
via pkgsrc because the older module files are owned by the perl package.
By placing the the site_perl directories before the standard directories,
newer modules that we install via pkgsrc are simply found before the older
ones in the standard library.
Add a patch to the perl package that causes perl modules from CPAN to link
directly against -lperl when built. Combined with the previous update of
perl to add ${LOCALBASE}/lib to the rpath when creating shared
libraries/modules, these two changes make using mod_perl.so (ap-perl) more
painless. All perl shared modules now contain interlibrary dependencies to
the shared libraries they need. Instead of needing (at least on ELF):
LoadFile !/usr/lib/libm.so
LoadFile lib/perl5/5.6.1/i386-netbsd/CORE/libperl.so
...
# Any other libraries needed by perl shared modules need to listed
# with LoadFile here.
...
LoadModule perl_module lib/httpd/mod_perl.so
AddModule mod_perl.c
you'd need only the last two lines as the mod_perl authors intended.
I've tested this patch for many weeks now, successfully loading and using
the p5-Apache-ASP module as my test bed, and I haven't noticed any problems
with normal perl usage.
Also comment the Makefile slightly better.
Teach the ExtUtils modules (the ones that create Makefiles for perl
modules) about -Wl,-R. We cause -Wl,-R/path/to/libdir in LIBS settings
to now get propagated correctly to the link command for shared modules.
The rpath flag is also silently coerced to start with -Wl,-R or -R
depending on the contents of ${LDDLFLAGS} to deal with either cc or ld
being invoked.
Update perl to 5.6.1nb4. Changes from version 5.6.1nb3 include: * Ensure that shared objects/libraries created by perl Makefiles include the correct run-time library search path by also including the local libraries directories. For example, shared objects are linked on ELF platforms with "cc -Wl,-R/usr/pkg/lib -L/usr/pkg/lib", and not just "cc -L/usr/pkg/lib" as before.
Solve SunOS build problem in a much cleaner way by predefining "libswanted" for Perl's configuration script as suggested by Johnny C. Lam in private e-mail.
Stop configure from trying to use "libiconv" because "/usr/include/iconv.h" exists under SunOS.
Search for <machine/ieeefp.h> instead of <ieeefp.h>. This fixes the problem reported in pkg/13663 by John Klos <john@sixgirls.org> where on older (pre-current) NetBSD/vax, <ieeefp.h> exists but <machine/ieeefp.h> doesn't, which was broken since <ieeefp.h> included <machine/ieeefp.h>.
Update perl to 5.6.1nb3. User-visible changes from the previous version
include:
- Re-adding ${LOCALBASE}/include and ${LOCALBASE}/lib to the local compiler
search paths,
Other changes include:
- Migrating the setting to not install man3 pages from patch-ab into the
package Makefile so that they aren't installed across all pkgsrc platforms.
- Better document SYSLIBPATH.${OPSYS}.
Update perl to 5.6.1nb2. Changes from perl-5.6.1nb1 include undoing the
perl mess I created a year ago and making this a vanilla perl installation
again, and explicitly setting the system library path so that /usr/local/*
doesn't appear anywhere.
The installed perl library now also includes CGI.pm-2.752. The www/p5-CGI
package installs in to ${PERL5_SITEARCH} so there is no conflict with the
"standard" CGI.pm.