[Pgp-tools-commit] r412 - in trunk/gpgdir: . packaging test test/data-dir test/data-dir/files_with_spaces

thialme-guest at alioth.debian.org thialme-guest at alioth.debian.org
Sat Feb 14 20:03:13 UTC 2009


Author: thialme-guest
Date: 2009-02-14 20:03:13 +0000 (Sat, 14 Feb 2009)
New Revision: 412

Added:
   trunk/gpgdir/test/data-dir/files_with_spaces/
   trunk/gpgdir/test/data-dir/files_with_spaces/file1 space1
   trunk/gpgdir/test/data-dir/files_with_spaces/file2  space2
   trunk/gpgdir/test/data-dir/files_with_spaces/file3 -dash
Modified:
   trunk/gpgdir/CREDITS
   trunk/gpgdir/ChangeLog
   trunk/gpgdir/ChangeLog.svn
   trunk/gpgdir/VERSION
   trunk/gpgdir/gpgdir
   trunk/gpgdir/packaging/gpgdir-nodeps.spec
   trunk/gpgdir/packaging/gpgdir.spec
   trunk/gpgdir/test/gpgdir_test.pl
Log:
Imported new upstream release for gpgdir (1.9.4)


Modified: trunk/gpgdir/CREDITS
===================================================================
--- trunk/gpgdir/CREDITS	2009-02-09 18:30:51 UTC (rev 411)
+++ trunk/gpgdir/CREDITS	2009-02-14 20:03:13 UTC (rev 412)
@@ -47,3 +47,9 @@
         http://lintian.debian.org/tags/manpage-has-bad-whatis-entry.html
     - Suggested the appropriate bugfix to interface non-interactively with the
       wipe program (-f instead of -I in later versions).
+
+Lars Wilke
+    - Reported a bug in missing the proper handling of files with spaces when
+      using the --Wipe secure deletion mode.
+    - Suggested the ability to encrypt/decrypt hidden files, and --Force now
+      supports this.

Modified: trunk/gpgdir/ChangeLog
===================================================================
--- trunk/gpgdir/ChangeLog	2009-02-09 18:30:51 UTC (rev 411)
+++ trunk/gpgdir/ChangeLog	2009-02-14 20:03:13 UTC (rev 412)
@@ -1,3 +1,9 @@
+gpgdir-1.9.4 (02/12/2009):
+    - Fixed a bug in missing the proper handling of files with spaces when
+      using the --Wipe secure deletion mode (reported by Lars Wilke).
+    - The --Force option now supports the ability to encrypt/decrypt hidden
+      files (suggested by Lars Wilke).
+
 gpgdir-1.9.3 (11/05/2008):
     - Bugfix for using -f instead of -I for non-interactive file erasure
       (Franck Joncourt).

Modified: trunk/gpgdir/ChangeLog.svn
===================================================================
--- trunk/gpgdir/ChangeLog.svn	2009-02-09 18:30:51 UTC (rev 411)
+++ trunk/gpgdir/ChangeLog.svn	2009-02-14 20:03:13 UTC (rev 412)
@@ -1,11 +1,11 @@
 ------------------------------------------------------------------------
-r329 | mbr | 2008-11-05 00:12:52 -0500 (Wed, 05 Nov 2008) | 1 line
+r336 | mbr | 2009-02-14 00:09:07 -0500 (Sat, 14 Feb 2009) | 1 line
 Changed paths:
-   A /gpgdir/branches/gpgdir-1.9.3 (from /gpgdir/trunk:328)
+   A /gpgdir/branches/gpgdir-1.9.4 (from /gpgdir/trunk:335)
 
-created gpgdir-1.9.3 branch
+created gpgdir-1.9.4 branch
 ------------------------------------------------------------------------
-r328 | mbr | 2008-11-05 00:04:20 -0500 (Wed, 05 Nov 2008) | 1 line
+r335 | mbr | 2009-02-12 23:48:54 -0500 (Thu, 12 Feb 2009) | 1 line
 Changed paths:
    M /gpgdir/trunk/ChangeLog
    M /gpgdir/trunk/VERSION
@@ -14,52 +14,29 @@
    M /gpgdir/trunk/packaging/gpgdir.spec
    M /gpgdir/trunk/test/gpgdir_test.pl
 
-1.9.3 release
+version 1.9.4
 ------------------------------------------------------------------------
-r326 | mbr | 2008-10-13 21:55:56 -0400 (Mon, 13 Oct 2008) | 1 line
+r333 | mbr | 2008-11-09 15:23:13 -0500 (Sun, 09 Nov 2008) | 1 line
 Changed paths:
    M /gpgdir/trunk/VERSION
    M /gpgdir/trunk/gpgdir
    M /gpgdir/trunk/test/gpgdir_test.pl
 
-bumped version to 1.9.3-pre1
+tagged gpgdir-1.9.4-pre1
 ------------------------------------------------------------------------
-r325 | mbr | 2008-10-03 00:04:46 -0400 (Fri, 03 Oct 2008) | 3 lines
+r332 | mbr | 2008-11-09 15:22:46 -0500 (Sun, 09 Nov 2008) | 5 lines
 Changed paths:
    M /gpgdir/trunk/CREDITS
    M /gpgdir/trunk/ChangeLog
    M /gpgdir/trunk/gpgdir
+   A /gpgdir/trunk/test/data-dir/files_with_spaces
+   A /gpgdir/trunk/test/data-dir/files_with_spaces/file1 space1
+   A /gpgdir/trunk/test/data-dir/files_with_spaces/file2  space2
+   A /gpgdir/trunk/test/data-dir/files_with_spaces/file3 -dash
 
-- Bugfix for using -f instead of -I for non-interactive file erasure
-(Franck Joncourt).
+- Fixed a bug in missing the proper handling of files with spaces when
+using the --Wipe secure deletion mode (reported by Lars Wilke).
+- The --Force option now supports the ability to encrypt/decrypt hidden
+files (suggested by Lars Wilke).
 
 ------------------------------------------------------------------------
-r324 | mbr | 2008-10-02 23:57:33 -0400 (Thu, 02 Oct 2008) | 1 line
-Changed paths:
-   M /gpgdir/trunk/ChangeLog
-
-minor date update
-------------------------------------------------------------------------
-r323 | mbr | 2008-10-02 23:57:11 -0400 (Thu, 02 Oct 2008) | 3 lines
-Changed paths:
-   M /gpgdir/trunk/ChangeLog
-   M /gpgdir/trunk/gpgdir
-   M /gpgdir/trunk/test/gpgdir_test.pl
-
-Simplified test suite code by creating a set of default arguments for
-the gpgdir command line as each test is executed
-
-------------------------------------------------------------------------
-r322 | mbr | 2008-09-10 23:40:35 -0400 (Wed, 10 Sep 2008) | 1 line
-Changed paths:
-   M /gpgdir/trunk/CREDITS
-   M /gpgdir/trunk/gpgdir.1
-
-applied gpgdir man page fix from Franck
-------------------------------------------------------------------------
-r321 | mbr | 2008-09-01 00:24:35 -0400 (Mon, 01 Sep 2008) | 1 line
-Changed paths:
-   M /gpgdir/trunk/gpgdir
-
-merged in 'signed' vs. 'verified' text fix
-------------------------------------------------------------------------

Modified: trunk/gpgdir/VERSION
===================================================================
--- trunk/gpgdir/VERSION	2009-02-09 18:30:51 UTC (rev 411)
+++ trunk/gpgdir/VERSION	2009-02-14 20:03:13 UTC (rev 412)
@@ -1 +1 @@
-1.9.3
+1.9.4

Modified: trunk/gpgdir/gpgdir
===================================================================
--- trunk/gpgdir/gpgdir	2009-02-09 18:30:51 UTC (rev 411)
+++ trunk/gpgdir/gpgdir	2009-02-14 20:03:13 UTC (rev 412)
@@ -10,7 +10,7 @@
 #
 # Author: Michael Rash (mbr at cipherdyne.com)
 #
-# Version: 1.9.3
+# Version: 1.9.4
 #
 # Copyright (C) 2002-2008 Michael Rash (mbr at cipherdyne.org)
 #
@@ -28,7 +28,7 @@
 #
 ###########################################################################
 #
-# $Id: gpgdir 328 2008-11-05 05:04:20Z mbr $
+# $Id: gpgdir 335 2009-02-13 04:48:54Z mbr $
 #
 
 use File::Find;
@@ -40,8 +40,8 @@
 use strict;
 
 ### set the current gpgdir version and file revision numbers
-my $version = '1.9.3';
-my $revision_svn = '$Revision: 328 $';
+my $version = '1.9.4';
+my $revision_svn = '$Revision: 335 $';
 my $rev_num = '1';
 ($rev_num) = $revision_svn =~ m|\$Rev.*:\s+(\S+)|;
 
@@ -666,7 +666,7 @@
                 $cmd .= ' -f -s ';
             }
         }
-        $cmd .= $file;
+        $cmd .= qq|"$file"|;
         if ($verbose) {
             print "    Executing: $cmd\n";
         }
@@ -1166,10 +1166,19 @@
 sub check_file_criteria() {
     my $file = shift;
     ### skip all links, zero size files, all hidden
-    ### files (includes .gnupg files), etc.
+    ### files (includes the .gnupg directory), etc.
     return if -d $file;
+
+    unless ($force_mode) {
+        if ($file =~ m|/\.|) {
+            print "[-] Skipping file: $file\n"
+                if $verbose and not $quiet;
+            return;
+        }
+    }
+
     if (-e $file and not -l $file and -s $file != 0
-            and $file !~ m|/\.|) {
+            and $file !~ m|\.gpgdir\.pid| and $file !~ m|\.gnupg|) {
         if ($encrypt_mode or $signing_mode) {
             if ($file =~ m|\.gpg| or $file =~ m|\.asc|) {
                 print "[-] Skipping encrypted/signed file: $file\n" unless $quiet;

Modified: trunk/gpgdir/packaging/gpgdir-nodeps.spec
===================================================================
--- trunk/gpgdir/packaging/gpgdir-nodeps.spec	2009-02-09 18:30:51 UTC (rev 411)
+++ trunk/gpgdir/packaging/gpgdir-nodeps.spec	2009-02-14 20:03:13 UTC (rev 412)
@@ -1,5 +1,5 @@
 %define name gpgdir
-%define version 1.9.3
+%define version 1.9.4
 %define release 1
 %define gpgdirlibdir %_libdir/%name
 
@@ -58,6 +58,9 @@
 %_libdir/%name
 
 %changelog
+* Thu Feb 12 2009 Michael Rash <mbr at cipherdyne.org>
+- gpgdir-1.9.4 release
+
 * Wed Nov 11 2008 Michael Rash <mbr at cipherdyne.org>
 - gpgdir-1.9.3 release
 

Modified: trunk/gpgdir/packaging/gpgdir.spec
===================================================================
--- trunk/gpgdir/packaging/gpgdir.spec	2009-02-09 18:30:51 UTC (rev 411)
+++ trunk/gpgdir/packaging/gpgdir.spec	2009-02-14 20:03:13 UTC (rev 412)
@@ -1,5 +1,5 @@
 %define name gpgdir
-%define version 1.9.3
+%define version 1.9.4
 %define release 1
 %define gpgdirlibdir %_libdir/%name
 
@@ -115,6 +115,9 @@
 %_libdir/%name
 
 %changelog
+* Thu Feb 12 2009 Michael Rash <mbr at cipherdyne.org>
+- gpgdir-1.9.4 release
+
 * Wed Nov 11 2008 Michael Rash <mbr at cipherdyne.org>
 - gpgdir-1.9.3 release
 

Added: trunk/gpgdir/test/data-dir/files_with_spaces/file1 space1
===================================================================
--- trunk/gpgdir/test/data-dir/files_with_spaces/file1 space1	                        (rev 0)
+++ trunk/gpgdir/test/data-dir/files_with_spaces/file1 space1	2009-02-14 20:03:13 UTC (rev 412)
@@ -0,0 +1 @@
+one space in filename

Added: trunk/gpgdir/test/data-dir/files_with_spaces/file2  space2
===================================================================
--- trunk/gpgdir/test/data-dir/files_with_spaces/file2  space2	                        (rev 0)
+++ trunk/gpgdir/test/data-dir/files_with_spaces/file2  space2	2009-02-14 20:03:13 UTC (rev 412)
@@ -0,0 +1 @@
+two spaces in filename

Added: trunk/gpgdir/test/data-dir/files_with_spaces/file3 -dash
===================================================================
--- trunk/gpgdir/test/data-dir/files_with_spaces/file3 -dash	                        (rev 0)
+++ trunk/gpgdir/test/data-dir/files_with_spaces/file3 -dash	2009-02-14 20:03:13 UTC (rev 412)
@@ -0,0 +1 @@
+space and dash

Modified: trunk/gpgdir/test/gpgdir_test.pl
===================================================================
--- trunk/gpgdir/test/gpgdir_test.pl	2009-02-09 18:30:51 UTC (rev 411)
+++ trunk/gpgdir/test/gpgdir_test.pl	2009-02-14 20:03:13 UTC (rev 412)
@@ -9,7 +9,7 @@
 #
 # Author: Michael Rash (mbr at cipherdyne.org)
 #
-# Version: 1.9.3
+# Version: 1.9.4
 #
 # Copyright (C) 2008 Michael Rash (mbr at cipherdyne.org)
 #
@@ -27,7 +27,7 @@
 #
 #############################################################################
 #
-# $Id: gpgdir_test.pl 328 2008-11-05 05:04:20Z mbr $
+# $Id: gpgdir_test.pl 335 2009-02-13 04:48:54Z mbr $
 #
 
 use Digest::MD5 'md5_base64';




More information about the Pgp-tools-commit mailing list