[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#778527: marked as done (ITP: libfile-mktemp-perl -- Make temporary filename from template)



Your message dated Wed, 18 Feb 2015 10:41:29 +0100
with message-id <20150218094129.GA23819@dfn.de>
and subject line Re: Bug#778527: ITP: libfile-mktemp-perl -- Make temporary filename from template
has caused the Debian Bug report #778527,
regarding ITP: libfile-mktemp-perl -- Make temporary filename from template
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
778527: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=778527
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: wnpp
Severity: wishlist
Owner: Raoul Gunnar Borenius <borenius@dfn.de>

* Package name    : libfile-mktemp-perl
  Version         : 1.0.6
  Upstream Author : Travis Gummels <travis@gummels.com>
* URL             : https://metacpan.org/release/File-MkTemp/
* License         : public-domain

  "Copyright 1999, Travis Gummels.  All rights reserved.  This may be
  used and modified however you want.  If you redistribute after making 
  modifications please note modifications you made somewhere in the
  distribution."

  Programming Lang: Perl
  Description     : Make temporary filename from template

File::MkTemp and File::MkTempO provides functions to create unique strings
for use as file/directory names based on an user specified template.


The package would be very useful for Nagios/Icinga-Installations
using the optional Kerberos-Check-Plugin from
http://exchange.nagios.org/directory/Plugins/Security/check_krb5/details

This plugin is implemented in Perl and needs File::MkTemp which
is not in Debian yet.

As this is a fairly simple package I intend to maintain it by
myself for a start. Joining the Debian Perl Group would be an
option for later.

--- End Message ---
--- Begin Message ---
On Mon, Feb 16, 2015 at 05:39:06PM +0100, gregor herrmann wrote:
> 
> I'm wondering if adding a probably trivial 2-lines patch to this
> nagios plugin in order to make it use File::Temp (in perl core)
> instead of File::MkTemp (last release: 2000) would be a better way
> forward?
>  
> Cheers,
> gregor


On Tue, Feb 17, 2015 at 10:07:23AM -0600, Gunnar Wolf wrote:
> 
> Umh, what does it provide beyond what File::Temp (which is in the
> standard library) already does? 
> 
> $ perl -e 'use File::Temp; $f=File::Temp->new(TEMPLATE=>"FooBarXXXX", DIR=>"/tmp", SUFFIX=>".foo"); print $f->filename,"\n";'
> /tmp/FooBarM1Xo.foo
> 
> File::Temp not only creates unique strings, but also automatically
> handles the file or directory creation and remotion.

Thanks both of you for pointing that out. Sorry, I never bothered
to look into these details. It was in fact trivial to patch the
nagios plugin.

I guess it makes no sense to package the perl module, so I'm closing
this bug. Thanks again!

 Regards,

  Raoul

-- 
---------------------------------------------------------------------
Raoul Gunnar Borenius                  Phone  : +49 711 63314-206
DFN-Verein, Geschäftsstelle Stuttgart  Fax    : +49 711 63314-133
Lindenspürstr.32                       E-Mail : borenius@dfn.de
D-70176 Stuttgart                      WWW    : http://www.dfn.de
---------------------------------------------------------------------
--------------------- Deutsches Forschungsnetz ----------------------
--------- Germany's National Research and Education Network ---------
---------------------------------------------------------------------

Attachment: smime.p7s
Description: S/MIME cryptographic signature


--- End Message ---

Reply to: