Commit graph

29 commits

Author SHA1 Message Date
seb
c3f1e700ad 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!
2010-08-21 16:32:42 +00:00
sno
3b406274e6 Updating package of p5 module File::Temp from 0.21 to 0.22
Setting license to ${PERL5_LICENSE}

Upstream changes:
V0.22
      + Portability fixes in t/fork.t provided by perl5-porters.
2009-07-07 20:08:05 +00:00
he
89e508e0ee Update from version 0.20nb1 to 0.21.
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-12-20 22:11:20 +00:00
he
b021813da0 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=...").
2008-10-19 19:17:40 +00:00
wiz
99b6148c4b Update to 0.20:
---- 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).
2008-01-15 23:32:05 +00:00
wiz
7e7159c039 Update to 0.19:
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-11-29 15:21:11 +00:00
jlam
56ba4d2690 Remove empty PLISTs from pkgsrc since revision 1.33 of plist/plist.mk
can handle packages having no PLIST files.
2007-10-25 16:54:26 +00:00
wiz
1d5c125b58 Update to 0.18:
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
2007-02-27 13:59:25 +00:00
joerg
605f49a154 DESTDIR support. 2006-11-05 17:49:33 +00:00
obache
db8f22ac2d Update p5-File-Temp to 0.17.
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-10-27 12:42:57 +00:00
jlam
9c8b5ede43 Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
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.
2006-03-04 21:28:51 +00:00
jlam
7fbb8d9527 Bump the PKGREVISIONs of all (638) packages that hardcode the locations
of Perl files to deal with the perl-5.8.7 update that moved all
pkgsrc-installed Perl files into the "vendor" directories.
2005-08-06 06:19:03 +00:00
jlam
7a6521287b Turn PERL5_PACKLIST into a relative path instead of an absolute path.
These paths are now relative to PERL5_PACKLIST_DIR, which currently
defaults to ${PERL5_SITEARCH}.  There is no change to the binary
packages.
2005-07-13 18:01:18 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
wiz
c3a821a3ba Update to 0.16:
--- 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-26 17:52:13 +00:00
agc
4a3d2f7ce2 Add RMD160 digests. 2005-02-23 22:24:08 +00:00
grant
908e765695 since perl is now built with threads on most platforms, the perl archlib
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-20 11:30:55 +00:00
he
bd713eaee3 Update p5-File-Temp from version 0.12 to 0.14.
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-12-05 19:22:42 +00:00
jlam
848d6eb2a3 bl3ify 2004-01-05 22:16:24 +00:00
martti
e69ab8c365 COMMENT should start with a capital letter. 2003-07-21 16:35:12 +00:00
grant
4083b24390 s/netbsd.org/NetBSD.org/ 2003-07-17 21:31:04 +00:00
jschauma
e366d0c694 Use tech-pkg@ in favor of packages@ as MAINTAINER for orphaned packages.
Should anybody feel like they could be the maintainer for any of thewe packages,
please adjust.
2003-06-02 01:15:31 +00:00
seb
25e9e6b0ea Use buildlink2. Use perl5/module.mk. 2002-10-13 22:22:45 +00:00
jlam
cc4128d97e Buildlinkify, in the sense that only the perl headers are found in
${PREFIX} -- everything else is pickup up from ${BUILDLINK_DIR}.
2001-11-26 06:49:36 +00:00
zuntum
c72c1cf5f9 Move pkg/ files into package's toplevel directory 2001-11-01 00:57:41 +00:00
veego
63ad910dee SVR4 packages have a limit of 9 chars for a package name.
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-10-18 15:20:01 +00:00
wiz
dfb2d5edc6 Move to sha1 digests, and/or add distfile sizes. 2001-04-21 00:44:09 +00:00
agc
d7d36b3561 + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 10:57:56 +00:00
mjl
71cf8d787e Initial import of p5-File-Temp, a perl5 package that provides
functions for generating temporary files.
2001-03-25 06:45:48 +00:00