diff options
| author | Anton Berezin <tobez@FreeBSD.org> | 2005-02-01 13:36:41 +0000 |
|---|---|---|
| committer | Anton Berezin <tobez@FreeBSD.org> | 2005-02-01 13:36:41 +0000 |
| commit | 4400a5e9853ae93bceb634729cd63ffbf9629bca (patch) | |
| tree | 2c17cf871ed398bc2fe7742f4207c52a148ad113 /lang/perl5.6/files/patch-Safe.pm | |
| parent | Update to 5.8.6. Also: (diff) | |
Update to 5.6.2. Also:
- redirect output from h2ph to /dev/null [1];
- fix File::Path insecure file/directory permissions [2];
this resolves CAN-2004-0452
(http://vuxml.freebsd.org/c418d472-6bd1-11d9-93ca-000a95bc6fae.html);
- for OSVERSION < 500036, create symlinks in /usr/bin not only for
perl and suidperl, but also for a2p, c2ph, find2perl, h2ph, h2xs,
perlbug, perlcc, perldoc, pl2pm, pod2html, pod2latex, pod2man,
pod2text, s2p, and splain; perl and suidperl are still enough for
more recent FreeBSD versions [3];
- clean up created symlinks upon deinstallation [4];
- try to cleanup symlinks created by older versions of lang/perl5 and
lang/perl5.8, during both installation and deinstallation [5];
- added support for DISABLE_BSDPAN environment variable [6];
- be explicit about use.perl usage after installation of 4.X systems,
and on systems where lang/perl5.8 is prefered to lang/perl5; the exact
range is OSVERSION < 500036 || OSVERSION >= 502100 [7];
- respect __MAKE_CONF partially (the build-time value is used) [8];
- use.perl is now the same as pkg-install is now the same as
pkg-deinstall; apart from the changes already mentioned above, this
is a shell script now;
- use.perl's logic is also simplified in several ways [9];
- fix a BSDPAN bug [10];
- create and remove %%SITE_PERL%%/%%PERL_ARCH%%/auto, just
like lang/perl5.8 does, to silent pointyhat [11];
- apply a patch to handle daylight saving time correctly in
POSIX::strftime [12];
- the port now creates and uses shared libperl.so, as lang/perl5.8 port
does;
- move MAN3 manual pages under ${PREFIX}/lib/perl5/${PERL_VER}/perl, as
to avoid conflict with some of the p5 ports;
- do not build suidperl by default any longer; one should use
ENABLE_SUIDPERL to do that;
- move out manpage list to a separate Makefile.man;
- in general, the port layout is made much more similar to lang/perl5.8,
including.
Outstanding issues: Module::Build support for BSDPAN, SU_CMD support (PR
70831), PR 64963 (partially), and anything else that I forgot.
[1] Nudged by: krion
[2] Reported by: nectar
Patch from: Chris Turner @ RedHat
[3] PR: 55760, 57151, 58406
[4] Requested by: kris
PR: 54262
[5] PR: 51281, 51539
[6] PR: 57134
[7] PR: 60736
[8] PR: 74431
[9] Perl version submitted by des, implemented in sh
[10] Reported by: Alexander Nagilum <freebsd %at% nagilum de>
[11] PR: 71390
[12] PR: 74042, perl bug 18238
Diffstat (limited to 'lang/perl5.6/files/patch-Safe.pm')
| -rw-r--r-- | lang/perl5.6/files/patch-Safe.pm | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/lang/perl5.6/files/patch-Safe.pm b/lang/perl5.6/files/patch-Safe.pm deleted file mode 100644 index 142b03ca4fba..000000000000 --- a/lang/perl5.6/files/patch-Safe.pm +++ /dev/null @@ -1,20 +0,0 @@ ---- ext/Opcode/Safe.pm.orig Fri Feb 23 03:57:54 2001 -+++ ext/Opcode/Safe.pm Mon Apr 21 16:24:39 2003 -@@ -213,7 +213,7 @@ sub reval { - # Create anon sub ref in root of compartment. - # Uses a closure (on $expr) to pass in the code to be executed. - # (eval on one line to keep line numbers as expected by caller) -- my $evalcode = sprintf('package %s; sub { eval $expr; }', $root); -+ my $evalcode = sprintf('package %s; sub { @_ = (); eval $expr; }', $root); - my $evalsub; - - if ($strict) { use strict; $evalsub = eval $evalcode; } -@@ -227,7 +227,7 @@ sub rdo { - my $root = $obj->{Root}; - - my $evalsub = eval -- sprintf('package %s; sub { do $file }', $root); -+ sprintf('package %s; sub { @_ = (); do $file }', $root); - return Opcode::_safe_call_sv($root, $obj->{Mask}, $evalsub); - } - |
