head 1.9; access; symbols pkgsrc-2013Q2:1.9.0.40 pkgsrc-2013Q2-base:1.9 pkgsrc-2012Q4:1.9.0.38 pkgsrc-2012Q4-base:1.9 pkgsrc-2011Q4:1.9.0.36 pkgsrc-2011Q4-base:1.9 pkgsrc-2011Q2:1.9.0.34 pkgsrc-2011Q2-base:1.9 pkgsrc-2009Q4:1.9.0.32 pkgsrc-2009Q4-base:1.9 pkgsrc-2008Q4:1.9.0.30 pkgsrc-2008Q4-base:1.9 pkgsrc-2008Q3:1.9.0.28 pkgsrc-2008Q3-base:1.9 cube-native-xorg:1.9.0.26 cube-native-xorg-base:1.9 pkgsrc-2008Q2:1.9.0.24 pkgsrc-2008Q2-base:1.9 pkgsrc-2008Q1:1.9.0.22 pkgsrc-2008Q1-base:1.9 pkgsrc-2007Q4:1.9.0.20 pkgsrc-2007Q4-base:1.9 pkgsrc-2007Q3:1.9.0.18 pkgsrc-2007Q3-base:1.9 pkgsrc-2007Q2:1.9.0.16 pkgsrc-2007Q2-base:1.9 pkgsrc-2007Q1:1.9.0.14 pkgsrc-2007Q1-base:1.9 pkgsrc-2006Q4:1.9.0.12 pkgsrc-2006Q4-base:1.9 pkgsrc-2006Q3:1.9.0.10 pkgsrc-2006Q3-base:1.9 pkgsrc-2006Q2:1.9.0.8 pkgsrc-2006Q2-base:1.9 pkgsrc-2006Q1:1.9.0.6 pkgsrc-2006Q1-base:1.9 pkgsrc-2005Q4:1.9.0.4 pkgsrc-2005Q4-base:1.9 pkgsrc-2005Q3:1.9.0.2 pkgsrc-2005Q3-base:1.9 pkgsrc-2005Q2:1.8.0.4 pkgsrc-2005Q2-base:1.8 pkgsrc-2005Q1:1.8.0.2 pkgsrc-2005Q1-base:1.8 pkgsrc-2004Q4:1.5.0.2 pkgsrc-2004Q4-base:1.5 pkgsrc-2004Q3:1.3.0.4 pkgsrc-2004Q3-base:1.3 pkgsrc-2004Q2:1.3.0.2 pkgsrc-2004Q2-base:1.3; locks; strict; comment @# @; 1.9 date 2005.06.24.06.43.47; author jlam; state dead; branches; next 1.8; 1.8 date 2005.01.18.00.56.44; author jlam; state Exp; branches; next 1.7; 1.7 date 2005.01.04.09.50.15; author jlam; state Exp; branches; next 1.6; 1.6 date 2004.12.29.19.41.25; author jlam; state Exp; branches; next 1.5; 1.5 date 2004.11.23.17.32.36; author jlam; state Exp; branches 1.5.2.1; next 1.4; 1.4 date 2004.11.07.16.20.11; author wiz; state Exp; branches; next 1.3; 1.3 date 2004.04.26.04.42.12; author jlam; state Exp; branches; next 1.2; 1.2 date 2004.04.24.21.04.43; author tv; state Exp; branches; next 1.1; 1.1 date 2004.04.12.02.59.06; author jschauma; state Exp; branches; next ; 1.5.2.1 date 2005.01.05.11.46.51; author salo; state Exp; branches; next ; desc @@ 1.9 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 @$NetBSD: patch-ca,v 1.8 2005/01/18 00:56:44 jlam Exp $ --- Configure.orig 2004-09-10 02:25:52.000000000 -0400 +++ Configure @@@@ -3107,11 +3107,13 @@@@ EOM dgux) osname=dgux osvers="$3" ;; + dragonfly) osname=dragonfly + osvers=`$uname -r | UU/tr '[A-Z]' '[a-z]'` ;; dynixptx*) osname=dynixptx osvers=`echo "$4"|sed 's/^v//'` ;; freebsd) osname=freebsd - osvers="$3" ;; + osvers=`$uname -r | UU/tr '[A-Z]' '[a-z]'` ;; genix) osname=genix ;; gnu) osname=gnu osvers="$3" ;; @@@@ -3133,7 +3135,7 @@@@ EOM MiNT) osname=mint ;; netbsd*) osname=netbsd - osvers="$3" + osvers=`$uname -r | UU/tr '[A-Z]' '[a-z]'` ;; news-os) osvers="$3" case "$3" in @@@@ -3144,8 +3146,8 @@@@ EOM next*) osname=next ;; nonstop-ux) osname=nonstopux ;; openbsd) osname=openbsd - osvers="$3" - ;; + osvers=`$uname -r | UU/tr '[A-Z]' '[a-z]'` + ;; os2) osname=os2 osvers="$4" ;; @@@@ -7852,7 +7854,7 @@@@ if "$useshrplib"; then solaris) xxx="-R $shrpdir" ;; - freebsd|netbsd|openbsd) + freebsd|netbsd|openbsd|dragonfly|interix) xxx="-Wl,-R$shrpdir" ;; bsdos|linux|irix*|dec_osf) @@@@ -8973,6 +8975,13 @@@@ EOCP ;; esac +: Look for a hint-file generated 'call-back-unit'. We need +: to set some defaults for building perl in pkgsrc. +if $test -f pkgsrc.cbu; then + echo "Setting pkgsrc-specific hints regarding compiler/linker flags..." + . ./pkgsrc.cbu +fi + case "$vendorprefix" in '') d_vendorbin="$undef" vendorbin='' @@@@ -17290,7 +17299,15 @@@@ RCAT(Rei,ser) ACAT(Cir,cus) EOCP $cppstdin $cppflags $cppminus cpp_stuff.out 2>&1 -if $contains 'Circus' cpp_stuff.out >/dev/null 2>&1; then +# yuck, what a hack. +# MIPSPro compiler/preprocessor behaves differently if invoked on +# stdin vs file. Here we test for stdin, but lateron we use files. +# So force it to work the way we know it does: +if [ x"${OPSYS}" = x"IRIX" ]; then + echo "Hacking MIPSPro on file vs. stdin..." >&4 + echo "We know we can catify or stringify, separately or together!" + cpp_stuff=42 +elif $contains 'Circus' cpp_stuff.out >/dev/null 2>&1; then echo "Oh! Smells like ANSI's been here." >&4 echo "We can catify or stringify, separately or together!" cpp_stuff=42 @ 1.8 log @Teach perl58 about DragonFlyBSD. Patches provided by Todd Willey in PR pkg/28963 with minor modifications by me. Also teach all of the BSDs (and Interix) to pass the rpath to libperl.so if a module needs to link with libperl.so when built with MakeMaker.pm. Bump the PKGREVISION to 2. @ text @d1 1 a1 1 $NetBSD$ @ 1.7 log @Fix instances of insecure use of /tmp that is subject to symlink attacks due to race conditions [CAN-2004-0976]. Also fix builds on *BSD boxes without a hostname set. Bump the PKGREVISION to 1. @ text @d5 7 a11 1 @@@@ -3111,7 +3111,7 @@@@ EOM d20 1 a20 1 @@@@ -3133,7 +3133,7 @@@@ EOM d29 1 a29 1 @@@@ -3144,8 +3144,8 @@@@ EOM d40 1 a40 1 @@@@ -7852,7 +7852,7 @@@@ if "$useshrplib"; then d45 1 a45 1 + freebsd|netbsd|openbsd|interix) d49 1 a49 1 @@@@ -8973,6 +8973,13 @@@@ EOCP d63 1 a63 1 @@@@ -17290,7 +17297,15 @@@@ RCAT(Rei,ser) @ 1.6 log @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. @ text @d5 29 @ 1.5 log @Modify the probed linker flags by using a call-back script that is generated by the hints file and invoked from within the Configure script. This "pkgsrc.cbu" script is called after all other call-back scripts are called, so it's the last to modify ldflags and lddlflags. This should fix builds on non-NetBSD platforms. @ text @d3 1 a3 1 --- Configure.orig 2004-05-12 07:00:41.000000000 -0400 d5 1 a5 1 @@@@ -7850,7 +7850,7 @@@@ if "$useshrplib"; then d14 1 a14 1 @@@@ -8971,6 +8971,13 @@@@ EOCP d28 1 a28 1 @@@@ -17288,7 +17295,15 @@@@ RCAT(Rei,ser) @ 1.5.2.1 log @Pullup ticket 206 - requested by Johnny C. Lam security fix for perl58 Module Name: pkgsrc Committed By: jlam Date: Tue Jan 4 09:50:15 UTC 2005 Modified Files: pkgsrc/lang/perl58: Makefile distinfo pkgsrc/lang/perl58/patches: patch-ca Added Files: pkgsrc/lang/perl58/patches: patch-bd patch-be Log Message: Fix instances of insecure use of /tmp that is subject to symlink attacks due to race conditions [CAN-2004-0976]. Also fix builds on *BSD boxes without a hostname set. Bump PKGREVISION. @ text @a4 29 @@@@ -3109,7 +3109,7 @@@@ EOM osvers=`echo "$4"|sed 's/^v//'` ;; freebsd) osname=freebsd - osvers="$3" ;; + osvers=`$uname -r | UU/tr '[A-Z]' '[a-z]'` ;; genix) osname=genix ;; gnu) osname=gnu osvers="$3" ;; @@@@ -3131,7 +3131,7 @@@@ EOM MiNT) osname=mint ;; netbsd*) osname=netbsd - osvers="$3" + osvers=`$uname -r | UU/tr '[A-Z]' '[a-z]'` ;; news-os) osvers="$3" case "$3" in @@@@ -3142,8 +3142,8 @@@@ EOM next*) osname=next ;; nonstop-ux) osname=nonstopux ;; openbsd) osname=openbsd - osvers="$3" - ;; + osvers=`$uname -r | UU/tr '[A-Z]' '[a-z]'` + ;; os2) osname=os2 osvers="$4" ;; @ 1.4 log @Update to 5.8.5: Incompatible Changes There are no changes incompatible with 5.8.4. Core Enhancements Perl's regular expression engine now contains support for matching on the intersection of two Unicode character classes. You can also now refer to user-defined character classes from within other user defined character classes. Modules and Pragmata * Carp improved to work nicely with Safe. Carp's message reporting should now be anomaly free - it will always print out line number information. * CGI upgraded to version 3.05 * charnames now avoids clobbering $_ * Digest upgraded to version 1.08 * Encode upgraded to version 2.01 * FileCache upgraded to version 1.04 * libnet upgraded to version 1.19 * Pod::Parser upgraded to version 1.28 * Pod::Perldoc upgraded to version 3.13 * Pod::LaTeX upgraded to version 0.57 * Safe now works properly with Carp * Scalar-List-Utils upgraded to version 1.14 * Shell's documentation has been re-written, and its historical partial auto-quoting of command arguments can now be disabled. * Test upgraded to version 1.25 * Test::Harness upgraded to version 2.42 * Time::Local upgraded to version 1.10 * Unicode::Collate upgraded to version 0.40 * Unicode::Normalize upgraded to version 0.30 Utility Changes Perl's debugger The debugger can now emulate stepping backwards, by restarting and rerunning all bar the last command from a saved command history. h2ph h2ph is now able to understand a very limited set of C inline functions -- basically, the inline functions that look like CPP macros. This has been introduced to deal with some of the headers of the newest versions of the glibc. The standard warning still applies; to quote h2ph's documentation, you may need to dicker with the files produced. Installation and Configuration Improvements Perl 5.8.5 should build cleanly from source on LynxOS. Selected Bug Fixes * The in-place sort optimisation introduced in 5.8.4 had a bug. For example, in code such as @@a = sort ($b, @@a) the result would omit the value $b. This is now fixed. * The optimisation for unnecessary assignments introduced in 5.8.4 could give spurious warnings. This has been fixed. * Perl should now correctly detect and read BOM-marked and (BOMless) UTF-16 scripts of either endianness. * Creating a new thread when weak references exist was buggy, and would often cause warnings at interpreter destruction time. The known bug is now fixed. * Several obscure bugs involving manipulating Unicode strings with substr have been fixed. * Previously if Perl's file globbing function encountered a directory that it did not have permission to open it would return immediately, leading to unexpected truncation of the list of results. This has been fixed, to be consistent with Unix shells' globbing behaviour. * Thread creation time could vary wildly between identical runs. This was caused by a poor hashing algorithm in the thread cloning routines, which has now been fixed. * The internals of the ithreads implementation were not checking if OS-level thread creation had failed. threads->create() now returns undef in if thead creation fails instead of crashing perl. New or Changed Diagnostics * Perl -V has several improvements o correctly outputs local patch names that contain embedded code snippets or other characters that used to confuse it. o arguments to -V that look like regexps will give multiple lines of output. o a trailing colon suppresses the linefeed and ';' terminator, allowing embedding of queries into shell commands. o a leading colon removes the 'name=' part of the response, allowing mapping to any name. * When perl fails to find the specified script, it now outputs a second line suggesting that the user use the -S flag: $ perl5.8.5 missing.pl Can't open perl script "missing.pl": No such file or directory. Use -S to search $PATH for it. Changed Internals The Unicode character class files used by the regular expression engine are now built at build time from the supplied Unicode consortium data files, instead of being shipped prebuilt. This makes the compressed Perl source tarball about 200K smaller. A side effect is that the layout of files inside lib/unicore has changed. pkgsrc: fails the same test that 5.8.4 fails (sigaction). @ text @d1 1 a1 1 $NetBSD: patch-ca,v 1.3 2004/04/26 04:42:12 jlam Exp $ d3 1 a3 1 --- Configure.orig 2004-05-12 13:00:41.000000000 +0200 d14 15 a28 1 @@@@ -17288,7 +17288,15 @@@@ RCAT(Rei,ser) @ 1.3 log @Update lang/perl58 to 5.8.4. Changes from version 5.8.3 include Unicode enhancements and optimizations and bug fixes in handling UTF8 strings. @ text @d1 1 a1 1 $NetBSD$ d3 3 a5 3 --- Configure.orig Thu Apr 1 08:48:18 2004 +++ Configure Mon Apr 26 00:32:32 2004 @@@@ -7829,7 +7829,7 @@@@ d14 1 a14 1 @@@@ -17267,7 +17267,15 @@@@ @ 1.2 log @Make perl58 work on Interix, with full shared-object module support. Bump PKGREVISION (two .pm files were changed, but are not functionally different on non-Interix OS's). @ text @d3 3 a5 3 --- Configure.orig Fri Dec 5 06:57:56 2003 +++ Configure Fri Apr 23 14:09:12 2004 @@@@ -7806,7 +7806,7 @@@@ d14 1 a14 1 @@@@ -17244,7 +17244,15 @@@@ @ 1.1 log @As with lang/perl5: 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. @ text @d1 1 a1 1 $NetBSD: patch-ca,v 1.1 2004/04/12 02:51:22 jschauma Exp $ d3 12 a14 3 --- Configure.orig Fri Mar 26 10:34:43 2004 +++ Configure Fri Mar 26 10:43:17 2004 @@@@ -12495,7 +12495,15 @@@@ @