r20044 - in /branches/upstream/libcgi-session-expiresessions-perl/current: Build.bat Changelog.ini Changes.txt MANIFEST META.yml lib/CGI/Session/ExpireSessions.pm

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Fri May 16 15:46:27 UTC 2008


Author: gregoa
Date: Fri May 16 15:46:27 2008
New Revision: 20044

URL: http://svn.debian.org/wsvn/?sc=1&rev=20044
Log:
[svn-upgrade] Integrating new upstream version, libcgi-session-expiresessions-perl (1.09)

Added:
    branches/upstream/libcgi-session-expiresessions-perl/current/Changelog.ini
Modified:
    branches/upstream/libcgi-session-expiresessions-perl/current/Build.bat
    branches/upstream/libcgi-session-expiresessions-perl/current/Changes.txt
    branches/upstream/libcgi-session-expiresessions-perl/current/MANIFEST
    branches/upstream/libcgi-session-expiresessions-perl/current/META.yml
    branches/upstream/libcgi-session-expiresessions-perl/current/lib/CGI/Session/ExpireSessions.pm

Modified: branches/upstream/libcgi-session-expiresessions-perl/current/Build.bat
URL: http://svn.debian.org/wsvn/branches/upstream/libcgi-session-expiresessions-perl/current/Build.bat?rev=20044&op=diff
==============================================================================
--- branches/upstream/libcgi-session-expiresessions-perl/current/Build.bat (original)
+++ branches/upstream/libcgi-session-expiresessions-perl/current/Build.bat Fri May 16 15:46:27 2008
@@ -24,7 +24,7 @@
   open FH, '_build\\magicnum' or return 0;
   my $filenum = <FH>;
   close FH;
-  return $filenum == 304138;
+  return $filenum == 93475;
 }
 
 my $progname;

Added: branches/upstream/libcgi-session-expiresessions-perl/current/Changelog.ini
URL: http://svn.debian.org/wsvn/branches/upstream/libcgi-session-expiresessions-perl/current/Changelog.ini?rev=20044&op=file
==============================================================================
--- branches/upstream/libcgi-session-expiresessions-perl/current/Changelog.ini (added)
+++ branches/upstream/libcgi-session-expiresessions-perl/current/Changelog.ini Fri May 16 15:46:27 2008
@@ -1,0 +1,114 @@
+[Module]
+Name=CGI::Session::ExpireSessions
+Configlog.Creator=Module::Metadata::Changes V 1.00
+Configlog.Parser=Config::IniFiles V 2.39
+
+[V 1.09]
+Date=2008-05-15T11:11:00
+Comments= <<EOT
+- Delete V 1.08 from CPAN and upload V 1.09 hoping CPAN will index it properly this time.
+All this because some uses have logged a ticket (RT#35515) about not being able
+to use 'cpan' to install the module. They are right I can't get 'cpan' to work either
+- Start shipping Changelog.ini
+EOT
+
+[V 1.08]
+Date=2006-06-12T11:32:00
+Comments= <<EOT
+- Version 1.07 was never uploaded to CPAN. It was just available from my site and was meant
+for testing the proposed callback mechanism in CGI::Session::find. That mechanism was
+changed before CGI::Session 4.14 was released so my module's code now changes to match.
+Also since CGI::Session has been patched so its sub find() no longer updates the session's
+access time my module now uses atime instead of ctime when checking for expiry
+EOT
+
+[V 1.07]
+Date=2006-04-12T14:36:00
+Comments= <<EOT
+- Add method expire_sessions() which uses CGI::Session V 4 method find() to find all sessions
+and then expires sessions if appropriate. All this without evaling the contents of the session
+and which therefore resolves RT bug 16069
+- Document the new method and the new parameters to new()
+- Add test t/03-delete-via-find.t to test the new code
+- Add examples/expire-set.pl to demonstrate and document further ways of using the new method
+- Make CGI::Session V 4.13 a prerequisite
+EOT
+
+[V 1.06]
+Date=2006-04-04T10:04:00
+Comments= <<EOT
+- Add binmode after open in sub expire_file_sessions
+- Change "eval $session[0]" into "eval join('' @session)" to handle session data containing \n
+- Add a new test t/new-line.t to test session data containing \n
+- The problem with session data containing \n characters was reported via RT by m-uchino at yetipapa.com
+EOT
+
+[V 1.05]
+Date=2005-10-26T11:25:00
+Comments= <<EOT
+- Untaint the data read in from the sessions table before eval-ing it.
+The problem reported (with a code patch) by Dr RA Jones was that
+the original code triggered an insecure dependency warning when running
+under -T but only when using DBD::PgPP under MS Windows.
+The exact reason for this warning in this situation remains a mystery
+- Simplify code in new() to no longer check if caller is an object
+as per the new standard on such matters
+EOT
+
+[V 1.04]
+Date=2004-11-02T15:20:00
+Deploy.Action=Upgrade
+Deploy.Reason=Security
+Comments= <<EOT
+- Note: All files referred to here match the CGI::Session file name format /cgisess_[0-9a-f]{32}/
+- Fix the assumption in sub expire_file_sessions() that the program was being run in the temp directory
+by adding the temp directory's name as a prefix to all file names.
+Original patch: Matthias Bläsing
+- Fix sub expire_file_sessions() to delete files of size <= 5 bytes which are old enough. Files of size 0
+are sometimes created by CGI::Session under unknown circumstances.
+As always use new(delta => 123) to change the definition of 'old enough'
+- Fix verbose message for file session where it should have referred to $$D{'_SESSION_ID'}
+and not $$D{'id'}. The latter was a careless copy-and-paste from the database code
+- Ignore recent files whose size is <= 5 bytes
+- Change text of verbose messages from 'Time lapsed' to 'Time elapsed'
+- Add a security warning to the POD. Actually this comment is redundant because you always read the POD
+right?
+EOT
+
+[V 1.03]
+Date=2004-07-19T14:47:00
+Comments= <<EOT
+- Change Makefile.PL to coexist with Module::Build
+- Add t/pod.t to test all PODs
+EOT
+
+[V 1.02]
+Date=2004-06-29T10:08:00
+Comments= <<EOT
+- Add code so sessions which have already expired are also deleted.
+Originally the module allowed you to force sessions to expire via the delta parameter to new().
+Now it also checks for sessions which have already expired that is for sessions which CGI::Session
+would delete automatically when retrieving them. Thanx to Adam Gent for this suggestion
+- Rewrite the POD where it discusses expiration and deletion
+EOT
+
+[V 1.01]
+Date=2004-04-27T10:01:00
+Comments= <<EOT
+- Add another parameter to new(): table_name. This allows you to store sessions in a table with
+a non-default name. The default name is of course 'sessions'. Thanx to Mark Stosberg for this
+suggestion
+- This module does not work with Mark's module CGI::Session::PureSQL. The best solution to this
+problem seems to be to extend CGI::Session to offer a session iterator. This suggesion is also
+from Mark. I will propose this today to the author of CGI::Session when I report the bug in
+CGI:Session V 3.94 line 168 which says:
+if ( $arg->isa('CGI') )
+This bug means classes such as CGI::Simple can't be used here as a replacement for CGI.
+The code needs to be something like:
+if ($arg -> can('cookie') )...
+elsif ($arg -> can('param') )...
+EOT
+
+[V 1.00]
+Date=2004-04-19T12:37:29
+Comments=- Original version

Modified: branches/upstream/libcgi-session-expiresessions-perl/current/Changes.txt
URL: http://svn.debian.org/wsvn/branches/upstream/libcgi-session-expiresessions-perl/current/Changes.txt?rev=20044&op=diff
==============================================================================
--- branches/upstream/libcgi-session-expiresessions-perl/current/Changes.txt (original)
+++ branches/upstream/libcgi-session-expiresessions-perl/current/Changes.txt Fri May 16 15:46:27 2008
@@ -1,4 +1,10 @@
 Revision history for Perl extension CGI::Session::ExpireSessions.
+
+1.09  Thu May 15 11:11:00 2008
+	- Delete V 1.08 from CPAN and upload V 1.09, hoping CPAN will index it properly this time.
+	  All this because some uses have logged a ticket (RT#35515) about not being able
+	  to use 'cpan' to install the module. They are right, I can't get 'cpan' to work either
+	- Start shipping Changelog.ini
 
 1.08  Mon Jun 12 11:32:00 2006
 	- Version 1.07 was never uploaded to CPAN. It was just available from my site, and was meant

Modified: branches/upstream/libcgi-session-expiresessions-perl/current/MANIFEST
URL: http://svn.debian.org/wsvn/branches/upstream/libcgi-session-expiresessions-perl/current/MANIFEST?rev=20044&op=diff
==============================================================================
--- branches/upstream/libcgi-session-expiresessions-perl/current/MANIFEST (original)
+++ branches/upstream/libcgi-session-expiresessions-perl/current/MANIFEST Fri May 16 15:46:27 2008
@@ -1,15 +1,16 @@
-Build.bat
-Build.PL
-Changes.txt
-examples/expire-sessions.pl
-examples/expire-set.pl
-lib/CGI/Session/ExpireSessions.pm
-Makefile.PL
-MANIFEST			This list of files
-MANIFEST.SKIP
-META.yml
-README
-t/00-pod.t
-t/01-use.t
-t/02-new-line.t
-t/03-delete-via-find.t
+Build.bat
+Build.PL
+Changelog.ini
+Changes.txt
+examples/expire-sessions.pl
+examples/expire-set.pl
+lib/CGI/Session/ExpireSessions.pm
+Makefile.PL
+MANIFEST			This list of files
+MANIFEST.SKIP
+README
+t/00-pod.t
+t/01-use.t
+t/02-new-line.t
+t/03-delete-via-find.t
+META.yml

Modified: branches/upstream/libcgi-session-expiresessions-perl/current/META.yml
URL: http://svn.debian.org/wsvn/branches/upstream/libcgi-session-expiresessions-perl/current/META.yml?rev=20044&op=diff
==============================================================================
--- branches/upstream/libcgi-session-expiresessions-perl/current/META.yml (original)
+++ branches/upstream/libcgi-session-expiresessions-perl/current/META.yml Fri May 16 15:46:27 2008
@@ -1,24 +1,24 @@
----
-name: CGI-Session-ExpireSessions
-version: 1.08
-author:
-  - 'Ron Savage <ron at savage.net.au>'
-abstract: Delete expired C<CGI::Session>-type db-based and file-based sessions
-license: artistic
-resources:
-  license: http://opensource.org/licenses/artistic-license.php
-requires:
-  CGI::Session: 4.14
-  Carp: 0
-  File::Spec: 0
-build_requires:
-  Test::More: 0
-  Test::Pod: 0
-provides:
-  CGI::Session::ExpireSessions:
-    file: lib/CGI/Session/ExpireSessions.pm
-    version: 1.08
-generated_by: Module::Build version 0.2801
-meta-spec:
-  url: http://module-build.sourceforge.net/META-spec-v1.2.html
-  version: 1.2
+---
+name: CGI-Session-ExpireSessions
+version: 1.09
+author:
+  - 'Ron Savage <ron at savage.net.au>'
+abstract: Delete expired C<CGI::Session>-type db-based and file-based sessions
+license: artistic
+resources:
+  license: http://opensource.org/licenses/artistic-license.php
+requires:
+  CGI::Session: 4.14
+  Carp: 0
+  File::Spec: 0
+build_requires:
+  Test::More: 0
+  Test::Pod: 0
+provides:
+  CGI::Session::ExpireSessions:
+    file: lib/CGI/Session/ExpireSessions.pm
+    version: 1.09
+generated_by: Module::Build version 0.2808
+meta-spec:
+  url: http://module-build.sourceforge.net/META-spec-v1.2.html
+  version: 1.2

Modified: branches/upstream/libcgi-session-expiresessions-perl/current/lib/CGI/Session/ExpireSessions.pm
URL: http://svn.debian.org/wsvn/branches/upstream/libcgi-session-expiresessions-perl/current/lib/CGI/Session/ExpireSessions.pm?rev=20044&op=diff
==============================================================================
--- branches/upstream/libcgi-session-expiresessions-perl/current/lib/CGI/Session/ExpireSessions.pm (original)
+++ branches/upstream/libcgi-session-expiresessions-perl/current/lib/CGI/Session/ExpireSessions.pm Fri May 16 15:46:27 2008
@@ -57,7 +57,7 @@
 our @EXPORT = qw(
 
 );
-our $VERSION = '1.08';
+our $VERSION = '1.09';
 
 # -----------------------------------------------
 




More information about the Pkg-perl-cvs-commits mailing list