summaryrefslogtreecommitdiff
path: root/devel/p5-File-Temp
AgeCommit message (Collapse)AuthorFilesLines
2009-07-07Updating package of p5 module File::Temp from 0.21 to 0.22sno2-6/+7
Setting license to ${PERL5_LICENSE} Upstream changes: V0.22 + Portability fixes in t/fork.t provided by perl5-porters.
2008-12-20Update from version 0.20nb1 to 0.21.he2-7/+6
Upstream changes: 2008-11-12 Tim Jenness <timj@poma.jach.hawaii.edu> ---- Release V0.21 CPAN ---- * Temp.pm: Clean out $FILES_CREATED_BY_OBJECT when the destructor runs. Otherwise memory does not get returned. Really bad idea for daemons. (Thanks to Maxime Therreault RT #37621) * Temp.pm: Integrate patches from bleadperl for cygwin. (thanks to Jari Aalto RT #36376) * t/seekable.t: seekable test was failing on perl 5.6.0 so we now skip the specific test. (thanks to Zefram) * Temp.pm: Remove the test on the parent directory to see if a file can be written. This will be found out anyway as soon as the file open is attempted. AFS systems may fail a -w test but still allow a file to be created. (thanks to Christopher Ellison) * Temp.pm: Put an eval around rmtree. Some versions of rmtree croak if you attempt to remove a directory that you are inside. (debian bug 479317 and RT #35779). 2008-03-15 Tim Jenness <tjenness@cpan.org> * Temp.pm: Localize special variables in END blocks and destructors.
2008-10-19Bump the PKGREVISION for all packages which depend directly on perl,he1-1/+2
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=...").
2008-01-15Update to 0.20:wiz2-6/+6
---- Release V0.20 CPAN ---- * t/lock.t: Fix logic problem with BEGIN block that was causing grief on some systems (thanks to Steve Peters for patch).
2007-11-29Update to 0.19:wiz2-6/+6
2007-11-19 Tim Jenness <tjenness@cpan.org> ----- Release V0.19 CPAN ----- * Temp.pm (tempfile): Add EXLOCK option which can be used to disable O_EXLOCK * t/lock.t: Test ability to disable O_EXLOCK 2007-11-16 Tim Jenness <tjenness@cpan.org> * Temp.pm (newdir): Add object oriented interface to "tempdir". Use File::Temp->newdir() 2007-11-15 Tim Jenness <tjenness@cpan.org> * Temp.pm (tempdir): Add a note to the tempdir documentation to clarify that the default is for the directory not to be temporary and that use of an OO approach may be required (thanks to David Golden's annotation on CPAN). * Temp.pm (_randchar): Remove _randchar function (no longer used) * Temp.pm: Add note about File::Tempdir module 2007-11-14 Tim Jenness <tjenness@cpan.org> * Temp.pm (new): Track pid used when file created and make sure object destructor deletes the file only when the current pid matches the original pid (RT#11067 again - thanks to Grousse) Added new test (fork.t) to test this behaviour. * t/seekable.t: Add tests to verify fix for RT#22052 2007-11-01 Tim Jenness <tjenness@cpan.org> * Temp.pm (_is_safe): Correct cluck message to match uid check (thanks to Alexey Tourbin RT #14218) * Temp.pm: Add note on use of binmode to modify encoding. (prompted by Wolfgang Husmann) 2007-10-31 Tim Jenness <tjenness@cpan.org> * Temp.pm (tempfile): Add TMPDIR flag to simplify tempdir(template, DIR => File::Spec->tmpdir) and to remove confusion for tempdir interface. (thanks to Brendan O'Dea - debian bug #351373) * META.yml: Update to v1.0 spec YAML spec. (thanks to Alexandr Ciornii RT# 23524) * Temp.pm: Localize $@ when using eval to prevent leakage (prompted by Zefram) * Makefile.PL: Support LICENSE in newer ExtUtils::MakeMaker implementations (thanks to Alexandr Ciornii RT #23524) 2007-10-31 Tim Jenness <tjenness@cpan.org> * t/seekable.t: Skip seek test on older IO::Seekable versions. (thanks to Sebastien Aperghis-Tramoni RT #23524) * Temp.pm: Allow XXX replacement to run on perl 5.005 and 5.004. (thanks to Sebastien Aperghis-Tramoni RT #23524) 2007-10-29 Tim Jenness <tjenness@cpan.org> * Temp.pm: Fix range of random character determination such that the last character in the list (_) will appear occassionally. (Thanks to Peter Dintelmann perl RT# 41345) * Temp.pm: Clarify error message when parent directory does not exist (thanks to Peter Dintelmann perl RT # 41346) * Temp.pm: Carp::Heavy does not exist on older perls (eg 5.005) so wrap the require in an eval (Thanks to Sebastien Aperghis-Tramoni, Jesse Vincent, Slaven Rezic and Robin Barker RT #26841) * Temp.pm: Replace "new File::Temp" with "File::Temp->new" at the behest of H. Merijn Brand
2007-10-25Remove empty PLISTs from pkgsrc since revision 1.33 of plist/plist.mkjlam1-1/+0
can handle packages having no PLIST files.
2007-02-27Update to 0.18:wiz2-6/+6
2007-01-21 Tim Jenness --- RELEASE 0.18 CPAN --- * Temp.pm: Provide "cmp" overloading so File::Temp object can be compared to filename directly. (Rafael Garcia-Suarez) * Temp.pm: Remove umask control (was not thread-safe) (thanks to Peter Dintelmann, Gisle Aas) * t/cmp.t: New test file
2006-11-05DESTDIR support.joerg1-1/+2
2006-10-27Update p5-File-Temp to 0.17.obache2-7/+6
Patch provided by Martin Wilke via PR 34346. Changes: 2006-08-18 Tim Jenness <tjenness@cpan.org> --- RELEASE 0.17 CPAN ---- * Temp.pm: Also inherit from IO::Seekable so that seek and tell methods can work on filehandles (thanks to Rick Myers and Toby Corkindale). * t/seekable.t: Add test script from Rick Myers. * Temp.pm: Add note about forking and resetting the random number generator to prevent multiple clashes of temp file names. (pointed out by Brent Cowgill) * Temp.pm: pre-emptively load Carp::Heavy. If we don't when we run out of file handles and attempt to call croak() we get an error message telling us that Carp::Heavy won't load rather than an error telling us we have run out of file handles. (pointed out by bjoern_at_hoehrmann.de RT #14151) * Temp.pm: Remove eg. from comments and replace with e.g. In pod replace "e.g." with "for example". (David Landgren) * Temp.pm: Correct synopsis concerning the arguments to the File::Temp constructor (Peter Valdemar Moerch). * Temp.pm: Update documentation to note that croak() will be called by tempfile() and File::Temp->new if a problem occurs (thanks to Steve Hay for pointing this out).
2006-03-04Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where nojlam1-2/+2
developer is officially maintaining the package. The rationale for changing this from "tech-pkg" to "pkgsrc-users" is that it implies that any user can try to maintain the package (by submitting patches to the mailing list). Since the folks most likely to care about the package are the folks that want to use it or are already using it, this would leverage the energy of users who aren't developers.
2005-08-06Bump the PKGREVISIONs of all (638) packages that hardcode the locationsjlam1-1/+2
of Perl files to deal with the perl-5.8.7 update that moved all pkgsrc-installed Perl files into the "vendor" directories.
2005-07-13Turn PERL5_PACKLIST into a relative path instead of an absolute path.jlam1-2/+2
These paths are now relative to PERL5_PACKLIST_DIR, which currently defaults to ${PERL5_SITEARCH}. There is no change to the binary packages.
2005-04-11Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.tv1-2/+1
2005-02-26Update to 0.16:wiz2-7/+6
--- RELEASE V0.16 --- * Temp.pm: Remove spurious debug statement --- RELEASE V0.15 --- * Temp.pm (unlink_on_destroy): Add post-object creation method to control whether the temp file will be unlinked when the object goes out of scope. * Temp.pm: Increase maximum number of tries before aborting. * Temp.pm: Add $KEEP_ALL to allow the temporary files to be retained whilst debugging (suggestion from Ed Avis [and others]). * Temp.pm: Temp files should have been opened O_NOFOLLOW rather than O_FOLLOW! (thanks to Marc Tardif) * Temp.pm: Add cleanup() function so that temp files that would be removed by an END block can be removed by a daemon. (RT wishlist item #6928 by Robert Rothenberg) * Temp.pm: Force chmod on file before unlinking it. This can be a problem on windows (see RT bug #6935). tempdir() has been fixed by Slaven's earlier patch to change the rmtree arguments. * Temp.pm (top_system_uid): Add interix patch from Todd Vierling * Temp.pm (_gettemp): Pod patch from Steven Lembark clarifying the error message associated with two few XXXXs * Temp.pm: Add note on forking and make sure that END blocks only remove temporary files created by the current process ID (prompted by Daniel Macks in RT bug #11067) * Temp.pm (cmpstat): Roman Vasicek reported problems with the _ filehandle. Play it safe and remove that handle. (see RT bug #8822) * t/tempfile.t: Add test for write proteceted temp file (thanks to Slaven Rezic) * Temp.pm (_can_do_level): Change argument to rmtree to make it attempt to remove write-protected files on cleanup (thanks to Slaven Rezic) * Temp.pm: Add note on binmode usage
2005-02-23Add RMD160 digests.agc1-1/+2
2004-12-20since perl is now built with threads on most platforms, the perl archlibgrant1-1/+2
module directory has changed (eg. "darwin-2level" vs. "darwin-thread-multi-2level"). binary packages of perl modules need to be distinguishable between being built against threaded perl and unthreaded perl, so bump the PKGREVISION of all perl module packages and introduce BUILDLINK_RECOMMENDED for perl as perl>=5.8.5nb5 so the correct dependencies are registered and the binary packages are distinct. addresses PR pkg/28619 from H. Todd Fujinaka.
2004-12-05Update p5-File-Temp from version 0.12 to 0.14.he2-5/+6
Add HOMEPAGE pointing into search.cpan.org. Change log: 2003-08-16 Tim Jenness <tjenness@cpan.org> --- RELEASE V0.14 --- * t/object.t: Add test of OO interface and switch to Test::More * Temp.pm: Add object-oriented interface. * Temp.pm: mpeix fixes from Ken Hirsch <hirschk@labcorp.com> 2003-08-15 Tim Jenness <tjenness@cpan.org> --- RELEASE V0.13 --- * Temp.pm: Integrate doc fixes from bleadperl (Slaven Rezic and Jeffrey Friedl) * Makefile.PL: Add INSTALLDIRS switch on perl version so that the module installs into the correct place for perl 5.6.1 and newer.
2004-01-05bl3ifyjlam1-2/+4
2003-07-21COMMENT should start with a capital letter.martti1-2/+2
2003-07-17s/netbsd.org/NetBSD.org/grant1-2/+2
2003-06-02Use tech-pkg@ in favor of packages@ as MAINTAINER for orphaned packages.jschauma1-2/+2
Should anybody feel like they could be the maintainer for any of thewe packages, please adjust.
2002-10-13Use buildlink2. Use perl5/module.mk.seb1-6/+3
2001-11-26Buildlinkify, in the sense that only the perl headers are found injlam1-3/+4
${PREFIX} -- everything else is pickup up from ${BUILDLINK_DIR}.
2001-11-01Move pkg/ files into package's toplevel directoryzuntum3-1/+1
2001-10-18SVR4 packages have a limit of 9 chars for a package name.veego1-1/+2
The automatic truncation in gensolpkg doesn't work for packages which have the same package name for the first 5-6 chars. e.g. amanda-server and amanda-client would be named amanda and amanda. Now, we add a SVR4_PKGNAME and use amacl for amanda-client and amase for amanda-server. All svr4 packages also have a vendor tag, so we have to reserve some chars for this tag, which is normaly 3 or 4 chars. Thats why we can only use 6 or 5 chars for SVR4_PKGNAME. I used 5 for all the packages, to give the vendor tag enough room. All p5-* packages and a few other packages have now a SVR4_PKGNAME.
2001-04-21Move to sha1 digests, and/or add distfile sizes.wiz1-1/+2
2001-04-17+ move the distfile digest/checksum value from files/md5 to distinfoagc1-1/+1
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-03-25Initial import of p5-File-Temp, a perl5 package that providesmjl4-0/+31
functions for generating temporary files.