Up to [cvs.NetBSD.org] / pkgsrc / devel / p5-PathTools
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
*: recursive bump for perl 5.40
*: recursive bump for perl 5.38
*: recursive bump for perl 5.36
*: recursive bump for perl 5.34
*: bump PKGREVISION for perl-5.32.
Bump PKGREVISIONs for perl 5.30.0
Update packages using a search.cpan.org HOMEPAGE to metacpan.org. The former now redirects to the latter. This covers the most simple cases where http://search.cpan.org/dist/name can be changed to https://metacpan.org/release/name. Reviewed by hand to hopefully make sure no unwanted changes sneak in.
Update to 3.75 Upstream changes: 3.75 - Fix t/abs2rel.t on 5.8.8 by changing mkpath call to be compatible with older File::Path
Recursive bump for perl5-5.28.0
Update to 3.74 Upstream changes: 3.74 - No changes. 3.73 - Define NEED_croak_xs_usage, fixing usage of croak_xs_usage() - [perl #132853] Add metadata (ABSTRACT, LICENSE, AUTHOR) - [perl #132733] Skip cwd_enoent test on Cygwin - [perl #132651] Avoid infinite recursion in _perl_abs_path() 3.72 - [perl #132648] Correct error returns from fast_abs_path() 3.71 - [perl #130818] Remove support for running PathTools on MacOS and EPOC 3.70 - Change strcmp into the easier to read strEQ 3.69 - avoid loading modules repeatedly at runtime - replace 'use vars' by 'our' - Switch to XSLoader from Dynaloader 3.68 - avoid warning from pre-5.8 code for detecting tainted values - make taint.t detect that a pre-5.8 Perl supports tainting - avoid a dynamic linking problem on Perl 5.6 3.67 - Mon Feb 27 09:33:04 EST 2017 - Add security usage note to File::Spec::no_upwards 3.66 - Sat Nov 19 10:30:19 MST 2016 - white space change so can compile under C++11 3.65 - Mon, 25 Jul 2016 23:15:33 -0700 - (perl #127384)(CVE-2016-1238) 3.64 - Tue May 24 10:00:19 MST 2016 - just minor pod changes to silence Pod::Checker
Recursive revbump from lang/perl5 5.26.0
Bump PKGREVISION for perl-5.24.
Upgrade p5-PathTools to 3.62. Upstream changes: 3.62 - Mon Jan 11 08:39:19 EST 2016 - ensure File::Spec::canonpath() preserves taint (CVE-2015-8607) 3.61 - Sun Dec 20 12:00:00 EST 2015 (bleadperl only release) - improve performance of cwd on Win32 miniperl 3.60 - Wed Nov 18 21:28:01 EST 2015 - add File::Spec::AmigaOS -- and actually ship it, this time
Update to 3.59 Upstream changes: 3.59 - Fri Nov 13 18:38:01 EST 2015 - no changes since 5.56 3.58_01 - Mon Nov 9 17:35:28 EST 2015 - TRIAL RELEASE - add File::Spec::AmigaOS - fix INSTALLDIRS on post-5.10 perls 3.56_02 - Thu Jul 16 11:28:57 EDT 2015 - TRIAL RELEASE - fix $VERSION in loaded modules 3.56_01 - Sat Jul 11 18:07:28 EDT 2015 - TRIAL RELEASE - CPAN release of the PathTools included in perl v5.22.0 - support for z/OS sysplexed systems - long-deprecated "fixpath" and "eliminate_macros" VMS functions removed - avoid turning leading // into / on cygwin - Force barename base to be a directory in File::Spec::VMS:abs2rel - Revise Unix syntax detection File::Spec::VMS::abs2rel - compiles on Android now - fewer compiler warnings - eliminate some runtime perl warnings, too
Recursive PKGREVISION bump for all packages mentioning 'perl', having a PKGNAME of p5-*, or depending such a package, for perl-5.22.0.
Update to 3.47 Upstream changes: 3.47 - Fri May 23 18:52:00 2014 - Improved Android support. - File::Spec::Unix->tmpdir: Always return an absolute path - File::Spec now has an XS version for performance. - QNX and VMS portability - tmpdir is updated when the environment changes.
Bump for perl-5.20.0. Do it for all packages that * mention perl, or * have a directory name starting with p5-*, or * depend on a package starting with p5- like last time, for 5.18, where this didn't lead to complaints. Let me know if you have any this time.
Updating packge for Perl5 modules File::Spec and Cwd in CPAN distribution PathTools in devel/p5-PathTools from 3.33nb3 to 3.40. This is required, because Perl5 5.18.0 comes with PathTools 3.40 bundled and some CPAN packages rely on this - pkgsrc installed PathTools 3.33 overrides core modules which is a downgrade and should have a sane reason. Upstream changes since 3.33: 3.40 - Wed Jan 16 07:30:00 2013 - Stop inadvertently skipping Spec.t on VMS. (Craig Berry) - Rethink EFS in File::Spec::VMS. (Craig Berry) - File::Spec::UNIX->abs2rel() gets it wrong with ".." components [perl #111510] (Volker Schatz) - Add C define to remove taint support from perl (Steffen Mueller) - Remove "register" declarations as they are no longer useful (Karl Williamson) - Add test for fast_abs_path in LF dir [perl #115962] (Father Chrysostomos) - Cwd::fast_abs_path's untaint should allow for multiline directories (Joel Berger) 3.39_01 - Tue Dec 20 08:30:00 2011 - [perl #51562] Problem & "solution" for building 5.10.0 with win32+mingw+dmake (kmx) - Fix various compiler warnings from XS code (Zefram) - Fix typos (spelling errors) (Peter J. Acklam) - Remove Mac OS classic only tests from Cwd's Spec.t and special case code from Cwd's cwd.t (Nicholas Clark) - Convert File::Spec's remaining tests to Test::More from Test (Nicholas Clark) - dist/Cwd/lib/File/Spec/Win32.pm: Fix broken link (Karl Williamson) - In Cwd::_win32_cwd() avoid a string eval when checking if we're miniperl (Nicholas Clark) - Add PERL_NO_GET_CONTEXT to Cwd (Nicholas Clark) - In Cwd.xs on VMS, don't compile bsd_realpath() at all (Nicholas Clark) - Merge the implementation of Cwd::{fastcwd,getcwd} using ALIAS (Nicholas Clark) - In Cwd.xs, swap to defaulting to disabled prototypes (Nicholas Clark) - Remove duplicate $VERSION handling code, made redundant in 3.28_01 (Nicholas Clark) - In Cwd.xs, tidy the conditional code related to symlinks (Nicholas Clark) - Keep verbatim pod within 80 cols (Father Chrysostomos) - [RT #36079] Convert ` to ' in docs (Jim Keenan) - [rt.cpan.org #45885] File::Spec: Don’t use tainted tmpdir in 5.6 (Father Chrysostomos)
Bump all packages for perl-5.18, that a) refer 'perl' in their Makefile, or b) have a directory name of p5-*, or c) have any dependency on any p5-* package Like last time, where this caused no complaints.
Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
Bump all packages that use perl, or depend on a p5-* package, or are called p5-*. I hope that's all of them.
Revision bump after updating perl5 to 5.14.1.
Updating devel/p5-PathTools from 3.31nb1 to 3.33 pkgsrc changes: - adjust license Upstream changes since 3.31: 3.33 - Mon Sep 20 18:00:00 2010 - No functional changes since the previous release. - Fixes POD links (part of core change2a6dc37471bea77f0c24fd1fe90c598a270c9968, Florian Ragwitz) 3.32 - Sun Sep 19 18:00:00 2010 - Promote to stable release. 3.31_03 - Fri Sep 17 20:00:00 2010 - Colon delimiter and escaped delimiters for File::Spec::VMS This is core change 61196b433b2b (Craig A. Berry) 3.31_02 - Fri Jul 23 20:00:00 2010 - Add TODO test for File::Spec->rel2abs() when under a symlink. - Make catpath return an empty directory rather than the current directory if the directory name is empty. This allows catpath to play nice with non-rooted logical names, as in catpath('sys$login:', '', 'login.com'); (Craig A. Berry) - Fix abs2rel bug in handling a Unix-style input. (Craig A. Berry) - Assorted clarification and simplification of the documentation. (Craig A. Berry)
Bump the PKGREVISION for all packages which depend directly on perl, to trigger/signal a rebuild for the transition 5.10.1 -> 5.12.1. The list of packages is computed by finding all packages which end up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl, or PERL5_PACKLIST defined in their make setup (tested via "make show-vars VARNAMES=..."), minus the packages updated after the perl package update. sno@ was right after all, obache@ kindly asked and he@ led the way. Thanks!
Update p5-PathTools from version 3.30 to version 3.31. Upstream changes: 3.31 - Sun Nov 1 15:15:00 2009 - Do not pack a Build.PL to avoid a circular dependency involving ExtUtils::CBuilder (PathTools RT #50749)
PkgSrc changes: - Updating package for p5 PathTools modules (Cwd, File::Spec, ...) from 3.29 to 3.30 - Setting license to gnu-gpl-v2 Upstream changes: 3.30 - Sun May 10 10:55:00 2009 - Promote to stable release. 3.29_01 - Thu May 7 20:22:00 2009 - Minor fixes for QNX6. [Sean Boudreau] - Update to support VMS in Unix compatible mode and/or file names using extended character sets. (RT #42154) [John Malmberg] - VMS support for Unix and extended file specifications in File::Spec (RT #42153) [John Malmberg]
Modify dependencies to perl-modules which are deployed with the perl-core, mainly Scalar::Util and List::Util
Update to 3.29: 3.29 - Wed Oct 29 20:48:11 2008 - Promote to stable release. 3.28_03 - Mon Oct 27 22:12:11 2008 - In Cwd.pm, pass the un-munged $VERSION to XSLoader/DynaLoader, otherwise development releases fail tests on Win32. 3.28_02 - Mon Oct 27 20:13:11 2008 - Fixed some issues on QNX/NTO related to paths with double slashes. [Matt Kraai & Nicholas Clark] 3.28_01 - Fri Jul 25 21:18:11 2008 - Fixed and clarified the behavior of splitpath() with a $no_file argument on VMS. [Craig A. Berry, Peter Edwards] - Removed some function prototypes and other Perl::Critic violations. - canonpath() and catdir() and catfile() on Win32 now make an explicit (and unnecessary) copy of their arguments right away, because apparently if we don't, we sabotage all of Win32dom. [RT #33675] - The Makefile.PL now has 'use 5.005;' to explicitly show what minimum version of perl we support. [Spotted by Alexandr Ciornii] 3.2701 - Mon Feb 11 21:43:51 2008 - Fixed an edge case for Win32 catdir('C:', 'foo') and catfile('C:', 'foo.txt') (which the caller's not really supposed to do, that's what catpath() is for) that changed between versions. Now we're back to the old behavior, which was to return C:\foo and C:\foo.txt . [Audrey Tang]
Bump the PKGREVISION for all packages which depend directly on perl, to trigger/signal a rebuild for the transition 5.8.8 -> 5.10.0. The list of packages is computed by finding all packages which end up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl, or PERL5_PACKLIST defined in their make setup (tested via "make show-vars VARNAMES=...").
Roman Kulik cannot maintain those packages anymore (he told me in private mail some months ago).
Update p5-PathTools to 3.27. 3.27 - If strlcpy() and strlcat() aren't available on the user's system, we now use ppport.h to provide them, so our C code works. [Steve Peters] - Upgraded to a newer version of ppport.h [Steve Peters] 3.26 - Sun Jan 13 21:59:20 2008 - case_tolerant() on Cygwin will now avoid a painful death when Cygwin::mount_flags() isn't defined, as is the case for perl < 5.10. It will now just return 1, which is what it always did before it got so smart. [Spotted by Emanuele Zeppieri] - abs_path() on Unix(ish) platforms has been upgraded to a much later version of the underlying C code from BSD. [Michael Schwern] 3.2501 - Mon Dec 24 20:33:02 2007 - Reimplemented abs_path() on VMS to use VMS::Filespec::vms_realpath() when it's available. [John E. Malmberg] - tmpdir() on Cygwin now also looks in $ENV{TMP} and $ENV{TEMP}. - case_tolerant() on Cygwin and Win32 now take an optional path argument, defaulting to the C drive, to check for case tolerance, because this fact can vary on different volumes. - File::Spec on Unix now uses Cwd::getcwd() rather than Cwd::cwd() to get the current directory because I guess someone on p5p thought it was more appropriate. - Added a large set of File::Spec tests for the Cygwin platform. - abs_path() now behaves correctly with symbolic links on VMS. - Someone fixed a couple of mysterious edge cases in VMS' canonpath() and splitdir(). 3.25_01 - Sat Oct 13 21:13:57 2007 - Major fixes on Win32, including a rewrite of catdir(), catfile(), and canonpath() in terms of a single body of code. [Heinrich Tegethoff] - For Win32 and Cygwin, case-tolerance can vary depending on the volume under scrutiny. When Win32API::File is available, it will be employed to determine case-sensitivity of the given filesystem (C: by default), otherwise we still return the default of 1. [Reini Urban] - On Cygwin, we added $ENV{'TMP'} and $ENV{'TEMP'} to the list of possible places to look for tmpdir() return values. [Reini Urban] - Added lots more tests for Cygwin. [Reini Urban] - canonpath() with no arguments and canonpath(undef) now consistently return undef on all platforms. [Spotted by Peter John Edwards] - Fixed splitdir('') and splitdir(undef) and splitdir() to return an empty list on VMS and MacOS, like it does on other platforms. [Craig A. Berry] - All .pm files now have the same $VERSION number, rather than a hodgepodge of various numbers.
Update to 3.25: Revision history for Perl distribution PathTools. - Added a workaround for auto-vivication-of-function-args Perl bug (triggered by OS/2-specific code). [Ilya Zakharevich] - Sync with a bleadperl change: miniperl can no longer use Win32::* functions because it cannot load Win32.dll. [Jan Dubois] - We only need to load ppport.h when building outside the core, so we avoid using it when in the core. 3.24 - Sun Nov 19 22:52:49 2006 - Fixed a bug in the $ENV{PWD}-updating of Cwd::chdir() when a dirhandle is passed in. [Steve Peters] - Add perl 5.005 to the list of requirements in the Build.PL/Makefile.PL/META.yml. - Add ExtUtils::CBuilder to the list of build_requires in Build.PL. - Improved performance of canonpath() on Unix-ish platforms - on my OS X laptop it looks like it's about twice as fast. [Ruslan Zakirov]
p5-PathTools is successor to p5-File-Spec, so conflict. Pointed out by Christoph Badura in PR 35402. From Changes of p5-PathTools: 3.00 Thu Sep 2 22:15:07 CDT 2004 - Merged Cwd and File::Spec into a single PathTools distribution. This was done because the two modules use each other fairly extensively, and extracting the common stuff into another distribution was deemed nigh-impossible. The code in revision 3.00 of PathTools should be equivalent to the code in Cwd 2.21 and File::Spec 0.90.
Update p5-PathTools to 3.23. Changee: - Yet more Win32 fixes (sigh... seems like I'm fighting a neverending waterbed...). This time, fixed file_name_is_absolute() to know what it's doing when the path includes a volume but a relative path, like C:foo.txt . This bug had impact in rel2abs() on Win32 too. 3.22 - Mon Oct 9 21:50:52 2006 - Fixed the t/crossplatform.t test on Win32 (and possibly other volume-aware platforms) now that rel2abs() always adds a drive letter. [Reported by several parties] 3.21 - Wed Oct 4 21:16:43 2006 - Added a bunch of X<> tags to the File::Spec docs to help podindex. [Gabor Szabo] - On Win32, abs2rel('C:\one\two\t\foo', 't\bar') should return '..\foo' when the cwd is 'C:\one\two', but it wasn't noticing that the two relevant volumes were the same so it would return the full path 'C:\one\two\t\foo'. This is fixed. [Spotted by Alexandr Ciornii] - On Win32, rel2abs() now always adds a volume (drive letter) if the given path doesn't have a volume (drive letter or UNC volume). Previously it could return a value that didn't have a volume if the input was a semi-absolute path like /foo/bar instead of a fully-absolute path like C:/foo/bar . 3.19 Tue Jul 11 22:40:26 CDT 2006 - When abs2rel() is called with two relative paths (e.g. abs2rel('foo/bar/baz', 'foo/bar')) the resolution algorithm needlessly called cwd() (twice!) to turn both arguments into absolute paths. Now it avoids the cwd() calls with a workaround, making a big efficiency win when abs2rel() is called repeatedly. [Brendan O'Dea] - Added a build-time dependency on ExtUtils::Install version 1.39 when on Windows. This is necessary because version 1.39 knows how to replace an in-use Cwd shared library, but previous versions don't. [Suggested by Adam Kennedy] - Fixed File::Spec::Win32->canonpath('foo/../bar'), which was returning \bar, and now properly returns just bar. [Spotted by Heinrich Tegethoff] 3.18 Thu Apr 27 22:01:38 CDT 2006 - Fixed some problems on VMS in which a directory called "0" would be treated as a second-class citizen. [Peter (Stig) Edwards] - Added a couple of regression tests to make sure abs2rel('/foo/bar', '/') works as expected. [Chia-liang Kao] - Added a couple of regression tests to make sure catdir('/', 'foo/bar') works as expected. [Mark Grimes] 3.17 Fri Mar 3 16:52:30 CST 2006 - The Cygwin version of Cwd::cwd() will croak if given any arguments (which can happen if, for example, it's called as Cwd->cwd). Since that croaking is bad, we now wrap the original cwd() in a subroutine that ignores its arguments. We could skip this wrapping if a future version of perl changes cygwin.c's cwd() to not barf when fed an argument. [Jerry D. Hedden] 3.16 Mon Jan 30 20:48:41 CST 2006 - Updated to version 3.06 of ppport.h, which provides backward compatibility XS layers for older perl versions. - Clarify in the docs for File::Spec's abs2rel() and rel2abs() methods that the cwd() function it discusses is Cwd::cwd(). [Spotted by Steven Lembark] - Apparently the version of File::Path that ships with perl 5.8.5 (and perhaps others) calls Cwd::getcwd() with an argument (perhaps as a method?), which causes it to die with a prototyping error. We've eliminated the prototype by using the "(...)" arglist, since "PROTOTYPE: DISABLE" for the function didn't seem to work. [Spotted by Eamon Daly and others] 3.15 Tue Dec 27 14:17:39 CST 2005 - The Cwd::getcwd() function on *nix is now a direct pass-through to the underlying getcwd() C library function when possible. This is safer and faster than the previous implementation, which just did abs_path('.'). The pure-perl version has been kept for cases in which the XS version can't load, such as when running under miniperl. [Suggested by Nick Ing-Simmons] - When Cwd searches for a 'pwd' executable in the $PATH, we now stop after we find the first one rather than continuing the search. We also avoid the $PATH search altogether when a 'pwd' was already found in a well-known and well-trusted location like /bin or /usr/bin. [Suggested by Nick Ing-Simmons] - On Win32 abs2rel($path, $base) was failing whenever $base is the root of a volume (such as C:\ or \\share\dir). This has been fixed. [Reported by Bryan Daimler] - In abs2rel() on VMS, we've fixed handling of directory trees so that the test $file = File::Spec::VMS->abs2rel('[t1.t2.t3]file', '[t1.t2.t3]') returns 'file' instead of an empty string. [John E. Malmberg] - In canonpath() on VMS, '[]' was totally optimized away instead of just returning '[]'. Now it's fixed. [John E. Malmberg] 3.14 Thu Nov 17 18:08:44 CST 2005 - canonpath() has some logic in it that avoids collapsing a //double/slash at the beginning of a pathname on platforms where that means something special. It used to check the value of $^O rather than the classname it was called as, which meant that calling File::Spec::Cygwin->canonpath() didn't act like cygwin unless you were actually *on* cygwin. Now it does. - Fixed a major bug on Cygwin in which catdir() could sometimes create things that look like //network/paths in cases when it shouldn't (e.g. catdir("/", "foo", "bar")). 3.13 Tue Nov 15 23:50:37 CST 2005 - Calling tmpdir() on Win32 had the unintended side-effect of storing some undef values in %INC for the TMPDIR, TEMP, and TMP entries if they didn't exist already. This is probably a bug in perl itself (submitted as #37441 on rt.perl.org), which we're now working around. [Thomas L. Shinnick] - Integrated a change from bleadperl - a certain #ifdef in Cwd.xs needs to apply to WIN32 but not WinCE. [Vadim Konovalov] - abs2rel() used to return the empty string when its two arguments were identical, which made no sense. Now it returns curdir(). [Spotted by David Golden] - The Unix and Win32 implementations of abs2rel() have been unified.
This module is designed to support operations commonly performed on file specifications (usually called "file names", but not to be confused with the contents of a file, or Perl's file handles), such as concatenating several directory and file names into a single path, or determining whether a path is rooted.
Initial revision