head 1.14; access; symbols pkgsrc-2013Q2:1.14.0.12 pkgsrc-2013Q2-base:1.14 pkgsrc-2012Q4:1.14.0.10 pkgsrc-2012Q4-base:1.14 pkgsrc-2011Q4:1.14.0.8 pkgsrc-2011Q4-base:1.14 pkgsrc-2011Q2:1.14.0.6 pkgsrc-2011Q2-base:1.14 pkgsrc-2009Q4:1.14.0.4 pkgsrc-2009Q4-base:1.14 pkgsrc-2008Q4:1.14.0.2 pkgsrc-2008Q4-base:1.14 pkgsrc-2008Q3:1.13.0.8 pkgsrc-2008Q3-base:1.13 cube-native-xorg:1.13.0.6 cube-native-xorg-base:1.13 pkgsrc-2008Q2:1.13.0.4 pkgsrc-2008Q2-base:1.13 cwrapper:1.13.0.2 pkgsrc-2008Q1:1.12.0.22 pkgsrc-2008Q1-base:1.12 pkgsrc-2007Q4:1.12.0.20 pkgsrc-2007Q4-base:1.12 pkgsrc-2007Q3:1.12.0.18 pkgsrc-2007Q3-base:1.12 pkgsrc-2007Q2:1.12.0.16 pkgsrc-2007Q2-base:1.12 pkgsrc-2007Q1:1.12.0.14 pkgsrc-2007Q1-base:1.12 pkgsrc-2006Q4:1.12.0.12 pkgsrc-2006Q4-base:1.12 pkgsrc-2006Q3:1.12.0.10 pkgsrc-2006Q3-base:1.12 pkgsrc-2006Q2:1.12.0.8 pkgsrc-2006Q2-base:1.12 pkgsrc-2006Q1:1.12.0.6 pkgsrc-2006Q1-base:1.12 pkgsrc-2005Q4:1.12.0.4 pkgsrc-2005Q4-base:1.12 pkgsrc-2005Q3:1.12.0.2 pkgsrc-2005Q3-base:1.12 pkgsrc-2005Q2:1.11.0.22 pkgsrc-2005Q2-base:1.11 pkgsrc-2005Q1:1.11.0.20 pkgsrc-2005Q1-base:1.11 pkgsrc-2004Q4:1.11.0.18 pkgsrc-2004Q4-base:1.11 pkgsrc-2004Q3:1.11.0.16 pkgsrc-2004Q3-base:1.11 pkgsrc-2004Q2:1.11.0.14 pkgsrc-2004Q2-base:1.11 pkgsrc-2004Q1:1.11.0.12 pkgsrc-2004Q1-base:1.11 pkgsrc-2003Q4:1.11.0.10 pkgsrc-2003Q4-base:1.11 netbsd-1-6-1:1.11.0.6 netbsd-1-6-1-base:1.11 netbsd-1-6:1.11.0.8 netbsd-1-6-RELEASE-base:1.11 pkgviews:1.11.0.4 pkgviews-base:1.11 buildlink2:1.11.0.2 buildlink2-base:1.11 netbsd-1-5-PATCH003:1.11 netbsd-1-4-PATCH002:1.8 comdex-fall-1999:1.6 netbsd-1-4-PATCH001:1.6 netbsd-1-4-RELEASE:1.6 netbsd-1-3-PATCH003:1.2 netbsd-1-3-PATCH002:1.1; locks; strict; comment @# @; 1.14 date 2008.10.10.21.58.43; author he; state dead; branches; next 1.13; 1.13 date 2008.06.01.22.04.07; author he; state Exp; branches; next 1.12; 1.12 date 2005.06.24.06.43.46; author jlam; state dead; branches 1.12.22.1; next 1.11; 1.11 date 2001.10.02.06.37.56; author jlam; state Exp; branches; next 1.10; 1.10 date 2000.09.05.09.22.01; author jlam; state dead; branches; next 1.9; 1.9 date 2000.08.30.18.42.24; author jlam; state Exp; branches; next 1.8; 1.8 date 2000.01.18.22.31.47; author tron; state Exp; branches; next 1.7; 1.7 date 2000.01.17.03.07.11; author christos; state dead; branches; next 1.6; 1.6 date 98.12.02.21.14.41; author tv; state Exp; branches; next 1.5; 1.5 date 98.12.02.15.41.02; author tv; state Exp; branches; next 1.4; 1.4 date 98.12.02.02.28.30; author tv; state Exp; branches; next 1.3; 1.3 date 98.12.01.02.47.19; author tv; state Exp; branches; next 1.2; 1.2 date 98.08.07.11.09.24; author agc; state Exp; branches; next 1.1; 1.1 date 98.03.24.13.07.53; author hubertf; state Exp; branches; next ; 1.12.22.1 date 2008.06.02.09.15.44; author tron; state Exp; branches; next ; desc @@ 1.14 log @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. @ text @$NetBSD: patch-af,v 1.13 2008/06/01 22:04:07 he Exp $ Fix for http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-1927 from http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=26;filename=27_fix_regcomp_utf8;att=1;bug=454792 --- embed.h.orig 2006-01-31 16:50:34.000000000 +0100 +++ embed.h @@@@ -1234,6 +1234,7 @@@@ #define regclass S_regclass #define regcurly S_regcurly #define reg_node S_reg_node +#define reg_recode S_reg_recode #define regpiece S_regpiece #define reginsert S_reginsert #define regoptail S_regoptail @@@@ -3277,6 +3278,7 @@@@ #define regclass(a) S_regclass(aTHX_ a) #define regcurly(a) S_regcurly(aTHX_ a) #define reg_node(a,b) S_reg_node(aTHX_ a,b) +#define reg_recode(a,b) S_reg_recode(aTHX_ a,b) #define regpiece(a,b) S_regpiece(aTHX_ a,b) #define reginsert(a,b,c) S_reginsert(aTHX_ a,b,c) #define regoptail(a,b,c) S_regoptail(aTHX_ a,b,c) @ 1.13 log @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. @ text @d1 1 a1 1 $NetBSD$ @ 1.12 log @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. @ text @d1 1 a1 1 $NetBSD: patch-af,v 1.11 2001/10/02 06:37:56 jlam Exp $ d3 23 a25 33 --- lib/ExtUtils/Liblist.pm.orig Thu Feb 22 21:57:55 2001 +++ lib/ExtUtils/Liblist.pm @@@@ -68,20 +68,28 @@@@ foreach $thislib (split ' ', $potential_libs){ # Handle possible linker path arguments. - if ($thislib =~ s/^(-[LR])//){ # save path flag type + if ($thislib =~ s/^(-[LR]|-Wl,-R)//){ # save path flag type my($ptype) = $1; unless (-d $thislib){ warn "$ptype$thislib ignored, directory does not exist\n" if $verbose; next; } + my($rtype) = $ptype; + if (($ptype eq '-R') or ($ptype eq '-Wl,-R')) { + if ($Config{'lddlflags'} =~ /-Wl,-R/) { + $rtype = '-Wl,-R'; + } elsif ($Config{'lddlflags'} =~ /-R/) { + $rtype = '-R'; + } + } unless ($self->file_name_is_absolute($thislib)) { warn "Warning: $ptype$thislib changed to $ptype$pwd/$thislib\n"; $thislib = $self->catdir($pwd,$thislib); } push(@@searchpath, $thislib); push(@@extralibs, "$ptype$thislib"); - push(@@ldloadlibs, "$ptype$thislib"); + push(@@ldloadlibs, "$rtype$thislib"); next; } @ 1.12.22.1 log @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. @ text @d1 1 a1 1 $NetBSD$ d3 33 a35 23 Fix for http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-1927 from http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=26;filename=27_fix_regcomp_utf8;att=1;bug=454792 --- embed.h.orig 2006-01-31 16:50:34.000000000 +0100 +++ embed.h @@@@ -1234,6 +1234,7 @@@@ #define regclass S_regclass #define regcurly S_regcurly #define reg_node S_reg_node +#define reg_recode S_reg_recode #define regpiece S_regpiece #define reginsert S_reginsert #define regoptail S_regoptail @@@@ -3277,6 +3278,7 @@@@ #define regclass(a) S_regclass(aTHX_ a) #define regcurly(a) S_regcurly(aTHX_ a) #define reg_node(a,b) S_reg_node(aTHX_ a,b) +#define reg_recode(a,b) S_reg_recode(aTHX_ a,b) #define regpiece(a,b) S_regpiece(aTHX_ a,b) #define reginsert(a,b,c) S_reginsert(aTHX_ a,b,c) #define regoptail(a,b,c) S_regoptail(aTHX_ a,b,c) @ 1.11 log @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. @ text @d1 1 a1 1 $NetBSD$ @ 1.10 log @Remove unneeded patches (moved to lang/perl5-base/patches). @ text @d1 1 a1 1 $NetBSD: patch-af,v 1.9 2000/08/30 18:42:24 jlam Exp $ d3 4 a6 5 --- utils/Makefile.orig Mon Sep 6 15:46:15 1999 +++ utils/Makefile @@@@ -5,9 +5,9 @@@@ # Files to be built with variable substitution after miniperl is # available. Dependencies handled manually below (for now). d8 27 a34 17 -pl = c2ph.PL h2ph.PL h2xs.PL perlbug.PL perldoc.PL pl2pm.PL splain.PL perlcc.PL dprofpp.PL -plextract = c2ph h2ph h2xs perlbug perldoc pl2pm splain perlcc dprofpp -plextractexe = c2ph.exe h2ph.exe h2xs.exe perlbug.exe perldoc.exe pl2pm.exe splain.exe perlcc.exe dprofpp.exe +pl = c2ph.PL h2ph.PL h2xs.PL perlbug.PL perldoc.PL pl2pm.PL splain.PL perlcc.PL +plextract = c2ph h2ph h2xs perlbug perldoc pl2pm splain perlcc +plextractexe = c2ph.exe h2ph.exe h2xs.exe perlbug.exe perldoc.exe pl2pm.exe splain.exe perlcc.exe all: $(plextract) @@@@ -32,8 +32,6 @@@@ splain: splain.PL ../config.sh ../lib/diagnostics.pm perlcc: perlcc.PL ../config.sh - -dprofpp: dprofpp.PL ../config.sh clean: @ 1.9 log @Update perl to 5.6.0nb2 from perl5-current. Changes from version 5.00404 (from commit log of perl5-current/Makefile): * Interpreter cloning, threads, and concurrency * Lexically scoped warning categories * Unicode and UTF-8 support * Support for interpolating named characters * "our" declarations * Support for strings represented as a vector of ordinals * Improved Perl version numbering system * New syntax for declaring subroutine attributes * File and directory handles can be autovivified * open() with more than two arguments * 64-bit support * Large file support * Long doubles * "more bits" * Enhanced support for sort() subroutines * C allowed * File globbing implemented internally * POSIX character class syntax [: :] supported * Improved C operator * pack() format 'Z' supported * pack() format modifier '!' supported * pack() and unpack() support counted strings * Comments in pack() templates * Weak references * Binary numbers supported * Lvalue subroutines * Some arrows may be omitted in calls through references * Boolean assignment operators are legal lvalues * exists() is supported on subroutine names * exists() and delete() are supported on array elements * Pseudo-hashes work better * Automatic flushing of output buffers * Better diagnostics on meaningless filehandle operations * Where possible, buffered data discarded from duped input filehandle * eof() has the same old magic as <> * binmode() can be used to set :crlf and :raw modes * C<-T> filetest recognizes UTF-8 encoded files as "text" * system(), backticks and pipe open now reflect exec() failure * Improved diagnostics * Diagnostics follow STDERR * syswrite() ease-of-use * Better syntax checks on parenthesized unary operators * Bit operators support full native integer width * Improved security features * C and C may be overridden * $^X variables may now have names longer than one character * New variable $^C reflects C<-c> switch * New variable $^V contains Perl version as a string * Optional Y2K warnings * Modules * Pragmata * dprofpp * find2perl * h2xs * perlcc * perldoc * The Perl Debugger * Simple sort() using { $a <=> $b } and the like are optimized * Optimized assignments to lexical variables * Faster subroutine calls * -Dusethreads means something different * New Configure flags * Threadedness and 64-bitness now more daring * Long Doubles ... See 'perldoc perldelta' for a full list. @ text @d1 1 a1 1 $NetBSD: patch-af,v 1.1 2000/08/27 20:55:59 jlam Exp $ @ 1.8 log @Downgrade "perl" package to working version 5.00404. @ text @d1 1 a1 1 $NetBSD$ d3 23 a25 75 --- hints/netbsd.sh.orig Thu May 8 11:52:59 1997 +++ hints/netbsd.sh Wed Dec 2 14:21:34 1998 @@@@ -1,12 +1,11 @@@@ # hints/netbsd.sh # -# talk to mrg@@eterna.com.au if you want to change this file. +# talk to packages@@netbsd.org if you want to change this file. # # netbsd keeps dynamic loading dl*() functions in /usr/lib/crt0.o, # so Configure doesn't find them (unless you abandon the nm scan). # this should be *just* 0.9 below as netbsd 0.9a was the first to -# introduce shared libraries. however, they don't work/build on -# pmax, powerpc and alpha ports correctly, yet. +# introduce shared libraries. case "$archname" in '') @@@@ -19,26 +18,26 @@@@ usedl="$undef" ;; *) - case `uname -m` in - alpha|powerpc|pmax) + if [ -f /usr/libexec/ld.elf_so ]; then + d_dlopen=$define + d_dlerror=$define + ccdlflags="-Wl,-E -Wl,-R${PREFIX}/lib $ccdlflags" + cccdlflags="-DPIC -fPIC $cccdlflags" + lddlflags="--whole-archive -shared $lddlflags" + elif [ "`uname -m`" = "pmax" ]; then +# NetBSD 1.3 and 1.3.1 on pmax shipped an `old' ld.so, which will not work. d_dlopen=$undef - ;; -# this doesn't work (yet). -# alpha) -# d_dlopen=$define -# d_dlerror=$define -# cccdlflags="-DPIC -fPIC $cccdlflags" -# lddlflags="-shared $lddlflags" -# ;; - *) + elif [ -f /usr/libexec/ld.so ]; then d_dlopen=$define d_dlerror=$define + ccdlflags="-Wl,-R${PREFIX}/lib $ccdlflags" # we use -fPIC here because -fpic is *NOT* enough for some of the # extensions like Tk on some netbsd platforms (the sparc is one) cccdlflags="-DPIC -fPIC $cccdlflags" lddlflags="-Bforcearchive -Bshareable $lddlflags" - ;; - esac + else + d_dlopen=$undef + fi ;; esac @@@@ -47,15 +46,18 @@@@ # way to make perl call setuid() or setgid(). if they aren't, then # ($<, $>) = ($u, $u); will work (same for $(/$)). this is because # you can not change the real userid of a process under 4.4BSD. -# netbsd fixed this in 1.2A. +# netbsd fixed this in 1.3.2. case "$osvers" in -0.9*|1.0*|1.1*|1.2_*|1.2|1.2.*) +0.9*|1.[012]*|1.3|1.3.1) d_setregid="$undef" d_setreuid="$undef" d_setrgid="$undef" d_setruid="$undef" ;; esac + +# there's no problem with vfork. +d_vfork="$define" a26 2 # Avoid telldir prototype conflict in pp_sys.c (NetBSD uses const DIR *) # Configure should test for this. Volunteers? @ 1.7 log @Upgrade perl to 5.005_03 @ text @d1 1 a1 1 $NetBSD: patch-af,v 1.6 1998/12/02 21:14:41 tv Exp $ @ 1.6 log @Move the rpath setting from hints/netbsd.sh to Configure. In hints, it adds an extra rpath of -Wl-R/CORE. @ text @d1 1 a1 1 $NetBSD$ @ 1.5 log @d_vfork should be "$define", even if it produces a bogus "WHOA THERE" warning; setting it to "true" doesn't work. @ text @d4 1 a4 1 +++ hints/netbsd.sh Wed Dec 2 10:38:28 1998 d60 1 a60 1 @@@@ -47,13 +46,26 @@@@ d73 2 a74 2 + ;; +esac a77 10 + +# in case the user installs a shared libperl, with or without the static lib, +# give us a "rpath" for third party binary builds: +case "$osvers" in +0*|1.[01]*) + ;; +*) + ccdlflags="-Wl,-R$archlibexp/CORE $ccdlflags" ;; esac d79 2 @ 1.4 log @Revert to building libperl statically, and clean up. @ text @d4 1 a4 1 +++ hints/netbsd.sh Tue Dec 1 20:41:28 1998 d77 1 a77 1 +d_vfork=true @ 1.3 log @Add proper shared object support for ELF(!), and make libperl shared on non-NOPIC systems. @ text @d4 17 a20 2 +++ hints/netbsd.sh Mon Nov 30 21:06:57 1998 @@@@ -19,26 +19,25 @@@@ d26 9 a34 1 - d_dlopen=$undef a43 7 + if [ -f /usr/libexec/ld.elf_so ]; then + d_dlopen=$define + d_dlerror=$define + useshrplib=$define + ccdlflags="-Wl,-E -Wl,-R${PREFIX}/lib $ccdlflags" + cccdlflags="-DPIC -fPIC $cccdlflags" + lddlflags="--whole-archive -shared $lddlflags" a46 1 + useshrplib=$define d60 1 a60 1 @@@@ -47,15 +46,18 @@@@ d68 1 a68 1 +0.9*|1.0*|1.1*|1.2*|1.3|1.3.1) d73 13 a87 3 + +# there's no problem with vfork: +d_vfork=$define # HFHFHF a88 2 # Avoid telldir prototype conflict in pp_sys.c (NetBSD uses const DIR *) # Configure should test for this. Volunteers? @ 1.2 log @Add NetBSD RCS Ids. @ text @d3 45 a47 3 --- hints/netbsd.sh.orig Tue Mar 24 12:24:25 1998 +++ hints/netbsd.sh Tue Mar 24 12:28:19 1998 @@@@ -49,13 +49,16 @@@@ d49 2 a50 1 # netbsd fixed this in 1.2A. d53 1 a53 1 +0.9*|1.0*|1.1*|1.2_*|1.2|1.2.*|1.3|1.3.1) @ 1.1 log @do use vfork, pointed out by Charles Hannum @ text @d1 2 @