Your message dated Thu, 30 Apr 2009 22:56:49 +0000
with message-id <[email protected]>
and subject line Bug#524705: fixed in clamtk 4.12-1
has caused the Debian Bug report #524705,
regarding clamtk: Save preference of recursive scan
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 [email protected]
immediately.)


-- 
524705: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=524705
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: clamtk
Version: 4.11-2
Severity: wishlist
Tags: patch

The recursive checkbox isn't save in preferences. To add it would be very 
useful.
I attach a "patch" which works for me but it's my first, therefore... ;-)

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (980, 'testing'), (965, 'testing-proposed-updates'), (960, 
'testing'), (940, 'stable'), (920, 'stable'), (80, 'unstable'), (60, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages clamtk depends on:
ii  bind9-host             1:9.5.1.dfsg.P2-1 Version of 'host' bundled with BIN
ii  clamav                 0.94.dfsg.2-1     anti-virus utility for Unix - comm
ii  clamav-freshclam [clam 0.94.dfsg.2-1     anti-virus utility for Unix - viru
ii  libconfig-tiny-perl    2.12-1            Read/Write .ini style files with a
ii  libdate-calc-perl      5.4-6             Perl library for accessing dates
ii  libfile-find-rule-perl 0.30-3            Alternative interface to File::Fin
ii  libgtk2-perl           1:1.220-2         Perl interface to the 2.x series o
ii  liblocale-gettext-perl 1.05-4            Using libc functions for internati
ii  libwww-perl            5.825-1           WWW client/server library for Perl
ii  perl                   5.10.0-19         Larry Wall's Practical Extraction 
ii  zenity                 2.24.1-1          Display graphical dialog boxes fro

clamtk recommends no packages.

Versions of packages clamtk suggests:
ii  cabextract                    1.2-3      a program to extract Microsoft Cab

-- no debconf information
diff -u ClamTk.orig_debian/GUI.pm ClamTk.mod_ghent/GUI.pm
--- ClamTk.orig_debian/GUI.pm	2009-04-18 19:34:53.000000000 +0200
+++ ClamTk.mod_ghent/GUI.pm	2009-04-19 12:49:23.000000000 +0200
@@ -106,8 +106,7 @@
             'gtk-zoom-fit',
             gettext("_Recursive Scan"),
             "<control>R",
-            gettext("Recursively scan a directory"),
-            sub { getfile('recur') }
+            gettext("Recursively scan a directory"), sub { getfile('recur') }
         ],
         [   "Exit",           'gtk-quit',
             gettext("E_xit"), "<control>X",
@@ -680,9 +679,9 @@
 
     my $title
         = ( $option eq 'file' ) ? gettext('Select File')
-        : ( $option eq 'dir' )
+        : ( $option eq 'dir' and !$recursive )
         ? gettext('Select a Directory (directory scan)')
-        : ( $option eq 'recur' )
+        : ( $option eq 'recur' or $recursive )
         ? gettext('Select a Directory (recursive scan)')
         : '';
 
@@ -1042,8 +1041,9 @@
     my $sh     = $Config->{_}->{ScanHidden} || 0;
     my $limit  = $Config->{_}->{SizeLimit}  || 0;
     my $t      = $Config->{_}->{Thorough}   || 0;
+    my $recu   = $Config->{_}->{Recursive}  || 0;
     my $ls     = "$day $mon $year";
-    ClamTk::Prefs->set_all( $main::scanner, $sl, $sh, $limit, $t, $ls, $li,
+    ClamTk::Prefs->set_all( $main::scanner, $sl, $sh, $limit, $t, $recu, $ls, $li,
         $update );
 
     $last_date_text->set_text("$day $mon $year");
@@ -1462,6 +1462,9 @@
     if ( $Config->{_}->{Thorough} ) {
         $deep_box->set_active(TRUE);
     }
+    if ( $Config->{_}->{Recursive} ) {
+        $recur_box->set_active(TRUE);
+    }
     $scan_status_label->set_text(
         gettext("\nLoaded your scanning preferences.") );
 }
@@ -1492,7 +1495,7 @@
     }
 
     my $ret_val = ClamTk::Prefs->set_all( $main::scanner, $save_log, $hidden,
-        $size_set, $thorough, $ls, $li, $update );
+        $size_set, $thorough, $recursive, $ls, $li, $update );
 
     my $msg
         = ( $ret_val == 0 )
diff -u ClamTk.orig_debian/Prefs.pm ClamTk.mod_ghent/Prefs.pm
--- ClamTk.orig_debian/Prefs.pm	2008-12-26 14:13:50.000000000 +0100
+++ ClamTk.mod_ghent/Prefs.pm	2009-04-19 12:19:42.000000000 +0200
@@ -58,12 +58,13 @@
     my $sh     = $pkg->{_}->{ScanHidden}    ||= 0;
     my $limit  = $pkg->{_}->{SizeLimit}     ||= 0;
     my $t      = $pkg->{_}->{Thorough}      ||= 0;
+    my $recu   = $pkg->{_}->{Recursive}     ||= 0;
     my $ls     = $pkg->{_}->{LastScan}      ||= gettext('Never');
     my $li     = $pkg->{_}->{LastInfection} ||= gettext('Never');
-    my $update = $pkg->{_}->{Update}        ||= 'undef';
+    my $update = $pkg->{_}->{Update}        ||= 'undef';    
 
     my $count
-        = ClamTk::Prefs->set_all( $main::scanner, $sl, $sh, $limit, $t, $ls,
+        = ClamTk::Prefs->set_all( $main::scanner, $sl, $sh, $limit, $t, $recu, $ls,
         $li, $update );
     return $count;
 }
@@ -76,6 +77,7 @@
     $pkg->{_}->{ScanHidden}    = 0;
     $pkg->{_}->{SizeLimit}     = 0;
     $pkg->{_}->{Thorough}      = 0;
+    $pkg->{_}->{Recursive}     = 0;
     $pkg->{_}->{LastScan}      = gettext('Never');
     $pkg->{_}->{LastInfection} = gettext('Never');
     $pkg->{_}->{Update}        = 'undef';               # shared or single
@@ -95,7 +97,7 @@
 sub set_all {
     my ($class) = shift;
     my ($self)  = shift;
-    my ( $save_log, $hidden, $size_set, $thorough, $last_scan, $last_infected,
+    my ( $save_log, $hidden, $size_set, $thorough, $recursive, $last_scan, $last_infected,
         $update )
         = @_;
     $pkg                       = Config::Tiny->new();
@@ -103,6 +105,7 @@
     $pkg->{_}->{ScanHidden}    = $hidden;
     $pkg->{_}->{SizeLimit}     = $size_set;
     $pkg->{_}->{Thorough}      = $thorough;
+    $pkg->{_}->{Recursive}     = $recursive;
     $pkg->{_}->{LastScan}      = $last_scan;
     $pkg->{_}->{LastInfection} = $last_infected;
     $pkg->{_}->{Update}        = $update;
diff -u ClamTk.orig_debian/Update.pm ClamTk.mod_ghent/Update.pm
--- ClamTk.orig_debian/Update.pm	2009-02-14 00:58:21.000000000 +0100
+++ ClamTk.mod_ghent/Update.pm	2009-04-19 11:52:58.000000000 +0200
@@ -313,8 +313,9 @@
     my ($ret) = ClamTk::Prefs->set_all(
         $main::scanner,                $Config->{_}->{SaveToLog},
         $Config->{_}->{ScanHidden},    $Config->{_}->{SizeLimit},
-        $Config->{_}->{Thorough},      $Config->{_}->{LastScan},
-        $Config->{_}->{LastInfection}, $update
+        $Config->{_}->{Thorough},      $Config->{_}->{Recursive},
+        $Config->{_}->{LastScan},      $Config->{_}->{LastInfection},
+        $update
     );
 
     if ( $ret == 1 ) {

--- End Message ---
--- Begin Message ---
Source: clamtk
Source-Version: 4.12-1

We believe that the bug you reported is fixed in the latest version of
clamtk, which is due to be installed in the Debian FTP archive:

clamtk_4.12-1.diff.gz
  to pool/main/c/clamtk/clamtk_4.12-1.diff.gz
clamtk_4.12-1.dsc
  to pool/main/c/clamtk/clamtk_4.12-1.dsc
clamtk_4.12-1_all.deb
  to pool/main/c/clamtk/clamtk_4.12-1_all.deb
clamtk_4.12.orig.tar.gz
  to pool/main/c/clamtk/clamtk_4.12.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
David Paleino <[email protected]> (supplier of updated clamtk package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Thu, 30 Apr 2009 22:37:12 +0200
Source: clamtk
Binary: clamtk
Architecture: source all
Version: 4.12-1
Distribution: unstable
Urgency: low
Maintainer: [email protected]
Changed-By: David Paleino <[email protected]>
Description: 
 clamtk     - graphical front-end for ClamAV
Closes: 524705
Changes: 
 clamtk (4.12-1) unstable; urgency=low
 .
   * New Upstream Version
   * debian/patches/:
     - 03-fix_French_locale.patch removed, fixed upstream
     - 04-add_recursive_checkbox.patch refreshed and fixed,
       thanks to Ghent (Closes: #524705)
     - series refreshed
   * debian/control:
     - removed dependency on bind9-host, added dependency on
       libnet-dns-perl
Checksums-Sha1: 
 65a96486c9e30e91fe8d5d4066bd61a60026c141 1174 clamtk_4.12-1.dsc
 eeac34b4eb625abc6acfd3bcfb7623d291dbee0d 195242 clamtk_4.12.orig.tar.gz
 c5791163921e2aba983cd9d4a0cf27af8d04a890 10944 clamtk_4.12-1.diff.gz
 edc488a56eab4b8029f72012d7c162eb935fb1dc 117590 clamtk_4.12-1_all.deb
Checksums-Sha256: 
 0a1df4a9ed5bde497a9947e411fcab4304849b0720a8e00d63ced242ca67cd89 1174 
clamtk_4.12-1.dsc
 adae66e60c58556dab0e6d7d4ce25231173cad81b39bd58d033013d5528edcda 195242 
clamtk_4.12.orig.tar.gz
 da35d63872d22310c975052ad7fda19345f864f992ce79db128095a21dfe1ee6 10944 
clamtk_4.12-1.diff.gz
 9210848f416a3b8dcb710810b2f43866ceec7dddd70468bd6c23233e2d367043 117590 
clamtk_4.12-1_all.deb
Files: 
 7ec999fad53232a449b87b6a5ee079b1 1174 utils optional clamtk_4.12-1.dsc
 39d049ac4cd277ea79c288c8943beb8f 195242 utils optional clamtk_4.12.orig.tar.gz
 a412a1d218f6f4cc6d1a691c83989801 10944 utils optional clamtk_4.12-1.diff.gz
 18df9690663c505751f58a7ec5fa15fd 117590 utils optional clamtk_4.12-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkn6D4YACgkQ5qqQFxOSsXQQcgCfdxbRlsXnQ1oqEWBQOpIiBF4l
tmYAoLkQ3cGJa04FkzxCJGIBBMzCsRPe
=T/HJ
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to