pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc Update lang/perl5 to 5.8.8. Changes from version 5.8....
details: https://anonhg.NetBSD.org/pkgsrc/rev/7f16d2cf6a2d
branches: trunk
changeset: 511098:7f16d2cf6a2d
user: jlam <jlam%pkgsrc.org@localhost>
date: Sun Apr 09 06:34:32 2006 +0000
description:
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.
diffstat:
doc/CHANGES | 3 +-
lang/perl5/DESCR | 20 +++----
lang/perl5/Makefile | 67 ++++++++++----------------
lang/perl5/distinfo | 36 +++++--------
lang/perl5/files/perllink.1 | 4 +-
lang/perl5/files/perllink.in | 16 ++++-
lang/perl5/hacks.mk | 18 +------
lang/perl5/packlist.mk | 4 +-
lang/perl5/patches/patch-aa | 110 ++++++++++++------------------------------
lang/perl5/patches/patch-ah | 8 +-
lang/perl5/patches/patch-am | 14 ++--
lang/perl5/patches/patch-an | 43 +++++++++++++++-
lang/perl5/patches/patch-ap | 16 ++++++
lang/perl5/patches/patch-bd | 28 ----------
lang/perl5/patches/patch-ca | 40 ++++++++++++---
lang/perl5/patches/patch-cb | 6 +-
lang/perl5/patches/patch-ch | 6 +-
lang/perl5/patches/patch-ci | 15 +++--
lang/perl5/patches/patch-cl | 21 --------
lang/perl5/patches/patch-zc | 14 ++---
20 files changed, 218 insertions(+), 271 deletions(-)
diffs (truncated from 857 to 300 lines):
diff -r a0d0f80a548b -r 7f16d2cf6a2d doc/CHANGES
--- a/doc/CHANGES Sun Apr 09 01:14:52 2006 +0000
+++ b/doc/CHANGES Sun Apr 09 06:34:32 2006 +0000
@@ -1,4 +1,4 @@
-$NetBSD: CHANGES,v 1.13514 2006/04/09 01:01:47 schmonz Exp $
+$NetBSD: CHANGES,v 1.13515 2006/04/09 06:34:34 jlam Exp $
Changes to the packages collection and infrastructure in 2006:
@@ -1982,3 +1982,4 @@
Updated finance/gnucash-devel to 1.9.4 [wiz 2006-04-08]
Updated devel/g-wrap to 1.9.6nb2 [wiz 2006-04-08]
Updated textproc/p5-XML-RSS-Parser to 4.0 [schmonz 2006-04-09]
+ Updated lang/perl5 to 5.8.8 [jlam 2006-04-09]
diff -r a0d0f80a548b -r 7f16d2cf6a2d lang/perl5/DESCR
--- a/lang/perl5/DESCR Sun Apr 09 01:14:52 2006 +0000
+++ b/lang/perl5/DESCR Sun Apr 09 06:34:32 2006 +0000
@@ -1,11 +1,9 @@
-Perl is a high-level programming language with an eclectic heritage
-written by Larry Wall and a cast of thousands. It derives from the
-ubiquitous C programming language and to a lesser extent from sed, awk,
-the Unix shell, and at least a dozen other tools and languages. Perl's
-process, file, and text manipulation facilities make it particularly
-well-suited for tasks involving quick prototyping, system utilities,
-software tools, system management tasks, database access, graphical
-programming, networking, and world wide web programming. These strengths
-make it especially popular with system administrators and CGI script
-authors, but mathematicians, geneticists, journalists, and even managers
-also use Perl. Maybe you should, too.
+Perl is a general-purpose programming language originally developed
+for text manipulation and now used for a wide range of tasks including
+system administration, web development, network programming, GUI
+development, and more. The language is intended to be practical (easy
+to use, efficient, complete) rather than beautiful (tiny, elegant,
+minimal). Its major features are that it's easy to use, supports both
+procedural and object-oriented (OO) programming, has powerful built-in
+support for text processing, and has one of the world's most impressive
+collections of third-party modules.
diff -r a0d0f80a548b -r 7f16d2cf6a2d lang/perl5/Makefile
--- a/lang/perl5/Makefile Sun Apr 09 01:14:52 2006 +0000
+++ b/lang/perl5/Makefile Sun Apr 09 06:34:32 2006 +0000
@@ -1,26 +1,11 @@
-# $NetBSD: Makefile,v 1.116 2006/01/19 02:09:09 joerg Exp $
+# $NetBSD: Makefile,v 1.117 2006/04/09 06:34:32 jlam Exp $
-DISTNAME= perl-5.8.7
-PKGREVISION= 8
+DISTNAME= perl-5.8.8
CATEGORIES= lang devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:S,/modules/by-module/$,/src/,}
EXTRACT_SUFX= .tar.bz2
DISTFILES+= ${DISTNAME}${EXTRACT_SUFX}
-# Vendor patch to fix the security vulnerability CVE-2005-3962 regarding
-# an sprintf buffer overflow attack.
-#
-PATCHFILES= sprintf-5.8.7.patch
-PATCH_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/N/NW/NWCLARK/}
-PATCH_DIST_STRIP= -p1
-
-# Update the base Sys-Syslog package to a version which fixes a security
-# vulnerabilty CVE-2005-3912 regarding the proper arguments for syslog().
-#
-SYS_SYSLOG= Sys-Syslog-0.13
-SITES_${SYS_SYSLOG}.tar.gz= ${MASTER_SITE_PERL_CPAN:=Sys/}
-DISTFILES+= ${SYS_SYSLOG}.tar.gz
-
MAINTAINER= jlam%pkgsrc.org@localhost
HOMEPAGE= http://www.perl.org/
COMMENT= Practical Extraction and Report Language
@@ -33,7 +18,8 @@
# Determine the Perl API version from the patchlevel.h file from the
# source distribution.
#
-PERL5_API_VERS_cmd= \
+PERL5_API_VERS= ${PERL5_API_VERS_cmd:sh}
+PERL5_API_VERS_cmd= \
if ${TEST} -f ${WRKSRC}/patchlevel.h; then \
${AWK} '/\#define[ ]*PERL_API_REVISION/ { R = $$3 }\
/\#define[ ]*PERL_API_VERSION/ { r = "."$$3 } \
@@ -43,7 +29,6 @@
else \
${ECHO} "unknown"; \
fi
-PERL5_API_VERS= ${PERL5_API_VERS_cmd:sh}
PERL5_PREFIX= ${PREFIX}
PERL5_VENDORPREFIX= ${PERL5_PREFIX}
@@ -112,17 +97,21 @@
CONFIGURE_ARGS+= -Dsitelib=${PERL5_SITELIB:Q}
CONFIGURE_ARGS+= -Dvendorlib=${PERL5_VENDORLIB:Q}
+# Search for version-specific directories under these directories.
+CONFIGURE_ARGS+= -Dsitelib_stem=${PERL5_SITEBASE:Q}
+CONFIGURE_ARGS+= -Dvendorlib_stem=${PERL5_VENDORBASE:Q}
+
# Avoid manpage conflicts between the standard Perl library, 3rd-party
# modules, and other packages.
#
CONFIGURE_ARGS+= -Dman1ext="1"
-CONFIGURE_ARGS+= -Dman1dir=${PERL5_PERLBASE:Q}/man/man1
-CONFIGURE_ARGS+= -Dsiteman1dir=${PERL5_SITEBASE:Q}/man/man1
-CONFIGURE_ARGS+= -Dvendorman1dir=${PERL5_VENDORBASE:Q}/man/man1
+CONFIGURE_ARGS+= -Dman1dir=${PERL5_PERLBASE:Q}/${PKGMANDIR:Q}/man1
+CONFIGURE_ARGS+= -Dsiteman1dir=${PERL5_SITEBASE:Q}/${PKGMANDIR:Q}/man1
+CONFIGURE_ARGS+= -Dvendorman1dir=${PERL5_VENDORBASE:Q}/${PKGMANDIR:Q}/man1
CONFIGURE_ARGS+= -Dman3ext="3"
-CONFIGURE_ARGS+= -Dman3dir=${PERL5_PERLBASE:Q}/man/man3
-CONFIGURE_ARGS+= -Dsiteman3dir=${PERL5_SITEBASE:Q}/man/man3
-CONFIGURE_ARGS+= -Dvendorman3dir=${PERL5_VENDORBASE:Q}/man/man3
+CONFIGURE_ARGS+= -Dman3dir=${PERL5_PERLBASE:Q}/${PKGMANDIR:Q}/man3
+CONFIGURE_ARGS+= -Dsiteman3dir=${PERL5_SITEBASE:Q}/${PKGMANDIR:Q}/man3
+CONFIGURE_ARGS+= -Dvendorman3dir=${PERL5_VENDORBASE:Q}/${PKGMANDIR:Q}/man3
.if ${OPSYS} == "Darwin"
#
@@ -251,18 +240,6 @@
lib/ExtUtils/Install.pm
SUBST_SED.dirmode= -e "s/755/${PKGDIRMODE}/g;/umask(/d"
-SUBST_CLASSES+= paths
-SUBST_FILES.paths= ${WRKDIR}/perllink
-SUBST_SED.paths+= -e 's,@PERL5@,${PERL5},g'
-SUBST_SED.paths+= -e 's,@SH@,${SH},g'
-SUBST_STAGE.paths= post-patch
-
-# Replace the base Sys-Syslog module with the fixed version.
-post-extract:
- ${RM} -fr ${WRKSRC}/ext/Sys/Syslog
- ${CP} -r ${WRKDIR}/${SYS_SYSLOG} ${WRKSRC}/ext/Sys/Syslog
- ${CP} ${FILESDIR}/perllink.in ${WRKDIR}/perllink
-
# It's tough to guess which hints file will be used, so add our modifications
# to all of them:
#
@@ -319,7 +296,13 @@
done
.endif
-INSTALLATION_DIRS= bin man/man1
+post-build:
+ ${SED} -e "s,@PERL5@,"${PERL5:Q}",g" \
+ -e "s,@SH@,"${SH:Q}",g" \
+ -e "s,@PKGMANDIR@,"${PKGMANDIR:Q}",g" \
+ ${FILESDIR}/perllink.in > ${WRKDIR}/perllink.sh
+
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
PERL5_PACKLIST_DIR_cmd= eval `${PERL5} -V:installarchlib 2>/dev/null`; \
echo $$installarchlib
PERL5_PACKLIST_DIR= ${PERL5_PACKLIST_DIR_cmd:sh}
@@ -340,11 +323,13 @@
${RMDIR} -p $$installvendorarch 2>/dev/null || ${TRUE}; \
eval `${PERL5} -V:scriptdir 2>/dev/null`; \
eval `${PERL5} -V:man1dir 2>/dev/null`; \
- ${INSTALL_SCRIPT} ${WRKDIR}/perllink $$scriptdir/perllink; \
+ ${INSTALL_SCRIPT} ${WRKDIR}/perllink.sh $$scriptdir/perllink; \
${INSTALL_MAN} ${FILESDIR}/perllink.1 $$man1dir/perllink.1; \
- ${RM} -f ${PREFIX}/bin/perllink ${PREFIX}/man/man1/perllink.1; \
+ ${RM} -f ${PREFIX}/bin/perllink \
+ ${PREFIX}/${PKGMANDIR}/man1/perllink.1; \
${LN} -s $$scriptdir/perllink ${PREFIX}/bin/perllink; \
- ${LN} -s $$man1dir/perllink.1 ${PREFIX}/man/man1/perllink.1; \
+ ${LN} -s $$man1dir/perllink.1 \
+ ${PREFIX}/${PKGMANDIR}/man1/perllink.1; \
{ ${CAT} ${PKGDIR}/PLIST; \
${ECHO} "$$scriptdir/perllink"; \
${ECHO} "$$man1dir/perllink.1"; \
diff -r a0d0f80a548b -r 7f16d2cf6a2d lang/perl5/distinfo
--- a/lang/perl5/distinfo Sun Apr 09 01:14:52 2006 +0000
+++ b/lang/perl5/distinfo Sun Apr 09 06:34:32 2006 +0000
@@ -1,28 +1,20 @@
-$NetBSD: distinfo,v 1.32 2006/01/13 20:04:48 jlam Exp $
+$NetBSD: distinfo,v 1.33 2006/04/09 06:34:32 jlam Exp $
-SHA1 (perl-5.8.7.tar.bz2) = c9477c6fe76b200033694bdc555a0276523d4228
-RMD160 (perl-5.8.7.tar.bz2) = 110c286d73fd89e25da8ea394e763f209a76d283
-Size (perl-5.8.7.tar.bz2) = 9839086 bytes
-SHA1 (Sys-Syslog-0.13.tar.gz) = 172a5aed0a3fe30b1b3e1b4def504248791862b3
-RMD160 (Sys-Syslog-0.13.tar.gz) = 3105071ac2652f651d6ced467564aaadaab77d84
-Size (Sys-Syslog-0.13.tar.gz) = 16894 bytes
-SHA1 (sprintf-5.8.7.patch) = 3327901033010a595d97a28fef6d1a144951f342
-RMD160 (sprintf-5.8.7.patch) = 25c81b3441491996efbf4b036c37f8d537dd9131
-Size (sprintf-5.8.7.patch) = 9332 bytes
-SHA1 (patch-aa) = 965df39b13e67783e851838cf51b34bb248642e8
+SHA1 (perl-5.8.8.tar.bz2) = 4aab490040727ca4419098720eca2ba4367df539
+RMD160 (perl-5.8.8.tar.bz2) = e78f26d9b96e6db35f946ad4ff55e3a69385c71b
+Size (perl-5.8.8.tar.bz2) = 10123359 bytes
+SHA1 (patch-aa) = 9b6844635086206dc7740103747a2b54bf987941
SHA1 (patch-ae) = 044ac094cd475a16483552aa6f1bde03bd11f592
-SHA1 (patch-ah) = 7847562d35cd4834a45139b6a8cfe766aa45fa0a
-SHA1 (patch-am) = f82f8fd7fa372f1d47b057b6051613d66dc4bc23
-SHA1 (patch-an) = 25c0991dba16ebe11422a97f544cb100e8da56b8
+SHA1 (patch-ah) = 39b1a46a0ee5e73b4707a3d947fe17016df9630a
+SHA1 (patch-am) = cf1687063d0c0542e811545aaaad291bad12d75e
+SHA1 (patch-an) = 987763c3098bf4356993dd6d8741962a1ff8190d
+SHA1 (patch-ap) = 178d6909a8aa6544b849c2b63530fcf1893b77ea
SHA1 (patch-ba) = 096835f71a69f29e50bdad47944afa838dba5aec
-SHA1 (patch-bd) = 9f96ba1912f2a8db93db31f7a63c0b49a045318d
-SHA1 (patch-ca) = 47c05240424e400910a99b86aada6e7f46061459
-SHA1 (patch-cb) = 1a67bf37338de9b8e24e90ddad90205ec4fbb6c8
+SHA1 (patch-ca) = 5ed14e043a6d5f8dadf5711b59418f01aa5f6f21
+SHA1 (patch-cb) = 65e523885a404b79349a5c9601fe52965772d820
SHA1 (patch-ce) = 6b1efab32c6bc28e0faf7522322e6d805eb21730
-SHA1 (patch-ch) = 028439dde97f1d5a94fbd571a59fd0ab2c5b3b07
-SHA1 (patch-ci) = 908a8bb35c088b994bde49707ab1536b4ab3d7a4
+SHA1 (patch-ch) = a0831869e23d4a66588e6e27eecedb08527c9498
+SHA1 (patch-ci) = fe943f07044efa457d163eb86974ea10bb356226
SHA1 (patch-cj) = 3f40f1b166a054d55224c3e79d74516ca608b696
SHA1 (patch-ck) = 28207b8186c9ad194a1edc696159915bc16d1097
-SHA1 (patch-cl) = 8553c83e721f5ae43a5f6e0e4d2b70510b69e77c
-SHA1 (patch-cm) = a995fbf9d6c5b2c4d42c975bc0ea2ae7a8a292b8
-SHA1 (patch-zc) = eb81edd1144ec46285898afc641c03a3aad54977
+SHA1 (patch-zc) = 0c61b6028813e0f80bfe0760a1e74e3037d37cdd
diff -r a0d0f80a548b -r 7f16d2cf6a2d lang/perl5/files/perllink.1
--- a/lang/perl5/files/perllink.1 Sun Apr 09 01:14:52 2006 +0000
+++ b/lang/perl5/files/perllink.1 Sun Apr 09 06:34:32 2006 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: perllink.1,v 1.1 2005/08/06 06:18:45 jlam Exp $
+.\" $NetBSD: perllink.1,v 1.2 2006/04/09 06:34:32 jlam Exp $
.\"
.\" Copyright (c) 2005 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -123,4 +123,4 @@
.Xr symlink 2
.Sh AUTHORS
.An Johnny C. Lam
-.Aq jlam%NetBSD.org@localhost
+.Aq jlam%pkgsrc.org@localhost
diff -r a0d0f80a548b -r 7f16d2cf6a2d lang/perl5/files/perllink.in
--- a/lang/perl5/files/perllink.in Sun Apr 09 01:14:52 2006 +0000
+++ b/lang/perl5/files/perllink.in Sun Apr 09 06:34:32 2006 +0000
@@ -1,5 +1,5 @@
#!@SH@
-# $NetBSD: perllink.in,v 1.1 2005/08/06 06:18:45 jlam Exp $
+# $NetBSD: perllink.in,v 1.2 2006/04/09 06:34:32 jlam Exp $
#
# Copyright (c) 2005 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -38,8 +38,12 @@
#
# This script parses the packlists listed on the command line and either
-# adds or deletes the symlinks in <prefix>/bin and <prefix>/man/man1 that
-# match the files in the packlists.
+# adds or deletes the symlinks in
+#
+# <prefix>/bin
+# <prefix>/@PKGMANDIR@/man1
+#
+# that match the files in the packlists.
#
perlprog="@PERL5@"
@@ -89,6 +93,8 @@
test -n "$opt_prefix" || opt_prefix="$prefix"
+pkgmandir="@PKGMANDIR@"
+
# Re-point variables so that if they are under $prefix, then they are
# recomputed to point under $opt_prefix.
#
@@ -98,7 +104,7 @@
esac
case "$man1dir" in
$prefix/*) man1dir="$opt_prefix/${man1dir#$prefix/}" ;;
-"") man1dir="$opt_prefix/man/man1" ;;
+"") man1dir="$opt_prefix/$pkgmandir/man1" ;;
esac
case "$siteprefix" in
$prefix/*) siteprefix="$opt_prefix/${siteprefix#$prefix/}" ;;
@@ -126,7 +132,7 @@
esac
destbindir="$opt_prefix/bin"
-destman1dir="$opt_prefix/man/man1"
+destman1dir="$opt_prefix/$pkgmandir/man1"
echo __dummy__ | perl -pe '0' $opt_packlists |
{ while read file junk; do
diff -r a0d0f80a548b -r 7f16d2cf6a2d lang/perl5/hacks.mk
--- a/lang/perl5/hacks.mk Sun Apr 09 01:14:52 2006 +0000
+++ b/lang/perl5/hacks.mk Sun Apr 09 06:34:32 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: hacks.mk,v 1.2 2005/12/05 20:50:26 rillig Exp $
+# $NetBSD: hacks.mk,v 1.3 2006/04/09 06:34:32 jlam Exp $
.include "../../mk/compiler.mk"
@@ -35,22 +35,6 @@
BUILDLINK_TRANSFORM+= rm:-O[0-9]*
.endif
-### [Fri Dec 10 18:09:51 EST 2004 : jlam]
-### On VAX, feeding a base "NaN" to nawk causes nawk to core dump since
-### it tries to interpret it as a number, which causes an FP exception.
-### Modify files that pass through nawk to not have bare "NaN"s.
-###
-.if !empty(MACHINE_PLATFORM:M*-*-vax)
-PKG_HACKS+= NaN-vax-exception
Home |
Main Index |
Thread Index |
Old Index