pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc Update lang/perl58 to perl-5.8.6. Selected hanges fro...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c0653295ae99
branches:  trunk
changeset: 486567:c0653295ae99
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Wed Dec 29 19:41:25 2004 +0000

description:
Update lang/perl58 to perl-5.8.6.  Selected hanges from version 5.8.5
include:

* By default, platforms that have native threads will build a threaded
  perl.  Note that you will likely have to rebuild your Perl modules
  after this update unless your Perl is already threaded.

* The perl interpreter is now more tolerant of UTF-16-encoded scripts.
* Several core modules were updated.
* Perl has a new -dt command-line flag, which enables threads support in
  the debugger.

* "foreach" on threads::shared array used to be able to crash Perl. This
  bug has now been fixed.
* A regexp in "STDOUT"'s destructor used to coredump, because the regexp
  pad was already freed. This has been fixed.
* Using "delete" on an array no longer leaks memory. A "pop" of an item
  from a shared array reference no longer causes a leak.
* "eval_sv()" failing a taint test could corrupt the stack - this has
  been fixed.
* On platforms with 64 bit pointers numeric comparison operators used to
  erroneously compare the addresses of references that are overloaded,
  rather than using the overloaded values. This has been fixed.
* From now on all applications embedding perl will behave as if perl were
  compiled with -DPERL_USE_SAFE_PUTENV.

diffstat:

 doc/CHANGES                  |   3 ++-
 lang/perl58/Makefile         |  31 ++++++++++++++++++++-----------
 lang/perl58/distinfo         |  12 ++++++------
 lang/perl58/patches/patch-ah |   8 ++++----
 lang/perl58/patches/patch-ca |  10 +++++-----
 lang/perl58/patches/patch-ci |   8 ++++----
 6 files changed, 41 insertions(+), 31 deletions(-)

diffs (183 lines):

diff -r f8d584b4c63a -r c0653295ae99 doc/CHANGES
--- a/doc/CHANGES       Wed Dec 29 19:39:20 2004 +0000
+++ b/doc/CHANGES       Wed Dec 29 19:41:25 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: CHANGES,v 1.8520 2004/12/29 18:47:42 kim Exp $
+$NetBSD: CHANGES,v 1.8521 2004/12/29 19:41:28 jlam Exp $
 
 Changes to the packages collection and infrastructure in 2004:
 
@@ -6698,3 +6698,4 @@
        Updated qmail-run to 20041229 [schmonz 2004-12-29]
        Updated djbdns-run to 20041229 [schmonz 2004-12-29]
        Updated anomy-sanitizer to 1.69 [kim 2004-12-29]
+       Updated perl58 to 5.8.6 [jlam 2004-12-29]
diff -r f8d584b4c63a -r c0653295ae99 lang/perl58/Makefile
--- a/lang/perl58/Makefile      Wed Dec 29 19:39:20 2004 +0000
+++ b/lang/perl58/Makefile      Wed Dec 29 19:41:25 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.68 2004/12/20 13:25:09 grant Exp $
+# $NetBSD: Makefile,v 1.69 2004/12/29 19:41:25 jlam Exp $
 
 # The following two variables should have empty values unless we're
 # building a perl snapshot or release candidate.
@@ -6,31 +6,31 @@
 PERL5_SNAPSHOT=        # empty
 PERL5_RC_VERS= # empty
 
+PERL5_VERS=    5.8.6
+CATEGORIES=    lang devel perl5
+EXTRACT_SUFX=  .tar.bz2
+
 .if empty(PERL5_SNAPSHOT) && empty(PERL5_RC_VERS)
 DISTNAME=      perl-${PERL5_VERS}
 PKGNAME=       perl-${PERL5_VERS}
-PKGREVISION=   6
-SNAPSHOT_SITES=        # empty
+PKGREVISION=   # empty
+MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:S,/modules/by-module/$,/src/,}
 .else
 .  if !empty(PERL5_SNAPSHOT)
 DISTNAME=      perl@${PERL5_SNAPSHOT}
 PKGNAME=       perl-${PERL5_VERS}beta${PERL5_SNAPSHOT}
-SNAPSHOT_SITES=        http://www.iki.fi/jhi/
+MASTER_SITES=  http://www.iki.fi/jhi/
 EXTRACT_SUFX=  .tbz
 WRKSRC=                ${WRKDIR}/perl
 .  else # !empty(PERL5_RC_VERS)
 DISTNAME=      perl-${PERL5_VERS}-RC${PERL5_RC_VERS}
 PKGNAME=       perl-${PERL5_VERS}rc${PERL5_RC_VERS}
-SNAPSHOT_SITES=        http://www.cpan.org/authors/id/J/JH/JHI/
+MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:S/${MODULE_DIR}/${AUTHOR_DIR}/}
+MODULE_DIR=    modules/by-module
+AUTHOR_DIR=    authors/id/J/JH/JHI
 .  endif
 .endif
 
-PERL5_VERS=    5.8.5
-CATEGORIES=    lang devel perl5
-MASTER_SITES=  ${SNAPSHOT_SITES} \
-               ${MASTER_SITE_PERL_CPAN:S,/modules/by-module/$,/src/,}
-EXTRACT_SUFX=  .tar.bz2
-
 MAINTAINER=    jlam%NetBSD.org@localhost
 HOMEPAGE=      http://www.perl.com/
 COMMENT=       Practical Extraction and Report Language
@@ -137,7 +137,16 @@
 
 .include "../../mk/dlopen.buildlink3.mk"
 
+CHECK_BUILTIN.pthread:=        yes
+.include "../../mk/pthread.builtin.mk"
+CHECK_BUILTIN.pthread:=        no
+
+# By default, build with threads only if the threads are native.
+.if !empty(USE_BUILTIN.pthread:M[yY][eE][sS])
+PERL5_USE_THREADS?=    yes
+.else
 PERL5_USE_THREADS?=    ${DLOPEN_REQUIRE_PTHREADS}
+.endif
 
 ### [Sat Dec 18 17:29:44 EST 2004 : jlam]
 ### Native threading on VAX isn't ready for primetime in NetBSD>=2.0.
diff -r f8d584b4c63a -r c0653295ae99 lang/perl58/distinfo
--- a/lang/perl58/distinfo      Wed Dec 29 19:39:20 2004 +0000
+++ b/lang/perl58/distinfo      Wed Dec 29 19:41:25 2004 +0000
@@ -1,12 +1,12 @@
-$NetBSD: distinfo,v 1.23 2004/12/11 16:19:29 jlam Exp $
+$NetBSD: distinfo,v 1.24 2004/12/29 19:41:25 jlam Exp $
 
-SHA1 (perl-5.8.5.tar.bz2) = 6fec546bd96070c3c14b5b5fd2cd9af3185905fe
-Size (perl-5.8.5.tar.bz2) = 9464689 bytes
+SHA1 (perl-5.8.6.tar.bz2) = 5267c5b4900a995a10e4fc56fe10a6852004c29b
+Size (perl-5.8.6.tar.bz2) = 9693085 bytes
 SHA1 (patch-aa) = a441cba11b12a4285284e98b6e5918efbd8bafef
 SHA1 (patch-ae) = fa3bbb1561192ce9214a7a7c756ccb2595a52c80
-SHA1 (patch-ah) = b180ba8d91d2ac5e685b7d23a265245605e7eb74
+SHA1 (patch-ah) = cb103c14090b2d61720ee9b555b32085c8eeb810
 SHA1 (patch-ba) = 74a01f3a86f263720b9f07d1fdbaadbaecafb012
-SHA1 (patch-ca) = d234dd0c90a4417b87b3c1708ba9e86dc566990c
+SHA1 (patch-ca) = 094b6af2a444b9d1a258faa28a5c4b16913e6de8
 SHA1 (patch-cb) = 2221fb87bddd29406d925d1cb5351eb4f3087f76
 SHA1 (patch-cc) = 721459e0123c3306c44cca20e37680ec7026dd09
 SHA1 (patch-cd) = d9420f57f036567abac821a8144768a2a7057b47
@@ -14,5 +14,5 @@
 SHA1 (patch-cf) = 23cf46c8d683b688878433ec9b33f3c65528cd28
 SHA1 (patch-cg) = e1b56aaa40934f78298d1fd9303fbae33c472d8e
 SHA1 (patch-ch) = 6cfd77bba102a4bca82576f061ba60c1610c4d07
-SHA1 (patch-ci) = 3f3334a93e34a9f8ea12a52b06e010c58ebd6035
+SHA1 (patch-ci) = 89bc6e67b18ca903cb3791fd598fd579bc48298b
 SHA1 (patch-zc) = eb81edd1144ec46285898afc641c03a3aad54977
diff -r f8d584b4c63a -r c0653295ae99 lang/perl58/patches/patch-ah
--- a/lang/perl58/patches/patch-ah      Wed Dec 29 19:39:20 2004 +0000
+++ b/lang/perl58/patches/patch-ah      Wed Dec 29 19:41:25 2004 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-ah,v 1.7 2004/11/07 16:20:11 wiz Exp $
+$NetBSD: patch-ah,v 1.8 2004/12/29 19:41:25 jlam Exp $
 
---- perl.c.orig        2004-06-23 12:35:46.000000000 +0200
+--- perl.c.orig        2004-11-23 10:16:56.000000000 -0500
 +++ perl.c
-@@ -4280,12 +4280,33 @@ S_init_perllib(pTHX)
+@@ -4314,12 +4314,33 @@ S_init_perllib(pTHX)
      }
  
  /* Use the ~-expanded versions of APPLLIB (undocumented),
@@ -37,7 +37,7 @@
  #ifdef ARCHLIB_EXP
      incpush(ARCHLIB_EXP, FALSE, FALSE, TRUE);
  #endif
-@@ -4319,27 +4340,6 @@ S_init_perllib(pTHX)
+@@ -4353,27 +4374,6 @@ S_init_perllib(pTHX)
      incpush(PRIVLIB_EXP, FALSE, FALSE, TRUE);
  #endif
  
diff -r f8d584b4c63a -r c0653295ae99 lang/perl58/patches/patch-ca
--- a/lang/perl58/patches/patch-ca      Wed Dec 29 19:39:20 2004 +0000
+++ b/lang/perl58/patches/patch-ca      Wed Dec 29 19:41:25 2004 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-ca,v 1.5 2004/11/23 17:32:36 jlam Exp $
+$NetBSD: patch-ca,v 1.6 2004/12/29 19:41:25 jlam Exp $
 
---- Configure.orig     2004-05-12 07:00:41.000000000 -0400
+--- Configure.orig     2004-09-10 02:25:52.000000000 -0400
 +++ Configure
-@@ -7850,7 +7850,7 @@ if "$useshrplib"; then
+@@ -7852,7 +7852,7 @@ if "$useshrplib"; then
        solaris)
                xxx="-R $shrpdir"
                ;;
@@ -11,7 +11,7 @@
                xxx="-Wl,-R$shrpdir"
                ;;
        bsdos|linux|irix*|dec_osf)
-@@ -8971,6 +8971,13 @@ EOCP
+@@ -8973,6 +8973,13 @@ EOCP
        ;;
  esac
  
@@ -25,7 +25,7 @@
  case "$vendorprefix" in
  '')   d_vendorbin="$undef"
        vendorbin=''
-@@ -17288,7 +17295,15 @@ RCAT(Rei,ser)
+@@ -17290,7 +17297,15 @@ RCAT(Rei,ser)
  ACAT(Cir,cus)
  EOCP
  $cppstdin $cppflags $cppminus <cpp_stuff.c >cpp_stuff.out 2>&1
diff -r f8d584b4c63a -r c0653295ae99 lang/perl58/patches/patch-ci
--- a/lang/perl58/patches/patch-ci      Wed Dec 29 19:39:20 2004 +0000
+++ b/lang/perl58/patches/patch-ci      Wed Dec 29 19:41:25 2004 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-ci,v 1.1 2004/12/11 16:19:29 jlam Exp $
+$NetBSD: patch-ci,v 1.2 2004/12/29 19:41:25 jlam Exp $
 
---- pp_sys.c.orig      2004-03-22 14:54:11.000000000 -0500
-+++ pp_sys.c   2004-12-11 10:47:42.000000000 -0500
-@@ -4438,9 +4438,11 @@
+--- pp_sys.c.orig      2004-10-19 13:07:23.000000000 -0400
++++ pp_sys.c
+@@ -4450,9 +4450,11 @@ PP(pp_gmtime)
        when = (Time_t)SvIVx(POPs);
  #endif
  



Home | Main Index | Thread Index | Old Index